github kubernetes-sigs/kustomize kustomize/v5.8.2

2 hours ago

Introduction

In this release, we implemented refactoring to update dependencies and add new features.

This release adds the kustomize edit add configuration and kustomize edit remove component commands. #6037 #6083
The built-in OpenAPI schema is now loaded from a pre-compiled bundle embedded in the binary. #6190
The schema itself is still based on Kubernetes v1.21.2, so the output of kustomize build is not expected to change. If you notice any difference, please file an issue.

Feature

#6037: feat: add support for 'kustomize edit add configuration' command
#6083: Add kustomize edit remove component command

fix

#6263: fix: report an error when the fetched openapi schema is not JSON

Dependencies

#6075: update go 1.25.7
#6078: bump go-git and x/crypt
#6085: update otel lib to v1.40.0
#6134: drop 'go-spew' dependencies and update dependencies
#6138: bump k8s.io/kube-openapi, drop github.com/mailru/easyjson
#6186: bump/go v1.26.5
#6187: update vuln dependencies at 2026/07
#6236: chore: bump stretch/testify pkg to remove old yaml dependencies
#6248: build(deps): bump golang.org/x/text from 0.38.0 to 0.41.0
#6249: build(deps): bump go.yaml.in/yaml/v2 from 2.4.2 to 2.4.4
#6251: build(deps): bump github.com/go-errors/errors from 1.4.2 to 1.5.1
#6254: build(deps): bump github.com/google/gnostic-models from 0.7.0 to 0.7.1
#6255: build(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12
#6256: build(deps): bump golang.org/x/sys from 0.45.0 to 0.47.0
#6266: build(deps): bump golang.org/x/text from 0.41.0 to 0.42.0
#6267: build(deps): bump golang.org/x/sys from 0.47.0 to 0.48.0
#6273: bump go-git, kin-openapi and k8s.io

chore

#6190: chore: refactor read scheme to openapi from kubernetes api definition
#6274: build: use the golangci-lint v2 with release binary
#6305: Update kyaml to v0.21.2
#6306: Update cmd/config to v0.21.2
#6307: Update api to v0.21.2

Don't miss a new kustomize release

NewReleases is sending notifications on new releases.