Releases: jlandowner/helm-chartsnap
Releases · jlandowner/helm-chartsnap
v0.4.2
v0.4.1
v0.4.0
Features
- Intoroducing new snapshot format
v3
: it enables to keep YAML property's orders and comments. - Add
--snapshot-version
flag to specify snapshot versions.--legacy-snapshot
flag is deprecated. The default is the latest but automatically identified a proper version to be compatible with the existing snapshot files. Currently the following versions are available.v3
: latest. usekustomize/kyaml
to decode/encode helm output. It can keep YAML property's orders and comments.v2
: older YAML format introduced in v0.3.0. It usedgopkg.in/yaml.v3
as decoder/encoder.v1
: legacy TOML format snapshot. It is already deprecated.
Changelog
- 280ed10 Add codecov badge
- 7261725 Remove unstable job
- a95bd81 Add code coverage in CI
- ee81b84 Refactoring for test
- b9d8314 fix sudmodule command
- 3609365 Refactor bannerPrintln function to use a mutex for thread safety
- cda4598 Add integ-test-kong in Makefile and CI
- d996b05 Update dependencies
- fd16622 fix CI
- 6d09dd0 Add testing for example/app2 in make integ-test
- 2e4a7fb Update kong/charts integration test
- db108c9 fix to use latest snapshot format if snapshotfile does not exist
- d7c2b7d Support snapshot format v3 (#104)
- f40c890 add example/app2 for empty snapshot
- e5bd67e Update ingress-nginx
- d734532 Update helm help snapshot
- 52375b5 Add test to check diff between chartsnap's snapshots and raw helm template outputs
- d533fa8 Add action
- 73a709e Update CI actions to run unittest and integration test on every pull request
- b2413d5 Update cilium snapshot
- 03069a3 Update copyright 2024
- a1a7b45 Update snapshot by helm chartsnap action
- 000cff3 Update snapshot by helm chartsnap action
v0.3.1
v0.3.0
⚠️ Breaking Change
- Change snapshot format as YAML. You can use the snapshot file as standard Kubernetes manifests.
- Previous legacy TOML-based snapshot format marked as deprecated.
- Remove sorting in snapshot. If helm output order is changed, it bring you the diffs.
Legacy snapshot:
[test-values]
SnapShot = """
- object:
apiVersion: v1
kind: Pod
...
- object:
apiVersion: v1
kind: Service
...
"""
New YAML format (standard helm output):
apiVersion: v1
kind: Pod
...
---
apiVersion: v1
kind: Service
...
If existing snapshot is legacy format, you can stil match and diff snapshots but show warnings.
Updating snapshots, new format is used for new snapshots.
If you want to keep legacy snapshot format when update, update snapshot with --legacy-snapshot
flag.
Changelog
v0.2.0
Changelog
- 5804fef Update dependencies in go.mod file
- b691b9f Update Makefile with dynamic HELM_PLUGIN_PATH
- 196c46b Add charts submodule and test-kong-chart.sh script for regression test
- c1b9bc6 Fix go.mod
- baf8896 Add kong on user list
- 5b87b0c Update dependencies
- 3081373 Bump k8s.io/apimachinery from 0.28.4 to 0.29.3
- fa902c5 Bump google.golang.org/protobuf from 1.31.0 to 1.33.0
- 6fd321e Bump github.com/evanphx/json-patch/v5 from 5.8.1 to 5.9.0
- 49e5614 Bump github.com/onsi/ginkgo/v2 from 2.15.0 to 2.17.0
- 9a54a8b Bump golang.org/x/sync from 0.5.0 to 0.6.0
- b16e7e0 Bump github.com/onsi/gomega from 1.30.0 to 1.31.1
- 23a4904 Bump github.com/evanphx/json-patch/v5 from 5.7.0 to 5.8.1
- 2587f8a Update README.md
- bc0badc Add doc: dynamicFields with / in key
- 40d49d9 Fix ci nginx-gateway-fabric
- 8cdf361 Fix typo in README.md