Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 0.14.0.1 - 2026-12-04

- **nova-cache builds with crypton 2: the bound is `crypton >= 1.1 && < 3`.** crypton's 2.x releases refuse input their specifications rule out and carry fixes from security reviews, and nova-cache builds and passes its tests against 2.3.0 unchanged. One change reaches nova-cache's behavior: from 2.0, crypton's Ed25519 verification refuses a non-canonical signature, which 1.x accepted, so a narinfo signed that way does not verify in a build with crypton 2.
- **The README in the package links LICENSE, NOTICE and the license badge where Hackage can follow them, and says what the public cache holds: the toolchain nova-nix builds from stage0-pe32's 1,623-byte seed, the closure of its Windows `hello` recipe and every source its Windows package set fetches.** The README in the 0.14.0.0 tarball, the one Hackage shows, linked those files by relative path, which Hackage cannot resolve, and listed only the sources and the `hello` closure.

## 0.14.0.0 - 2026-11-27

- **`narPrefix` in `NovaCache.NAR.Stream` parses a NAR that more input follows: it finishes at the root node's close, without awaiting more input, with the bytes after that close. `NarStep` takes the type of the result `NarDone` carries, which is `()` from `narStream`.** The parser accepted an archive only at the end of its input and failed on any byte after the root node, so a NAR inside a stream that goes on past it, as the worker protocol sends one followed by the rest of the request, could not be parsed without knowing its length first. Upstream's `parseDump` at 2.36.0 reads a NAR from such a stream by stopping at the root node's close and leaving what follows to the stream's next reader, and `narPrefix` does the same, through the node parsing `narStream` uses. The bytes it finishes with are a suffix of the last chunk fed, so the archive is every byte fed before them, which is what a caller hashes and counts. An input that ends before the root node's close fails as truncated, as `narStream` fails it. `narStream` still requires the end of input after the root node, and a consumer matching its `NarDone` now matches `NarDone ()`.
Expand Down
1 change: 0 additions & 1 deletion changelog.d/crypton-2.md

This file was deleted.

2 changes: 1 addition & 1 deletion nova-cache.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cabal-version: 3.4
-- 3.0 an in-package component name shadowed its external namesake
-- (the hazard the zstandard library's name dodges, documented there).
name: nova-cache
version: 0.14.0.0
version: 0.14.0.1
synopsis: Nix binary cache protocol: NAR, narinfo, signing and a WAI server
description:
The Nix binary cache protocol in Haskell: nix-base32, NAR serialization
Expand Down
Loading