Skip to content

Update module github.com/crossplane/crossplane/apis/v2 to v2.5.0 - #395

Merged
bobh66 merged 1 commit into
mainfrom
renovate/github.com-crossplane-crossplane-apis-v2-2.x
Nov 25, 2026
Merged

bobh66 merged 1 commit into
mainfrom
renovate/github.com-crossplane-crossplane-apis-v2-2.x

Conversation

@renovate

@renovate renovate Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/crossplane/crossplane/apis/v2 v2.5.0-rc.0.0.20261029180807-76a72bee8a19 → v2.5.0 age confidence

Release Notes

crossplane/crossplane (github.com/crossplane/crossplane/apis/v2)

v2.5.0

Compare Source

The v2.5.0 release is a regular quarterly Crossplane release that is focused on maturing a number of key areas of functionality across the project, as Crossplane continues to become more capable, more reliable, and more performant for your production workloads. This release includes function-controlled deletion, referencing functions by OCI digest, garbage collection of unused CompositionRevisions, lower memory usage, security hardening, and a wide range of fixes and reliability improvements. It also includes security fixes in Crossplane's Go toolchain and dependencies.

🚨 v1.20 end-of-life (EOL)

With the release of v2.5, v1.20 has reached its EOL and will no longer receive any support or maintenance by the Crossplane project. v1.20.15 is the final release of v1.20.

[!IMPORTANT]
This EOL notice applies only to the v1.20 release. v1 legacy workloads like Claims and cluster scoped resources remain supported in Crossplane v2 through extensive backwards compatibility support.

Is your control plane ready for v2?

Upgrading to Crossplane v2 does not require any migration as part of the upgrade process, with the exception of the minimal breaking changes explicitly called out in the v2 documentation. If your control plane is not affected by those changes, you can simply upgrade to v2 right away.

To better assist Crossplane users in determining if their control planes are affected by any of the breaking changes in v2, we have released a v2 readiness checker tool in the v1.20 Crossplane CLI that can be invoked via crossplane beta upgrade check. You can read all about this tool in the following resources:

Crossplane Downstream Distributions

Downstream distributions are eligible to continue their extended support and maintenance for their releases that are based on upstream Crossplane's v1.20. Check with your vendor for more details if you are using a downstream distribution of Crossplane.

⚠️ Upgrade from v2.4

It is strongly advised to upgrade to v2.5 from the previous minor version, which is v2.4. Upon upgrade for each minor release, Crossplane performs any necessary migrations of its CRDs to ensure the latest versions are stored in the Kubernetes API server. Therefore, it is important to upgrade sequentially through one minor version at a time as described in the upgrade docs.

🚨 v2.5 Notable and Breaking Changes

  • ⚠️ status.crossplane is now reserved for Crossplane on modern XRs, the same way spec.crossplane already is.
    • Crossplane records its own state there, starting with status.crossplane.deletionPolicy, and replaces any status.crossplane an XRD's schema declares.
    • If your XRD declares its own fields under status.crossplane, move them to a different status field before upgrading.
    • Legacy XRs are unaffected.
    • See crossplane/crossplane-runtime#1226 for related change.

