Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 10, 2025

Bumps github.com/crossplane/upjet from 1.9.0 to 1.11.0.

Release notes

Sourced from github.com/crossplane/upjet's releases.

v1.11.0

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

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)

... (truncated)

Commits
  • 95e421b Merge pull request #554 from sergenyalcin/backport-544-to-release-1.11
  • 31bc693 Unknown options are no longer skipped and result in an error while struct tag...
  • 67b7989 Use error string constants consistently in structtag/value.go
  • 03f5f5c If an excluded path is not found during identity conversion, skip it
  • 8c1e712 Fix linter issues
  • 51f0ae6 Move markers.KubebuilderOptions to kubebuilder.Options
  • 4885d87 Improve doc comments for config.TagOverrides
  • 83b9edf Add config.SchemaElementOption.InitProviderTagOverrides to override generated...
  • 8828d58 Add structtag.Value.OverrideFrom to override a struct tag from another one
  • 33e27a4 Add pkg/types/structtag package for working with struct tags
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/crossplane/upjet](https://github.com/crossplane/upjet) from 1.9.0 to 1.11.0.
- [Release notes](https://github.com/crossplane/upjet/releases)
- [Commits](crossplane/upjet@v1.9.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/crossplane/upjet
  dependency-version: 1.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 10, 2025
@dependabot dependabot bot requested a review from yfodil as a code owner November 10, 2025 09:12
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 10, 2025
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (07f2813) to head (13236d0).

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #187   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files        476     476           
  Lines      60567   60567           
=====================================
  Misses     60567   60567           
Flag Coverage Δ
unittests 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants