Repository navigation
·
20 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
The v2.5.0 release of crossplane-runtime is a regular quarterly release that accompanies Crossplane v2.5. It brings deletion and reconciliation improvements for provider authors, along with security fixes in the library's dependencies.
🚨 Notable and Breaking Changes
crossplane-runtimenow builds against controller-runtimev0.25and the Kubernetesv0.37libraries, up fromv0.23andv0.35. Providers that upgrade to this release will move to those versions too and may need code changes for their breaking changes. #1037, #970⚠️ status.crossplaneis now reserved for Crossplane on modern XRs. See the Crossplane v2.5.0 release notes for details. #1226
🎉 Highlights
ProviderConfigdeletion protection: AProviderConfigcan no longer be deleted while a managed resource that uses it is still terminating, which could previously leave the managed resource stuck in deletion. Added in #1113, fixing crossplane/crossplane#4661.- It's on by default, so providers get it by upgrading
crossplane-runtimewith no code changes. managed.WithProviderConfigUsageCleaneroverrides the default, and passing itresource.NewNopProviderConfigUsageCleaner()turns protection off.
- It's on by default, so providers get it by upgrading
- Filter the CRD gate by API group: The safe-start CRD gate watched every CRD in the cluster, so changes to CRDs from unrelated projects triggered needless reconciles. Providers can set the new
Groupsfield incontroller.Optionsto only watch CRDs in their own API groups. Added in #937, fixing #910. - Cached packages with
PullAlways:xpkg.CachedClientnow serves a package from its cache underPullAlwayswhen the tag still resolves to the cached digest, instead of downloading it again on every call. In Crossplane this stops a Provider withpackagePullPolicy: Alwaysfrom re-downloading its package every minute and goingUnhealthywhen the registry is slow. Added in #1242, fixing crossplane/crossplane#7984.
What's Changed
- fix(ci): clean /homeless-shelter before Renovate's Nix commands by @jbw976 in #1118
- build: add release-2.4 to renovate baseBranches by @jbw976 in #1119
- fix(deps): update module github.com/google/go-containerregistry to v0.21.9 (main) by @crossplane-renovate[bot] in #1101
- chore(deps): update module golang.org/x/mod to v0.40.0 [security] (main) by @crossplane-renovate[bot] in #1122
- chore(deps): lock file maintenance (main) by @crossplane-renovate[bot] in #1116
- chore(deps): update module github.com/google/cel-go to v0.30.0 [security] (main) by @crossplane-renovate[bot] in #1131
- chore: remove release-2.1 from Renovate baseBranches by @jbw976 in #1138
- chore(deps): lock file maintenance (main) by @crossplane-renovate[bot] in #1139
- Protect ProviderConfigs while managed resources terminate by @ezgidemirel in #1113
- fix(meta): RemoveFinalizer handles duplicate finalizers without panicking by @arpitjain099 in #1048
- chore(deps): update module go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc to v1.45.0 [security] (main) by @crossplane-renovate[bot] in #1155
- fix(deps): update module google.golang.org/grpc to v1.83.2 [security] (main) by @crossplane-renovate[bot] in #1142
- chore(deps): update cachix/install-nix-action digest to 13d8dd5 (main) by @crossplane-renovate[bot] in #1120
- chore(deps): lock file maintenance (main) by @crossplane-renovate[bot] in #1141
- fix(deps): update module google.golang.org/protobuf to v1.36.12 (main) by @crossplane-renovate[bot] in #1117
- fix(deps): update module github.com/prometheus/client_golang to v1.24.1 (main) by @crossplane-renovate[bot] in #1105
- chore(deps): update github/codeql-action digest to 1c5b675 (main) by @crossplane-renovate[bot] in #1162
- chore(deps): update codecov/codecov-action digest to 303a32d (main) by @crossplane-renovate[bot] in #1161
- chore(deps): update cachix/cachix-action digest to 38b0826 (main) by @crossplane-renovate[bot] in #1160
- Skip Update and LateInitialize for non-existent external resources by @bobh66 in #1130
- fix(deps): update module github.com/google/go-containerregistry to v0.22.1 (main) by @crossplane-renovate[bot] in #1165
- chore(deps): update renovatebot/github-action action to v46.3.2 (main) by @crossplane-renovate[bot] in #1163
- fix(deps): update module sigs.k8s.io/controller-runtime to v0.25.1 (main) by @crossplane-renovate[bot] in #1037
- chore(deps): update renovatebot/github-action action to v46.3.3 (main) by @crossplane-renovate[bot] in #1168
- fix(deps): update module google.golang.org/grpc to v1.84.0 (main) by @crossplane-renovate[bot] in #1172
- fix(deps): update module github.com/sigstore/cosign/v3 to v3.1.3 (main) by @crossplane-renovate[bot] in #1169
- chore(deps): update module golang.org/x/crypto to v0.56.0 [security] (main) by @crossplane-renovate[bot] in #1147
- fix(deps): update github.com/google/go-containerregistry/pkg/authn/k8schain digest to 0c8bedb (main) by @crossplane-renovate[bot] in #1034
- fix(deps): update module sigs.k8s.io/controller-tools to v0.22.0 (main) by @crossplane-renovate[bot] in #1022
- chore(deps): update actions/stale action to v11 (main) by @crossplane-renovate[bot] in #1173
- fix(deps): update module golang.org/x/time to v0.16.0 (main) by @crossplane-renovate[bot] in #1171
- chore(deps): update dependency ubuntu to v26 (main) by @crossplane-renovate[bot] in #1174
- fix(deps): update module github.com/sirupsen/logrus to v1.10.2 (main) by @crossplane-renovate[bot] in #1170
- chore(deps): update negz/create-tag action to v2 (main) by @crossplane-renovate[bot] in #1175
- fix(deps): update module github.com/crossplane/crossplane/apis/v2 to v2.4.1 (main) by @crossplane-renovate[bot] in #1164
- fix : Add Groups filter to CustomResourceDefinition reconciler by @SatabdiG in #937
- chore(deps): update zeebe-io/backport-action action to v4.6.1 (main) by @crossplane-renovate[bot] in #1180
- fix(deps): update module github.com/crossplane/crossplane/apis/v2 to v2.4.2 (main) by @crossplane-renovate[bot] in #1181
- chore(deps): update github/codeql-action digest to 2892aa5 (main) by @crossplane-renovate[bot] in #1182
- chore(deps): update renovatebot/github-action action to v46.3.5 (main) by @crossplane-renovate[bot] in #1184
- chore(deps): update zeebe-io/backport-action action to v4.7.0 (main) by @crossplane-renovate[bot] in #1185
- Don't cache truncated package downloads in
xpkgby @ezgidemirel in #1189 - chore(deps): update github/codeql-action digest to 24c5418 (main) by @crossplane-renovate[bot] in #1193
- chore(deps): update renovatebot/github-action action to v46.3.8 (main) by @crossplane-renovate[bot] in #1187
- chore(deps): update module golang.org/x/net to v0.60.0 [security] (main) by @crossplane-renovate[bot] in #1192
- fix(deps): update kubernetes monorepo to v0.37.1 (main) by @crossplane-renovate[bot] in #970
- chore(deps): update actions/create-github-app-token digest to 64ab729 (main) by @crossplane-renovate[bot] in #1201
- chore(deps): update cachix/install-nix-action digest to 448cde7 (main) by @crossplane-renovate[bot] in #1202
- chore(deps): update github/codeql-action digest to 6f2ac81 (main) by @crossplane-renovate[bot] in #1203
- fix(deps): update module sigs.k8s.io/controller-runtime to v0.25.2 (main) by @crossplane-renovate[bot] in #1188
- fix(deps): update module sigs.k8s.io/controller-tools to v0.23.0 (main) by @crossplane-renovate[bot] in #1205
- fix(deps): update module github.com/prometheus/client_golang to v1.25.0 (main) by @crossplane-renovate[bot] in #1204
- chore(deps): update renovatebot/github-action action to v46.3.9 (main) by @crossplane-renovate[bot] in #1206
- chore(deps): lock file maintenance (main) by @crossplane-renovate[bot] in #1159
- chore: update OWNERS.md by @ulucinar in #1222
- renovate: Group non-major go dependency updates to avoid conflicts by @adamwg in #1227
- chore(deps): update module github.com/go-chi/chi/v5 to v5.4.0 [security] (main) by @crossplane-renovate[bot] in #1223
- chore(deps): lock file maintenance (main) by @crossplane-renovate[bot] in #1208
- chore(deps): update github/codeql-action digest to 9b32540 (main) by @crossplane-renovate[bot] in #1214
- chore(deps): update cachix/install-nix-action digest to 75c75c3 (main) by @crossplane-renovate[bot] in #1217
- chore(deps): update renovatebot/github-action action to v46.3.10 (main) by @crossplane-renovate[bot] in #1228
- chore(deps): update module github.com/go-jose/go-jose/v4 to v4.1.6 [security] (main) by @crossplane-renovate[bot] in #1230
- chore(deps): update module golang.org/x/net to v0.62.0 [security] (main) by @crossplane-renovate[bot] in #1231
- chore(deps): lock file maintenance (main) by @crossplane-renovate[bot] in #1232
- fix(xpkg): use cached package with PullAlways when digest is unchanged by @sarankumar1325 in #1242
- feat(xcrd): Composite resource's deletion policy in status.crossplane by @lsviben in #1226
- chore(deps): update module golang.org/x/crypto to v0.59.0 [security] (main) by @crossplane-renovate[bot] in #1260
- chore(deps): update zeebe-io/backport-action action to v4.7.2 (main) by @crossplane-renovate[bot] in #1255
- chore(deps): update github/codeql-action digest to 33d7b85 (main) by @crossplane-renovate[bot] in #1252
- chore(deps): update renovatebot/github-action action to v46.3.13 (main) by @crossplane-renovate[bot] in #1250
- fix(deps): update kubernetes monorepo to v0.37.2 (main) by @crossplane-renovate[bot] in #1244
- chore(deps): lock file maintenance (main) by @crossplane-renovate[bot] in #1243
- chore(deps): update module github.com/klauspost/compress to v1.20.2 [security] (main) by @crossplane-renovate[bot] in #1256
- chore(deps): update module go.opentelemetry.io/otel/sdk to v1.47.0 [security] (main) by @crossplane-renovate[bot] in #1271
- Add the RESPONSIVE column to composite resource output by @bobh66 in #1191
New Contributors
- @arpitjain099 made their first contribution in #1048
- @SatabdiG made their first contribution in #937
- @sarankumar1325 made their first contribution in #1242
Full Changelog: v2.4.0...v2.5.0