Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor(deps): update module github.com/crossplane/upjet to v1.4.1 #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/crossplane/upjet v1.0.0 -> v1.4.1 age adoption passing confidence

Release Notes

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

v1.4.1

Compare Source

v1.4.0

Compare Source

We are excited to announce the release of Upjet v1.4.0, which includes several enhancements and new features aimed at improving the flexibility, usability, and efficiency of the code generation pipeline and API management. Below are the key updates in this release.

Release Highlights

1. Generate singleton lists as embedded objects
  • Terraform configuration blocks with a MaxItems constraint of 1 are now generated as embedded objects in MR APIs instead of lists. This change simplifies updates and patches via SSA by eliminating the need for specific configuration for associative lists.
  • Introduced runtime conversion logic to convert embedded objects back to singleton lists for Terraform operations and vice versa for updates to spec.forProvider, status.atProvider, and connection details.
  • Added a schema traverser to decouple Terraform schema traversal from various actions, allowing providers to generate singleton lists as embedded objects using the ujconfig.SingletonListEmbedder configuration.
  • Supported the generation of new CRD API versions with embedded object schemas while maintaining existing versions.
  • For further details: https://github.com/crossplane/upjet/pull/387
2. Support for specifying the controller reconciliation/watch version
  • Added config.Resource.ControllerReconcileVersion to specify the CRD API version that the associated controller will watch and reconcile, preventing unnecessary webhook conversions for multi-versioned CRDs.
  • For further details: https://github.com/crossplane/upjet/pull/400
3. TerraformConversions interface for handling conversions between Crossplane and Terraform
  • Introduced config.Resource.TerraformConversions for handling data transformations between Crossplane and Terraform layers. The initial implementation, config.singletonListConversion, manages conversions between singleton lists and embedded objects.
4. Dynamic code generation pipeline for multi-version APIs
  • Addressed name conflicts in the code generation pipeline by making it aware of previous CRD versions. This allows dynamic resolution of conflicts when generating new API versions, such as v1beta2, while older versions like v1beta1 exist.
  • Deprecated the config.Resource.OverrideFieldNames API in favor of the new config.Resource.PreviousVersions mechanism, ensuring more efficient and dynamic prevention of type name conflicts.
  • For further details: https://github.com/crossplane/upjet/pull/402
5. Support for Secret References in spec.initProvider
  • Enabled generation of secret references for sensitive parameters under the spec.initProvider API tree. This allows full specification of sensitive parameters, such as passwords, in the initProvider.
  • Adjusted code generation and runtime logic to support secret references from both spec.initProvider and spec.forProvider, with forProvider references taking precedence when conflicts arise.
  • For further details: https://github.com/crossplane/upjet/pull/406
6. Late-Initialization configuration API
  • Introduced a new late-init API to skip fields in spec.initProvider that are already filled, preventing the late-init operation in forProvider from overriding these fields. This ensures the integrity and intended configuration of fields specified in initProvider.
  • For further details: https://github.com/crossplane/upjet/pull/407
7. Documentation Improvements

What's Changed

New Contributors

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

v1.3.0

Compare Source

Release Highlights:

1. New Feature: Introduce MR Metrics

We are excited to introduce a new set of managed resource (MR) metrics in this release. These metrics are pivotal for monitoring the state and performance of resources managed through Crossplane. This enhancement follows the implementation guidelines from the provider-kubernetes and incorporates changes from crossplane-runtime. The newly available metrics include:

  • crossplane_managed_resource_exists{"gvk"}
  • crossplane_managed_resource_ready{"gvk"}
  • crossplane_managed_resource_synced{"gvk"}
  • crossplane_managed_resource_first_time_to_reconcile_seconds{"gvk"}
  • crossplane_managed_resource_first_time_to_readiness_seconds{"gvk"}
  • crossplane_managed_resource_deletion_seconds{"gvk"}
  • crossplane_managed_resource_drift_seconds{"gvk"}

For a detailed overview of the implementation, please refer to this PR in crossplane-runtime.

2. Bug Fix: Immediate Sync Status Update on Async Failures

