Skip to content

Releases

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 16 Nov 10:25

Release notes

Highlights

  • Large imports keep their footing — Each fs-to-graph batch now commits independently, so trees beyond the 64 MB WAL record cap can import successfully and a rerun keeps the batches that already landed.

    relate run fs-to-graph ./src --database ./code-graph --ignore-patterns target/
    
  • Shortest-path filters mind their manners — A MATCH-level WHERE over a path now filters keyword shortest selectors after selection, so longer paths cannot sneak in just because they pass the filter.

    relate --database ./friends "MATCH p = SHORTEST 1 (a)-[*]-(b) WHERE length(p) >= 2 RETURN p"
    
  • Swift gets a tidier API — The client gets typed namespaces, clearer errors, and metadata names that do not collide with Apple's.

    • Database(url:readOnly:), typed connect(namespace:) / setNamespace(_:), and predicates including EngineError.isConstraintViolation and RelateError.isRetryable make opening, connecting, and failure handling more direct.
    • Breaking: Notification and Namespace are removed in favour of QueryNotification and DatabaseNamespace; Severity and Category become NotificationSeverity and NotificationCategory, with deprecated aliases.
    • Calls that can fail only with the package's own error now use typed throws(RelateError).

Other changes

  • system_ontologies is visible only with RELATE_PREVIEW=ontology; without it, listings and routing treat the namespace as unknown, while stored databases stay put.

