Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Mar 14, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/crossplane/upjet v1.4.1v1.11.0 age confidence

Release Notes

crossplane/upjet (github.com/crossplane/upjet)

v1.11.0

Compare Source

New Features
  • New External Name Configuration: Added config.FrameworkResourceWithComputedIdentifier for more flexible external name handling in Terraform provider configurations
  • Enhanced Struct Tag Support: Introduced comprehensive struct tag manipulation capabilities through the new pkg/types/structtag package
    • Introduce pkg/types/structtag with a typed struct tag model (Value, parsing, override, no-omit)
    • Add per-field InitProvider overrides:
      • config.InitProviderOverrides with kubebuilder.Options and config.TagOverrides
        • Tag overrides for json and tf via structtag.Value
        • Kubebuilder marker overrides via pkg/types/markers/kubebuilder.Options
    • Strengthen validation of JSON tag names and tag combinations, previously there was no validation for these.
      • json struct tag values are validated using the regex ^[a-zA-Z_][a-zA-Z0-9_]*$ to prevent upjet from generating invalid CRD field names.
      • tf tag values are currently not validated. This is future work (we need to investigate their syntax first)
    • Treat nil values in initProvider as absent when computing ignore list; avoids spurious plan diffs
Developer Experience Improvements
  • Improved Error Diagnostics: Enhanced error handling and diagnostics for Terraform plugin framework integration
  • Stricter Configuration Validation: Unknown struct tag options now properly trigger errors instead of being silently ignored
Technical Improvements
  • Enhanced conversion path management to prevent concurrent access issues
  • Strengthened validation for external name configuration options
  • Improved handling of edge cases in code generation for Crossplane providers
  • Better error reporting for configuration validation failures

What's Changed

Full Changelog: crossplane/upjet@v1.10.0...v1.11.0

v1.10.0

Compare Source

Critical Race Condition Fix - Conversion Webhooks

Important Stability Improvement: This release resolves a critical race condition in conversion path registration that was causing intermittent failures in provider packages.

Technical Details:

  • Problem: A data race existed in the conversion.Convert method where multiple goroutines could simultaneously modify registered conversion paths during in-place sorting
  • Impact: This race condition was observed in provider packages and could cause unexpected conversion webhook failures
  • Solution: Fixed by creating a copy of registered conversion paths before performing in-place sorting, preventing concurrent modifications

This fix addresses reliability issues that users may have experienced with conversion webhooks, particularly in high-load environments or during rapid resource operations.

