Changelog
All notable changes to Harpoon (hpn) will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Renamed
- list-images → extract: The subcommand that extracts image list from Helm charts has been renamed to
extract. The namelist-imagesremains available as an alias for backward compatibility.
[v2.0.2] - 2025-02-13
Added
- Project logo: New
logo.pngat repo root, used in README. - CONTRIBUTING.md: Build, test, vet, code style (gofmt, English comments), PR process, exit code and logging notes.
- Package doc comments:
pkg/errorsandinternal/runtimeforgo docvisibility. - Cmd tests: Table-driven tests for
readImageListandmergeExtraArgsincmd/hpn/common_test.go. - CI:
go mod verify,go mod tidycheck, andgo vet ./...in the test workflow.
Changed
- Subcommand registration: All subcommands (pull, save, load, push, login, ls, rmi) now registered centrally in
root.go. - Comments: All Go comments in runtime packages (interface, docker, podman, nerdctl, skopeo) translated to English.
Fixed
- Exit codes: CLI now uses 0 (success), 1 (runtime/operational error), 2 (usage error). Scripts can rely on exit code 2 for missing required flags or invalid arguments.
- Usage error messages: User-facing messages for missing
-f,--chart, or--registryno longer append ": usage".
Other
- .gitignore: Added
images/(default save/load output directory).
[v2.0.1] - 2025-02-13
Added
- list-images: New
hpn list-imagessubcommand (nowextract) to extract container image lists from Helm charts (remote or local tgz/dir). - ls: New
hpn lssubcommand (aliaslist) with three modes: runtime, path, or check file. - rmi: New
hpn rmisubcommand to remove images from the local runtime. - internal/chart: New package for chart fetch,
helm template, and YAML image extraction.
Improved
- list-images filtering: Image extraction now filters out non-image strings.
[v2.0] - 2025-01-21
Major Release Highlights
- Login Command: Unified registry authentication for Docker, Podman, Skopeo, Nerdctl.
- Skopeo Integration: Full support for pull, save, load, and push.
- CLI Refactoring: Subcommand-based architecture (hpn pull, hpn save, etc.).
- Configuration: New
pathssection, removedmodes.
[v1.1] - 2024-12-19
--runtimeand--auto-fallbackparameters.- Smart runtime detection with fallback mechanism.
[v1.0] - 2024-12-01
- Initial release of Harpoon Go rewrite.
- Support for pull, save, load, push with Docker, Podman, Nerdctl.
For the complete changelog, see the full changelog on GitHub.
