-
Notifications
You must be signed in to change notification settings - Fork 4k
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
chore(synthetics): restore synthetics alpha module #27394
Conversation
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). |
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). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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). |
#27394 added back the synthetics module for CDK release v2.100.0 due to an issue with the peer dependencies that has since been fixed. Since synthetics is stabilized, the alpha module can be safely deleted now. I downloaded `@aws-cdk/aws-synthetics-alpha` version `2.100.0-alpha.0` and confirmed that its `package.json` included the correct peer dependencies with the caret: ```json "peerDependencies": { "aws-cdk-lib": "^2.100.0", "constructs": "^10.0.0" }, ``` ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Synthetics was stabilized in #27305 and the alpha module was removed. Due to a bug in
align-versions.sh
, the last published@aws-cdk/aws-synthetics-alpha
module relied on a peer dependency ofaws-cdk-lib@2.99.0
instead ofaws-cdk-lib@^2.99.0
(with the caret). This makes `@aws-cdk/aws-synthetics-alpha incompatible with later versions of aws-cdk-lib, and is unintentional.#27376 fixes the bug in
align-versions.sh
, and this PR re-introduces@aws-cdk/aws-synthetics-alpha
for one last version of CDK (v2.100.0) before we remove it again. This should have the effect of@aws-cdk/aws-synthetics-alpha@2.100.0
being the last version of the alpha module, but still compatible with later versions ofaws-cdk-lib
by having the peer dependencyaws-cdk-lib@^2.100.0
.We still want users to migrate to the stable synthetics module at
aws-cdk-lib/aws-synthetics
, but we don't want to outright break existing users of the experimental module either.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license