Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 09 Apr 14:26
· 11 commits to refs/heads/main since this release
4f3efd4

0.2.0 (2025-04-09)

⚠ BREAKING CHANGES

  • toolkit-lib: 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.
  • toolkit-lib: This change updates the default IoHost implementation
    used by Toolkit to 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
    IoHost implementation to your Toolkit instance. You may consider
    extending the new NonInteractiveIoHost class with desired interactive
    prompts.
  • toolkit-lib: The outdir option in WatchOptions was deprecated
    and has been removed. Instead, the code now determines the assembly
    directory directly. To explicitly restore the previous behavior, you add
    the value to WatchOptions.exclude.
  • toolkit-lib: The extraUserAgentoption in WatchOptions interface
    was unused and had no effect on functionality. This change removes the
    unused parameter.
  • toolkit-lib: Remove the AsyncDisposable interface and dispose()
    method from the Toolkit class. These were previously unused and had no
    effect.
  • toolkit-lib: Removes previously deprecated options from toolkit
    actions. From DeployOptions, removed the options requireApproval,
    ci and progress. From DestroyOptions, removed the option ci. All
    removed options were previously deprecated and had no functional effect.
    Instead you should implement desired functionality in your IIoHost
    implementation.

Features

  • docs: api-extractor changes and gh workflow update (#303) (4771ed8)
  • toolkit-lib: default to using a non interactive IoHost (#306) (e0f9a6f), closes #157 #289
  • toolkit: add a return type for toolkit.deploy() (#317) (586e1b3)
  • toolkit: add a return type for toolkit.destroy() (#318) (2c7999c)
  • toolkit: watch operation can be stopped (#308) (634f512)

Bug Fixes

  • toolkit-lib: remove AsyncDisposable from Toolkit (#312) (567e998)
  • toolkit-lib: remove deprecated DeployOptions.force in favor of more specific options (#315) (c14df8e)
  • toolkit-lib: remove deprecated options (#307) (719cda7)
  • toolkit-lib: remove deprecated outdir option from watch (#313) (73e5ad4)
  • toolkit-lib: remove unused extraUserAgent option from WatchOptions (#314) (1fc05e5)