Release 0.5.0
Install
go install github.com/jedwards1230/labctl@0.5.0Or download a static binary for your platform below.
labctl v0.5.0
This release adds a self-update command for keeping labctl current without manual downloads, and delivers a broad hardening pass covering secret scrubbing, exit-code correctness, spec caching, and a security vulnerability fix.
Features
Self-Update Command
labctl can now update itself in place:
labctl self-updateFetches the latest release and replaces the current binary. Build info (labctl version) now reports honest version metadata derived from the actual build rather than a placeholder.
Bug Fixes
- Secret scrubbing: Sensitive values are no longer leaked in logs or error output.
- Exit-code parity: Commands now return non-zero exit codes consistently on failure, making labctl more reliable in scripts and CI pipelines.
- Spec cache: API spec lookups are now cached correctly, reducing redundant network calls and fixing stale-spec edge cases.
- CVE bump: Updated a dependency with a known CVE.
Improvements
- Expanded test coverage across the hardening batch to back the above fixes.
labctl versionoutput now reflects true build-time version information.
Commits
- Merge pull request #11 from jedwards1230/feat/self-update (8c1ee3f)
- Merge pull request #10 from jedwards1230/feat/hardening-batch (5500604)
Full Changelog: v0.4.0...v0.5.0