Skip to content

v1.7.0

Compare
Choose a tag to compare
@turkenf turkenf released this 13 Jun 16:52
· 281 commits to main since this release
4079e3b

The v1.7.0 release introduces converting singleton lists in the MR APIs to embedded objects, bug fixes, and dependency updates.

In this release, we've updated how Terraform configuration blocks are handled in our APIs. Terraform configuration blocks, even if they have a MaxItems constraint of 1, are (almost) always generated as lists. We now generate the lists with a MaxItems constraint of 1 as embedded objects in our MR APIs. This also helps when updating or patching via SSA the (previously list) objects.

The new v1beta2 versions of the CRD APIs incorporate these changes, ensuring backward compatibility for clients using the older v1beta1 versions. Any clients wanting to use the embedded objects-based APIs should update to the v1beta2 versions of the CRD APIs.

Important

The provider generates the converted embedded objects in the new v1beta2 version if the current API version is v1beta1 and in the v1beta3 version if the current version is v1beta2.

  • For instance, let's look at the YAML output of the Application.elasticbeanstalk.aws.upbound.io/v1beta2 resource's spec.forProvider, with this release we can see the spec.forProvider.appversionLifecycle field as an object:
spec:
  forProvider:
    appversionLifecycle:
      deleteSourceFromS3: true
      maxCount: 128
      serviceRole: arn:aws:iam::153891904029:role/aws-elasticbeanstalk-service-role
    region: us-west-1
    tags:
      crossplane-kind: application.elasticbeanstalk.aws.upbound.io
      crossplane-name: first-app-test-qwerty-test
      crossplane-providerconfig: default
  • If we look at the v1beta1 YAML output of the resource, we see the field as a list:
spec:
  forProvider:
    appversionLifecycle:
    - deleteSourceFromS3: true
      maxCount: 128
      serviceRole: arn:aws:iam::153891904029:role/aws-elasticbeanstalk-service-role
    region: us-west-1
    tags:
      crossplane-kind: application.elasticbeanstalk.aws.upbound.io
      crossplane-name: first-app-test-qwerty-test
      crossplane-providerconfig: default

For a detailed overview of the implementation, please see crossplane/upjet#387 and crossplane/upjet#400

What's Changed

  • Remove documents related to monolithic provider by @turkenf in #1355
  • fix(sqs): update loop queues.sqs by @haarchri in #1356
  • Convert all singleton lists in the MR APIs to embedded objects by @ulucinar in #1332
  • Add example manifests for the converted singleton list API versions by @ulucinar in #1334
  • Remove monolithic provider from updoc workflow by @turkenf in #1362

Full Changelog: v1.6.1...v1.7.0