go.yaml.in/yaml/v4: the one test that reads YAML takes the new major #89
Loading…
Reference in a new issue
No description provided.
Delete branch "yaml-v4"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The only importer of the YAML library is
internal/config/example_test.go, which decodes the example's StatefulSet into a struct withyaml.Unmarshal. The move fromgo.yaml.in/yaml/v3togo.yaml.in/yaml/v4is the import path:Unmarshal(in []byte, out any) erroris the same, and the v3-to-v4 migration guide's changes (formatting, error shapes, custom node hooks) are of what this test does not use. v3 stays in go.mod as an indirect dependency of the Kubernetes libraries. It replaces Renovate's #60, which only added a require nothing imports, and makes #59 (v3.0.6) moot.