v0.5.0 Release
Highlights
- Private substituter authentication: Private caches can now be accessed via HTTP Basic authentication, with a dedicated credentials file and
credentialFileoption in NixOS/nix-darwin/Home Manager modules for declarative setup - Auxiliary endpoints and home page: Added a
/healthendpoint for health checking, an optionalpriorityquery parameter to/nix-cache-infoendpoint, and a simple landing page at the root path - Internal refactoring: Ongoing refactoring of the internal architecture and Nix flake structure to improve long-term maintainability
- System testing: Added automated system tests running in CI across Linux and Darwin platforms
New Features
- Added support for private substituters via HTTP Basic authentication, with a dedicated credentials file
- Added
credentialFileoption to NixOS, nix-darwin, and Home Manager modules for declarative credential configuration - Added optional
priorityparameter per substituter, reflected in the/nix-cache-inforesponse - Improved substituter probing and health recovery strategy
- Added
/healthendpoint - Added a landing home page
Bug Fixes
- Fixed credential file having no read permission when running as a systemd dynamic user service
Documentation
- Clarified licensing scope for Rust source code, Nix code, and documentation
What's Changed
- Refactor by simplify component naming and changing module structure by @StarryReverie in #26
- Refactor by improving
Substituteraggregate cohesion by @StarryReverie in #27 - Add a dedicated configuraion file for development environment by @StarryReverie in #28
- Improve the strategy of substituter probing and health recovery by @StarryReverie in #29
- Add support for private substituter based on HTTP Basic authentication by @StarryReverie in #30
- Add
credentialFileoption to NixOS/nix-darwin/Home Manager modules by @StarryReverie in #31 - Update flake inputs by @StarryReverie in #32
- Add system test for NAR info querying by @StarryReverie in #33
- Register system test executables in Nix flake and add system test workflow by @StarryReverie in #34
- Update rust toolchain to 1.95.0 by @StarryReverie in #35
- Support cooperative shutdown mechanism in internal actor runtime by @StarryReverie in #36
- Add optional
priorityparameter in/nix-cache-infoendpoint by @StarryReverie in #37 - Add
/healthendpoint by @StarryReverie in #38 - Add home page by @StarryReverie in #39
- Refactor Nix Flake by using flake-parts partition by @StarryReverie in #40
- Fix no read permission for credential file when running as systemd dynamic user service by @StarryReverie in #41
- Use magic-nix-cache-action in workflows by @StarryReverie in #42
- Clarify licenses and add documentation sections by @StarryReverie in #43
Full Changelog: v0.4.2...v0.5.0