Releases: blairforce1/kustofmt
Release list
v0.1.5
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 detachedchecksums.txt.pemandchecksums.txt.sigpair. The
bundle carries the transparency-log inclusion proof, socosign 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-checkruns 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. ASigning smokeworkflow 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.yamlcarries an explicitversion, 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
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
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
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
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
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,-dand stdin filter mode, with gofmt's exit-code conventions
(0clean,1files need formatting under-l,2operational error).- sops-encrypted files are detected structurally and skipped by default;
--include-sopsoverrides. - 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.