Skip to content

Releases: blairforce1/kustofmt

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 21 Aug 06:08
e7b53e2

Nothing about the formatter changed: the output is byte-identical to 0.1.4, and
this release is still built against kyaml v0.21.1. What changed is how the
release proves it is ours.

Changed

  • The release is signed into checksums.txt.sigstore.json, a Sigstore bundle,
    replacing the detached checksums.txt.pem and checksums.txt.sig pair. The
    bundle carries the transparency-log inclusion proof, so cosign verify-blob
    no longer searches Rekor and no longer fails when Rekor is unreachable. The
    README documents the new command; releases up to 0.1.4 keep the old pair and
    the old command.
  • Container image signatures are unchanged and still verify with cosign verify.

Added

  • make sign-check runs the release's own cosign arguments, read out of
    .goreleaser.yaml, and fails if they do not write the file the config
    declares. It runs in CI, which previously executed no part of the release
    pipeline. A Signing smoke workflow covers the keyless half, on pull requests
    that touch signing and on demand.
  • The release workflow verifies what it just published, using the command the
    README publishes, including with Rekor pointed at a dead port.
  • compatibility.yaml carries an explicit version, so a release can be cut
    for a reason kyaml did not cause. This one is the first.

Style provenance

The output style is defined by the kyaml release this binary was built
against. kustofmt -version prints it.

kustofmt kyaml
0.1.5 v0.21.1

A kyaml bump that changes emitted style is a breaking change for kustofmt.

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 20 Aug 21:37
v0.1.4
8a54f25

Changed

  • Built against kyaml v0.21.1, the library shipped by kustomize 5.8.1.
    The golden corpus is unchanged, so this release emits byte-identical output
    to its predecessor; only the provenance differs.

Style provenance

The output style is defined by the kyaml release this binary was built
against. kustofmt -version prints it.

kustofmt kyaml
0.1.4 v0.21.1

A kyaml bump that changes emitted style is a breaking change for kustofmt.

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 20 Aug 21:28
v0.1.3
4b98cfa

Changed

  • Built against kyaml v0.21.0, the library shipped by kustomize 5.8.0. The golden corpus is unchanged, so this release emits byte-identical
    output to its predecessor; only the provenance differs.

Style provenance

The output style is defined by the kyaml release this binary was built
against. kustofmt -version prints it.

kustofmt kyaml
0.1.3 v0.21.0

A kyaml bump that changes emitted style is a breaking change for kustofmt.

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 20 Aug 21:19
v0.1.2
10a4ee5

Changed

  • Built against kyaml v0.20.1, the library shipped by kustomize 5.7.1. The golden corpus is unchanged, so this release emits byte-identical
    output to its predecessor; only the provenance differs.

Style provenance

The output style is defined by the kyaml release this binary was built
against. kustofmt -version prints it.

kustofmt kyaml
0.1.2 v0.20.1

A kyaml bump that changes emitted style is a breaking change for kustofmt.

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 20 Aug 21:09
v0.1.1
08f7901

Changed

  • Built against kyaml v0.20.0, the library shipped by kustomize 5.7.0. The golden corpus is unchanged, so this release emits byte-identical
    output to its predecessor; only the provenance differs.

Style provenance

The output style is defined by the kyaml release this binary was built
against. kustofmt -version prints it.

kustofmt kyaml
0.1.1 v0.20.0

A kyaml bump that changes emitted style is a breaking change for kustofmt.

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 20 Aug 21:00
v0.1.0
395b81e

Added

  • Initial release: a gofmt-shaped formatter that emits kustomize's house YAML
    style — two-space maps, indentless sequences, block style throughout, with
    genuinely empty collections ({}, []) left in flow style.
  • -l, -w, -d and stdin filter mode, with gofmt's exit-code conventions
    (0 clean, 1 files need formatting under -l, 2 operational error).
  • sops-encrypted files are detected structurally and skipped by default;
    --include-sops overrides.
  • Key order is preserved. kustofmt is a style formatter and never reorders
    fields.
  • A leading --- round-trips per file: Flux exports keep theirs, kustomize
    output stays bare.
  • Output is verified before it is returned — it must decode to the same values
    as the input and be a fixed point — which catches two defects in the
    underlying YAML emitter rather than writing them to disk.
  • Files are replaced atomically, preserving mode and ownership.
  • Built against kyaml v0.19.0, the library shipped by kustomize 5.6.0.

Compatibility

Which kustomize releases each version matches, generated from
compatibility.yaml:

kustofmt kyaml kustomize CLI
0.1.0 v0.19.0 5.6.0

Style provenance

The output style is defined by the kyaml release this binary was built
against. kustofmt -version prints it.

kustofmt kyaml
0.1.0 v0.19.0

A kyaml bump that changes emitted style is a breaking change for kustofmt.