🎉 Highlights

  • Function-controlled deletion (alpha): Your composition functions can now decide when and in what order an XR's composed resources are deleted, enabling ordered teardown and custom deletion hooks, which is a long standing feature request tracked in #​5092.
    • A new Composition field spec.deletionPolicy lets you specify the deletion behavior:
      • Background (the default) keeps today's behavior
      • Foreground keeps the XR alive until all composed resources are deleted completely
      • Pipeline keeps running your functions during deletion so they decide how/when to delete their composed resources
    • crossplane internal render can also render an XR's deletion so you can see it play out locally.
    • Enable it with --enable-function-controlled-deletion. See the design, #​8000 and #​8012.
  • Reference functions by OCI digest (alpha): Pipeline steps in a Composition or Operation can now reference a function package directly by digest with the new function field, instead of a functionRef by name to an installed Function.
    • Crossplane installs the function for you, and several versions of the same function can run side by side.
    • Each CompositionRevision pins the exact function versions it calls, so a function upgrade no longer changes the behavior of every XR at once and can be rolled out progressively like any other composition change.
    • Enable it with --enable-pipeline-oci-references. See the design and #​7840, fixing #​6139.
  • Garbage collection of unused CompositionRevisions (alpha): Crossplane can now garbage collect CompositionRevisions that are no longer in use, instead of that list continuing to grow forever.
    • With --enable-composition-revision-gc, Crossplane deletes unused revisions beyond the new spec.unusedRevisionHistoryLimit field on Composition (default 1, and 0 keeps every revision).
    • The latest revision and any revision in use by an XR are always kept. #​7916, closing #​4837.
  • Lighter on memory and the API server:
    • Crossplane no longer caches the OpenAPI schema of every CRD in the cluster, which cut heap usage from 338 MiB to 190 MiB and RSS from 415 MiB to 250 MiB on a cluster with 791 CRDs (#​7955).
    • The MRD, MRAP and PackageRevision controllers stopped rewriting unchanged status on every sync (#​7851), and Usages no longer rewrite the in-use label on every reconcile (#​7860).
  • Optional function credentials: Set resolvePolicy: Optional on a pipeline step's credential and the function runs without it when the Secret doesn't exist, instead of simply failing the pipeline completely. If your function can work with or without credentials, then use this setting to ensure your function is run either way. #​6994
  • Security hardening: Several fixes focus on tightening code paths where a caller could reach further than intended.
    • A namespaced XR can no longer compose a cluster scoped resource by having a function set metadata.namespace on it. #​8050
    • The RBAC manager builds generated ClusterRoles only from CRDs actually owned by the ProviderRevision or XRD, and removes stale grants on every reconcile. #​8054
    • The RBAC manager only binds a provider's ServiceAccount when its runtime Deployment is in Crossplane's namespace and is controlled by the exact ProviderRevision. #​8055
    • A claim that can't look up its XRD now fails reconciliation, so it can't bypass an XRD's enforcedCompositionRef. #​7789
    • Crossplane now builds with Go 1.26 (#​7802), alongside security updates to Crossplane's dependencies across this release cycle.
  • Other notable improvements:
    • New Helm values webhooks.usage.failurePolicy (Fail or Ignore) and usages.enabled let you relax or remove the Usage webhook, which previously blocked Azure AKS cluster stop on clusters running Crossplane. #​7784
    • crossplane-edit and crossplane-admin users can now kubectl scale XRs and claims whose XRD serves the scale subresource. #​7922
    • Providers and other packages with packagePullPolicy: Always no longer download the package again every minute when its tag still points to the same digest. Previously a slow registry could mark healthy Providers Unhealthy. crossplane/crossplane-runtime#1242, fixing #​7984.
    • A new package revision now reliably takes ownership of its objects during upgrades, which could previously leave it unhealthy with no runtime. #​7733, #​7839
    • An ImageConfig that only sets a runtime config is now applied right away instead of on the next resync. #​7970
    • DeploymentRuntimeConfig has a drc short name. #​8006
    • Operations now record how many resources they applied in status.appliedResources, shown in the APPLIED column of kubectl get operations. #​7885, backported in #​8075.

🏅 Release MVP

For the v2.5 release cycle, we'd like to recognize @​sarankumar1325 as the release MVP!

They fixed a frustrating problem for anyone using packagePullPolicy: Always: Crossplane downloaded the package again every minute even when nothing had changed, so a slow registry could mark perfectly healthy Providers as Unhealthy. Their fix in crossplane/crossplane-runtime#1242 serves the package from the cache whenever the tag still resolves to the same digest. They also contributed fixes in provider-gitlab that stop approval rules from being updated on every poll (crossplane-contrib/provider-gitlab#482) and stop projects pending deletion from being renamed back (crossplane-contrib/provider-gitlab#483).

Thank you for your impact on the Crossplane ecosystem @​sarankumar1325! 🙇‍♂️

What's Changed

New Contributors

Full Changelog: crossplane/crossplane@v2.4.0...v2.5.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the automated label Nov 25, 2026
@bobh66
bobh66 merged commit 4db7870 into main Nov 25, 2026
8 checks passed
@renovate
renovate Bot deleted the renovate/github.com-crossplane-crossplane-apis-v2-2.x branch November 25, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant