Knotrel Docs

Knotrel v1.3.0 Release Notes — Graphs, Identity and Snapshots

Status: released 2026-12-02. Knotrel can now manage graph resources owned by tenants (create, list, read, update and delete; reading and changing their content over HTTP is not part of this release), authorize requests from an identity that a trusted gateway verifies, and snapshot the default graph and restore it at startup. All three are experimental and opt-in; with the default configuration the server behaves as in v1.2.0. The performance qualification of candidate 051afb7 against v1.2.0 is accepted with exceptions; the release ships the release code of that candidate (see Performance qualification).

Scope

The 1.x contract of v1.0.0 is unchanged (compatibility). Lockstep: knotrel-core, knotrel-server, the console and the two new crates knotrel-storage and knotrel-runtime share the version 1.3.0 and one tag, v1.3.0.

What is new since v1.2.0

Graph runtime and registry (ADR 0015; #228, #229, #231).

Graph resources, experimental (#236, graph resources).

Gateway-verified identity, experimental and opt-in (ADR 0017; #227, authentication).

Snapshots of the default graph, experimental and opt-in (ADR 0016; #230, #234, #235, #237, snapshots).

Console (#242, console guide).

Publication. knotrel-storage and knotrel-runtime are published on crates.io for the first time, before knotrel-server, which depends on them (#241). The release bundle has four .crate files and 18 assets.

Compatibility

No breaking change: v1.3.0 follows the 1.x contract of v1.0.0 (compatibility policy). Every addition is experimental: the two new crates, the knotrel_server::auth module, the /v1/graphs and /v1/snapshots routes, the KNOTREL_AUTH*, KNOTREL_TENANT_MAX_* and KNOTREL_SNAPSHOT_DIR variables, the new error codes, the persistence and authentication fields of /v1/info and the snapshot fields of /v1/stats. The existing functions of knotrel-core are unchanged (ADR 0018); its additions are the experimental listing methods.

Console and servers (mandatory check)

The console’s browser tests (Chromium and Firefox; npm run build, then npx playwright test with KNOTREL_SERVER_BIN) were run on 2026-12-01 on the release branch, against two servers:

Server Result
Release branch, version 1.3.0 (cargo build --release -p knotrel-server --locked) 38 of 38
v1.2.0, built from the tag v1.2.0 (446253a) by the v1.3.0 qualification campaign 30 of 30 outside graphs.spec.ts; the 8 graph resource and gateway identity tests fail or do not run, because server 1.2 has neither feature

knotrel.supportedServer of the console is >=1.2.0 <1.4.0: servers 1.2.x and 1.3.x. With server 1.2, the Graphs page and gateway identity are not available. Compatibility change: console 1.2 declared >=1.1.0 <1.3.0; server 1.1 was not tested again with console 1.3, so under the compatibility policy (section 5: never wider than tested) it is outside the 1.3 range. Console 1.2 keeps its declared support for server 1.1.

Performance qualification

Qualification of candidate 051afb7 against v1.2.0: accepted with exceptions (maintainer decision of 2026-12-01 on #187). Every class stays as measured; nothing is converted into PASS. Attempt 3 ran on one Apple M3 host on 2026-12-01, after a restart, with no swap activity, on AC power; attempts 1 and 2 were nonconforming for host reasons and contribute no data. Plan, report and evidence: v1.3.0 campaign page; every verdict with its interval: qualification report.

Deciding items on 051afb7: 41 PASS, no REGRESSION, one FAIL and three items without a verdict, each accepted with the exception stated next to it. Q1, Q2, Q4 and Q5 are PASS in both query-limiter configurations.

What passed:

Exceptions, accepted by the maintainer:

Hub 10k events: still unqualified. Under decision D2 the cell B4-http-events-compact-bfs-hub-10000 was re-measured, because the lifecycle request path changed: +5.7 % [+4.2, +6.5] % against the 25 % tolerance (class PASS under the absolute B4 rule). It is not a verdict on the requirement. In the frozen protocol the cell is outside the 23 deciding cells: it has no verdict on the requirement, as in v1.0.0 and v1.2.0. Its reference splits the two hub chunks across two plain requests (76 requests against 74), so a reader querying the server directly can observe the state between them; no atomic reference was adopted for events (hub 10k reference design, decisions M1 and M2). The v1.2.0 disposition stands: hub 10k events carries no performance claim.

Descriptive, no release verdict:

Snapshots (N1, descriptive)

Source graph of 100 000 nodes and 199 994 edges, 6 pairs per engine; all 72 records passed the correctness gate (counts, source progress, readiness and 3 977 connected answers against an independent union-find). Snapshot files are 4.30 MB. Restore to ready divided by rebuild to ready, median and range of the paired ratios:

Engine Snapshot Restore to ready Rebuild to ready Restore / rebuild
compact-bfs 66.9 ms 45.4 ms 30.2 ms 1.50 [1.47, 1.52]
ett 70.6 ms 130.5 ms 121.2 ms 1.07 [1.06, 1.14]
hdt 70.5 ms 151.1 ms 146.2 ms 1.03 [0.92, 1.10]
cluster-forest 70.3 ms 85.8 ms 72.8 ms 1.20 [1.07, 1.25]

In the loopback test with 100,000 nodes, the time to reach ready, including catching up the feeder’s events, was 1.07 to 1.50 times that of a full rebuild on three of the four engines. On hdt the measurement did not distinguish the two times. To size recovery, measure both modes with your own data source and load. The measurement says nothing about larger graphs, remote sources or sources that cannot replay from the start.

Release code. crates/, Cargo.toml, Cargo.lock and rust-toolchain.toml of the release commit equal 051afb7 apart from the version bump to 1.3.0 and documentation: the crate READMEs and the crate-level //! comments in the four src/lib.rs files, which compile to no code.

Release gates

The unchecked items are recorded after they happen; this status does not change. Items checked after the tag are recorded on main; the tagged notes at v1.3.0 keep the state at the tag.