v0.6.0 Release
Highlights
- Persistent query result caching: Query results can now be persisted to disk via the
--cache-dirCLI flag orSELECTOR4NIX_CACHE_DIRenvironment variable, allowing cache survival across process restarts - Module support for persistent caching: Added
enablePersistentCachingoption to NixOS, nix-darwin, and Home Manager modules - Internal refactoring: Ongoing refactoring of the internal architecture to improve long-term maintainability
- System testing: Added system tests for cache persistence, and parallelized the CI test workflow for faster feedback
New Features
- Added optional persistent caching for NAR info and NAR file location query results, configurable via
--cache-dirflag,SELECTOR4NIX_CACHE_DIRenvironment variable, or theenablePersistentCachingmodule option - Set a more conservative default for maximum concurrent requests
Bug Fixes
- Fixed 403 errors when fetching crates during Nix builds
What's Changed
- Allow manually triggering workflows by @StarryReverie in #44
- Refactor by removing dead code in
Substituteraggregate by @StarryReverie in #45 - Refactor by replacing index with
Substituterrepository by @StarryReverie in #46 - chore: Configure Renovate by @renovate[bot] in #47
- Fix 403 errors when fetching crates by using fix in nixos-unstable-small by @StarryReverie in #54
- Fix false-positive CI failures by dropping magic-nix-cache-action by @StarryReverie in #51
- chore(deps): bump Rust dependency reqwest to 0.13.4 by @renovate[bot] in #48
- chore(deps): bump Rust dependency which to 8.0.2 by @renovate[bot] in #52
- chore(deps): bump Rust dependency tokio to 1.52.3 by @renovate[bot] in #49
- Add TTL-cache KVDB utility by @StarryReverie in #55
- Refactor by extracting common domain models to a shared module by @StarryReverie in #56
- Use explicit expiry management for NAR info by @StarryReverie in #57
- Add in-memory repository for
NarInfoby @StarryReverie in #58 - Add optional persistent caching along with existing in-memory caching by @StarryReverie in #59
- chore(deps): bump Rust dependency snafu to 0.9.1 by @renovate[bot] in #60
- Add explicit expiry management for NAR file and optionally use persistent caching by @StarryReverie in #62
- Move renovate.json by @StarryReverie in #63
- Add
enablePersistentCachingoption for NixOS/nix-darwin/Home Manager modules by @StarryReverie in #61 - Refactor by extracting common system test utilities by @StarryReverie in #64
- Add system test for query result cache persistence by @StarryReverie in #65
- Parallelize system test workflow via dynamic matrix by @StarryReverie in #66
- chore(deps): re-target nixpkgs on nixos-unstable and update flake inputs by @StarryReverie in #67
- Set a more conservative
max_concurrent_requestsdefault value by @StarryReverie in #68
New Contributors
Full Changelog: v0.5.0...v0.6.0