Sourced from sigs.k8s.io/controller-runtime's releases.
v0.18.0
:warning: Breaking Changes
- Bump to k8s.io/* v1.30 (#2693 #2754 #2765 #2776 #2786)
- Remove deprecated v1alpha1.ControllerManagerConfiguration (#2648)
- admission.Decoder is now an interface (#2736)
- Source, Event, Predicate, Handler: Add generics support (#2783 #2796)
- client: Fix SubResourceCreateOptions signature in subresource client (#2766)
:sparkles: New Features
- cache: Add TransformStripManagedFields transform func (#2791)
- client: Add client.WithFieldOwner to configure client-wide FieldManager (#2771 #2777)
- controller: Add
NewQueue
option (#2767)- manager: Export HTTP server runnable implementation (#2473)
- metrics/server: Add
ListenConfig
option (#2519):bug: Bug Fixes
- builder/webhook: Return error if For() is used multiple times (#2740)
- cache: Keep selectors when byObject.Namespaces is defaulted (#2747)
- cache: Prevent race when informers are started more than once (#2758)
- fake client: Allow fakeclient to patch CR with no resourceVersion (#2725)
- fake client: Do not consider an apply patch to be a strategic merge patch (#2679)
- manager: Prevent leader election when shutting down a non-elected manager (#2724)
- manager: Runnable group should check if stopped before enqueueing (#2757)
- restmapper: Clean restmapper cache if a version is notFound (#2663)
- restmapper: Fix cache invalidation (#2687)
:seedling: Others
- ci: Add OSSF scorecard action (#2714)
- ci: Improve github actions dependencies versions and permissions (#2715)
- ci: Pin checkout action in golangci-lint action, bump checkout action, use consistent tag format (#2729)
- ci: Update golangci-lint to v1.57.2 (#2708 #2751)
- ci: Update scorecard github action (#2728)
- ci: Use go-install for versioned dependencies (#2710)
- envtest: WaitForDefaultNamespace while starting up envtest (#2668)
- owners: Cleanup owners files (#2730)
- owners: Remove outdated testing framework approvers (#2709)
- predicate: Compare labels and annotations using maps.Equal (#2705)
- typos: Fix typo of CacheReader comment (#2773)
- typos: Fix typo in channel option (#2792)
- typos: Minor typo fixes in docstrings (#2727)
:book: Additionally, there have been 3 contributions to our documentation and book. (#2712, #2770, #2789)
Dependencies
... (truncated)
ed81fa6
Merge pull request #2796
from alvaroaleman/markb35cd6b
:book: Mark Typed Handlers as experimentalb74908f
Merge pull request #2793
from kubernetes-sigs/dependabot/github_actions/actio...a9db208
Merge pull request #2794
from kubernetes-sigs/dependabot/github_actions/actio...757ae66
:seedling: Bump actions/upload-artifact from 4.3.1 to 4.3.318ae9e0
:seedling: Bump actions/checkout from 4.1.2 to 4.1.34f00207
Merge pull request #2792
from sbueringer/pr-fix-typo9fb4913
Fix typo in channel option5823d1b
Merge pull request #2791
from alvaroaleman/add-default-transformae0f6ab
Merge pull request #2783
from alvaroaleman/compatible-generics