这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 29, 2025

This PR contains the following updates:

Package Change Age Confidence Type Update
github.com/crossplane/crossplane-runtime v1.20.0 -> v2.1.0 age confidence require major
github.com/crossplane/crossplane-tools 29da025 -> dd45172 age confidence require digest
github.com/crossplane/upjet v1.9.0 -> v2.2.0 age confidence require major
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0 -> v2.38.1 age confidence require minor
k8s.io/apimachinery v0.33.3 -> v0.34.2 age confidence require minor
k8s.io/client-go v0.33.3 -> v0.34.2 age confidence require minor
sigs.k8s.io/controller-runtime v0.21.0 -> v0.22.4 age confidence require minor
sigs.k8s.io/controller-tools v0.18.0 -> v0.19.0 age confidence require minor

Release Notes

crossplane/crossplane-runtime (github.com/crossplane/crossplane-runtime)

v2.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: crossplane/crossplane-runtime@v2.0.0...v2.1.0

v2.0.0

Compare Source

What's Changed

New Contributors

Full Changelog: crossplane/crossplane-runtime@v1.20.0...v2.0.0

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

v2.2.0

Compare Source

New Features
  • Framework Diagnostics Error Support: Added terraform/errors.FrameworkDiagnosticsError to convert Terraform plugin framework diagnostic error messages into Go errors. This enhancement improves error handling and debugging capabilities when working with Terraform plugin framework resources.
  • Framework Resource Identity Configuration: Introduced config.FrameworkResourceWithComputedIdentifier external-name configuration specifically designed for Terraform plugin framework resources with computed identifier fields. This feature includes a new config.ExternalName.TFPluginFrameworkOptions struct for grouping framework-related configuration options and ComputedIdentifierAttributes to exclude computed identifier fields during drift calculations between desired and actual states.
  • Struct Tag Package & InitProvider Overrides: Added comprehensive pkg/types/structtag package providing a typed struct tag model with parsing, override capabilities, and validation. This enables per-field InitProvider overrides through config.InitProviderOverrides with both Kubebuilder marker and struct tag overrides. JSON tag values are now validated using regex patterns to prevent invalid CRD field names, and nil values in initProvider are properly handled to avoid spurious plan diffs.
  • Enhanced Tag Override System: Introduced structtag.Value.OverrideFrom method for overriding struct tags from another source, along with config.SchemaElementOption.InitProviderTagOverrides to customize generated tags for InitProvider types. This provides fine-grained control over code generation and CRD field specifications.
Bug Fixes
Critical Race Condition Fix - Conversion Webhooks

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.

What's Changed

Full Changelog: crossplane/upjet@v2.1.0...v2.2.0

v2.1.0

Compare Source

What's new

✨ This release introduces support for for generating providers with Terraform Protocol version 6 features in their resource schemas. Resources with nested attributes and dynamic-pseudo type attributes are now can be generated. The changes are backward compatible and does not affect existing resources.

[!warning]
To incorporate the changes, existing providers should first upgrade the provider to adapt Upjet v2 first, referring to the upgrade guide
Fresh providers can start with the upjet-provider-template and follow provider generation guide

After upgrading your provider to Upjet v2, you can switch to this version in your provider's go.mod, configure protov6 resources and run make generate

What's Changed

Full Changelog: crossplane/upjet@v2.0.0...v2.1.0-rc.0

v2.0.0

Compare Source

We are excited to announce Upjet v2.0.0 is available. This release introduces support for generating Crossplane v2 compatible providers with namespaced MRs.

Crossplane v2 compatibility

Upjet v2 generates Crossplane v2-compatible namespaced Managed Resources (MRs) and providers.
During the transition period of the providers, Upjet continues to generate cluster-scoped MRs along with new namespace-scoped MRs.

Namespaced MR APIs

Namespaced MR Go types now embed v2.ManagedResourceSpec. Per Crossplane v2 changes, this effectively makes the generated namespaced MR API:

  • spec.writeConnectionSecretToRef: connection secret refs are now local references (without namespace)
  • remove spec.deletionPolicy from namespaced MR specs, this is now expected to be configured via management policies
  • remove spec.publishConnectionDetailsTo as XPv2 removed support for External Secret Stores (ESS)
  • generate local secret refs for sensitive input parameters in spec.forProvider, e.g. spec.forProvider.fooSecretRef.
  • generate optionally namespaced reference/selector fields for cross-resource references.

Directory Structure changes