What's Changed

  • fix(executor): an endpoint WHERE drops a same-node shortest-path pair before 51N23 rejects it (LABS-1454) by @jexp in #238
  • fix(executor): the stats estimate prices a delete's count-entry refund (LABS-1386) (size 501) by @jexp in #202
  • perf(executor): the row-ownership walk and workspace meters hash on the id policy; one IdMap/IdSet/SeededSet seam (LABS-1459) by @jexp in #237
  • perf(executor): a MATCH streams into the MATCH and projection-only WITH clauses after it (LABS-1439, ADR-0555) by @jexp in #228
  • fix(errors): documented GQLSTATUS codes for schema/DDL conditions (size 984) by @jexp in #239
  • perf(bolt): the decode budget counts decoded bytes instead of values (LABS-1444, ADR-0579) by @jexp in #222
  • perf(executor): the frontier admits the boundary-pair comparison and records why it declined (LABS-1433, LABS-1437, ADR-0582) by @jexp in #231
  • fix(go): Close is idempotent and every call on a closed handle returns ErrClosed (LABS-1205) by @jexp in #243
  • feat(executor): fulltext fuzzy terms and clause boost (ADR-0578) by @jexp in #227
  • fix(tests): the constraint-matrix rows expect the creation condition (size 46) by @jexp in #244
  • fix(tests): the ddl unit tests expect the constraint-equivalence token (size 6) by @jexp in #245
  • fix(front): a temporal reduce element is a compile-time type fault (ADR-0566) (size 330) by @jexp in #224
  • perf(executor): a group retains only its key and accumulators, never the input row (LABS-1451) by @jexp in #240
  • perf(executor): shard the wholesale adjacency rebuild by node (LABS-1391) (size 524) by @jexp in #207
  • feat(executor): fulltext accent folding and wildcard terms (LABS-1460, ADR-0583) by @jexp in #232
  • fix(executor): a delete's sealed-tier growth is charged and never refuses the batch (ADR-0529) (size 694) by @jexp in #176
  • fix(front): drop the edge filter the scoped walk replaced (size 7) by @jexp in #255
  • docs(skill): describe the vector index as exact top-k, not HNSW (LABS-1217) by @jexp in #253
  • refactor(executor): the walk's own state is one value, not six locals (LABS-1404) (size 213) by @jexp in #254
  • fix(cypher): admit only the CYPHER 25 preamble as a no-op and drop version selection (LABS-1405, ADR-0584) by @oskarhane in #241
  • docs(readme): point the CLI reference link at the live flags page by @johnymontana in #261
  • refactor(http): dedupe admission Rejection construction and auth-failure unpacking (LABS-1400) by @jexp in #249
  • perf(executor): the frontier NFA compiles untyped hops as the any-type set (LABS-1434) (size 330) by @jexp in #258
  • test(bolt): serve-thread outcome crosses the channel as a Result; t_last uses Pack::get (LABS-1457) by @jexp in #251
  • refactor(python): one row-value walk for Record.data()/to_dict() and result_graph (LABS-1474) by @jexp in #247
  • refactor(executor): one label-cache fill shape for the apply fold and the stats simulation (LABS-1476) by @jexp in #259
  • docs(python): the library reference shows Record.data() conversion and to_dict() by @jexp in #268
  • perf(executor): the projection inflate sweep updates values in place (LABS-1518) by @jexp in #263
  • perf(executor): all-pairs shortestPath answers unreachable pairs from one reach set per start (LABS-1438) by @jexp in #264
  • refactor(go): one guarded-call helper and shared Close-test helpers (LABS-1484) by @jexp in #246
  • fix(ontology): type the JSON nesting-depth failure with a pre-parse screen (LABS-1401) by @jexp in #248
  • test(ffi): one owning Session in the tests support hub, params refusal helper reused (LABS-1468) by @jexp in #252
  • test(stellar): one merge_base_calls scanner for the local-round guard and its self-test (LABS-1259) by @jexp in #270
  • refactor(js): one decodeClosed helper for the metadata vocabularies, moved out of the error channel (LABS-1183) by @jexp in #269
  • refactor(clients): derive Go error keys from tags, one notification violation path, Swift wire-text fixes (LABS-1402) by @jexp in #272
  • fix(python): depth and cycle guard for the data()/to_dict() property copy (LABS-1479) by @jexp in #273
  • refactor(scripts): premerge-check names a PR with --pr, a positional is always a rev (LABS-1409) by @jexp in #271
  • perf(executor): answer grouped label aggregates from maintained label-set counts (LABS-1428, ADR-0589) by @jexp in #266
  • perf(executor): the frontier compiles untyped hops and the cost gate prices trails against pairs (LABS-1434) by @jexp in #265
  • perf(executor): a fulltext wildcard clause carries its pattern, not a vocabulary-sized expansion set (ADR-0583) (size 37) by @jexp in #256
  • test(executor): the one-hop cancellation ladder builds its graph in chunks under the WAL payload cap (LABS-1537) by @jexp in #274
  • refactor(scripts): rename the installer stub's lookup_404 mode and note the publisher parse coupling (LABS-1389) by @jexp in #277
  • test(python): split lifecycle tests by topic; typed expect helpers and error assertions (LABS-1477) by @jexp in #250
  • refactor(executor): tidy the frontier cost gate (LABS-1546) by @jexp in #282
  • refactor(load): the push collect/report/keys consolidations (LABS-511, LABS-512, LABS-513; LABS-504/506/507/508 already done) by @jexp in #281
  • refactor(temporal): the temporal consolidations and module splits (LABS-1262, LABS-798, LABS-782, LABS-1173) by @jexp in #283
  • fix(executor): the delete-spill shape batch — one span-placement policy, arithmetic founding term, region-first pricing (LABS-1481) by @jexp in #257
  • refactor(front): validate consolidations — projection-subclause driver, operand spelling, static_arithmetic split (LABS-1345, LABS-810, LABS-759) by @jexp in #280
  • refactor(scripts): one mode table for the perf scripts, flamegraph stages picked once (LABS-1174) by @jexp in #285
  • refactor(scripts): pom.py states its grammar once, reads once, writes atomically (LABS-1072) by @jexp in #279
  • docs: drop the Neo4j Labs disclaimer now that Relate is 1.0 by @jexp in #290
  • refactor(scripts): the release scripts' duplicated helper shapes get one owner each (LABS-1258, LABS-1004) by @jexp in #278
  • refactor(executor): aggregate, test-support and workspace-meter consolidations (LABS-1199, LABS-1194, LABS-1140, LABS-1464, LABS-1475, LABS-1295, LABS-1471) by @jexp in #286
  • fix(executor): a fulltext wildcard term over 256 parts is a typed syntax error (LABS-1558, ADR-0583) by @j...
