Kuzu V0 136 Fixed Guide

Based on the syntax of your request, you are referring to Kuzu version 0.1.36 (KùzuDB), the open-source embeddable graph database.

Version 0.1.36 was a significant patch release that introduced critical features—most notably Foreign Keys—and resolved several major "pain points" for users migrating from other database systems.

Here is a technical write-up regarding the fixes and features introduced in this release.


1. Implementation of Foreign Key Constraints

Prior to v0.1.36, Kuzu supported Primary Keys for node uniqueness but lacked Foreign Key enforcement for relationships. This meant the database relied on the application layer to ensure referential integrity (i.e., ensuring a relationship connects two existing nodes). kuzu v0 136 fixed

The Fix: v0.1.36 introduced the REFERENCES keyword, allowing users to define explicit foreign keys.

  • Syntax: CREATE NODE TABLE User (ID INT64, name STRING, PRIMARY KEY (ID)); followed by table definitions that reference this primary key.
  • Impact: This prevents "dangling" relationships and enforces schema validity at the storage engine level. This is a critical fix for production environments where data consistency cannot be delegated to the client.

3. The JSON Parsing Regression (Issue #910)

Version 0.135 broke support for nested JSON objects exceeding three levels. Developers relying on Kuzu’s built-in JSON extractor received malformed outputs or outright segfaults. This was particularly painful for those using Kuzu as an ETL (Extract, Transform, Load) tool.

Kuzu v0.136 fixed reintroduces a recursive descent parser with enhanced stack overflow protection. The new parser handles arbitrarily deep JSON (tested up to 128 levels) and improves parsing speed by 18% compared to v0.134 (the last stable version). Additionally, error messages now include line and column numbers for malformed JSON, drastically improving debuggability. Based on the syntax of your request, you

Final Verdict: Should You Upgrade?

Absolutely. Yes.

If you are currently using Kuzu 0.136 in any environment—development, staging, or production—the "fixed" variant is not optional; it is mandatory. The original v0.136 contains a memory unsafety that will manifest under moderate load.

The kuzu v0.136 fixed release represents exactly what the open-source community does best: rapid identification, transparent communication, and surgical correction of a critical bug without waiting for a major release cycle. Syntax: CREATE NODE TABLE User (ID INT64, name

Introduction to Kuzu

Kuzu is a relatively new player in the graph database landscape but has quickly gained attention due to its high performance, scalability, and Cypher query language support. It is built to work seamlessly with large-scale graph datasets and provides efficient storage, querying, and data manipulation capabilities.

Step 3: Validate the Fix

After migration, run this diagnostic query:

RETURN length((:Person id: 136)-[:KNOWS*1..4]->(:Person)) AS stability_test;

Expected result: A non-zero integer and no crash.