Skip to content

Releases: unjs/unbuild

v3.0.0-rc.3

02 Jul 14:42
@pi0 pi0
Compare
Choose a tag to compare

compare changes

πŸš€ Enhancements

  • Upgrade to jiti v2 beta (#409)

🩹 Fixes

  • Type RollupOptions.plugins as array (62fa930)
  • Add all loader extensions to esbuild include (8ab22ff)
  • Enable jiti interopDefault for config loader and internals (ref: #409) (#409)

πŸ’… Refactors

  • Overhaul builders structure (#410)
  • Add explicit return types (#412)
  • Use colors from consola/utils (6a8f36d)

🏑 Chore

  • Upgrade @rollup/plugin-commonjs to 26 (9392ec3)
  • Update deps (d886ad5)
  • Update release script (8ce4090)
  • Remove unused imports (04c2b5c)
  • Add explicit type for var exports (af26e40)
  • Stricter type checks (#413)
  • Add publishTag to release script (577484c)

❀️ Contributors

  • Pooya Parsa (@pi0)

v3.0.0-rc.2

04 Jun 23:31
@pi0 pi0
Compare
Choose a tag to compare

compare changes

πŸš€ Enhancements

  • Support copy builder (#389)
  • Experimental active watcher for rollup (#364)
  • rollup: Add .mts and .cts to supported extensions (633ffe9)
  • Support custom jiti plugins for stub mode (#368)

🩹 Fixes

  • Generate stub types of with explicit extension import if pkg type is module (#371)
  • Correct dts generation for stub mode (#314)
  • rollup: Handle aliases when checking for externals (#384)
  • rollup: Update importAttributesKey to with (27bcba8)

πŸ“– Documentation

  • Add more jsdocs (#363)
  • Add examples (#334)

❀️ Contributors

v3.0.0-rc.1

18 Dec 20:02
@pi0 pi0
Compare
Choose a tag to compare
v3.0.0-rc.1 Pre-release
Pre-release

compare changes

πŸš€ Enhancements

  • ⚠️ Upgrade to rollup v4 (#327)
  • Support disabling preserveDynamicImports (#322)
  • rollup: ⚠️ Default to esnext build target (#335)

🩹 Fixes

  • Don't clean root directory if set as outDir (#343)

πŸ’… Refactors

  • Use jiti.import for ESM stubs and improve templates (#300)

πŸ“– Documentation

  • Update jsdocs for inferEntries (#310)

❀️ Contributors

v2.0.0

22 Aug 17:05
@pi0 pi0
Compare
Choose a tag to compare

compare changes

⭐ Highlights

  • Support for generating mts and cts declarations (read #273 and #226 for more info)
  • Support new CLI options --minify and --sourcemap
  • Upgraded to mkdist v1.3.0
  • Several bug fixes and stability improvements

πŸš€ Enhancements

  • Generate .d.mts and .d.cts declarations (#273)
  • Support multiple build configs (#275)
  • Support nested subpaths (#280)
  • Allow customizing jiti options for stub entries (#282)
  • Support aliases for stub mode (#283)
  • Migrate to unjs/citty (#284)
  • cli: Support --minify (#285)
  • Sourcemap support (#286)

🩹 Fixes

  • Respect directory separator when matching entries (#214)
  • esbuild: Typo in sourcemap option (#259)
  • Remove extensions from default output name (#279)
  • rollup: Check module id against externals as well (#270)
  • esbuild: Apply minify with corresponding loader (#254)
  • esbuild: Do not minify declarations (83b3ed2)
  • mkdist: Allow passing all possible options (f40a889)
  • Clean dist directories only once for multi builds (11c47c8)
  • auto: Avoid warning for existing files (#287)

πŸ’… Refactors

  • rollup: ⚠️ Improve esbuild options handling (#278)

πŸ“¦ Build

  • ⚠️ Make typescript a peer dependency (f31c6a4)

❀️ Contributors

v2.0.0-rc.0

18 Jul 20:07
@pi0 pi0
Compare
Choose a tag to compare
v2.0.0-rc.0 Pre-release
Pre-release

v1.2.1

13 Apr 11:32
@pi0 pi0
Compare
Choose a tag to compare

compare changes

πŸ’… Refactors

❀️ Contributors

  • Pooya Parsa (@pi0)

v1.2.0

31 Mar 12:44
@pi0 pi0
Compare
Choose a tag to compare

compare changes

πŸš€ Enhancements

  • rollup: Add jsx and tsx to esbuild loader defaults (#198)
  • rollup: Allow regular expressions in externals array (#145)
  • mkdist: Add new pattern option (#139)
  • Support esbuild charset option (#190)
  • rollup: Allow passing any all common esbuild options (8e81e2a)
  • rollup: Show size of bundled npm packages in cli output (#243)

🩹 Fixes

  • Pass missing esbuild jsx factory options (#224)
  • rollup: Handle array format for rollup.alias.entries option (#220)
  • rollup: Enable interop: compat for cjs compatibility (#215)

πŸ“– Documentation

  • Add types to default exports (#226)
  • Remove types field suggestion for now (e8988ae)

🏑 Chore

❀️ Contributors