Read more

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 12 Nov 13:32

Release notes

Highlights

  • Python rows now convert like the Neo4j driver's — row.data() turns nodes, relationships and paths into plain property dicts and alternating lists, and the new row.to_dict() keeps everything — ids, labels, endpoints, properties — in a lossless, JSON-ready shape. Example:

    row = db.execute("MATCH (p:Person {name: 'alice'}) RETURN p").fetchone()
    row.data()     # {"p": {"name": "alice"}}
    row.to_dict()  # {"p": {"id": …, "labels": ["Person"], "properties": {"name": "alice"}}}
  • Bolt no longer hangs up on an oversized message — a well-formed message past the decoded-value budget now fails just its request with an actionable Neo.ClientError.Request.Invalid FAILURE naming the size, the limit and a remedy, answers anything pipelined behind it IGNORED until RESET, and then serves the next request on the same connection. Example:

    relate serve --database ./friends --bolt 7687
    
  • --jsonl is pure rows again, timings are opt-in — the terminal {"timings": …, "planCache": …} line moves behind the new --timings flag, so an N-row statement now prints exactly N lines (and a zero-row statement prints nothing at all). Example:

    relate --jsonl --timings "MATCH (n) RETURN n"
    

Other changes

  • SECURITY.md lands at the repository root: the vulnerability reporting channel, the supported-surface scope, and the security allowances the project accepts.
  • The installer pulls release assets over the direct GitHub release route — no API requests, no token needed, even behind shared-IP networks.
  • Cypher validation tightens to match live Neo4j: invalid syntax and clause compositions are rejected, shortestPath() in an expression refuses a property map, and the 51N23 common-end rule is enforced.
  • Executor diet: a plain LIMIT stops the batch scan early, chain traversals count their last hop instead of landing it, and grouped percentile aggregates share one buffer.
  • The Python sdist ships the bundled library skill again, so source installs carry the agent docs too.

