Skip to content

Releases: mrgrain/cdk-esbuild

v4.1.0

14 Jan 17:59
Compare
Choose a tag to compare

4.1.0 (2023-01-14)

Features

v4.0.0

09 Jan 19:17
a15968c
Compare
Choose a tag to compare

4.0.0 (2023-01-09)

⚠ BREAKING CHANGES

  • New minimal version requirement of aws-cdk-lib >= 2.12.0. Versions before that depend on vulnerable packages and should not be used anymore. Please upgrade to a more recent version of aws-cdk-lib.
  • New unified provider interface to replace buildFn, transformFn, esbuildBinaryPath and esbuildModulePath. Please configure the included EsbuildProvider for more options or provide a custom implementation as an escape hatch to buildProvider and transformProvider respectively.
  • props.copyDir now removes the destination directory and any containing files if it exists. This will only affect edge cases when an asset has already been bundled and re-bundling is forced. Previously the destination directory would not have been cleared out, leading to outdated files being included in the bundle or an error message in same cases. The previous behavior was not correct and cannot be restored.
  • The default format and platform InlineXCode classes has been changed to csj and node. If you are using these classes to create browser or ESM compatible code, please update format and platform on props.transformOptions to the required values.
  • Removal of InlineJsxCode and InlineTsxCode classes. Use InlineJavaScriptCode or InlineTypeScriptCode respectively and set transformOptions.loader to jsx or tsx.
  • InlineJavaScriptCode and InlineTypeScriptCode now only take TransformerProps as second argument. Please provide any transform options via props.transformOptions. Previously TransformOptions could be provided at the top-level.

Features

  • InlineJavaScriptCode and InlineTypeScriptCode transform to CommonJS and Node by default (#282) (37736a7)
  • graduate InlineJavaScriptCode and InlineTypeScriptCode to stable (#283) (be31a04)
  • new IBuildProvider and ITransformProvider to unify esbuild provider options (#286) (f60ab8e)
  • publish for go (#341) (66a0df0)
  • support overriding the default esbuild API implementations (#313) (eee3443)

Bug Fixes

  • use shorter package name for go (#342) (2026131)
  • remove deprecated support of top-level TransformOptions on InlineCode classes (#281) (7159ef9)
  • upgrade minium version requirement for aws-cdk-lib (#315) (86096f7)

v3.13.5

09 Jan 14:06
a15968c
Compare
Choose a tag to compare

3.13.5 (2023-01-09)

v3.13.4

09 Jan 05:07
23e48fb
Compare
Choose a tag to compare

3.13.4 (2023-01-09)

v4.0.0-beta.3

08 Jan 17:41
Compare
Choose a tag to compare
v4.0.0-beta.3 Pre-release
Pre-release

4.0.0-beta.3 (2023-01-08)

Bug Fixes

v4.0.0-beta.2

08 Jan 17:02
Compare
Choose a tag to compare
v4.0.0-beta.2 Pre-release
Pre-release

4.0.0-beta.2 (2023-01-08)

Features

v4.0.0-beta.1

07 Jan 19:06
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

4.0.0-beta.1 (2023-01-07)

v4.0.0-beta.0

03 Jan 20:34
Compare
Choose a tag to compare
v4.0.0-beta.0 Pre-release
Pre-release

4.0.0-beta.0 (2023-01-03)

v3.13.3

02 Jan 05:07
c0baab7
Compare
Choose a tag to compare

3.13.3 (2023-01-02)

v3.13.2

26 Dec 05:07
0e16f2e
Compare
Choose a tag to compare

3.13.2 (2022-12-26)