This update addresses a critical bug related to asynchronous operation failures (Issue #​1164). With this fix, the "Synced" status will immediately reflect as "False" upon any failure in asynchronous operations, ensuring compliance with the XRM contract and improving reliability in status reporting. Previously, the error handling only updated the LastAsyncOperation status without properly setting the Synced condition to False. For more information, please see the detailed PR description.

What's Changed

New Contributors

Full Changelog: crossplane/upjet@v1.2.4...v1.3.0

v1.2.4

Compare Source

v1.2.3

Compare Source

v1.2.2

Compare Source

v1.2.1

Compare Source

v1.2.0

Compare Source

v1.1.6

Compare Source

v1.1.5

Compare Source

v1.1.4

Compare Source

v1.1.3

Compare Source

v1.1.2

Compare Source

v1.1.1

Compare Source

v1.1.0

Compare Source

The v1.1.0 introduces several new features and enhancements

Multi-version Custom Resource Definitions (CRDs) generation and CRD conversion webhooks

The generation pipeline and the resource configuration framework now allow the generation of CRDs with multiple versions and conversion webhooks by conversion.Hub and conversion.Convertible implementations for the resource.Terraformed resources. The generated webhooks will invoke a chain of Conversions while converting from/to Hub versions to/from the spoke versions. There are currently two conversion types, conversion.PavedConversion and conversion.ManagedConversion.

We are also providing some high-level Conversions to implement some common API conversion tasks. conversion.NewFieldRenameConversion returns a new PavedConversion that implements a field renaming conversion from a specified source version to a specified target version of an API. conversion.NewCustomConverter can be used to initialize a new ManagedConversion that invokes a specified conversion function on a source and destination resource.Managed pair.

Terraform Plugin Framework resources support

This release introduces two new managed.Connecters and two new managed.ExternalClients (controller.terraformPluginFrameworkExternalClient and the controller.terraformPluginFrameworkAsyncExternalClient) which bring support for reconciling Terraform Plugin Framework resources in the new architecture without forking any Terraform CLI or Terraform provider processes. Consumers can specify resources in provider.TerraformPluginFrameworkIncludeList to generate them with Terraform Plugin Framework external clients. The nofork architecture now has the native implementations for both the Terraform plugin SDK v2 resources and the Terraform plugin framework resources. In this release, the NoFork terminology was replaced by TerraformPluginSDK.

What's Changed

New Contributors

Full Changelog: crossplane/upjet@v1.0.0...v1.1.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 renovate Automated action from Renovate label Feb 1, 2024
@renovate renovate bot requested a review from tboerger as a code owner February 1, 2024 17:41
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from de41e17 to fd3b45a Compare February 5, 2024 08:18
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from fd3b45a to 64d14d0 Compare February 12, 2024 08:18
@renovate renovate bot changed the title minor(deps): update module github.com/crossplane/upjet to v1.1.0 minor(deps): update module github.com/crossplane/upjet to v1.2.0 Feb 15, 2024
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch 2 times, most recently from 53591f0 to 1cae23e Compare February 19, 2024 09:11
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 1cae23e to cb67c28 Compare February 26, 2024 08:19
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch 2 times, most recently from 01b4705 to 8671d7e Compare March 6, 2024 17:09
@renovate renovate bot changed the title minor(deps): update module github.com/crossplane/upjet to v1.2.0 minor(deps): update module github.com/crossplane/upjet to v1.2.1 Mar 6, 2024
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 8671d7e to a49749d Compare March 6, 2024 21:36
@renovate renovate bot changed the title minor(deps): update module github.com/crossplane/upjet to v1.2.1 minor(deps): update module github.com/crossplane/upjet to v1.2.2 Mar 6, 2024
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from a49749d to 0659e49 Compare March 11, 2024 11:18
@renovate renovate bot changed the title minor(deps): update module github.com/crossplane/upjet to v1.2.2 minor(deps): update module github.com/crossplane/upjet to v1.2.3 Mar 14, 2024
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 0659e49 to 0d7e436 Compare March 14, 2024 14:10
@renovate renovate bot changed the title minor(deps): update module github.com/crossplane/upjet to v1.2.3 minor(deps): update module github.com/crossplane/upjet to v1.2.4 Mar 14, 2024
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch 2 times, most recently from 7153e4a to c061ad4 Compare March 18, 2024 08:18
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from c061ad4 to 1173c9d Compare March 25, 2024 08:20
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch 2 times, most recently from 9af3f9c to 7153d31 Compare April 8, 2024 08:19
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 7153d31 to adb5efc Compare April 15, 2024 08:16
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch 2 times, most recently from ca2687f to 76032d9 Compare April 25, 2024 13:42
@renovate renovate bot changed the title minor(deps): update module github.com/crossplane/upjet to v1.2.4 minor(deps): update module github.com/crossplane/upjet to v1.3.0 Apr 25, 2024
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch 2 times, most recently from 1a36bb2 to 30910e9 Compare May 6, 2024 08:20
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 30910e9 to 82cec94 Compare May 13, 2024 08:21
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch 2 times, most recently from fdf944f to 7a12e15 Compare May 24, 2024 14:32
@renovate renovate bot changed the title minor(deps): update module github.com/crossplane/upjet to v1.3.0 minor(deps): update module github.com/crossplane/upjet to v1.4.0 May 24, 2024
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 7a12e15 to 6f4c87b Compare May 27, 2024 08:20
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch 2 times, most recently from c249e3d to 56a1147 Compare June 6, 2024 13:06
@renovate renovate bot changed the title minor(deps): update module github.com/crossplane/upjet to v1.4.0 minor(deps): update module github.com/crossplane/upjet to v1.4.1 Jun 6, 2024
Copy link
Contributor Author

renovate bot commented Jun 6, 2024

ℹ 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):

  • 21 additional dependencies were updated

