Releases: aws/aws-cdk-cli-testing
@aws-cdk-testing/[email protected]
@aws-cdk-testing/[email protected]
@aws-cdk-testing/[email protected]
@aws-cdk-testing/[email protected]
@aws-cdk-testing/[email protected]
0.0.0 (2024-12-24)
⚠ BREAKING CHANGES
-
cdk-lib: The return type of
aws-cdk-lib.aws_ec2.SecurityGroup.determineRuleScope
was changed from a tuple ([SecurityGroupBase, string]
) to a struct with the same values, because tuple types are not supported over the jsii interoperability layer, butjsii@v1
was incorrectly allowing this to be represented as theJSON
primitive type. This made the API unusable in non-JS languages. The type of themetadata
property ofaws-cdk-lib.aws_s3_deployment.BucketDeploymentProps
was changed from an index-only struct to an inline map, becausejsii@v1
silently ignored the index signature (which is otherwise un-supported), resulting in an empty object in non-JS/TS languages. As a consequence, the values of that map can no longer beundefined
(asjsii
does not currently support nullable elements in collections). -
cdk-lib: migrate to [email protected] / [email protected] (#24425) (f36e12c)
Features
- allow all
sts
options for roles assumed by the cli (#31089) (3e38de4), closes /github.com/aws/aws-cdk/blob/v2.154.1/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml#L429 /github.com/aws/aws-cdk/blob/v2.154.1/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml#L275 /github.com/aws/aws-cdk/blob/v2.154.1/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml#L298 /github.com/aws/aws-cdk/blob/v2.154.1/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml#L321 /github.com/aws/aws-cdk/blob/v2.154.1/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml#L536 - aws-cdk-lib: reduce JavaScript load time, second attempt (#27362) (f2905c5), closes #27314 #27353
- aws-cdk-lib: reduce load time of JavaScript library (#27217) (112e7d0)
- bootstrap: prevent accidental bootstrap overwrites (#24302) (6ef24d6)
- cdk:
cdk diff --quiet
suppresses progress messages (#26652) (07d3f78), closes #26526 #26526 - cli:
cdk rollback
(#31407) (d6499d4), closes #30546 - cli: add ability to configure hotswap properties for ECS (#30511) (99a48d2), closes #29618
- cli: automatically roll back stacks if necessary (#31920) (5a298c3), closes #30546
- cli: cdk rollback (#31684) (7f927ed), closes #31407
- cli: exposed synth's quiet option in cdk.json (#24793) (0da019c), closes #24251
- cli: garbage collect ecr assets (under --unstable flag) (#31841) (9452114), closes #31611
- cli: garbage collect s3 assets (under
--unstable
flag) (#31611) (73066a1) - cli: notices on bootstrap version (#31555) (2c423a1)
- cli: option to ignore no stacks (#28387) (b94ad6e), closes #28371
- cli: support
Fn::ImportValue
intrinsic function for hotswap deployments (#27292) (ce6e2fa) - CLI: synth displays "AssertDescription: CDK bootstrap stack version 6 required" (#31092) (9a6c454), closes #17942
- cli: upgrade aws-sdk to sdkv3 (#31702) (f255ed9), closes #25870 #26292 #20956 #24744 #27265
- core: configure SNS topics to receive stack events on the Stack construct (#30551) (c6687df), closes #8581
- core: configure Stack SNS notification ARNs on the Stack construct (#31107) (3648e6c), closes #8581
- list stack dependencies (#28995) (97191ab)
- migrate: Add CDK Migrate
--from-scan
functionality (#28962) (62c0542) - support for IAM Identity Center in security diff (#30009) (4ec8b57), closes #29835
Bug Fixes
- apigatewayv2: does not work in non-aws partition (#25284) (53cae10)
- bootstrap: add
previous-parameters
option to bootstrap command (#25219) (ebed570), closes #23780 - cdk: allow bootstrap with policy names with a path (#26378) (3034da8), closes #26320
- cli-integ: add regression patch for cli integ fix (#29313) (4a195ba), closes #29305
- cli-integ: use
Python_3_12
instead ofPython_3_7
lambda runtime ([#29305](https://gith...