What's Changed

  • fix(release): exchange the crates.io publish token via crates-io-auth-action by @oskarhane in #210
  • fix(release): make the npm publish loop re-dispatchable by @oskarhane in #212
  • docs(wasm): note the tsconfig lib the generated types need by @oskarhane in #213
  • chore(release): move Maven Central publishing to the registries workflow (LABS-1406) by @oskarhane in #205
  • fix(cypher): enforce live's value, type and argument rejections at the right stage (size 1573) by @jexp in #174
  • fix(cypher): shortest-path pattern validation and the 51N23 common-end rule (size 1377) by @jexp in #177
  • fix(release): default the chained registry publish off by @oskarhane in #214
  • docs(security): add SECURITY.md (LABS-1408) by @oskarhane in #209
  • fix(cypher): reject the invalid syntax and clause compositions live rejects (size 844) by @jexp in #194
  • docs(bindings): rewrite the PyPI and npm package READMEs by @jexp in #216
  • fix(cypher): shortestPath() in an expression rejects a property map, as live does (size 24) by @jexp in #217
  • fix(python): ship the bundled library skill in the sdist (LABS-1413) by @oskarhane in #211
  • feat(ci): the Jepsen workflow reports its verdict in the run summary (size 213) by @jexp in #181
  • fix(relate): embed the legacy-WAL adoption fixture inside the crate (LABS-1414) by @oskarhane in #215
  • docs(relate): crate README, LICENSE copy, and the package-contents note (LABS-1414) by @oskarhane in #219
  • fix(xtask): allowlist the four #174 projection helpers in exec/project.rs (LABS-1450) by @jexp in #221
  • docs(adr): ADR-0344 later reference to ADR-0555 stream boundary (size 4) by @jexp in #187
  • test(bolt): drive the Some arm of spawn_handler_recorded (LABS-1201) (size 15) by @jexp in #192
  • refactor(http): carry the GQLSTATUS code on the rejection instead of deriving it from status 401 (LABS-1175) (size 40) by @jexp in #196
  • docs(adr): bulk window-local adjacency install for checkpoint load (ADR-0573) (size 85) by @jexp in #190
  • fix(scripts): the pre-merge gate anchors its own repo, and the prebuilt stage publishes by rename (LABS-1387) (size 118) by @jexp in #208
  • docs(cli): show the store as -d/--database, never a first positional (LABS-1403) (size 64) by @jexp in #203
  • refactor(ontology): type OntologyError::Syntax's syntax field as DocumentFormat (LABS-823) (size 93) by @jexp in #200
  • refactor(ffi): one handle guard over database and connection (LABS-979) (size 121) by @jexp in #199
  • ci(release): push the server image to the DevRel production ECR by @rafaljanicki in #123
  • refactor(clients): one required-key decode and typed vocabularies in Go; Swift Decoding file (LABS-1352) (size 226) by @jexp in #197
  • feat(datasets): bulk-loadtest --sample — the in-process profiler on the lane (size 815) by @jexp in #175
  • fix(bolt): an over-budget message fails its request with an actionable FAILURE instead of closing the connection (LABS-1412, ADR-0577) (size 445) by @jexp in #218
  • perf(executor): percentile aggregates in a group share one f64 buffer (LABS-1417) by @jexp in #220
  • fix(executor): drop the stale shortestPath property-map enumeration pin (size 18) by @jexp in #236
  • perf(executor): count the chain's last hop instead of landing it; unroll exact *k onto the chain (LABS-1293) (size 466) by @jexp in #171
  • refactor(ffi): result record as rows-or-error enum, one tests support hub, params refusal tests split (LABS-979) by @jexp in #229
  • refactor(python): split the binding test module into topic submodules (LABS-766) (size 1456) by @jexp in #198
  • fix(cli): make the jsonl terminal timings line a --timings opt-in (LABS-1456, ADR-0581) by @oskarhane in #230
  • refactor(executor): one sink, one mount, one decline point for the GPM match (LABS-1342) (size 825) by @jexp in #201
  • perf(executor): push the plain LIMIT's want into the batch scan so it stops early (LABS-1452) by @jexp in #235
  • feat(python): Record.data() converts graph values like the Neo4j driver; to_dict() keeps everything by @jexp in #226
  • fix(release): close the cargo package drift window with a post-release version advance (LABS-1443, ADR-0580) by @oskarhane in #233
  • fix(installer): download release assets over the direct route, no GitHub API (LABS-1482, ADR-0585) by @oskarhane in #242

New Contributors

Full Changelog: v1.0.0...v1.0.1

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 17:50

Release notes

Highlights

  • The embedded core, tidied for 1.0 — an experiment retires, and an error message learns to speak plainly:
    • CDC replication slots are withdrawn: register_cdc_slot, ack_cdc_slot, drop_cdc_slot, cdc_slots, cdc_records_after, and set_apply_only / apply_only are gone, along with cdc/slots.json. Checkpoint recycle no longer waits on a consumer ack (ADR-0574).
    • Opening an s3:// URI now reports that object storage belongs to the clients embedding Relate.

What's Changed

  • chore(cli): drop the preview-host fallback and the token prefix from the upgrade path (ADR-0550, ADR-0250) by @oskarhane in #168
  • refactor(scripts): one usage-text printer shared by premerge-check and prebuilt-bin (LABS-1366) by @jexp in #173
  • fix(release): grant the publish jobs the attestations read permission by @oskarhane in #180
  • fix(installer): resolve the latest release via the file host's releases.json (ADR-0571, LABS-1385) by @oskarhane in #178
  • feat(release): drop the npm guards — trusted publishing is configured by @oskarhane in #182
  • fix(release): npm-publish passes an explicit local-path spec by @oskarhane in #184
  • fix(release): npm jobs resolve the publish action from the dispatch ref by @oskarhane in #185
  • fix(release): npm provenance attaches only from public repositories by @oskarhane in #188
  • feat(release): enable the crates.io job and make its publish loop re-dispatchable by @oskarhane in #189
  • fix(cli): strip internal ADR/LABS identifiers from user-facing output (LABS-1397) by @oskarhane in #191
  • Withdraw CDC replication slots by @triha74 in #186
  • docs(adr): name embedding clients instead of MemoryDB Cloud by @triha74 in #183
  • fix(release): grant the publish-registries caller the attestations read permission by @oskarhane in #206

