changes since v3.15.1
Overview and Key GuidelinesIt is a MAJOR release because all deprecated features were removed from the project. However, for those with projects scaffolded using the go/v4 plugin layout, there should mainly not be impacted by. To know the layout version of your project, check the Project Config, see the PROJECT
file (example).
//+
and replace it with // +
.3.15.0
release since the change is applied only for new projects but you should be aware of and take action. For further information, see: ๐จ Action Required: Ensure that you no longer use gcr.io/kubebuilder images.go/v2
or go/v3
) Upgrading Layouts:
If your project is currently using go/v2
or go/v3
, you must upgrade to go/v4
to be compatible with this release and future updates. To know how to upgrade, check the migration documentation.
โ ๏ธ Breaking ChangesYou can add the changes manually, but unless your project is too big or deviated too much from the proposed layout the recommended process to upgrade a project usually involves re-scaffolding and then comparing the new base with your project code changes and re-adding all on top. IDEs usually can help you out in this process since you can re-scaffold all in a branch and easily compare it with your main branch published in the repository of your project to add the code back again.
- Kubebuilder provides and Upgrade Assistance for those who have been using the CLI to do all scaffolds and does not deviated from the layout proposed.
- You can follow the same process to ensure that your scaffold has all changes and bug fixes introduced from MINOR releases.
- You can also always check the project scaffolds under the
testdata
directory as a base and compare them across tag releases to check the changes made: Example: Comparetestdata/project-v4
between tagsv3.14.1
andv3.15.1
.- Avoiding unnecessary deviations from the proposed layout can help you keep your project maintained and aligned with the latest changes with a lower effort. Please, see the info.
go/v2
plugin cannot scaffold projects in which CRDs and/or Webhooks have a v1
API version. Be aware that v1beta1 API for CRDs and Webhooks was deprecated on Kubernetes 1.16
and were removed in the Kubernetes 1.22+
release. Go versions higher than 1.13+
are not supported within. (#3763) (#3915) (More info).go/v3
plugin cannot scaffold projects using kustomize versions v4x+
and cannot fully support Kubernetes 1.25+
and go versions higher than 1.19+
. (#3763) (#3915) (More info)NewBundle
, GetShortName
, IsLegacyLayout
are no longer available for those that consumes Kubebuilder as lib. (#3929)1.22
(#3910)1.30
. Upgrade controller-runtime from v0.17.3
to v0.18.2
(#3912)v5.3.0
to v5.4.1
by (#3911)v0.14.0
to v0.15.0
(#3913)1.29.0
to 1.30.0
(#3914)sigs.k8s.io/kubebuilder/v4
module (#3924)docker-buildx
to use the project name instead of fix value (#3928)s/\//+/\// +/
. (#3904)Thanks to all our contributors!
What's Changed (Full Changelog)Full Changelog: v3.15.0...v4.0.0
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4