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

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

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 5, 2024

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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


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.

Copy link
Contributor Author

renovate bot commented Jun 5, 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):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.20 -> 1.23.1

@renovate renovate bot added the automated label Jun 5, 2024
@renovate renovate bot changed the title fix(deps): update module github.com/crossplane/upjet to v1.4.0 fix(deps): update module github.com/crossplane/upjet to v1.4.1 Jun 6, 2024
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 224f7a0 to e3477f2 Compare June 6, 2024 12:24
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from e3477f2 to 5e9d339 Compare July 14, 2024 09:22
@renovate renovate bot force-pushed the renovate/github.com-crossplane-upjet-1.x branch from 5e9d339 to 4c89f3b Compare September 11, 2024 14:55
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.

0 participants