Full Changelog: v0.1.3...v1.0.0

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 11 Nov 11:05

Release notes

Highlights

  • Shortest paths take the shortest route — every spelling of a shortest-path query — the shortestPath() expression, SHORTEST k selectors, quantified relationships, auto-parameterized templates — now rides the dedicated shortest-route engine instead of walking hop by hop.

    relate ./friends -c "MATCH p = shortestPath((a:Person {name: 'Alice'})-[:FRIENDS_WITH*]-(b:Person {name: 'Bob'})) RETURN length(p) AS hops"
    
  • dbms.listCapabilities reports what this engine can do — a client can now ask the database itself whether fulltext and vector indexes are available, which Cypher dialect it speaks, and which pattern engine is in force — one row per capability, no guessing, and no rows mirrored from a server Relate is not.

    relate "CALL dbms.listCapabilities()"
    
  • Errors report their own class — a cluster of fixes so the class on a rejection names the stage that raised it, which is the only thing a client's retry logic should have to read:

    • Front-end rejections report SyntaxError where a later stage used to take the blame
    • Dynamic label and relationship-type rejections carry TypeError
    • toInteger() out of range carries ArgumentError
    • Argument-value and procedure rejections carry the class the live run reports
    • A non-numeric substring()/left()/right() argument raises the type rejection
    • range() arity is enforced at the front end, before anything runs

Other changes

  • MATCH with OR'd labels and a key predicate now serves as a union of per-label seeks instead of one scan
  • MATCH output streams into aggregation instead of buffering intermediate rows, and a routed MATCH charges the LIMIT cap so scans halt early
  • Each commit's redo is encoded once at admission, and Parquet checkpoints cap row groups at 1024 rows
  • The adjacency store is now sealed-plus-delta with watermark compaction, rebuilt in one sorted pass per (node, type) run
  • The Go and Swift clients decode notification severity/category strictly and sanitize echoed wire values; the Java client sanitizes its echoes too
  • New task guide: bulk-import durability and batch-size recipes
  • One release workflow now publishes the Rust crate, the Python wheel, and the npm packages to crates.io, PyPI, and npm

