Repository navigation
v5.25.0
Nuthatch 5.25.0 is a minor cut from main. It ships the fixes that landed after 5.24.3 and moves the SQL engine from Burrmill 0.5.0 to 0.5.3. There is no storage migration, and no NID, registry hash or sealed segment moves on a node.
Upgrade guidance
Replace the binary and restart. A 5.24.x store is used as it is.
- Evidence bundles keep verifying. A signed
nuthatch evidence makebundle made with 5.24.3 (Burrmill 0.5.0) verifies with 5.25.0 (Burrmill 0.5.3), one made on main with Burrmill 0.5.2 verifies with 5.25.0 too, and one made with 5.25.0 verifies with 5.24.3. Both give the same rows, the samerows_sha256and the samesegments_sha256; onlymade_withdiffers. A bundle records the nest, the block, the rows and the segments, not the engine version, so Burrmill's rule that a receipt verifies only on the engine release that made it does not apply to nuthatch bundles. - Some statements that used to answer now return a
400. Burrmill 0.5.1 to 0.5.3 bring more of DuckDB's binder rules. A statement 5.24.3 answered with a wrong value may now be refused with a Binder Error (see SQL engine below). A refused statement had a wrong answer before, so fix the statement. - 5.24 is a long-term-support line (SECURITY.md). Operators who want only security fixes can stay on 5.24.
CLI
nuthatch sql --urlworks from a directory that is not a nest (#3229, #3234). The documented second-terminal command,nuthatch sql --url http://127.0.0.1:8288 "..."run from anywhere, used to stop withno nest in .before it tried HTTP. Now it queries--url, and reportsno_nestonly if nothing answers. A directory that holds anuthatch.tomlis still checked against the instance (#3144).difffalls back the same way.devandbenchread the archive endpoint fromNUTHATCH_STATE_RPC(#3223, #3239), so a keyed archive URL stays out of argv andps. On an address-history nest, an exportedNUTHATCH_STATE_RPCorNUTHATCH_HISTORY_SOURCEis now ignored with a warning naming the variable. Only a value passed on the command line is refused, and the error names the flag.
npm launcher
npx nuthatch-indexerrefuses to run without checksums it can trust (#3218, #3238). If the package'schecksums.jsonis missing or unreadable, or has no valid SHA-256 for the platform's binary, the launcher stops and asks you to reinstall. It no longer downloads or runs a binary it cannot verify.
SQL engine (Burrmill 0.5.0 to 0.5.3)
- New Binder Errors where the old engine answered wrongly. Two examples:
CAST(1 AS DECIMAL(10,255))answered0and now givesBinder Error: DECIMAL type scale cannot be greater than width. A DECIMAL width outside 1 to 76, a negative scale, or a scale wider than the width is refused wherever a type is written.COUNT(DISTINCT *)answered1and is now refused.
- Also refused now, as DuckDB's binder refuses them:
countwith several arguments;- a boolean or NULL as an
ORDER BYkey; - a literal other than a position as a
DISTINCT ONkey; f(x) EXPORT_STATE.
- Changed answers:
COUNT(t.*)counts the rows wheretis present, as DuckDB does, where it used to count every row.regr_slopeandregr_r2follow DuckDB when there is no spread.concat_wsflattens list arguments.substrand theregexp_*functions refuse arguments that are out of range or that name a missing group.FROM tin a branch of aUNIONreads asSELECT * FROM t.
- Some join and scan plans change. Results are unchanged, but
/explainoutput differs for some joins, and some join-heavy statements run faster. - Burrmill 0.5.3 also fixes a pseudonymised-mode leak in its own CLI and browser tab. Nuthatch does not use pseudonymised mode.
Dependencies
ed25519-dalek3 (withcurve25519-dalek5.1) clears a cargo-deny advisory. It signs and verifiespackmanifests and evidence bundles, and keys frompack keygenon 5.24.3 still work.
Docs
- README and AGENTS.md share one golden-path snippet (#3233, #3242), and README website links point at the apex domain (#3236).
- Docs and help text say
audit chain,--history-sourceand--history-urlship since 5.24.2.
Known issues
- #3221 (P1): hosted deploy kit. The audit RPC URL, with its key, appears in a systemd unit's argv.
gate-exportfollows symlinks. There are also two pitfalls in the XDC shim. This affects operators who use the hosted-nest deploy scripts underdeploy/, not the binary. - #3102 (P1): opt-in Xatu history source. With
--history-source xatu, a bit-flipped logs file from the dataset is served as the chain's logs, because page checksums are not checked. The source is off unless you name it. If you use it, treat the dataset host as trusted, or cross-check withnuthatch audit chain.