Skip to content

Conversation

rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Apr 11, 2025

By default we would use ^41.0.0 to depend on this package, but it is strictly backwards compatible. The major version number of this package currently tracks the revision of the cloud assembly protocol, and does not use semver major versions to indicate breaking changes (breaking changes are not allowed).

We should use >= to indicate that we expect a minimum version of the schema, but we don't want to imply a maximum version. Otherwise, users will get peerDependency errors/warnings for perfectly valid dependency sets.

Fixes aws/aws-cdk-cli#345.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

By default we would use `^41.0.0` to depend on this package, but it is
strictly backwards compatible. The major version number of this package
currently tracks the revision of the cloud assembly protocol, and does
not use semver major versions to indicate breaking changes (breaking
changes are not allowed).

We should use `>=` to indicate that we expect a minimum version of the
schema, but we don't want to imply a maximum version. Otherwise,
users will get peerDependency errors/warnings for perfectly valid
dependency sets.

Fixes aws/aws-cdk-cli#345.
@rix0rrr rix0rrr requested a review from a team April 11, 2025 12:15
@aws-cdk-automation aws-cdk-automation requested a review from a team April 11, 2025 12:15
@github-actions github-actions bot added the p2 label Apr 11, 2025
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Apr 11, 2025
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 0294493
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Copy link
Contributor

mergify bot commented Apr 11, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 81f41b3 into main Apr 11, 2025
13 of 14 checks passed
@mergify mergify bot deleted the huijbers/cx-api-peer branch April 11, 2025 19:18
Copy link
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 11, 2025
@rix0rrr rix0rrr self-assigned this Apr 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

contribution/core This is a PR that came from AWS. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(toolkit-lib): peer dependency issue with @aws-cdk/cloud-assembly-schema

4 participants