Skip to content

Release v0.6.3-dev

Choose a tag to compare

@genezhang genezhang released this 02 Mar 07:08
· 98 commits to main since this release

What's New

📊 LDBC Social Network Benchmark: 97% Coverage

36 of 37 LDBC SNB queries now pass — up from 14/37 in v0.6.2-dev. 22 queries promoted from adapted workarounds to official Cypher syntax. The sole remaining gap is bi-16 (CALL subquery — a known language feature limitation).

🚀 New Features

  • GraphRAG structured output (format: "Graph") — query results as graph-structured JSON with nodes, edges, and properties for direct consumption by visualization tools and RAG pipelines
  • ClickHouse cluster load balancing (CLICKHOUSE_CLUSTER env var) — distributes queries across cluster nodes for horizontal read scaling
  • apoc.meta.schema() — Neo4j APOC compatibility for MCP servers and graph introspection tools
  • LLM-powered schema discovery (:discover command in clickgraph-client) — generates YAML graph schema from ClickHouse table metadata via Anthropic or OpenAI-compatible LLMs
  • Weighted shortest path (cost(path) function) — Dijkstra-style weighted traversal with bidirectional weight CTEs
  • List comprehension ([x IN list WHERE cond | expr]) → optimized to arrayCount(), avoiding correlated subqueries
  • Pattern comprehension → pre-aggregated CTE + LEFT JOIN approach, plus arrayConcat() for list concatenation
  • Chained map access (a.b.c), map literal node flattening, map property subscript access
  • Supertype inference (Post+Comment → Message) with IN [col]OR expansion for ClickHouse
  • UNWIND support via ClickHouse ARRAY JOIN
  • --log-level CLI flag for runtime log configuration

🐛 Bug Fixes (highlights)

  • Undirected edge UNION generation for mid-chain and multi-pattern MATCH
  • 10+ VLP fixes: reverse branch paths, composite IDs, *0.. zero-hop, CROSS JOIN removal, deduplication
  • OPTIONAL MATCH: INNER→LEFT conversion, orphan JOIN removal, collect()/IN compatibility
  • CTE scope: bare variable resolution, buried WithClause preservation, composite alias augmentation
  • shortestPath: CASE path IS NULL rewriting, endpoint filter preservation
  • Parser: leading whitespace after $param syntax
  • Browser click-to-expand: 5 regression fixes
  • Deterministic output: HashSet→BTreeSet/BTreeMap across anchor selection and schema iteration

⚙️ Infrastructure

  • Integration tests: 3,068 passing, 57 stale xfails removed
  • Scoping-only WITH collapse optimization
  • Schema-parameterized SQL generation tests (76 tests × 6 schemas)
  • Browser interaction test coverage

See CHANGELOG.md for full details.