Skip to content

Releases: jlandowner/helm-chartsnap

v0.4.2

16 Aug 00:49
Compare
Choose a tag to compare

Changelog

v0.4.1

08 May 04:24
Compare
Choose a tag to compare

Changelog

v0.4.0

29 Apr 14:07
Compare
Choose a tag to compare

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. use kustomize/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 used gopkg.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

09 Apr 14:48
Compare
Choose a tag to compare

Changelog

v0.3.0

09 Apr 14:07
Compare
Choose a tag to compare

⚠️ 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

  • #85 Change snapshot format as YAML
  • 34e6594 Refactoring unstructured package imports
  • 119f07c Update integration tests
  • d8c6926 Refactoring logging
  • 6c0a2c6 Change "gopkg.in/yaml.v3" to "sigs.k8s.io/yaml/goyaml.v3"
  • fcba122 Bump Go and packages

v0.2.0

04 Apr 15:58
Compare
Choose a tag to compare

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

v0.1.0

20 Dec 15:54
Compare
Choose a tag to compare

Changelog

  • #40 Feature: Allow defining common snapshot behavior in the .chartsnap.yaml file within a test values directory
  • 9244250 Remove unused property desc
  • 2f9de8b Rename --fail-once to --failfast
  • 3c79dee Add --parallelism
  • 9a54e22 fix yaml package
  • 8320822 a191255 Update CLI Usage

v0.0.9

12 Dec 05:48
Compare
Choose a tag to compare

Changelog

Chore

v0.0.8

18 Nov 19:33
Compare
Choose a tag to compare

Changelog

Chore

  • Add more tests
  • Update Examples
  • Update README
  • Enable dependabot
  • Enable codeql

v0.0.7

13 Nov 16:55
Compare
Choose a tag to compare

Changelog