What's Changed

  • fix(show): synthesize the default lookup indexes as SHOW-only rows + F8 ordering fixes by @jexp in #93
  • refactor(core): shorten the element-id segment to rl-id / rl-onto (ADR-0554 revision) by @jexp in #109
  • test(cli): one PTY driver kit for the egg tests (LABS-1182) by @jexp in #107
  • refactor(eggs): shared width probe, SGR helpers, one argument policy (LABS-1182) by @jexp in #108
  • refactor(cli): one expect helper and prompt_ready for the PTY egg drivers (LABS-1182) by @jexp in #113
  • perf(executor): the shortest route pushes rows into its consumer instead of returning a vector (ADR-0555) by @jexp in #112
  • refactor(executor): list only the procedures an embedded engine can answer (ADR-0557) by @jexp in #111
  • test(executor): shortest-route anchor arms, property endpoints and write-view routing (LABS-1296) by @jexp in #117
  • fix(ddl): non-admitted OPTIONS keys carry live's message text by @jexp in #118
  • perf(executor): the shortest fan emits each BFS layer as it completes and stops when its consumer halts (ADR-0555, LABS-1289) by @jexp in #121
  • refactor(storage): wide-column parts are the Parquet checkpoint format (ADR-0553) by @jexp in #99
  • fix(engine): NumberOutOfRange sites carry the ArgumentError class (LABS-1304) by @jexp in #119
  • ci(release): gate every first-party extension crate's suite pre-tag by @oskarhane in #122
  • ci(docker): apt retries everywhere, Ubuntu images on the Azure mirror by @jexp in #130
  • docs(executor): repair the procedure-catalogue doc comment and note ADR-0557 by @jexp in #127
  • feat(executor): dbms.listCapabilities lists this engine's own capabilities (ADR-0561) by @jexp in #133
  • fix(java): sanitize untrusted wire values echoed in enum-decode exceptions (LABS-1291) by @jexp in #115
  • perf(storage): encode each commit's redo once at admission (LABS-867, ADR-0558) by @jexp in #114
  • fix(engine): toInteger() out-of-range carries the ArgumentError class (LABS-1305) by @jexp in #120
  • refactor(eggs): the width probe owns the 80-column default (LABS-1297) by @jexp in #128
  • refactor(convert): the InvalidArgumentValue token composes from the kind constructor (LABS-1308) by @jexp in #137
  • refactor(executor): one assert_number_out_of_range helper for the string tests (LABS-1311) by @jexp in #135
  • fix(cypher): range() arity is enforced at the front end (LABS-1307) by @jexp in #140
  • ci(spec-harness): a merge to main produces its own coverage number (LABS-1323) by @jexp in #136
  • refactor(executor): the graph-type schema family moves to its own module with one per-kind policy (LABS-1309, LABS-1310) by @jexp in #139
  • fix(string): a non-numeric substring()/left()/right() argument raises the type rejection (LABS-1306) by @jexp in #141
  • fix(testing): row-per-row relate side and middle elision in the differential DIFF message (LABS-1322) by @jexp in #134
  • fix(executor): kernel MATCH emission charges each row before landing (LABS-1077) by @oskarhane in #146
  • perf(executor): the shortest route probes its seek endpoints at the pair bound instead of listing every match (ADR-0555, LABS-1318) by @jexp in #131
  • refactor(eggs): resolve rows once, share statement helper, tidy tetris preview (LABS-1297) by @jexp in #143
  • perf(storage): the Parquet row-group cap is 1024 rows (ADR-0563, LABS-1278) by @jexp in #147
  • Run Sonic stages on the hardened gosonic by @triha74 in #90
  • perf(engine): OR'd-label keyed MATCH serves as a union of per-label seeks (LABS-1083) by @oskarhane in #145
  • test(query-latency): pokec_profile --group/--sample/--profile for expansion RCA (LABS-1116) by @jexp in #116
  • refactor(executor): split dag_layers' stop protocol and pin the shortest-route anchor arms (LABS-1316, LABS-1317) by @jexp in #132
  • docs(guides): bulk-import durability and batching recipes by @jexp in #153
  • fix(executor): a selector or routed MATCH charges the LIMIT cap, so the input-row loop halts (LABS-1301) by @jexp in #150
  • docs(design): shortest selectors on the frontier NFA, research note (LABS-1288) by @jexp in #129
  • fix(executor): the routed shortest-path sink keeps one name after the merge (LABS-1301) by @jexp in #155
  • perf(storage): charge the workspace as the commit redo is encoded (LABS-1292) by @jexp in #148
  • docs(agents): the merge bar is the merged tree, with a script that checks it by @jexp in #156
  • fix(cypher): dynamic label/type rejections carry the TypeError class (LABS-1338) by @jexp in #149
  • fix(executor): stream MATCH output into aggregation; guard new Vec operators (LABS-1261, LABS-1200) by @jexp in #110
  • fix(executor): an auto-parameterized SHORTEST 1 takes the shortest route (LABS-1326) by @jexp in #158
  • perf(executor): sealed+delta adjacency store with watermark compaction (ADR-0551, ADR-0552) by @jexp in #144
  • fix(engine): argument-value and procedure rejections carry the class live reports (LABS-1337) by @jexp in #151
  • docs(adr): shortest selectors as physical operators of the one pattern evaluator (ADR-0568) by @jexp in #163
  • refactor(storage): one rule per commit-encode fact, neutral bounded sink (LABS-1292) by @jexp in #161
  • ci: compile the tree that lands, not the head by @jexp in #162
  • feat(datasets): bulk-loadtest durability ladder and commit-timing capture by @jexp in #160
  • fix(clients): Go and Swift decode notification severity/category strictly and sanitize echoed wire values (LABS-1279) by @jexp in #159
  • fix(ci): the fingerprint stamper tolerates a list-valued ops knob by @jexp in #166
  • fix(cypher): front-end rejections report SyntaxError where the executor reported a later stage (LABS-1336) by @jexp in https://git...
