nix-cache-login/CHANGELOG.md

33 lines
1.1 KiB
Markdown
Raw Normal View History

2026-02-26 11:18:46 +01:00
# Changelog
## [Unreleased]
Changes yet to be released are documented here.
2026-02-28 20:12:46 +01:00
## v0.1.3
- Improve `status` for server use by detecting service-account mode from config
- Detect whether the current token is a service-account token and validate it matches configured `client_id`
- Add explicit `status` health states for service-account mode (`OK`, `WARNING`, `EXPIRED`)
- Make `status` exit non-zero for `WARNING` and `EXPIRED` states
- Add unit tests for status mode/token detection helpers
## v0.1.2
- Fix path expansion when running in systemd
2026-02-27 09:53:24 +01:00
- Fix bug in netrc writing
2026-02-27 09:27:34 +01:00
- Add nixos, home-manager, and darwin-nix modules
2026-02-26 11:18:46 +01:00
## v0.1.0
Initial release.
- `login` — browser-based Authorization Code + PKCE flow
- `refresh` — refresh access token using stored refresh token
- `service-account` — headless client credentials flow for servers
- `status` — decode JWT from netrc, show expiry info
- `logout` — revoke tokens and clean up netrc
- TOML config with environment variable expansion
- netrc read/write preserving other entries
- Nix flake with package, app, checks, and devShell