v6.0.2

atlasia-ma/MoulSotv6.0.2Oct 8, 2026by DvirDukhan

Upgrading?

AI Summary

This maintenance release fixes numerous bugs in Cypher parsing, execution, and index handling within the Rust engine, alongside dependency updates and Docker configuration changes.

Key Highlights

  • Fixes subqueries and variable-length path patterns to prevent reading outer variables.
  • Improves vector KNN queries and index scans to handle edge cases correctly.
  • Enhances parser to reject invalid syntax like `NOT NOT` or malformed patterns.
  • Updates Docker images for security and removes unused dependencies.

Full Release Notes

# FalkorDB v6.0.2

## What's Changed

### Bug fixes
* CALL {} subqueries that import no variables no longer read the outer query's variables (#2845)
* Variable-length and allShortestPaths patterns apply an inline property map on an already-bound endpoint; inline maps are planned once instead of twice (#2390)
* Range index scans include ±inf for an open bound and return undirected edges in both directions (#3081)
* Temporals are no longer matched by numeric range-index predicates (#3076)
* An exclusive string range with equal bounds selects nothing (#3072)
* A wrong-dimension vector no longer drops the entity from every index on its label (#3087)
* Vector KNN queries clamp `k` instead of allocating `k` entries (#3088)
* Validate index OPTIONS like 4.x: vector `dimension`/`similarityFunction` required, case-insensitive metric, unknown fulltext keys rejected (#3094)
* Parser: reject `NOT NOT`, `SET [n)`, `f(1,)`, `MATCH MATCH`, `LOAD CSV WITH`; accept `IS NULL IN` (#3060)
* Block comments end at `*/`, and a lone `/` is no longer swallowed (#2908)
* Named paths created by CREATE are materialized (#2829)
* `startNode()` and `endNode()` accept null (#3132)
* Compact date and time strings with non-digits are rejected (#3125)
* `toInteger` of an integer string below i64::MIN returns null (#2989)
* `sign()` of a float returns an integer (#2907)
* `coalesce()` with zero arguments is rejected (#2990)
* `list.remove` with a huge count no longer overflows (#2952)
* Type-mismatch errors name types as Cypher does (#3127)
* UDF results keep -0.0, constructor-keyed maps and non-finite vecf32 (#3074)
* The `graph` global is defined when a UDF library is loaded (#3079)
* One flag parser for GRAPH.QUERY/RO_QUERY/PROFILE/EXPLAIN, matching 4.x (#3010)
* GRAPH.CONFIG validates values, arity and names like 4.x (#3021)
* GRAPH.MEMORY accepts `SAMPLES 0`; GRAPH.CONSTRAINT parses entity type and count like 4.x (#3053)
* RDBs keep every graph in GRAPH.LIST when loaded by 4.x (#3161)
* GRAPH.EFFECT refuses records that act on deleted or never-created entities (#3022)
* GRAPH.EFFECT refuses ids too large for any graph instead of crashing (#2911)
* Effects encoder refuses records its reader would reject (#2916)
* Decoded effect id lists keep their order when extended (#2920)

### Improvements
* IdSpace is the single authority for node and relationship ids; writes run the same id check as replicas (#2846)
* CoW B+-tree: point lookups, memory accounting, tuple cursor, narrowable doc width (#2278)

### Build & CI
* Docker: redis-server runs as the non-root `falkordb` user; set `SKIP_DROP_PRIVS=1` to keep root (#3181)
* Docker: remove util-linux from the runtime image; add a Trivy image scan to CI (#3179)
* Replace graphblas.sh/redisearch.sh with a `native-deps` crate; GraphBLAS and LAGraph are now submodules (#2695)
* Move the toolchain to LLVM 23 (#3163)
* Fix the RediSearch build with libc++ 23 on macOS (#3170)

### Dependencies
* rustls 0.23.41 → 0.23.45 (#3182)
* cargo-deps group, 9 updates (#3131)
* github-actions group, 6 updates (#2886)
* rltest >= 0.7.29 (#3130)

### Tests
* Cover OPTIONAL MATCH cartesian product cardinality (#2469), fixed-length path multiplicity (#2471), crash-inducing `range()`/`exists()` arguments (#2487), nested reduce with shadowed names (#2488), and aggregating `WITH *` in allShortestPaths (#2489)

Thanks to @onlyysaurabh, @aniruddhaadak80 and @juliuskent11 for their contributions.

**Full Changelog**: https://github.com/FalkorDB/FalkorDB/compare/v6.0.1...v6.0.2

Related Repositories