github crossplane/upjet v1.8.0

latest releases: v2.0.0, v1.8.1, v1.9.0...
4 months ago

This release:

  • Bumps crossplane-runtime version to v1.19.0 and core crossplane to v1.19.1
  • Update some dependencies
  • Call runtime conversions before update calls.

With these releases, since the crossplane-runtime deprecates some functions that I related to reference resolvers, the users must be careful during the upjet bump in the providers. Because, if the upjet version is directly bumped, then the user can encounter some errors as following during generation:

zz_generated.resolvers.go:36:27: undefined: reference.FromPtrValue
zz_generated.resolvers.go:48:84: undefined: reference.ToPtrValue
zz_generated.resolvers.go:52:27: undefined: reference.FromPtrValue
zz_generated.resolvers.go:64:85: undefined: reference.ToPtrValue

Therefore, for a safe bump, you need to follow these steps:

  1. Generate the reference resolvers by bumping the crossplane-tools (angryjet). By this way, you will have the new reference resolvers that don’t use the deprecated functions. The version you need to update the crossplane-tools is: v0.0.0-20250424174524-de0e5107ea45. This version refers to this commit. Then, please observe the updated reference resolvers.
  2. After being sure that the reference resolvers are up-to-date, then bump upjet the version and run make generate. You will not get any error.

What's Changed

  • call ApplyTFConversions in Update function from terraform plugin sdk external client by @digna-ionos in #440
  • chore(deps): update dependencies by @Duologic in #488

New Contributors

Full Changelog: v1.7.0...v1.8.0

Don't miss a new upjet release

NewReleases is sending notifications on new releases.