To facilitate both cluster-scoped and namespace-scoped APIs at the same repository, generated providers will have apis/ internal/controller/ examples-generated/

Module changes

  • upjet module is bumped to v2
  • bumped crossplane-runtime to v2 and updated all the import paths

Upgrade guide

Existing providers can refere to the upgrade guide
Fresh providers can start with the upjet-provider-template and follow provider generation guide to generate a new provider.

What's Changed

New Contributors

Full Changelog: crossplane/upjet@v1.9.0...v2.0.0

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

hashicorp/terraform-plugin-sdk (github.com/hashicorp/terraform-plugin-sdk/v2)

v2.38.1

Compare Source

BUG FIXES:

  • all: Prevent identity change validation from raising an error when prior identity is empty (all attributes are null) (#​1527)

v2.38.0

Compare Source

NOTES:

  • all: This Go module has been updated to Go 1.24 per the Go support policy. It is recommended to review the Go 1.24 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#​1518)
  • helper/schema: Update the provider server to handle the ListResource RPCs by returning an error since they are not supported by SDKv2. (#​1521)
  • helper/schema: Update the provider server to handle Action RPCs by returning an error since they are not supported by SDKv2. (#​1522)

ENHANCEMENTS:

  • helper/schema: Added new helper methods for converting Resource and Identity schemas to protocol representations. (#​1504)
  • helper/schema: Added an additional validation check to ensure the resource identity object is not null. (#​1513)
  • helper/schema: Added the TfTypeIdentityState() and TfTypeResourceState() methods to ResourceData which return the identity and state values as a tftypes.Value. (#​1508)
kubernetes/apimachinery (k8s.io/apimachinery)

v0.34.2

Compare Source

v0.34.1

Compare Source

v0.34.0

Compare Source

v0.33.6

Compare Source

v0.33.5

Compare Source

v0.33.4

Compare Source

kubernetes/client-go (k8s.io/client-go)

v0.34.2

Compare Source

v0.34.1

Compare Source

v0.34.0

Compare Source

v0.33.6

Compare Source

v0.33.5

Compare Source

v0.33.4

Compare Source

kubernetes-sigs/controller-runtime (sigs.k8s.io/controller-runtime)

v0.22.4

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.22.3...v0.22.4

v0.22.3

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.22.2...v0.22.3

v0.22.2

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.22.1...v0.22.2

v0.22.1

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.22.0...v0.22.1

v0.22.0

Compare Source

🔆 Highlights

⚠️ Breaking changes

✨ Features

🐛 Bugfixes

🌱 Other

📖 Documentation

Dependencies

Added
  • github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp: v1.26.0
  • github.com/envoyproxy/go-control-plane/envoy: v1.32.4
  • github.com/envoyproxy/go-control-plane/ratelimit: v0.1.0
  • github.com/go-jose/go-jose/v4: v4.0.4
  • github.com/golang-jwt/jwt/v5: v5.2.2
  • github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus: v1.0.1
  • github.com/grpc-ecosystem/go-grpc-middleware/v2: v2.3.0
  • github.com/spiffe/go-spiffe/v2: v2.5.0
  • github.com/zeebo/errs: v1.4.0
  • go.etcd.io/raft/v3: v3.6.0
  • go.opentelemetry.io/contrib/detectors/gcp: v1.34.0
  • go.opentelemetry.io/otel/sdk/metric: v1.34.0
  • go.yaml.in/yaml/v2: v2.4.2
  • go.yaml.in/yaml/v3: v3.0.4
  • sigs.k8s.io/structured-merge-diff/v6: v6.3.0
Changed
  • cel.dev/expr: v0.19.1 → v0.24.0
  • cloud.google.com/go/compute/metadata: v0.5.0 → v0.6.0
  • github.com/cncf/xds/go: b4127c9 → 2f00578
  • github.com/cpuguy83/go-md2man/v2: v2.0.4 → v2.0.6
  • github.com/emicklei/go-restful/v3: v3.11.0 → v3.12.2
  • github.com/envoyproxy/go-control-plane: v0.13.0 → v0.13.4
  • github.com/envoyproxy/protoc-gen-validate: v1.1.0 → v1.2.1
  • github.com/fsnotify/fsnotify: v1.7.0 → v1.9.0
  • github.com/fxamacker/cbor/v2: v2.7.0 → v2.9.0
  • github.com/golang/glog: v1.2.2 → v1.2.4
  • github.com/google/cel-go: v0.23.2 → v0.26.0
  • github.com/google/gnostic-models: v0.6.9 → v0.7.0
  • github.com/grpc-ecosystem/grpc-gateway/v2: v2.24.0 → v2.26.3
  • github.com/jonboulle/clockwork: v0.4.0 → v0.5.0
  • github.com/modern-go/reflect2: v1.0.2 → 35a7c28
  • github.com/spf13/cobra: v1.8.1 → v1.9.1
  • github.com/spf13/pflag: v1.0.5 → v1.0.6
  • go.etcd.io/bbolt: v1.3.11 → v1.4.2
  • go.etcd.io/etcd/api/v3: v3.5.21 → v3.6.4
  • go.etcd.io/etcd/client/pkg/v3: v3.5.21 → v3.6.4
  • go.etcd.io/etcd/client/v3: v3.5.21 → v3.6.4
  • go.etcd.io/etcd/pkg/v3: v3.5.21 → v3.6.4
  • go.etcd.io/etcd/server/v3: v3.5.21 → v3.6.4
  • go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc: v0.58.0 → v0.60.0
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc: v1.33.0 → v1.34.0
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.33.0 → v1.34.0
  • go.opentelemetry.io/otel/metric: v1.33.0 → v1.35.0
  • go.opentelemetry.io/otel/sdk: v1.33.0 → v1.34.0
  • go.opentelemetry.io/otel/trace: v1.33.0 → v1.35.0
  • go.opentelemetry.io/otel: v1.33.0 → v1.35.0
  • go.opentelemetry.io/proto/otlp: v1.4.0 → v1.5.0
  • google.golang.org/genproto/googleapis/api: e6fa225a0af3ef
  • google.golang.org/genproto/googleapis/rpc: e6fa225a0af3ef
  • google.golang.org/grpc: v1.68.1 → v1.72.1
  • k8s.io/api: v0.33.0 → v0.34.0
  • k8s.io/apiextensions-apiserver: v0.33.0 → v0.34.0
  • k8s.io/apimachinery: v0.33.0 → v0.34.0
  • k8s.io/apiserver: v0.33.0 → v0.34.0
  • k8s.io/client-go: v0.33.0 → v0.34.0
  • k8s.io/code-generator: v0.33.0 → v0.34.0
  • k8s.io/component-base: v0.33.0 → v0.34.0
  • k8s.io/gengo/v2: 1244d3185fd79d
  • k8s.io/kms: v0.33.0 → v0.34.0
  • k8s.io/kube-openapi: c8a335af3f2b99
  • k8s.io/utils: 3ea5e8c4c0f3b2
  • sigs.k8s.io/json: 9aa6b5ecfa47c3
  • sigs.k8s.io/yaml: v1.4.0 → v1.6.0
Removed
  • github.com/census-instrumentation/opencensus-proto: v0.4.1
  • github.com/golang-jwt/jwt/v4: v4.5.2
  • github.com/grpc-ecosystem/go-grpc-middleware: v1.3.0
  • github.com/grpc-ecosystem/grpc-gateway: v1.16.0
  • go.etcd.io/etcd/client/v2: v2.305.21
  • go.etcd.io/etcd/raft/v3: v3.5.21
  • google.golang.org/genproto: ef43131
  • sigs.k8s.io/structured-merge-diff/v4: v4.6.0

New Contributors

Full Changelog: <https://github.com/kubernetes-sigs/controller-runtime/compare/v0.21


Configuration

📅 Schedule: Branch creation - "every weekday after 11am" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 renovate/go label Jul 29, 2025
@renovate renovate bot requested a review from a1994sc as a code owner July 29, 2025 17:31
@renovate renovate bot changed the title fix(deps): update github.com/crossplane/crossplane-tools digest to 1a2083a fix(deps): update github.com/crossplane/crossplane-tools digest to 00d407d Jul 31, 2025
@renovate renovate bot force-pushed the renovate/all-golang branch 2 times, most recently from 3ea6fde to b43e554 Compare July 31, 2025 22:26
@renovate renovate bot changed the title fix(deps): update github.com/crossplane/crossplane-tools digest to 00d407d fix(deps): update all dependencies, golang Aug 8, 2025
@renovate renovate bot force-pushed the renovate/all-golang branch 2 times, most recently from 3dd5b87 to ca7ee3e Compare August 14, 2025 05:49
@renovate
Copy link
Contributor Author

renovate bot commented Aug 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):

  • 31 additional dependencies were updated

Details:

Package Change
golang.org/x/sync v0.14.0 -> v0.17.0
github.com/fxamacker/cbor/v2 v2.8.0 -> v2.9.0
github.com/go-logr/logr v1.4.2 -> v1.4.3
github.com/google/gnostic-models v0.6.9 -> v0.7.0
github.com/hashicorp/go-plugin v1.6.3 -> v1.7.0
github.com/hashicorp/hcl/v2 v2.23.0 -> v2.24.0
github.com/hashicorp/terraform-json v0.25.0 -> v0.27.1
github.com/hashicorp/terraform-plugin-framework v1.14.1 -> v1.15.0
github.com/hashicorp/terraform-plugin-go v0.27.0 -> v0.29.0
github.com/hashicorp/terraform-registry-address v0.2.5 -> v0.4.0
github.com/modern-go/reflect2 v1.0.2 -> v1.0.3-0.20250322232337-35a7c28c31ee
github.com/spf13/pflag v1.0.6 -> v1.0.7
github.com/zclconf/go-cty v1.16.2 -> v1.17.0
go.opentelemetry.io/otel v1.35.0 -> v1.37.0
go.opentelemetry.io/otel/trace v1.35.0 -> v1.37.0
golang.org/x/mod v0.24.0 -> v0.27.0
golang.org/x/net v0.39.0 -> v0.43.0
golang.org/x/oauth2 v0.29.0 -> v0.30.0
golang.org/x/sys v0.33.0 -> v0.36.0
golang.org/x/tools v0.32.0 -> v0.36.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20250422160041-2d3770c4ea7f -> v0.0.0-20250707201910-8d1bb00bc6a7
google.golang.org/grpc v1.72.1 -> v1.75.1
google.golang.org/protobuf v1.36.6 -> v1.36.9
k8s.io/api v0.33.3 -> v0.34.1
k8s.io/apiextensions-apiserver v0.33.0 -> v0.34.1
k8s.io/code-generator v0.33.0 -> v0.34.1
k8s.io/component-base v0.33.0 -> v0.34.1
k8s.io/gengo/v2 v2.0.0-20250207200755-1244d31929d7 -> v2.0.0-20250604051438-85fd79dbfd9f
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff -> v0.0.0-20250710124328-f3f2b991d03b
k8s.io/utils v0.0.0-20250321185631-1f6e0b77f77e -> v0.0.0-20250604170112-4c0f3b243397
sigs.k8s.io/yaml v1.4.0 -> v1.6.0

@renovate renovate bot force-pushed the renovate/all-golang branch 3 times, most recently from 74849c4 to e2c75fa Compare August 25, 2025 02:14
@renovate renovate bot force-pushed the renovate/all-golang branch 2 times, most recently from 7f33270 to 784803d Compare August 31, 2025 09:35
@renovate renovate bot force-pushed the renovate/all-golang branch 2 times, most recently from 824bd46 to a257b2a Compare September 10, 2025 10:49
@renovate renovate bot force-pushed the renovate/all-golang branch 2 times, most recently from 411b3ba to d3970bd Compare September 22, 2025 16:55
@renovate renovate bot force-pushed the renovate/all-golang branch from d3970bd to 1f14e44 Compare September 25, 2025 19:45
@renovate renovate bot force-pushed the renovate/all-golang branch 2 times, most recently from a63aed9 to db7c975 Compare October 6, 2025 17:41
@renovate renovate bot force-pushed the renovate/all-golang branch 3 times, most recently from f064f53 to 3985ed2 Compare October 15, 2025 21:07
@renovate renovate bot force-pushed the renovate/all-golang branch 2 times, most recently from ccbf74a to 3a57eaf Compare October 23, 2025 14:13
@renovate
Copy link
Contributor Author

renovate bot commented Oct 23, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -t ./...
go: module github.com/crossplane/upjet/v2@v2.2.0 requires go >= 1.24.7; switching to go1.24.10
go: downloading go1.24.10 (linux/amd64)
go: download go1.24.10: golang.org/toolchain@v0.0.1-go1.24.10.linux-amd64: verifying module: checksum database disabled by GOSUMDB=off

@renovate renovate bot force-pushed the renovate/all-golang branch 2 times, most recently from ab8b48f to 026fd21 Compare October 25, 2025 00:25
@renovate renovate bot force-pushed the renovate/all-golang branch 3 times, most recently from 7179fd7 to 1f305cf Compare November 9, 2025 14:08
@renovate renovate bot force-pushed the renovate/all-golang branch from 1f305cf to e9208fe Compare November 12, 2025 17:53
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.

2 participants