What's Changed
- ⚠️ Deprecated +kubebuilder:validation:Required and +kubebuilder:validation:Optional markers in favor of shorter +required and +optional forms (both continue to work) by @camilamacedo86 in #1390
- ⚠️ Generate ApplyConfig ExtractFuns when kubebuilder:resource marker is absent by @camilamacedo86 in #1449
- ✨ crd: Add k8s:listType and k8s:listMapKey markers by @itzPranshul in #1357
- ✨ webhook: Add patch field for webhook customization by @camilamacedo86 in #1339 #1461
- 🌱 crd/markers: Emit cheaper CEL rules for
oneOfmarkers by @HadrienPatte in #1408 - 🐛 Fix marker parser misinterpreting number-ish strings as numeric literals by @sivchari in #1366
- 🐛 Accept
encoding.TextMarshalertypes as CRD map keys by @HadrienPatte in #1419 - 🐛 Handle
omitzeroinOneOfconstraint validation by @HadrienPatte in #1375 - 🐛 crd: Fix duplicate MinProperties/MaxProperties by @camilamacedo86 in #1398
- 🐛 crd: Panic when parsing type aliases from indirectly imported packages by @camilamacedo86 in #1399
- 🐛 crd: Raise error message instead of crash when using unnamed struct types by @camilamacedo86 in #1394
Misc
- 🌱 Add OS-specific files and build artifacts to .gitignore by @camilamacedo86 in #1403
- 🌱 Add copyright header validation & fix findings by @sbueringer in #1451
- 🌱 Add envtest tests for +kubebuilder:default={} with nested field defaults by @camilamacedo86 in #1392
- 🌱 Add new test to ensure that pointer embedded structs with the inline JSON tag works by @camilamacedo86 in #1395
- 🌱 Add tests to improve coverage for IntOrStringWithEnumSlice by @dongjiang1989 in #1385
- 🌱 Add verify-generated check for golden files by @dongjiang1989 in #1457
- 🌱 Declare contents: read permissions for pr-verify action by @arpitjain099 in #1412
- 🌱 Migrate to Ginkgo v2 and ensure test temp directories are cleaned up on failure by @camilamacedo86 in #1396
- 🌱 Replace gopkg.in/yaml with sigs.k8s.io/yaml and go.yaml.in/yaml/v3 by @camilamacedo86 in #1440
- 🌱 Revert "Migrate away from custom GitHub action approval workflow" by @sbueringer in #1428
- 📖 Add comprehensive XValidation CEL documentation and examples by @camilamacedo86 in #1341
- 📖 Improve documentation about path behaviour by @camilamacedo86 in #1438
- 📖 Update README compatibility matrix and remove stale content by @HadrienPatte in #1435
envtest
- ✨ Release envtest v1.36.2 by @yuluo-yx in #1444
- ✨ Release envtest v1.37.0 by @dongjiang1989 in #1468
- 🌱 Promotion of envtest release for Kubernetes v1.36.2 by @sbueringer in #1445
- 🌱 Promotion of envtest release for Kubernetes v1.37.0 by @sbueringer in #1471
Dependency bumps
- 🌱 Bump k8s.io/* to v1.36.1 by @dongjiang1989 in #1418
- 🌱 Bump k8s.io/* to v0.37.0-beta.0 by @dongjiang1989 in #1455
- 🌱 Bump k8s.io/* to v0.37.0 by @dongjiang1989 in #1470
- 🌱 Bump EndBug/add-and-commit from 10.0.0 to 11.0.0 in the all-github-actions group by @dependabot[bot] in #1466
- 🌱 Bump EndBug/add-and-commit from 11.0.0 to 11.1.1 in the all-github-actions group by @dependabot[bot] in #1467
- 🌱 Bump actions/checkout from 6.0.2 to 6.0.3 in the all-github-actions group by @dependabot[bot] in #1423
- 🌱 Bump actions/checkout from 7.0.0 to 7.0.1 in the all-github-actions group by @dependabot[bot] in #1456
- 🌱 Bump actions/github-script from 8.0.0 to 9.0.0 in the all-github-actions group by @dependabot[bot] in #1433
- 🌱 Bump actions/setup-go from 6.4.0 to 6.5.0 in the all-github-actions group by @dependabot[bot] in #1447
- 🌱 Bump github.com/onsi/gomega from 1.40.0 to 1.41.0 in the all-go-mod-patch-and-minor group by @dependabot[bot] in #1414
- 🌱 Bump github.com/onsi/gomega from 1.42.1 to 1.43.0 in the all-go-mod-patch-and-minor group across 1 directory by @dependabot[bot] in #1472
- 🌱 Bump go.yaml.in/yaml/v3 from 3.0.4 to 3.0.5 in the all-go-mod-patch-and-minor group by @dependabot[bot] in #1459
- 🌱 Bump golang.org/x/tools from 0.44.0 to 0.45.0 in the all-go-mod-patch-and-minor group by @dependabot[bot] in #1410
- 🌱 Bump golang.org/x/tools from 0.47.0 to 0.48.0 in the all-go-mod-patch-and-minor group by @dependabot[bot] in #1452
- 🌱 Bump golangci-lint to v2.12.1 by @dongjiang1989 in #1406
- 🌱 Bump golangci-lint to v2.12.2 by @dongjiang1989 in #1439
- 🌱 Bump golangci-lint to v2.13.1 by @dongjiang1989 in #1469
- 🌱 Bump golangci/golangci-lint-action from 9.2.0 to 9.2.1 in the all-github-actions group by @dependabot[bot] in #1417
- 🌱 Bump golangci/golangci-lint-action from 9.2.1 to 9.3.0 in the all-github-actions group by @dependabot[bot] in #1450
- 🌱 Bump the all-github-actions group with 2 updates by @dependabot[bot] in #1442
- 🌱 Bump the all-github-actions group with 2 updates by @dependabot[bot] in #1453
- 🌱 Bump the all-go-mod-patch-and-minor group with 2 updates by @dependabot[bot] in #1434
- 🌱 Bump the all-go-mod-patch-and-minor group with 2 updates by @dependabot[bot] in #1446
- 🌱 Bump the all-go-mod-patch-and-minor group with 2 updates by @dependabot[bot] in #1465
New Contributors
- @HadrienPatte made their first contribution in #1375
- @arpitjain099 made their first contribution in #1412
- @yuluo-yx made their first contribution in #1444
- @itzPranshul made their first contribution in #1357
- @sivchari made their first contribution in #1366
Full Changelog: v0.21.0...v0.22.0