Read more

ideas 0.1.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 09:22
9cf3462
relate-extensions-ideas-0.1.0

Release relate-extensions-ideas-0.1.0

git-to-graph 0.13.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 09:34
9cf3462
relate-extensions-git-to-graph-0.13.0

Release relate-extensions-git-to-graph-0.13.0

fs-to-graph 0.13.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 09:17
9cf3462
relate-extensions-fs-to-graph-0.13.0

Release relate-extensions-fs-to-graph-0.13.0

dungeon 0.1.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 09:42
9cf3462
relate-extensions-dungeon-0.1.0

Release relate-extensions-dungeon-0.1.0

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 09 Nov 22:07

Release notes

Highlights

  • Element IDs now name their database — elementId() output gains the namespace segment, so the first node reads 4:relate-neo4j:n0 instead of 4:relate:n0 — in the shell, in JSON, and over Bolt; anything parsing element IDs will want the new shape. Example:

    relate --json "CREATE (n:Person) RETURN elementId(n)"
    
  • Shortest paths meet in the middle — a shortestPath whose endpoints are property maps now seeks both ends and searches as a pair instead of balling out from one side, measured two orders of magnitude faster on hub-heavy graphs — and every traversal in the engine saves one read per hop besides. Example:

    relate -d ./friends "MATCH p = shortestPath((a:Person {name: 'Alice'})-[*..6]-(b:Person {name: 'Bob'})) RETURN p"
    
  • Cleanly-closed stores skip the reopen index rebuild — when the WAL replays nothing, open no longer rebuilds the indexes, so a tidily shut-down store gets to its first row sooner. Example:

    relate query --database ./friends
    

Other changes

  • relate upgrade no longer prints the rename notice after its status line — just the facts, then the skill refresh.

What's Changed

  • perf(storage): skip the post-replay index rebuild when the WAL replayed nothing (LABS-1112) by @jexp in #92
  • test(research): land the per-structure heap-census harness by @jexp in #97
  • chore(executor,front): bar() polish (LABS-1176) by @jexp in #103
  • chore(eggs): egg polish — shared helpers, one Rng, panic payload (LABS-1182) by @jexp in #102
  • ci(release): fold the retry re-stamp into the bump commit with --amend by @oskarhane in #106
  • fix(core): make the element-id namespace segment dash-bearing (ADR-0554) by @jexp in #101
  • feat(cli): drop the cypherlite rename notice from relate's upgrade by @oskarhane in #105
  • perf(executor): shortest-path walk core and pair search for property-seekable endpoints (LABS-914, ADR-0556) by @jexp in #104

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 09 Nov 20:25

Release notes

Highlights

  • Wide-column Parquet snapshots — --snapshot-format learns parquet-wide: the Parquet codec writes one typed column per promoted property key beside a residual tagged-JSON tail, and the next checkpoint pins the choice into the manifest so every later open keeps the store wide. Works on the query session and on serve.

    relate --snapshot-format parquet-wide ./friends
    
  • Full-text search learned Lucene manners — fulltext SEARCH and the db.index.fulltext.query* procedures now pass the query syntax straight to the index (AND/NOT are operators, a lowercase and stays a term), rank hits with live BM25 pinned against Neo4j's own scores, page with SKIP/OFFSET, and evaluate WITH ANALYZER per row — English stemming included.

    relate ./movies "MATCH (m:Movie) SEARCH m IN (FULLTEXT INDEX moviePlots FOR 'princess AND NOT snow' LIMIT 5) RETURN m.title"
    
  • A quiet tune-up — the engine got faster in three places you'll notice and none you'll have to think about:

    • POINT indexes moved to an R*-tree backend — radius and bounding-box seeks probe a packed tree instead of walking grid cells, antimeridian wrap included.
    • Label, relationship-type and property-key names resolve to token ids once per plan instead of hashing names per candidate.
    • MATCH predicates push to their earliest clause, and UNWIND range() streams into aggregating projections instead of piling up rows first.

