Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws/aws-cdk-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @aws-cdk/toolkit-lib@v1.2.2
Choose a base ref
...
head repository: aws/aws-cdk-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @aws-cdk/toolkit-lib@v1.2.3
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jul 2, 2025

  1. fix(cloud-assembly-schema): bump the version number (#677)

    I did not want to bump the version number previously because the CLI did
    not yet *act* on the new definitions found inside the schema, and users
    would get the error message:
    
    ```
    This CDK CLI is not compatible with the CDK library used by your application. Please upgrade the CLI to the latest version.
    ```
    
    For no benefit.
    
    This was a mistake, because we use `jsonschema` to validate the contents
    of the manifest file and now old versions of the CLI try and validate
    new files using the old schema, and instead they get the error:
    
    ```
    Invalid assembly manifest:
    instance.artifacts.aws-cdk-lib/feature-flag-report.type is not one of enum values: none,aws:cloudformation:stack,cdk:tree,cdk:asset-manifest,cdk:cloud-assembly
    instance.artifacts.aws-cdk-lib/feature-flag-report.properties requires property "templateFile"
    instance.artifacts.aws-cdk-lib/feature-flag-report.properties requires property "file"
    ```
    
    We will need another mechanism to achieve the goal of not requiring
    people to upgrade their CLI unnecessarily; holding back the version
    number is just exchanging one error message for a worse one.
    
    Belatedly bump the version number here, so that we can release this and
    reapply this change: aws/aws-cdk#34880
    
    
    ---
    By submitting this pull request, I confirm that my contribution is made
    under the terms of the Apache-2.0 license
    rix0rrr authored Jul 2, 2025
    Configuration menu
    Copy the full SHA
    6735323 View commit details
    Browse the repository at this point in the history
Loading