Details:

Package Change
github.com/crossplane/crossplane-runtime v1.14.3 -> v1.16.0-rc.1.0.20240424114634-8641eb2ba384
github.com/google/uuid v1.3.1 -> v1.4.0
github.com/hashicorp/go-hclog v1.2.1 -> v1.5.0
github.com/hashicorp/hcl/v2 v2.14.1 -> v2.19.1
github.com/hashicorp/terraform-json v0.14.0 -> v0.17.1
github.com/hashicorp/terraform-plugin-go v0.14.0 -> v0.19.0
github.com/hashicorp/terraform-plugin-log v0.7.0 -> v0.9.0
github.com/spf13/afero v1.10.0 -> v1.11.0
github.com/zclconf/go-cty v1.11.0 -> v1.14.1
golang.org/x/exp v0.0.0-20231006140011-7918f672742d -> v0.0.0-20240112132812-db7319d0e0e3
golang.org/x/net v0.19.0 -> v0.23.0
golang.org/x/oauth2 v0.12.0 -> v0.15.0
golang.org/x/sys v0.16.0 -> v0.18.0
golang.org/x/term v0.15.0 -> v0.18.0
golang.org/x/time v0.3.0 -> v0.5.0
golang.org/x/tools v0.16.1 -> v0.17.0
google.golang.org/appengine v1.6.7 -> v1.6.8
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d -> v0.0.0-20231120223509-83a465c0220f
google.golang.org/grpc v1.59.0 -> v1.61.0
k8s.io/apiextensions-apiserver v0.29.0 -> v0.29.1
k8s.io/component-base v0.29.0 -> v0.29.1

@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch 2 times, most recently from 8714de1 to eae8f3b Compare June 17, 2024 08:21
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from eae8f3b to d4bb4ed Compare June 24, 2024 08:21
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch 2 times, most recently from 50aecef to eb4fb7f Compare July 8, 2024 08:21
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch 2 times, most recently from c7292da to dcca3ab Compare July 22, 2024 08:22
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from dcca3ab to 920db80 Compare July 29, 2024 08:21
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 920db80 to 1b97b5a Compare August 5, 2024 08:22
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch 2 times, most recently from be2ce36 to 62e6cb3 Compare August 19, 2024 08:22
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 62e6cb3 to 23a2dc5 Compare August 26, 2024 08:23
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 23a2dc5 to 490f837 Compare September 2, 2024 08:24
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch 2 times, most recently from 8411a59 to 303a8a8 Compare September 16, 2024 08:25
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 303a8a8 to 928f175 Compare September 23, 2024 08:24
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 928f175 to a6d3fdb Compare September 30, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
renovate Automated action from Renovate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants