Skip to content

v4.12.0

Latest

Choose a tag to compare

@camilamacedo86 camilamacedo86 released this 16 Feb 13:09
94434cd

🚀 Keep Your Scaffold Updated

The migration guide covers upgrading from any version to the latest, including AI-assisted helpers/commands for legacy scaffolds that may require manual steps. For the smoothest path, enable the AutoUpdate Plugin (uses GitHub Actions) or run kubebuilder alpha update locally—both use the same update logic. The other options are primarily for older projects missing cliVersion in the PROJECT file as a one-time step to reach a supported version; after that, you can rely on these workflows for ongoing updates.

✨ Upgrades

  • (go/v4): upgrade golangci-lint from v2.7.2 to v2.8.1. (#5403, #5481)
  • (go/v4): Upgrade certmanager from v1.19.2 to v1.19.3. (#5431)
  • (go/v4): Upgrade controller-tools from v0.20.0 to v0.20.1 (#5475)
  • (kustomize/v2): Upgrade kustomize from 5.7.1 to 5.8.1. (#5412, #5481)

✨ New features

  • (helm/v2-alpha): Polish Chart.yaml metadata. (#5414)
  • (helm/v2-alpha): Add Notes.txt. (#5392)
  • (helm/v2-alpha): Add Makefile targets for Helm Development. (#5442,#5468)
  • (go/v4): Add autocomplete support in .devcontainer/post-install.sh and enhance script. (#5394, #5435)
  • (go/v4): Add custom k8s linter for logs to promote better observability. (#5396)
  • (go/v4): Now, users can scaffold projects which are namespace-scoped managers by using the flag --namespaced. The flag is valid for init and edit subcommands (#5411, #5482, #5480)
  • (go/v4): add --multigroup flag to init subcommand. Now you can initialize a project with this layout (#5440)
  • (CLI): Add short description to tab completion in bash . (#5408)
  • (alpha/update): Add the flag --merge-message and flag --conflict-message to allow customise commit messages. (#5429, #5479)

🐛 Bug fixes

  • (go/v4): Follow Kubernetes logging conventions. (#5406)
  • (go/v4): Make e2e tests more robust to avoid flakes (#5437, #5450)
  • (helm/v2-alpha): wrap webhook resources with .Values.webhook.enable conditional. (#5413)
  • (helm/v2-alpha): Fix chart generation and template rendering issues. (#5422)
  • (helm/v2-alpha): Support custom container names and fix templating bugs (#5463)
  • (helm/v2-alpha): Fix crd.keep to correctly add the helm.sh/resource-policy: keep annotation to generated CRDs (#5472)
  • (helm/v2-alpha): remove deprecated helm/v1-alpha plugin entry from PROJECT file when helm/v2-alpha is used. (#5436)
  • (CLI): alpha generate/update now respects the custom project name. (#5426)
  • (alpha/update): update commit messages with conventional commit format. (#5428)
  • (CLI/API): Fix issues when the --help command was used with --plugins and improve output to show the available help plugins per subcommand. (#5448)
  • (API): move hack/docs/utils to hack/docs/internal. (#5407)

🎉 Thanks to all contributors!

What's Changed ( Full Changelog )

New Contributors

Full Changelog: v4.11.1...v4.12.0