Release Notes
What changed in each release, what it means for you, and what to watch
out for when upgrading. The developer-level ledger behind this page —
the same changes with their reasoning and commit ranges — is the
project’s CHANGELOG.md.
Version 0.4.2 — 11 November 2026
Fixed: grouped join queries that slowed down as the data grew
Analytical queries — a GROUP BY over several joined patterns — could
scale badly: one benchmark query of that shape ran in half a second at
the 10m-triple tier but took about 31 seconds at the 100m-triple tier,
slower than engines Waratah normally beats, because the executor kept
re-partitioning a join table it had already built and cached. The
cached table is now reused the way the other join shapes always used
it. On the project’s benchmark suite:
-
the affected query dropped from 30.7 s to 3.6 s (hot) at the 100m-triple tier, and roughly halved at the 10m tier;
-
overall suite timing improved by 9–14% at both tiers.
Query answers are unchanged in content. One observable difference: in
results without ORDER BY — where SPARQL leaves the row order
unspecified — the order produced by the affected query shapes may
differ from earlier releases.
Changed: joins use less peak memory
The hash tables joins build now store their row lists in one flat array instead of one small allocation per key. Peak memory during query execution — the number that decides whether a server fits its RAM budget — was measured lower on every benchmark corpus: 3–10% lower on average, and up to 40% lower on the queries with the largest joins. Timing is unchanged to moderately faster, with the biggest joins gaining the most.
The previous layout remains selectable for diagnostics: set
WARATAH_JOIN_TABLE=map in the server environment. An unset or
unrecognized value selects the new layout (the default).
Version 0.4.1 — 10 November 2026
New: text search (opt-in)
Full-text search over string literals, switched off by default. Turn it
on with waratah start --with-text or the [text] section of
{config-dir}/text.toml. When enabled:
-
Jena-style
FILTER text:query(?lit, "pattern")finds matching literals through a full-text index instead of scanning. -
STRSTARTS,STRENDS, and anchoredREGEXfilters can use the same index to hand the planner a small candidate set — a selective prefix-join benchmark query went from 5.2 s to 28 ms at the 10m tier.
The index covers every string literal, which is why it is opt-in: it
changes write latency and disk use. Deleted rows are not removed from
the index; run waratah text rebuild-index after bulk deletes. Start
with the Text Search page and the
how-to guide.
Faster: counting queries
COUNT(*)-shaped queries and rdf:type tallies now split their work
across the storage workers. On the 13.4M-row benchmark store: a
count-all went from 2297 ms to 293 ms, and a type-count tally from
367 ms to 44 ms. WARATAH_COUNT_WALKS tunes the slice count (0
restores the serial walk).
Changed: serving threads are unpinned by default
WARATAH_SERVE_CORES (introduced default-on in 0.4.0) now defaults to
off everywhere. Measurement on the benchmark machine showed static
pinning strictly harmful for query latency tails under the new worker
pool. This changes thread placement only — answers are unaffected.
Fixed: two read-path slowdowns introduced in 0.4.0
RocksDB statistics collection had been attached to every database the process opens, adding a flat per-read tax: two benchmark queries ran 21% and 34% slower than their 0.3.2 baselines. Statistics now collect only when the SST prefix-filter feature is armed; both queries returned to baseline.
Version 0.4.0 — 9 November 2026
New: saved query library
A curated, read-only query library for tools and dashboards: put
*.rq files under {queries-dir}/{repository} (or use the samples
bundled with --load-demo) and clients can list them at
GET /waratah/repositories/{id}/queries. The console’s Query library
reads the same feed. The HTTP contract is on the
query library API page.
New: large literals move to a blob store
Oversized values — very long strings, large binary literals, geometry
WKB — now live in a content-addressed blob store instead of being
carried through the string registry, keeping registries and index
scans smaller on data with large literals. waratah blob verify
checks the store’s integrity against the registry.
Faster: storage engine and parallel spill joins
-
The bundled storage engine moved from RocksDB 11.8.1 to 11.12, and the on-disk key format moved to v8 with shared-prefix compression — smaller SST files on data with repetitive keys.
-
Joins that spill to disk run their bucket loops across workers in parallel, and — fixing an oversight — queries arriving over HTTP now take that parallel path too.
-
Small scans whose size is known from statistics run on the calling thread instead of waking a worker, removing a fixed ~600 µs scheduling stall from every small lookup.
New (opt-in): per-SST prefix bloom filters
WARATAH_SST_FILTER=1 arms prefix bloom filters over the SST files,
skipping files that cannot contain a sought key. On wide
VALUES-driven scans of a 76 GB store it measured 15–27% faster;
cold starts and memory grow, so the default stays off. A correctness
bug found in the armed path (distinct rdf:type head scans truncating
their results on one large store) was fixed before release.
Changed: domain-scan modes simplified
The WARATAH_DOMAIN_SEEK_UNION mode was removed — batteries measured
it indistinguishable from the remaining modes, so setting it now warns
once and is ignored. Constraints are visited in key order on every
mode, which also fixes a paging bug where constraints sorting before a
resume cursor could be dropped. VALUES-bound SELECT DISTINCT
queries now take the domain-scan path instead of streaming every row
through dedup.
Fixed: SPARQL parsing correctness
The SPARQL front-end upgraded to sparopt 0.3.9, pulling in upstream
parser fixes for queries that previously returned wrong results, plus
recalibrated cardinality estimates. Separately, writes binding an
invalid term to the object of rdf:type are now rejected at the write
funnel instead of being stored.
New: AI services (opt-in)
Waratah can now act as a gateway between AI clients and your data. The feature is off by default; turn it on with:
waratah start --with-ai
(or enabled = true in the [ai] section of your configuration). When
enabled you get:
-
GET /waratah/ai— discovery of the available AI endpoints and upstream models. -
An LLM egress proxy at
/waratah/ai/upstreams/{id}/…— requests are forwarded only to upstreams you have allowlisted, and API keys stay with the client unless you configure one for an upstream. -
GET /waratah/repositories/{id}/ai-context— a schema summary of a repository, sized for AI clients that need to understand your data before writing queries.
With the feature off, these endpoints answer with a structured "not implemented" response — nothing else about the server changes. The full HTTP contract is in the AI services HTTP contract page.
New: documentation site and container image
If you are reading this page, you have found the first one: the project
documentation is now a versioned, searchable site built with Antora,
with dark mode included. Release builds also assemble the rustdoc API
documentation alongside it. A container image build
(scripts/build_container_image.sh) ships with a healthcheck and a
reproducible Python interpreter, so waratah can run in containers
without a host toolchain.
Changed: the command line
The waratah dev … commands are gone — the cluster commands are now
top-level, and starting a cluster daemonizes by default:
waratah start --load-demo # starts the cluster, returns once it is up
waratah stop # ends the background cluster
waratah standalone --load-demo # one process, stays attached
waratah start keeps the cluster running in the background and writes
logs to {data_dir}/logs/; use --foreground if you want it attached
to your terminal (service units and CI should use --foreground or
--debug). The full command surface is in the
Command Line page. If you have scripts that called
waratah dev …, they need updating — that is the one breaking change
in this release.
Watch out: query results that changed (correctly)
Three narrow corrections to how terms compare. You only notice them if your data contains the relevant values, and in every case the new answer is the correct one:
-
COUNT(DISTINCT …)over NaN float/double values no longer counts one value twice. -
Distinct lexical forms stay distinct terms:
+0.0and-0.0, and NaN values, keep separate identities insameTerm-style comparisons. PlainFILTER =is unchanged —+0.0 = -0.0is still true andNaN = NaNis still false, exactly as SPARQL specifies. -
Two timestamp literals for the same instant written with different UTC offsets are no longer whole-term equal — they are different lexical terms.
The reasoning and the full semantics are documented in the SPARQL deviations page.
Faster: geo queries
Plan costing now matches what the engine actually executes, and geo
queries reorder accordingly — same answers, far less work. On the
project’s benchmark corpus: transects across the 100m-triple tier went
from 412 ms to about 14 ms (hot), and distributions-intersect from
397 ms to about 27 ms. If you diff explain output between versions,
expect different join orientations on geo queries; results are
identical.
Operator notes
-
waratah geo rebuild-indexis dramatically faster — minutes at the 10m-triple tier instead of hours, scaling linearly instead of quadratically. If a rebuild was ever interrupted on an older version, run it once more: interrupted rebuilds now mark the index untrusted instead of silently serving a partial one. -
New:
waratah geo censusreports the geo index’s posting counts per level, useful for watching index size and estimator behavior. -
The RocksDB binding is now built from an in-tree fork; building from source needs a C toolchain (clang or g).
Version 0.3.1 — 25 October 2026
New: large joins spill to disk instead of running out of memory
Joins whose build side does not fit in memory now partition to the
spill root and merge back in order — the Grace hash join. Memory stays
bounded no matter how large the join grows, and joins that turn out to
be selective stay in RAM. Spill files go to --spill-dir (defaulting
to {data_dir}/spill when a data dir is set); without a data dir the
system temp directory is used, which is RAM-backed on many systems —
Waratah logs a warning at startup if so, and a --spill-dir on real
disk is the fix.
The spill path was hardened through several review rounds: serial and parallel execution produce identical row order, selective outputs return in-RAM, and spilled data is schema-checked.