nova-cache 0.14.0.0 → 0.14.0.1
raw patch · API changes only · 3 files changed · show whitespace changes · browse nova-cache-0.14.0.1
+18/−10 lines, 3 filesdep ~cryptonPVP ok
Dependency ranges changed: crypton
API changes (from Hackage documentation)
No changes to the public API.
version bump matches the API change (PVP)
Files
- CHANGELOG.md +5/−0
- README.md +10/−7
- nova-cache.cabal +3/−3
CHANGELOG.md view
@@ -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 ()`.
README.md view
@@ -2,7 +2,7 @@ [](https://github.com/Novavero-AI/nova-cache/actions/workflows/ci.yml) [](https://hackage.haskell.org/package/nova-cache)-[](LICENSE)+[](https://github.com/Novavero-AI/nova-cache/blob/main/LICENSE) nova-cache implements the Nix binary cache protocol in Haskell: nix-base32, NAR serialization (whole-tree and streaming), narinfo parsing, store paths,@@ -223,11 +223,12 @@ ### Public cache -A public instance runs at `cache.novavero.ai`. It serves the sources-nova-nix's Windows packages are built from and the closure of its Windows-`hello` recipe, which nova-nix's CI publishes on every push to its main-branch. To use it from Nix, add it to `/etc/nix/nix.conf`. On a multi-user-install, Nix ignores substituters set by users it does not trust.+A public instance runs at `cache.novavero.ai`. nova-nix's CI publishes to it+from nova-nix's main branch: the toolchain nova-nix's Windows package set+builds from stage0-pe32's 1,623-byte seed, the closure of nova-nix's Windows+`hello` recipe, and every source that package set fetches. To use it from+Nix, add it to `/etc/nix/nix.conf`. On a multi-user install, Nix ignores+substituters set by users it does not trust. ``` extra-substituters = https://cache.novavero.ai@@ -246,4 +247,6 @@ ## License -Apache-2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).+Apache-2.0. See+[LICENSE](https://github.com/Novavero-AI/nova-cache/blob/main/LICENSE) and+[NOTICE](https://github.com/Novavero-AI/nova-cache/blob/main/NOTICE).
nova-cache.cabal view
@@ -4,7 +4,7 @@ -- 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@@ -57,7 +57,7 @@ , base64-bytestring >= 1.2 && < 1.3 , bytestring >= 0.11 && < 0.13 , containers >= 0.6 && < 0.9- , crypton >= 1.1 && < 2+ , crypton >= 1.1 && < 3 , directory >= 1.3.8 && < 1.4 , filepath >= 1.4.100 && < 1.6 , http-types >= 0.12 && < 0.13@@ -199,7 +199,7 @@ , base64-bytestring >= 1.2 && < 1.3 , bytestring >= 0.11 && < 0.13 , containers >= 0.6 && < 0.9- , crypton >= 1.1 && < 2+ , crypton >= 1.1 && < 3 , directory >= 1.3.1.0 && < 1.4 , filepath >= 1.4.100 && < 1.6 , http-types >= 0.12 && < 0.13