Repository navigation
aws-cdk@v2.1009.0
·
1019 commits
to refs/heads/main
since this release
2.1009.0 (2025-04-16)
⚠ BREAKING CHANGES
- this change changes the return type of
toolkit.synth(): it no longer returns an arbitrary Assembly Source (by
interface), but a specific Assembly, by class, that can also be used as
a source. The return type ofICloudAssemblySource.produce()has been
changed toIReadableCloudAssembly. This will only affect consumers
with custom implementations of that interface, the factory function APIs
are unchanged. - toolkit-lib: The deprecated
forceoption onDeployOptionshas
been removed. The removed option originally caused multiple different
"force" actions. Each action now has a more targeted alternative. To
force a deployment even if the CDK Toolkit has not detected any changes,
useforceDeployment. To force re-publishing of previously published
assets, useforceAssetPublishing. To force failing resource being
orphaned during a rollback, useorphanFailedResourcesDuringRollback.
To implement interactive confirmation of rollbacks during a deployment,
react to the message request with codeCDK_TOOLKIT_I5050in your
IoHost. - toolkit-lib: This change updates the default
IoHostimplementation
used byToolkitto a version that is strictly non-interactive, i.e.
there is no expectation anymore that users will respond to command-line
prompts. To restore previous behavior, you will can provide a custom
IoHostimplementation to yourToolkitinstance. You may consider
extending the newNonInteractiveIoHostclass with desired interactive
prompts.
Features
- refactor (dry-run mode only) (#342) (24b23e4)
- refactor: resources with the same physical ID are considered equivalent (#360) (6cde334)
- toolkit-lib: add a return type for toolkit.diff() (#368) (25db152)
- toolkit-lib: default to using a non interactive IoHost (#306) (e0f9a6f), closes #157 #289
- toolkit: watch operation can be stopped (#308) (634f512)