tidwall
add9873fef
Added ROLE command
...
See #686
2023-05-21 08:22:27 -07:00
tidwall
fd72c5e539
Update dependencies
...
Update golang.org/x/text and xdg-go/scram
Fixes #671
2023-05-11 03:46:33 -07:00
tidwall
05fbeabdb4
Add LRU cache for WHEREEVAL script
...
See #685
2023-05-11 03:18:18 -07:00
tidwall
5642fc42cc
Ensure FLUSHDB clears all hook memory references
...
Issue #685
2023-05-10 17:53:55 -07:00
Josh Baker
a08c55bf2c
Update CHANGELOG.md
2023-05-06 13:24:08 -07:00
tidwall
b96322a042
1.31.0
2023-05-06 12:34:39 -07:00
tidwall
e1d2be4ee9
Update to Go 1.20
2023-05-06 12:28:48 -07:00
Josh Baker
cd957dcafd
Merge pull request #682 from eelcocramer/docker-cross-platform
...
Enables cross platform building and pushing of docker images
2023-05-06 07:03:52 -07:00
tidwall
d519d40baa
Merge branch 'pacaj2am-master'
2023-05-06 06:56:34 -07:00
tidwall
9ea0803ce0
Merge branch 'master' of https://github.com/pacaj2am/tile38 into pacaj2am-master
2023-05-06 06:56:00 -07:00
Josh Baker
59f4845e19
Merge pull request #683 from uwer/master
...
only create AMQP queue and binfings for non-topic exchanges
2023-05-06 06:41:34 -07:00
Josh Baker
7d052273c4
Merge pull request #680 from ptsilva/enable-envs-tile38-cli
...
add hostname, port, output, and password env variables to tile38-cli
2023-05-06 06:27:20 -07:00
Josh Baker
65f0370438
Merge pull request #672 from dmitri-zganiaiko/graceful-shutdown-on-sigterm
...
Add graceful shutdown on SIGTERM
2023-05-06 06:20:33 -07:00
Josh Baker
4a9ebf4bdc
Merge pull request #673 from tidwall/dependabot/go_modules/golang.org/x/net-0.7.0
...
Bump golang.org/x/net from 0.0.0-20220809184613-07c6da5e1ced to 0.7.0
2023-05-06 05:41:15 -07:00
Eelco Cramer
a5120e04c9
Removes commands that where added for debugging
2023-05-04 09:39:21 +02:00
uwer
bbeccaeed0
reversed disabling git metadata
2023-05-04 09:03:57 +10:00
Eelco Cramer
be3d48c8cb
Enables cross platform building and pushing of
...
docker images
2023-05-03 11:02:40 +02:00
uwer
8be1890b1d
disabled git lookup
2023-05-03 16:23:04 +10:00
uwer
c63468a704
disabled AMQP queue and binding for type topic
2023-05-03 16:22:37 +10:00
Paulo Silva
eb1b1aa167
add hostname, port, output, and password env variables to tile38-cli
2023-04-23 02:06:08 -03:00
dependabot[bot]
44d8bced6e
Bump golang.org/x/net from 0.0.0-20220809184613-07c6da5e1ced to 0.7.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220809184613-07c6da5e1ced to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 01:56:26 +00:00
Dmitrii Zganiaiko
aa1060a60f
Add graceful shutdown on SIGTERM
2023-02-23 12:01:51 +02:00
Josh Baker
dbd565d361
Update README.md
2022-12-29 12:06:48 -07:00
tidwall
ae3e549cfc
Add missing test
2022-12-29 11:58:10 -07:00
tidwall
f8fd14893a
1.30.2
2022-12-29 11:49:58 -07:00
tidwall
4e67d1497c
Fixed fields not persisting
...
This commit fixes a regression in 1.30.0, where an existing
object which has fields will lose those fields when the object
geometry is overwritten using a SET or JSET and no new fields
are provided.
fixes #668
2022-12-29 11:43:24 -07:00
tidwall
44396072a5
Suppress error message when live aof is closed
2022-12-20 05:59:45 -07:00
tidwall
cf745b17d6
1.30.1
2022-12-14 04:54:58 -07:00
tidwall
a8c92a07c1
Speed up leader/follower replication
...
This commit lowers the response time for a leader to send
updates to a follower. Should now be nearly instant.
2022-12-14 04:46:28 -07:00
tidwall
e60ea706aa
Fix field names converting to lowercase
2022-12-14 04:23:21 -07:00
Josh Baker
e267ddf58c
Update CHANGELOG.md
2022-11-22 08:03:57 -07:00
tidwall
a09ff07c91
1.30.0
2022-11-22 07:56:36 -07:00
tidwall
0c95858f62
Allow enough time for client to connect
2022-11-22 07:50:45 -07:00
tidwall
bd8d8cdc77
Ensure case-insensitve compares
2022-11-22 07:41:33 -07:00
Josh Baker
cc942b2c1c
Merge pull request #663 from program--/lua-sanitize
...
Prevent certain Lua modules/functions from loading
2022-11-21 04:56:02 -07:00
tidwall
6b8211c468
Fixed invalid BOUNDS result
...
This commit ensures that BOUNDS always returns Polygon.
2022-11-21 04:47:56 -07:00
program--
f4ea9a169f
fix: remove explicit type declaration for startedAt
2022-11-11 15:53:16 -08:00
program--
02a614bc6d
fix: removed init(); modified lua function impls based on review
2022-11-11 15:47:33 -08:00
tidwall
ee2237d195
Update CHANGELOG.md
2022-11-11 14:19:26 -07:00
tidwall
5ee2470558
Fix #664 . Bad line in inner ring response
2022-11-11 13:39:43 -07:00
program--
fa74ffa10f
fix: remove package module load entirely, unnecessary
2022-11-09 14:09:36 -08:00
program--
9a531a8945
fix: set package module to nil in lua namespace; prevents calling loaders
2022-11-09 13:50:43 -08:00
program--
ab8e1cc202
fix: handle EVAL vulnerability; open subset of lua modules
2022-11-09 13:33:37 -08:00
tidwall
9c471e3f9c
Replace out old style atomics
2022-11-03 10:07:17 -07:00
tidwall
bfcd9fc94f
Updaetd btree package
2022-11-03 09:42:26 -07:00
tidwall
54590bb452
Add match method to expressions
...
SCAN fleet WHERE "properties.speed > 45 && id.match('truck*')"
2022-10-21 04:20:46 -07:00
tidwall
bdc80a7f70
Added WHERE expressions
...
It's now possible to do:
SCAN fleet WHERE "properties.speed < 25 || properties.speed > 50"
Uses javascript-like syntax using the https://github.com/tidwall/expr package.
Automatically reference fields and GeoJSON properties:
SET fleet truck1 FIELD speed 65 POINT -112 33
Can be queried:
SCAN fleet WHERE "speed > 50"
SCAN fleet WHERE "id == 'truck1'"
SCAN fleet WHERE "speed > 50 && id == 'truck1'"
2022-10-20 17:01:12 -07:00
tidwall
2075bbeae4
Allow for queries GeoJSON properties
...
This commit allows for performing WHERE on the object's GeoJSON
properties member.
For example:
SET fleet truck1 OBJECT '{"type":"Feature","geometry":{"type":"Point","coordinates":[-112,33]},"properties":{"speed":50}}'
You can now do:
SCAN fleet WHERE properties.speed > 50
2022-10-20 14:26:34 -07:00
tidwall
959f551f7b
Increase timeout for slow CIs
2022-10-20 11:23:54 -07:00
tidwall
cf7f49fd9b
Add field path queries for json and comparison operators
...
It's now possible to query a JSON field using a GJSON path.
SET fleet truck1 FIELD props '{"speed":58,"name":"Andy"}' POINT 33 -112
You can then use the GJSON type path to return the objects that match the WHERE.
SCAN fleet WHERE props.speed 50 inf
SCAN fleet WHERE props.name Andy Andy
Included in this commit is support for '==', '<', '>', '<=', '>=', and '!='.
The previous queries could be written like:
SCAN fleet WHERE props.speed > 50
SCAN fleet WHERE props.name == Andy
2022-10-20 11:17:01 -07:00