Other changes

  • Java client: typed QueryType/Namespace/Severity/Category enums replace raw strings, and PlanActual carries the full wire plan shape.
  • The variable-shadowing notification now looks inside EXISTS/COUNT/COLLECT expression subquery bodies.
  • SEARCH over complex patterns (the complex-search-patterns preview) counts LIMIT survivors instead of pre-filter candidates.
  • Scalar fixes: decimal round(), temporal sort order, nested-list type unions.
  • Runtime lists now coerce to predicates at WHERE/FILTER positions.
  • Duration fractions fold through Neo4j's approximate chain.
  • FINISH is legal after a row-producing catalog command; DDL commands are standalone.
  • The interactive REPL grew a hidden game cabinet — .life, .snake, .tetris, .dash (Archie runs, jumps and ducks) — and .fortune learned five new fortunes.

What's Changed

  • feat(cli): --snapshot-format parquet-wide opts a store into the wide-column parts (ADR-0534) by @jexp in #83
  • fix(search): fulltext query syntax, live BM25 ranking, one shared scan by @jexp in #61
  • fix(planner): FINISH is legal after a row-producing catalog command; DDL commands are standalone by @jexp in #36
  • fix(temporal): fold duration fractions through Neo4j's approximate chain by @jexp in #43
  • POINT index backend: R*-tree via rstar (ADR-0549) by @johnymontana in #71
  • feat(eggs): playable .life, .snake and .tetris (games feature, ADR-0547) by @jexp in #57
  • fix(stellar-prep): merge-base fallback when last_head diverged (LABS-955) by @jexp in #70
  • feat(notifications): descend into expression subquery bodies for 03N60 by @jexp in #42
  • docs(design): lazy-indexes load-memory investigation + proposal (LABS-1110 follow-on) by @jexp in #85
  • fix(scripts): release-bump typed npm reads + dirty-tree guard (LABS-1160) by @jexp in #81
  • fix(executor): stream UNWIND range() into an aggregating projection (LABS-1246) by @jexp in #86
  • test(cli): shift the releases.json fixture tags below the v0.1.0 line by @oskarhane in #88
  • perf(planner,executor): resolve names to token ids once per plan (ADR-0541) by @jexp in #87
  • refactor(parser,front): one visit-ordered expr edge enumeration (LABS-1146) by @jexp in #80
  • docs(adr): port the sealed-delta adjacency design and its proptest-model ADR (ADR-0551/0552) by @jexp in #89
  • fix(scalar): decimal round, temporal sort order, nested list type unions by @jexp in #74
  • fix(executor): coerce runtime lists to predicates at WHERE/FILTER positions by @jexp in #76
  • fix(planner,executor): push MATCH predicates to their earliest clause; order selector rows by @jexp in #77
  • refactor(core): temporal pattern ymd helper, Era enum, accept_zone, ClockKind reuse (LABS-1145) by @jexp in #82
  • docs(adr): operators stream rows; unbounded results are never accumulated (ADR-0555) by @jexp in #95
  • feat(eggs): .dash, Archie runs, jumps and ducks (games feature) by @jexp in #94
  • fix(search): the SEARCH LIMIT counts survivors for complex patterns only by @jexp in #91
  • ci(release): fetch+rebase+rebuild retry on the version-bump push by @oskarhane in #98
  • feat(java): typed QueryType/Namespace/Severity/Category enums; full PlanActual wire shape (LABS-947, LABS-1183) by @jexp in #96
  • feat(eggs): add five fortunes to the .fortune pool by @johnstegeman in #100

New Contributors

Full Changelog: v0.1.0...v0.1.1