RushDB 3.0.14: geospatial queries and typed dates
RushDB 3.0.14 adds radius, box and nearest-first queries on GeoJSON points, typed dates and durations, unique indexes and a catalog check for agents.
Contents
- Highlights
- How do you write dates, times and points in one request?
- How do you query points by radius, box and distance?
- How do you filter by date ranges and durations?
- How does SQL over the Postgres wire return dates and points?
- What works in Cypher?
- Which literal becomes which type, and how does each surface return it?
- How do unique indexes work in 3.0.14?
- How does the catalog check help agents?
- What got faster in RushDB 3.0.14?
- How do you upgrade to RushDB 3.0.14?
- Breaking changes
- Client versions and capability flags
- Other changes
- Known limitations
- FAQ
- Does RushDB 3.0.14 support GeoJSON polygons?
- Will my existing datetimes change when I upgrade?
- Can I turn the catalog check off for one query?
- Do I need the new SDK versions to use 3.0.14?
- Sources
RushDB 3.0.14 gives dates, times, durations and geographic points types of their own. You can find points within a radius or a box and sort them nearest first, declare unique indexes, and get a catalog check that tells an agent the stored spelling of a value it got wrong. Unindexed filters and grouped aggregates are faster. The store moves to format 7 on its first start, so take a backup before you upgrade.
Highlights
- A property now holds one of ten types.
date,localtime,localdatetime,durationandpointare new, and adatetimekeeps the offset it was written with, to the microsecond. $withinmatches GeoJSON points within a radius in meters or inside a box, and$distanceorders records nearest first. An ordered index on the point property answers$withinfrom the index.- SQL over the PostgreSQL wire returns these values as
timestamptz,timestamp,date,time,intervalandpoint, and Bolt drivers get their native temporal and spatial structures. - A unique index refuses a second record of a label with the same value, with a
409 conflictthat names the record holding it. - Every records query is checked against the data it reads. A label, property or text value that no record holds comes back in
warnings, with the stored spelling or the property that holds the text. - Filters on unindexed properties ran 12 to 21 times faster than on 3.0.13 when they matched 1% of records or fewer, with the same recall, and four of five grouped aggregates took 35–55% less time.
How do you write dates, times and points in one request?
You write them as plain JSON. With type inference on (the default), RushDB 3.0.14 reads ISO 8601 strings as dates, times and durations, and reads any GeoJSON point object as a point. The rest of this article queries one small dataset, written in one call with the Python or JavaScript SDK in direct mode against a local node started with rushdb up.
The data is made up for this example. It has five venues in and around Berlin, each with its events in December 2026. A venue has a location (point), an opened date and an opensAt local time. An event has a zoned startsAt datetime and a lasts duration.
from rushdb import RushDB, point
db = RushDB("local-token", direct=True, engine_url="http://127.0.0.1:3000")
db.records.import_json(
label="Venue",
data=[
{"name": "Hall Nord", "district": "Mitte", "location": point(13.405, 52.52), "opened": "2019-03-15", "opensAt": "18:00",
"Event": [
{"title": "Rust meetup", "startsAt": "2026-12-03T19:00:00+01:00", "lasts": "PT2H30M", "price": 0},
{"title": "Graph night", "startsAt": "2026-12-17T18:30:00+01:00", "lasts": "PT3H", "price": 12},
]},
{"name": "Spree Loft", "district": "Friedrichshain", "location": point(13.442, 52.505), "opened": "2021-09-01", "opensAt": "10:00",
"Event": [
{"title": "Synth matinee", "startsAt": "2026-12-06T11:00:00+01:00", "lasts": "PT1H30M", "price": 18},
{"title": "Winter market", "startsAt": "2026-12-12T10:00:00+01:00", "lasts": "P1DT8H", "price": 0},
{"title": "New Year rehearsal", "startsAt": "2026-12-31T20:00:00Z", "lasts": "PT3H", "price": 25},
]},
{"name": "Kiez Keller", "district": "Neukölln", "location": point(13.425, 52.487), "opened": "2016-05-20", "opensAt": "20:00",
"Event": [{"title": "Jazz jam", "startsAt": "2026-12-04T21:00:00+01:00", "lasts": "PT4H", "price": 10}]},
{"name": "Westhafen Studio", "district": "Moabit", "location": point(13.329, 52.536), "opened": "2023-11-10", "opensAt": "17:00",
"Event": [{"title": "Print workshop", "startsAt": "2026-12-10T17:00:00+01:00", "lasts": "PT2H", "price": 35}]},
{"name": "Potsdam Garden", "district": "Potsdam", "location": point(13.064, 52.391), "opened": "2012-06-01", "opensAt": "12:00",
"Event": [{"title": "Lantern walk", "startsAt": "2026-12-20T16:00:00+01:00", "lasts": "PT1H", "price": 5}]},
],
)
point(longitude, latitude) builds the GeoJSON object {"type": "Point", "coordinates": [13.405, 52.52]}, longitude first. Nested import turns each Event object into its own record, linked from its venue, so the call writes 13 records and 8 relationships.
A venue reads back with a type for every property:
{
"name": "Hall Nord",
"district": "Mitte",
"location": { "type": "Point", "coordinates": [13.405, 52.52] },
"opened": "2019-03-15",
"opensAt": "18:00:00",
"__proptypes": { "name": "string", "district": "string", "location": "point", "opened": "date", "opensAt": "localtime" }
}How do you query points by radius, box and distance?
$within takes either a center and a distance in meters, or a box from its south-west corner to its north-east corner, and $distance in the order clause sorts nearest first. For WGS-84 points the distance is the great-circle (haversine) distance in meters (spatial queries). In the engine's own query document, the filter key is predicate and the sort key is order.
Venues within 3 km of Alexanderplatz, nearest first:
{
"labels": ["Venue"],
"predicate": {
"location": { "$within": { "center": { "type": "Point", "coordinates": [13.4132, 52.5219] }, "meters": 3000 } }
},
"order": { "location": { "$distance": { "type": "Point", "coordinates": [13.4132, 52.5219] } } }
}The answer is Hall Nord (about 0.6 km away), then Spree Loft (about 2.7 km); Kiez Keller, at about 4 km, falls outside. The SDKs call the same keys where and orderBy, and their helpers build the operators for you. within_radius and withinRadius return the $within radius object, within_box and withinBox the box, and distance_from and distanceFrom the $distance order:
from rushdb import distance_from, point, within_box, within_radius
alex = point(13.4132, 52.5219)
near = db.records.find({
"labels": ["Venue"],
"where": {"location": within_radius(alex, 3000)},
"orderBy": {"location": distance_from(alex)},
})
print([venue["name"] for venue in near])
# ['Hall Nord', 'Spree Loft']
central = db.records.find({
"labels": ["Venue"],
"where": {"location": within_box(point(13.3, 52.48), point(13.46, 52.54))},
"orderBy": {"name": "asc"},
})
# Hall Nord, Kiez Keller, Spree Loft, Westhafen Studio
nearest = db.records.find({
"labels": ["Venue"],
"orderBy": {"location": distance_from(alex)},
"limit": 3,
})
# Hall Nord, Spree Loft, Kiez Keller
A WGS-84 box whose south-west longitude is east of its north-east longitude crosses the antimeridian. A point of another coordinate system never matches a WGS-84 region, and records without a point sort after every distance.
Without an index, $within checks every record of the label that holds the property. An ordered index keeps points in Hilbert curve order, so a region is read as a few ranges of nearby points, and the cost follows the size of the region instead of the label:
db.indexes.create({"label": "Venue", "property": "location"})
How do you filter by date ranges and durations?
Every comparison operator takes ISO 8601 operands, read as the type of the stored values, so a datetime range, a date bound and a duration bound use the same syntax. The next query asks for events in the first week of December at venues within 3 km, so it puts a datetime range on the event and a radius on the related venue.
first_week_nearby = db.records.find({
"labels": ["Event"],
"where": {
"startsAt": {"$gte": "2026-12-01T00:00:00+01:00", "$lt": "2026-12-08T00:00:00+01:00"},
"Venue": {"location": within_radius(alex, 3000)},
},
"orderBy": {"startsAt": "asc"},
})
for event in first_week_nearby:
print(event["title"], event["startsAt"], event["lasts"])
# Rust meetup 2026-12-03T19:00:00+01:00 PT2H30M
# Synth matinee 2026-12-06T11:00:00+01:00 PT1H30M
Jazz jam starts in that week too, but at Kiez Keller, outside the radius. Datetimes compare as instants, so a filter on startsAt equal to 2026-12-03T18:00:00Z finds the Rust meetup that was written at +01:00.
Durations keep months, days and seconds apart, as ISO 8601 and Cypher do, so P1M is not P30D. Ranges and sorting compare their length with a month counted as 30 days:
long = db.records.find({
"labels": ["Event"],
"where": {"lasts": {"$gte": "PT3H"}},
"orderBy": {"lasts": "desc"},
})
print([(event["title"], event["lasts"]) for event in long])
# [('Winter market', 'P1DT8H'), ('Jazz jam', 'PT4H'), ('Graph night', 'PT3H'), ('New Year rehearsal', 'PT3H')]
$timeBucket groups by a calendar interval of a datetime, local date-time or date, and since 3.0.14 $min and $max answer in the property's own type instead of epoch milliseconds:
per_week = db.records.find({
"labels": ["Event"],
"select": {
"week": {"$timeBucket": {"field": "$record.startsAt", "unit": "week"}},
"events": {"$count": "*"},
"firstStart": {"$min": "$record.startsAt"},
},
"groupBy": ["week"],
"orderBy": {"week": "asc"},
})
rows = [row.to_dict() for row in per_week.data]
[
{ "week": "2026-12-03T00:00:00Z", "events": 3, "firstStart": "2026-12-03T19:00:00+01:00" },
{ "week": "2026-12-10T00:00:00Z", "events": 2, "firstStart": "2026-12-10T17:00:00+01:00" },
{ "week": "2026-12-17T00:00:00Z", "events": 2, "firstStart": "2026-12-17T18:30:00+01:00" },
{ "week": "2026-12-31T00:00:00Z", "events": 1, "firstStart": "2026-12-31T20:00:00Z" }
]A datetime bucket is in UTC, and fixed-width units such as week align to multiples of their width since the Unix epoch, which was a Thursday. Use month, quarter or year for calendar-aligned buckets (aggregations).
How does SQL over the Postgres wire return dates and points?
SQL reads datetimes as TIMESTAMP WITH TIME ZONE, local date-times as TIMESTAMP, dates as DATE and times as TIME. Over the PostgreSQL wire they are timestamptz, timestamp, date and time, durations are interval and 2D points are point, in text and binary form (SQL value types). rushdb up serves the wire protocol on port 5432, and the token is the password:
$ PGPASSWORD=local-token psql "host=127.0.0.1 port=5432 user=rushdb dbname=rushdb sslmode=disable"
rushdb=> SET TIME ZONE 1;
SET
rushdb=> SELECT title, "startsAt", lasts FROM "Event"
rushdb-> WHERE "startsAt" >= '2026-12-01T00:00:00+01:00' AND "startsAt" < '2026-12-15T00:00:00+01:00'
rushdb-> ORDER BY "startsAt";
title | startsAt | lasts
----------------+------------------------+----------------
Rust meetup | 2026-12-03 19:00:00+01 | 02:30:00
Jazz jam | 2026-12-04 21:00:00+01 | 04:00:00
Synth matinee | 2026-12-06 11:00:00+01 | 01:30:00
Print workshop | 2026-12-10 17:00:00+01 | 02:00:00
Winter market | 2026-12-12 10:00:00+01 | 1 day 08:00:00
(5 rows)
rushdb=> SELECT name, location, opened, "opensAt" FROM "Venue"
rushdb-> WHERE opened < DATE '2020-01-01' ORDER BY opened;
name | location | opened | opensAt
----------------+-----------------+------------+----------
Potsdam Garden | (13.064,52.391) | 2012-06-01 | 12:00:00
Kiez Keller | (13.425,52.487) | 2016-05-20 | 20:00:00
Hall Nord | (13.405,52.52) | 2019-03-15 | 18:00:00
(3 rows)timestamptz values are written at the session's TimeZone when it is UTC or a fixed offset. A named zone such as Europe/Berlin is recorded but written as UTC, because the server has no time zone database. Property names in camel case need double quotes, as in PostgreSQL.
Inside SQL, a duration is ISO 8601 text and a point is PostgreSQL point text, so filter durations and regions with the native query. If a Metabase question cast a datetime field as "UNIX timestamp (milliseconds)", remove the cast, since the column is a timestamptz now. The PostgreSQL wire reference covers drivers and SQLSTATE codes.
What works in Cypher?
Cypher values keep their types across writes and reads. A date property read by Cypher is a Cypher date with .year and comparisons, and duration arithmetic works. Over HTTP the results come back as ISO 8601 text, and over Bolt as Bolt's Date, LocalTime, LocalDateTime, DateTime, Duration, Point2D and Point3D structures. Cypher is a release candidate and opt-in (rushdb up --languages sql,cypher).
MATCH (v:Venue)-[]->(e:Event)
WHERE e.startsAt >= datetime('2026-12-01T00:00:00+01:00')
AND e.startsAt < datetime('2026-12-08T00:00:00+01:00')
RETURN v.name AS venue, e.title AS title, e.startsAt + e.lasts AS endsAt
ORDER BY endsAt[
{ "venue": "Hall Nord", "title": "Rust meetup", "endsAt": "2026-12-03T21:30:00+01:00" },
{ "venue": "Kiez Keller", "title": "Jazz jam", "endsAt": "2026-12-05T01:00:00+01:00" },
{ "venue": "Spree Loft", "title": "Synth matinee", "endsAt": "2026-12-06T12:30:00+01:00" }
]Cypher's own spatial functions (point(), point.distance, point.withinBBox) are refused with Unknown function 'point'. Pass points as Bolt Point2D parameters or GeoJSON maps, and filter them with the native $within. A Bolt Time with an offset or a DateTimeZoneId parameter is refused with Neo.ClientError.Statement.TypeError.
Cypher, GQL, Gremlin and SQL/PGQ now run on Grafeo 0.6, the graph engine RushDB embeds. On the openCypher TCK, 2,017 of the 2,422 scenarios in the supported profile pass (Cypher conformance), and 1,475 of the 3,897 scenarios test features outside that profile. The Grafeo revision 3.0.14 builds on is tagged rushdb-3.0.14 on rush-db/grafeo.
Which literal becomes which type, and how does each surface return it?
RushDB infers the type from the literal's form while type inference is on. Dates, times and datetimes are kept to the microsecond, and a datetime keeps the offset it was written with, while equality, ranges and sorting compare instants (properties and types).
| You write | Stored type | HTTP, SDKs | PostgreSQL wire | Bolt |
|---|---|---|---|---|
"2026-12-03T19:00:00+01:00", "…Z" | datetime | as written, at its offset | timestamptz | DateTime |
"2026-12-03T19:00:00" (no zone) | localdatetime | as written | timestamp | LocalDateTime |
"2026-12-03" | date | 2026-12-03 | date | Date |
"18:00", "18:00:00.5" | localtime | 18:00:00, 18:00:00.5 | time | LocalTime |
"PT2H30M", "P1DT8H" | duration | ISO 8601 | interval | Duration |
{"type": "Point", "coordinates": [13.405, 52.52]} | point | GeoJSON | point (2D only) | Point2D, Point3D |
A point without a crs member is a WGS-84 position, longitude first, and "crs": "cartesian" puts it in a plane (a floor plan, a game map) where distances are in the plane's units. A named zone such as [Europe/Berlin] is not accepted, so send the offset. Datetimes print with the shortest fraction (10:30:00Z), and a duration reads back years and months first (P14M reads as P1Y2M). To keep a date-like string as text, write it with suggestTypes: false. Mongo-style statements also accept Extended JSON dates ({"$date": ...}) as datetimes.
How do unique indexes work in 3.0.14?
A unique index refuses a write that would give a second record of the label a value another record of it holds. Once the index is ready, the rule is checked in the commit that writes the value, so of two concurrent writers of one value exactly one succeeds. It covers every write path: putRecord, transactions, ingest and nested import, and SQL, Cypher, GQL, Gremlin and Mongo writes (unique indexes).
You declare one with "kind": "unique" in the protocol, CREATE UNIQUE INDEX in SQL, CREATE CONSTRAINT … REQUIRE n.prop IS UNIQUE in Cypher, or createIndex with "unique": true in Mongo-style statements.
In the SDKs, db.indexes.create takes unique, and a refused write raises UniqueConstraintError with the label, the property and the id of the record that holds the value:
from rushdb import UniqueConstraintError
db.indexes.create({"label": "Venue", "property": "name", "unique": True}) # named 'Venue.name.unique'
try:
db.records.create("Venue", {"name": "Hall Nord", "district": "Wedding"})
except UniqueConstraintError as error:
print(error.label, error.property, error.record_id)
# Venue name 01a206bd-…
Over HTTP the error names the label, the property and the record that holds the value, and never the value itself:
{
"protocolVersion": 1,
"error": {
"code": "conflict",
"message": "unique constraint conflict on `Venue`.`name`: record 01a206bd-… holds the value",
"retryable": false,
"details": { "label": "Venue", "property": "name", "recordId": "01a206bd-…" }
}
}From psql, the same rule on event titles looks like this:
rushdb=> CREATE UNIQUE INDEX event_title ON "Event"(title);
CREATE INDEX
rushdb=> INSERT INTO "Event" (title, price) VALUES ('Jazz jam', 10);
ERROR: unique constraint conflict on `Event`.`title`: record 01a206bd-… holds the valueThe refusal is SQLSTATE 23505 over the PostgreSQL wire and Neo.ClientError.Schema.ConstraintValidationFailed over Bolt. Values compare as filters do, so two datetimes of one instant are one value. Declaring a unique index on data that already repeats a value is refused with 409 conflict, naming records that hold repeated values.
A new index starts in the building state and enforces the rule once it is ready; db.indexes.find() reports the state. In 3.0.14, wait for ready before writing to the label; 3.0.15 removes the need (see Known limitations).
How does the catalog check help agents?
Before 3.0.14, a query that named a value no record holds returned an empty result; now it also returns a warning with the likely fix. RushDB checks every label, every property in the filter, and every text compared by equality against the data it reads. An agent that already reads the live schema before it writes a query (AI agent schema) now also gets told when a value it typed is not in the data.
Say an agent puts a venue name into the district field:
{
"protocolVersion": 1,
"response": { "kind": "records", "records": [], "total": 0 },
"warnings": [
{
"kind": "unknownValue",
"labels": ["Venue"],
"property": "district",
"value": "Spree Loft",
"suggestions": [{ "label": "Venue", "property": "name", "value": "Spree Loft", "reason": "storedIn" }]
}
]
}A wrong case ("mitte") suggests the stored spelling Mitte, a misspelled label (Venues) suggests Venue, and a misspelled property (distrct) suggests district. A warning is one of unknownLabel, unknownProperty or unknownValue, and each suggestion has a reason of spelling, storedIn or contains. The check covers records and property-values queries, Mongo statements and SQL reads; values compared as numbers or dates, and texts longer than 96 bytes, are not checked.
context.check sets what happens. warn (the default) runs the query and returns warnings, strict refuses it with invalid_request and the warnings in error.details, and off skips the check. The SDKs put the warnings in catalog_warnings (Python) or catalogWarnings (JavaScript) and raise CatalogCheckError under strict:
from rushdb import CatalogCheckError
result = db.records.find({"labels": ["Venue"], "where": {"district": "Spree Loft"}})
print(result.catalog_warnings[0]["suggestions"])
# [{'label': 'Venue', 'property': 'name', 'value': 'Spree Loft', 'reason': 'storedIn'}]
try:
db.records.find({"labels": ["Venue"], "where": {"district": "Spree Loft"}, "context": {"check": "strict"}})
except CatalogCheckError as error:
print(error.warnings[0]["kind"]) # unknownValue
What got faster in RushDB 3.0.14?
Filters on properties that no index covers and grouped aggregates got faster. A listing filtered on unindexed properties is now answered from the resident columns of those properties once they are built, instead of reading every holder's values. A groupBy with $count, $sum, $avg, $min or $max over up to four keys reads each metric straight from its column without allocating per row, and the answers are bit-identical.
We measured 3.0.14 against 3.0.13 on a single host, with the same machine and settings for both versions. The runs went in ABBA order (3.0.14, 3.0.13, 3.0.13, 3.0.14), and each figure is the median of 4 runs per version. Filters ran over 100,000 records and aggregates over 1,000,000 rows. A full public benchmark of 3.0.14 will follow.
| Filter (pure filter read unless noted) | Index | 3.0.13 | 3.0.14 | Change |
|---|---|---|---|---|
| set filter matching 0.1% of records | none | 27.41 ms | 1.30 ms | 21× faster |
| set filter matching 1% | none | 27.56 ms | 2.29 ms | 12× faster |
| equality matching about 10% | none | 27.98 ms | 1.31 ms | 21× faster |
| set filter matching 10% | none | 48.91 ms | 7.53 ms | 6.5× faster |
| set filter matching 50% | none | 105.76 ms | 28.26 ms | 3.7× faster |
vector search (HNSW, ef 64) under the 1% filter, recall@10 1.00 on both | none | 31.41 ms | 2.62 ms | 12× faster |
| numeric range matching about 5% | none | 32.12 ms | 33.79 ms | +5% |
| three conditions combined | none | 29.97 ms | 31.78 ms | +6% |
| three conditions combined | ordered indexes | 1.42 ms | 1.36 ms | −4% (on par) |
| Grouped aggregate, 1,000,000 rows | 3.0.13 | 3.0.14 | Change |
|---|---|---|---|
| one key: count and sum | 14.80 ms | 6.64 ms | −55% |
| one key: average and maximum | 20.67 ms | 9.25 ms | −55% |
| two keys | 16.93 ms | 8.95 ms | −47% |
| one key (hour): average | 14.99 ms | 9.75 ms | −35% |
| one key behind a filter | 18.08 ms | 17.21 ms | −5% |
Equality and set filters on unindexed properties ran 12 to 21 times faster when they matched 1% of records or fewer, and vector search under such a filter kept the same recall. For set filters that match a larger share of the records the gain is smaller, 6.5 times at 10% and 3.7 times at 50%. A numeric range and a filter that combines several conditions read many distinct values and are answered as before, within 6%. With ordered indexes, the combined filter is on par with 3.0.13.
| Writes | 3.0.13 | 3.0.14 | Change |
|---|---|---|---|
| rows per second, 1 writer | 13,336 | 13,293 | 0% |
| rows per second, 32 concurrent writers | 15,607 | 15,712 | +1% |
| nested documents per second, batches of 500 | 4,299 | 4,463 | +4% |
| nested documents per second, batches of 5,000 | 4,564 | 4,499 | −1% |
| single-record commit latency | 10.55 ms | 10.76 ms | +2% |
| rows per second, 8 concurrent writers | 14,533 | 12,412 | −15%, first 3.0.14 run only |
| CSV bulk load, rows per second | 22,309 | 20,291 | −9%, first 3.0.14 run only |
| nested documents per second, batches of 100 | 2,132 | 1,916 | −10%, first 3.0.14 run only |
Write throughput was level in the medians for one and 32 writers, larger nested batches and single commits. Three write medians were lower, and in each of them the lower figures came from the first 3.0.14 run; the second 3.0.14 run was within or above the range of the 3.0.13 runs.
How do you upgrade to RushDB 3.0.14?
Upgrade straight to 3.0.15, a patch that contains everything in 3.0.14 plus the unique-index fix in Known limitations. The steps below apply to either version.
Take a base backup on 3.0.13, then replace the binary or image. At its first start, 3.0.14 or later rewrites the datetimes of a 3.0.13 or earlier store from epoch milliseconds to microsecond instants, once, and a start interrupted part way finishes at the next one. Earlier releases refuse a store that 3.0.14 has opened, so the backup is what you roll back to.
These steps are for 3.x stores. RushDB 3 does not read a 2.x data directory, so a 2.x install moves its data instead, as the 2.x to 3.x upgrade guide describes; the RushDB 3.0 release notes cover the engine itself.
# On the running 3.0.13 node: write a base into the data directory's backups folder
curl -s -X POST -H "Authorization: Bearer $RUSHDB_TOKEN" \
"http://127.0.0.1:3000/internal/backup/base?out=before-3-0-14"
# Copy it off the host, then check it
rushdb serve --verify-base /srv/rushdb-backups/before-3-0-14To roll back, restore that base into a new data directory with the 3.0.13 binary (backup and restore). Then upgrade with the channel you installed from. Binaries and checksums are on the 3.0.15 release page.
# Install script: run it again, it replaces the binary
curl -fsSL https://rushdb.com/install.sh | sh -s -- --version v3.0.15
# Homebrew
brew upgrade rushdb
# Docker (also ghcr.io/rush-db/rushdb)
docker pull rushdb/rushdb:3.0.15
# Helm
helm upgrade rushdb oci://ghcr.io/rush-db/charts/rushdb --version 3.0.15 --reuse-valuesA new install is curl -fsSL https://rushdb.com/install.sh | sh followed by rushdb up, or brew install rush-db/tap/rushdb, or docker run -p 127.0.0.1:3000:3000 -v rushdb:/data -e RUSHDB_TOKEN=change-me rushdb/rushdb:3.
Breaking changes
- With inference on,
"2024-05-01"is adateand"2024-05-01T10:30:00"alocaldatetime; both were UTC datetimes."10:30:00"is alocaltimeand"P1DT2H"aduration; both were strings. A GeoJSON point is apoint, whereputRecordrefused it and nested import made it a linked record. - A datetime reads back at its own offset (
2024-05-01T12:30:00+02:00, was2024-05-01T10:30:00.000Z), to the microsecond, with the shortest fraction; a datetime at midnight UTC prints in full. $min,$maxand$timeBucketreturn ISO 8601 text in the property's type; over datetimes they returned epoch milliseconds. Integers still compare with datetimes as epoch milliseconds, and$sumand$avgstill add datetimes as epoch milliseconds.- SQL reads datetimes as
TIMESTAMP WITH TIME ZONE(wasBIGINTepoch milliseconds), and Bolt sends temporal and spatial structures (were strings and maps). - The graph languages run on Grafeo 0.6. GQL refuses an unbounded quantifier such as
-[:R]->{0,}without a path mode, a selector or an upper bound, and ten statements the openCypher TCK requires to fail now run, as on plain Grafeo 0.6. - The store format is 7, and building from source needs Rust 1.100.
Client versions and capability flags
The JavaScript SDK 3.5.0 (npm install @rushdb/javascript-sdk@3.5.0) and the Python SDK 3.5.0 (pip install -U rushdb) support these features. Both keep working with a 3.0.13 server for everything else, because they send the new fields only when a call uses them.
A client can ask a server what it supports with describe.capabilities. Since 3.0.14 the flags include typedTemporalValues, pointValues, spatialFilters, uniqueIndexes and catalogCheck, and a client treats an absent flag as unsupported. In direct mode, the SDKs read these flags and refuse a strict check or a unique index on an older engine before sending it.
curl -s http://127.0.0.1:3000/protocol/v1/execute \
-H "Authorization: Bearer $RUSHDB_TOKEN" -H "Content-Type: application/json" \
-d '{"protocolVersion":1,"operation":{"kind":"describe","describe":{"kind":"capabilities"}}}'3.0.14 ships as binaries, Docker images, the Helm chart and the Homebrew formula, with no crates on crates.io. The graph languages are built on a Grafeo revision with two fixes that are not released yet (tag rushdb-3.0.14 on rush-db/grafeo), and a crate cannot depend on a revision that is not on crates.io. Publishing there resumes with the first release on Grafeo 0.6.4.
Other changes
- A store file over
compact-max-file-bytes(1 GiB) is now compacted online while requests are served; before, it waited for the offlinerushdb serve --compact. - Requests and commits no longer fail when caches fill the memory budget, and a keyword search finds a write within milliseconds because a write now wakes the text applier.
rushdb_request_stage_seconds{stage}splits each HTTP request into stages (body, admission, queues, execution, handoff), so you can see where a request waits.- For bulk loads, about 5,000 rows per request loads fastest; the SDKs send a large write in chunks when you set
chunkSize(JavaScript) orbatch_size(Python). A chunked write is not atomic unless it runs in a transaction.
Known limitations
- Small indexed pages are about 5% slower than in 3.0.13. A page of a few hundred records found through an ordered index takes about 30 µs longer, because typed values make each point read of a record's properties fetch more storage pages. A fix is planned for 3.0.15.
- The graph languages run on an unreleased Grafeo revision (
546fe7e8), so there are no crates.io packages for 3.0.14. - Vector graphs stay 16-bit. An 8-bit ANN graph was about a third faster with half the graph memory on 100,000 OpenAI embeddings, but its recall@10 was lower at small search breadths (0.822 against 0.853 at
ef16). - In 3.0.14, a unique index that is still building does not reliably protect a label that already has more than 1,000 records. A duplicate written during the build can be accepted, and the build then drops the index without a warning. On 3.0.14, create unique indexes before loading data, or wait until the index is
ready. - 3.0.15 fixes this, so upgrade to it if you use unique indexes. Declaring a unique index now claims every existing value of the label in the declaring commit, and a write during the build is refused with
409 conflictlike any other. Declaring takes longer on large labels, about 2 µs per record (0.1 s for 50,000 records), and other writes wait meanwhile. - An
eventualtext index may not show a write in a search sent at the same moment. Use animmediateindex, or repeat the search whilependingis above 0 (wait_for_pendingin Python,waitForPendingin JavaScript).
FAQ
Does RushDB 3.0.14 support GeoJSON polygons?
No. The new type is a GeoJSON point, in 2D or 3D, WGS-84 or Cartesian. Regions are a radius around a point or a box between two corners. An object with any member other than a point's is not a point, so a polygon is refused as a property value and needs nested import if you want to keep it as a linked record.
Will my existing datetimes change when I upgrade?
They keep their instants and their type. The one-time migration rewrites stored epoch milliseconds as microsecond instants, which read back in UTC (2026-12-03T18:00:00Z). A date written on 3.0.13 stays a datetime at midnight UTC. New date-only writes become date values, so such a property then holds two types, which the schema catalog lists separately.
Can I turn the catalog check off for one query?
Yes. Set context.check to off on that request, and the server skips the check and returns no warnings. Under the default warn, the check reads one counter or dictionary row per name and value and reads suggestions only on a miss, and it is skipped when the result already proves nothing is missing.
Do I need the new SDK versions to use 3.0.14?
Only to use the new features through an SDK. Plain JSON over HTTP, SQL over the PostgreSQL wire and Bolt drivers reach every 3.0.14 feature without one. The SDK releases add the type names, the spatial helpers, catalogWarnings (catalog_warnings in Python), db.indexes and the two error classes, and in direct mode they check the server's capability flags first.
Sources
- RushDB 3.0.14 release
- RushDB 3.0.15 release
- RushDB changelog, 3.0.14 section
- Spatial queries
- Properties and types
- Filtering: temporal values
- Aggregations: time buckets
- SQL value types
- PostgreSQL wire protocol
- openCypher support and conformance
- Bolt values
- Indexes and unique indexes
- Search queries: catalog check
- Backup and restore
- Storage and compaction
- rush-db/grafeo, tag rushdb-3.0.14
- JavaScript SDK
- Python SDK
RushDB
Precision your agents can query.
RushDB is a self-describing, graph-native database that helps AI agents reason over data with confidence: progressively introspect what's queryable—without guesswork.
Start free →