You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(toolkit-lib): remove deprecated DeployOptions.force in favor of multiple more specific options
- Rename `force` option to more descriptive `forceDeployment` for clarity
- Add new `forceAssetPublishing` option to control asset publishing separately
- Add `orphanFailedResourcesDuringRollback` option for better rollback control
- Rename `removePublishedAssets` to `removePublishedAssetsFromWorkGraph` for clarity
- Update tests and implementation to use the new parameter names
- Improve documentation for deployment options
BREAKING CHANGE: The deprecated `force` option on `DeployOptions` has 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, use `forceDeployment`. To force re-publishing of previously published assets, use `forceAssetPublishing`. To force failing resource being orphaned during a rollback, use `orphanFailedResourcesDuringRollback`. To implement interactive confirmation of rollbacks during a deployment, react to the message request with code `CDK_TOOLKIT_I5050` in your `IoHost`.
0 commit comments