Skip to content

Releases: unjs/unbuild

v3.0.1

13 Dec 17:48
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • rollup: De-default default export from stub (#455)

❤️ Contributors

v3.0.0

13 Dec 12:04
@pi0 pi0
Compare
Choose a tag to compare

What is coming next?

In parallel with maintaining stable releases of unbuild, We are experimenting with a new, faster, and more modern approach based on OXC, rolldown, and native runtime ESM/TypeScript made possible with recent Node.js versions!

Changelog

compare changes

⚠️ Breaking Changes

  • Upgrade to rollup v4 (#327)
  • Default rollup build target to esnext (#335)
  • Upgrade to mkdist v2.0.0

🚀 Enhancements

  • Upgrade to rollup v4 (#327)
  • Support disabling preserveDynamicImports (#322)
  • rollup: Default to esnext build target (#335)
  • 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)
  • Upgrade to jiti v2 (#409)
  • Add --config to the CLI (#440)

🩹 Fixes

  • Don't clean root directory if set as outDir (#343)
  • 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)
  • 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)
  • rollup: Keep empty (type-only) modules (a9158e2)
  • rollup: Keep empty type-only modules (7a6469b)
  • untyped: Use custom jiti instance (00ded57)
  • Normalize resolved path (2640083)
  • stub: Enable interopDefault by default (8e6f7e4)
  • config: Only take default export (fefafec)
  • Update to jiti 2.3 (9147c3e)
  • Untyped declaration output is optional (5820182)
  • untyped: Use schema module default export if is the only export (cc26726)

💅 Refactors

  • Use jiti.import for esm stubs and improve templates (#300)
  • Overhaul builders structure (#410)
  • Add explicit return types (#412)
  • Use colors from consola/utils (6a8f36d)
  • Replace globby w/ fast-glob (#418)
  • Replace fast-glob with tinyglobby (#426)

📖 Documentation

  • Update jsdocs for inferEntries (#310)
  • Add more jsdocs (#363)
  • Add examples (#334)
  • Fix typo (#414)
  • Add more usage info (#401)

❤️ Contributors

v3.0.0-rc.11

05 Oct 13:22
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • untyped: Use schema module default export if is the only export (cc26726)

v3.0.0-rc.10

05 Oct 12:48
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add --config to the CLI (#440)

🩹 Fixes

  • Update jiti to 2.3 (9147c3e)
  • Untyped declaration output is optional (5820182)

📖 Documentation

  • Add more usage info (#401)

❤️ Contributors

v3.0.0-rc.9

04 Oct 17:06
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • config: Only take default export (fefafec)

v3.0.0-rc.8

25 Sep 18:33
@pi0 pi0
Compare
Choose a tag to compare

compare changes

  • Update jiti to v2.0.0 stable
  • Normalize resolved path (2640083)
  • Replace fast-glob with tinyglobby (#426)
  • Fix typo (#414)

❤️ Contributors

v3.0.0-rc.7

16 Jul 18:21
@pi0 pi0
Compare
Choose a tag to compare

compare changes

💅 Refactors

  • Replace globby w/ fast-glob (#418)

❤️ Contributors

v3.0.0-rc.6

03 Jul 09:04
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • untyped: Use custom jiti instance (00ded57)

🏡 Chore

  • Eslint ignore test/fixture/dist (66a8db3)

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.0.0-rc.5

02 Jul 20:43
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • rollup: Keep empty type-only modules (7a6469b)

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.0.0-rc.4

02 Jul 20:38
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • rollup: Keep empty (type-only) modules (a9158e2)

❤️ Contributors

  • Pooya Parsa (@pi0)