changes since v4.5.1
✨ New Features
Note: This release includes minor version upgrades for key dependencies.
- (go-v4): Upgraded
controller-runtime
fromv0.20.2
tov0.20.4
(#4604, #4678) - (go-v4): Upgraded
kustomize
fromv5.5.0
tov5.6.0
(#4620)
🐛 Bug Fixes
- (CLI): Fixed Kubebuilder installation using
go install
to ensure proper setup (#4581) - (CLI): Allowed
kubebuilder alpha generate
to proceed even when legacy plugins (go/v2, go/v3) are unavailable (#4572) - (helm/v1-alpha): Skipped empty directories during Helm chart generation to avoid invalid output (#4586)
- (helm/v1-alpha): Avoided scaffolding webhook manifests for projects that do not use webhooks (#4584)
- (go-v4): Made Kind integration in the Makefile configurable, aligning with the standard used for other variables (#4615)
- (go-v4): Fixed indentation of import statements in generated test files (#4623)
- (go-v4): Fixed minor typo in e2e test suite comments (#4662)
- (go-v4): Prevented shadowing of the standard
log
package by aliasing it aslogf
(#4646) - (grafana/v1alpha): Prevented shadowing of the
err
variable in generated Grafana plugin code (#4653)
Thanks to all our contributors! 🎉
What's Changed
- 📖 : Bump sigs.k8s.io/kubebuilder/v4 from 4.5.0 to 4.5.1 in /docs/book/src/simple-external-plugin-tutorial/testdata/sampleexternalplugin/v1 by @dependabot in #4579
- 🐛 Fix Kubebuilder Installation with go install by @migueleliasweb in #4581
- 🌱 (ci): improve PR title validation for a better security by @camilamacedo86 in #4583
- 🐛 (helm/v1-alpha): Skip empty directories in chart generation by @camilamacedo86 in #4586
- 🌱 Upgrade Goreleaser + fix deprecation on release.yml by @migueleliasweb in #4587
- 🌱 Add Makefile target to sync Kubernetes version by @akagami-harsh in #4589
- 🌱 fix PR title check by @camilamacedo86 in #4596
- 🌱 Bump golang.org/x/text from 0.22.0 to 0.23.0 by @dependabot in #4594
- 🌱 Bump golang.org/x/tools from 0.30.0 to 0.31.0 by @dependabot in #4593
- 🌱Bump github.com/onsi/ginkgo/v2 from 2.22.2 to 2.23.0 by @dependabot in #4595
- 📖 Add link to Watching Secondary Resources Owned by the Controller by @guettli in #4590
- 📖 Update Single Group to Multi-Group Documentation to Add Webhooks Details 📖 by @GunaKKIBM in #4601
- 📖 fix incorrect reference to "deploy-image-plugin" in docs. by @mo3et in #4599
- 📖 Update README.md with minor changes by @chethanm99 in #4603
- ✨ Upgrade controller-runtime from v0.20.2 to v0.20.3 by @vitorfloriano in #4604
- 📖 Update code-generate-image-plugin.md and gvks.md by @chethanm99 in #4607
- 📖 Update CONTRIBUTING-ROLES.md with minor changes by @chethanm99 in #4605
- 📖 docs: fix incorrect json tag in API example. by @mo3et in #4609
- 🌱 Bump github.com/spf13/afero from 1.12.0 to 1.14.0 by @dependabot in #4616
- 🐛 Make the Kind integration in the Makefile configurable like the other variables. by @kersten in #4615
- 🐛 Allow 'kubebuilder alpha generate' rescaffolds work with no longer supported/available plugins ( go/v3 and go/v2 ) by @sarthaksarthak9 in #4572
- 🌱 Fix: ensure tha cmd/verdion.go is properly updated to return this value for go modules by @camilamacedo86 in #4619
- 🌱 Bump github.com/onsi/ginkgo/v2 from 2.23.0 to 2.23.1 by @dependabot in #4622
- ✨ (go/v4): Upgrade kustomize version from v5.5.0 to v5.6.0 by @camilamacedo86 in #4620
- 🌱 Bump github.com/onsi/ginkgo/v2 from 2.23.1 to 2.23.2 by @dependabot in #4626
- 📖 Remove outdated test examples by @fiunchinho in #4624
- 🐛 (go/v4): fix indentation of imports in test files by @kersten in #4623
- 🌱 Bump github.com/onsi/ginkgo/v2 from 2.23.2 to 2.23.3 by @dependabot in #4628
- 🌱 Bump github.com/onsi/gomega from 1.36.2 to 1.36.3 by @dependabot in #4629
- 🌱 fix: avoid variable shadowing by renaming loop variable 'plugin' by @kersten in #4640
- 🌱 fix: resolve shadowed variable issue in literate.go by @kersten in #4641
- 🌱 (chore): avoid variable shadowing by renaming local 'alpha' variable by @kersten in #4642
- 🌱 (chore): rename local 'config' variable to avoid collision with imported package by @kersten in #4639
- 🌱 (chore): rename local 'resource' variable to avoid shadowing import by @kersten in #4645
- 🌱 fix(docs): correct typo in comments across multiple files by @kersten in #4634
- 🌱 (chore): avoid variable shadowing by renaming local 'errors' variable by @kersten in #4643
- 🐛 (go/v4): fix typo in e2e test suite comments by @kersten in #4662
- 🌱 (chore): improve readability of test case for alternative delimiters by @kersten in #4671
- 🌱 (chore): group const declarations into blocks for clarity by @kersten in #4669
- 🌱 (chore): avoid shadowing of 'config', 'err', and patch error in helm and deploy-image scaffolds by @kersten in #4660
- 🌱 (chore): use octal notation for file and directory modes by @kersten in #4663
- 🌱 (chore): remove unnecessary trailing newlines and redundant blank lines by @kersten in #4664
- 🌱 (chore): simplify test variable declarations for CLI tests by @kersten in #4665
- 🌱 (chore): simplify variable declarations by adding var blocks by @kersten in #4666
- 🌱 (chore): simplify variable declarations by removing unnecessary var blocks by @kersten in #4667
- 🌱 (chore): fix formatting for multi-line function signatures by @kersten in #4668
- 🌱 (chore): avoid shadowing of 'err' in CLI options, YAML store, and external plugin helpers by @kersten in #4658
- 🌱 (chore): avoid shadowing of 'err' and related variables in E2E and external plugin tests by @kersten in #4659
- 🌱 (chore): avoid shadowing of 'fmt' in regexError helper by @kersten in #4648
- 🌱 (chore): avoid shadowing of 'config', 'resource', and 'err' in kustomize/v2 scaffolds by @kersten in #4651
- 🌱 (chore): avoid shadowing of 'pluginConfig' in config v3 implementation and tests by @kersten in #4652
- 🌱 (chore): avoid shadowing of 'err' in version parsing for plugin and config packages by @kersten in #4657
- 🌱 (chore): avoid 'fs' shadowing and rename 'isPluginExectuable' to 'isPluginExecutable' by @kersten in #4647
- 🌱 (chore): clean up var declarations in grafana scaffolder and cronjob doc generator by @kersten in #4670
- ✨ Upgrade controller-runtime v0.20.3 to v0.20.4 by @camilamacedo86 in #4678
- 🐛 (helm/v1-alpha): not scaffold webhooks conditionals manifests for projects without webhooks by @camilamacedo86 in #4584
- 🐛 (grafana/v1alpha) avoid shadowing of 'err' in grafana plugin code generating by @kersten in #4653
- 🐛 (go/v4) fix: avoid shadowing 'log' package by aliasing import as 'logf' by @kersten in #4646
- 🌱 (chore): avoid shadowing of 'resource' and 'err' in machinery scaffold by @kersten in #4655
- 🌱 (chore): avoid shadowing of 'err' in plugin util and test utilities by @kersten in #4654
New Contributors
- @GunaKKIBM made their first contribution in #4601
- @mo3et made their first contribution in #4599
- @chethanm99 made their first contribution in #4603
- @vitorfloriano made their first contribution in #4604
- @kersten made their first contribution in #4615
- @fiunchinho made their first contribution in #4624
Full Changelog: v4.5.1...v4.5.2