Additional Bug Fixes

  • Panic Prevention: Fixed potential panic when ts.FrameworkProvider is nil (#​500)
  • Wildcard Conversion: Corrected wildcard expand behavior during resource conversion (#​504)
  • Connection Strings: Fixed incorrectly generated connection string maps (#​506)
  • External Names: Removed unnecessary ID validation for resources without ID fields (#​507)
  • State Management: Added custom state check configuration for Terraform Plugin Framework resources (#​515)

What's Changed

New Contributors

Full Changelog: crossplane/upjet@v1.9.0...v1.10.0

v1.9.0

Compare Source

This release:

  • Adds support for change logs feature.
  • Bumps the crossplane-runtime version to the latest commit.

What's Changed

Full Changelog: crossplane/upjet@v1.8.0...v1.9.0

v1.8.1

Compare Source

This PR bumps the crossplane-runtime dependency.

What's Changed

Full Changelog: crossplane/upjet@v1.8.0...v1.8.1

v1.8.0

Compare Source

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

New Contributors

Full Changelog: crossplane/upjet@v1.7.0...v1.8.0

v1.7.0

Compare Source

  • Upgraded crossplane-runtime and core crossplane dependencies to v1.18.0, ensuring compatibility with the latest Crossplane ecosystem and taking advantage of recent improvements and bug fixes.
  • Because apimachinery version is bumped to v0.31.0, pass context to panic handlers, introduced by kubernetes/kubernetes#121970.
  • Because kubernetes client is bumped to v0.31.0, address deprecations introduced by kubernetes/kubernetes#124263.
  • Because controller-runtime is bumped to v0.19.0, address breaking changes introduced by kubernetes-sigs/controller-runtime#2799.

What's Changed

Full Changelog: crossplane/upjet@v1.6.0...v1.7.0

v1.6.0

Compare Source

This release:

  • Bumps go version to 1.23.6 and some dependencies since they have some vulnerabilities.
  • Adds support for parsing the count using registry examples. The assumption in the registry parser, reference format, will be like: ... This PR expands it a bit for supporting these type of examples. If there is some number usage after resource_name, then this will be interpreted as a TF count usage.

What's Changed

  • Adding support for parsing the count used registry examples and bumping go version and dependencies by @​sergenyalcin in #​485

Full Changelog: crossplane/upjet@v1.5.0...v1.6.0

v1.5.1

Compare Source

This release contains a bug fix for update reconciliations. Now, we will call runtime conversions before update calls.

What's Changed

  • [Backport release-1.5] call ApplyTFConversions in Update function from terraform plugin sdk external client by @​github-actions in #​492

Full Changelog: crossplane/upjet@v1.5.0...v1.5.1

v1.5.0

Compare Source

What's Changed

New Contributors

Full Changelog: crossplane/upjet@v1.4.0...v1.5.0

v1.4.2

Compare Source


Configuration

📅 Schedule: 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
Copy link
Author

renovate bot commented Mar 14, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 47 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.21 -> 1.23.6
github.com/crossplane/crossplane-runtime v1.16.0 -> v1.20.0-rc.0.0.20250509113121-26da25aff65f
k8s.io/apimachinery v0.29.1 -> v0.32.3
k8s.io/client-go v0.29.1 -> v0.32.3
sigs.k8s.io/controller-runtime v0.17.0 -> v0.19.0
sigs.k8s.io/controller-tools v0.14.0 -> v0.16.5
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 -> v0.0.0-20240927000941-0f3dac36c52b
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/davecgh/go-spew v1.1.1 -> v1.1.2-0.20180830191138-d8f796af33cc
github.com/emicklei/go-restful/v3 v3.11.0 -> v3.12.1
github.com/evanphx/json-patch v5.6.0+incompatible -> v5.9.11+incompatible
github.com/evanphx/json-patch/v5 v5.8.0 -> v5.9.0
github.com/fatih/color v1.16.0 -> v1.18.0
github.com/go-logr/logr v1.4.1 -> v1.4.2
github.com/go-openapi/jsonpointer v0.19.6 -> v0.21.0
github.com/go-openapi/jsonreference v0.20.2 -> v0.21.0
github.com/go-openapi/swag v0.22.3 -> v0.23.0
github.com/gobuffalo/flect v1.0.2 -> v1.0.3
github.com/golang/protobuf v1.5.3 -> v1.5.4
github.com/google/gnostic-models v0.6.8 -> v0.6.9-0.20230804172637-c7be7c783f49
github.com/google/go-cmp v0.6.0 -> v0.7.0
github.com/google/uuid v1.4.0 -> v1.6.0
github.com/prometheus/client_golang v1.18.0 -> v1.20.2
github.com/prometheus/client_model v0.5.0 -> v0.6.1
github.com/prometheus/common v0.45.0 -> v0.55.0
github.com/prometheus/procfs v0.12.0 -> v0.15.1
github.com/spf13/cobra v1.8.0 -> v1.8.1
go.uber.org/zap v1.26.0 -> v1.27.0
golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 -> v0.0.0-20240808152545-0cdaa3abc0fa
golang.org/x/mod v0.14.0 -> v0.24.0
golang.org/x/net v0.23.0 -> v0.39.0
golang.org/x/oauth2 v0.15.0 -> v0.28.0
golang.org/x/sys v0.18.0 -> v0.32.0
golang.org/x/term v0.18.0 -> v0.31.0
golang.org/x/text v0.14.0 -> v0.24.0
golang.org/x/time v0.5.0 -> v0.7.0
golang.org/x/tools v0.17.0 -> v0.32.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f -> v0.0.0-20241209162323-e6fa225c2576
google.golang.org/grpc v1.61.0 -> v1.68.0
google.golang.org/protobuf v1.31.0 -> v1.35.2
k8s.io/api v0.29.1 -> v0.32.3
k8s.io/apiextensions-apiserver v0.29.1 -> v0.32.3
k8s.io/component-base v0.29.1 -> v0.32.3
k8s.io/klog/v2 v2.110.1 -> v2.130.1
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 -> v0.0.0-20241105132330-32ad38e42d3f
k8s.io/utils v0.0.0-20230726121419-3b25d923346b -> v0.0.0-20250321185631-1f6e0b77f77e
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd -> v0.0.0-20241014173422-cfa47c3a1cc8
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 -> v4.6.0

@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 7b896a1 to 0bd9c6b Compare April 12, 2025 00:15
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 0bd9c6b to 733deb9 Compare April 19, 2025 03:32
@renovate renovate bot changed the title Update module github.com/crossplane/upjet to v1.5.0 Update module github.com/crossplane/upjet to v1.6.0 Apr 19, 2025
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 733deb9 to e7000ad Compare April 26, 2025 16:06
@renovate renovate bot changed the title Update module github.com/crossplane/upjet to v1.6.0 Update module github.com/crossplane/upjet to v1.7.0 Apr 26, 2025
@renovate renovate bot changed the title Update module github.com/crossplane/upjet to v1.7.0 Update module github.com/crossplane/upjet to v1.8.0 Apr 29, 2025
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from e7000ad to 5111e60 Compare May 2, 2025 23:44
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 5111e60 to 8554cf4 Compare May 10, 2025 11:40
@renovate renovate bot changed the title Update module github.com/crossplane/upjet to v1.8.0 Update module github.com/crossplane/upjet to v1.9.0 May 10, 2025
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 8554cf4 to 66a14e2 Compare August 14, 2025 19:36
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 66a14e2 to a5e95f2 Compare November 8, 2025 20:07
@renovate renovate bot changed the title Update module github.com/crossplane/upjet to v1.9.0 Update module github.com/crossplane/upjet to v1.11.0 Nov 8, 2025
@renovate
Copy link
Author

renovate bot commented Dec 17, 2025

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 47 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.21 -> 1.23.6
github.com/crossplane/crossplane-runtime v1.16.0 -> v1.20.0-rc.0.0.20250509113121-26da25aff65f
k8s.io/apimachinery v0.29.1 -> v0.32.3
k8s.io/client-go v0.29.1 -> v0.32.3
sigs.k8s.io/controller-runtime v0.17.0 -> v0.19.0
sigs.k8s.io/controller-tools v0.14.0 -> v0.16.5
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 -> v0.0.0-20240927000941-0f3dac36c52b
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/davecgh/go-spew v1.1.1 -> v1.1.2-0.20180830191138-d8f796af33cc
github.com/emicklei/go-restful/v3 v3.11.0 -> v3.12.1
github.com/evanphx/json-patch v5.6.0+incompatible -> v5.9.11+incompatible
github.com/evanphx/json-patch/v5 v5.8.0 -> v5.9.0
github.com/fatih/color v1.16.0 -> v1.18.0
github.com/go-logr/logr v1.4.1 -> v1.4.2
github.com/go-openapi/jsonpointer v0.19.6 -> v0.21.0
github.com/go-openapi/jsonreference v0.20.2 -> v0.21.0
github.com/go-openapi/swag v0.22.3 -> v0.23.0
github.com/gobuffalo/flect v1.0.2 -> v1.0.3
github.com/golang/protobuf v1.5.3 -> v1.5.4
github.com/google/gnostic-models v0.6.8 -> v0.6.9-0.20230804172637-c7be7c783f49
github.com/google/go-cmp v0.6.0 -> v0.7.0
github.com/google/uuid v1.4.0 -> v1.6.0
github.com/prometheus/client_golang v1.18.0 -> v1.20.2
github.com/prometheus/client_model v0.5.0 -> v0.6.1
github.com/prometheus/common v0.45.0 -> v0.55.0
github.com/prometheus/procfs v0.12.0 -> v0.15.1
github.com/spf13/cobra v1.8.0 -> v1.8.1
go.uber.org/zap v1.26.0 -> v1.27.0
golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 -> v0.0.0-20240808152545-0cdaa3abc0fa
golang.org/x/mod v0.14.0 -> v0.24.0
golang.org/x/net v0.23.0 -> v0.39.0
golang.org/x/oauth2 v0.15.0 -> v0.28.0
golang.org/x/sys v0.18.0 -> v0.32.0
golang.org/x/term v0.18.0 -> v0.31.0
golang.org/x/text v0.14.0 -> v0.24.0
golang.org/x/time v0.5.0 -> v0.7.0
golang.org/x/tools v0.17.0 -> v0.32.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f -> v0.0.0-20241209162323-e6fa225c2576
google.golang.org/grpc v1.61.0 -> v1.68.0
google.golang.org/protobuf v1.31.0 -> v1.35.2
k8s.io/api v0.29.1 -> v0.32.3
k8s.io/apiextensions-apiserver v0.29.1 -> v0.32.3
k8s.io/component-base v0.29.1 -> v0.32.3
k8s.io/klog/v2 v2.110.1 -> v2.130.1
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 -> v0.0.0-20241105132330-32ad38e42d3f
k8s.io/utils v0.0.0-20230726121419-3b25d923346b -> v0.0.0-20250321185631-1f6e0b77f77e
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd -> v0.0.0-20241014173422-cfa47c3a1cc8
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 -> v4.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants