npm rolldown 1.0.0-beta.32
v1.0.0-beta.32

latest releases: 1.0.0-rc.9, 1.0.0-rc.8, 1.0.0-rc.7...
7 months ago

[1.0.0-beta.32] - 2025-08-11

๐Ÿ’ฅ BREAKING CHANGES

  • advanceChunks: remove interaction between advanceChunks and preserveEntrySignatures (#5629) by @hyf0
  • types: align TreeshakingOptions type with Rollup (#5592) by @sapphi-red

๐Ÿš€ Features

  • rolldown_plugin_manifest: support legacy (#5694) by @shulaoda
  • rolldown_plugin_vite_css: align load hook logic (#5667) by @shulaoda
  • rolldown_plugin_transform: throw error for invalid tsconfig (#5657) by @shulaoda
  • support context option (#5631) by @7086cmd
  • rolldown: oxc v0.81.0 (#5642) by @Boshen
  • include plugin name in the message of UNHANDLEABLE_ERRORs that happened in plugins (#5636) by @sapphi-red
  • pass plugin name to log (#5635) by @sapphi-red
  • rolldown_plugin_import_glob: support glob-safe paths (#5640) by @shulaoda
  • rolldown_binding: Add configurable max_blocking_threads with environment variable override (#5559) by @Copilot
  • output better error message for callable plugins (#5632) by @sapphi-red
  • rolldown_plugin_manifest: support names for asset (#5627) by @shulaoda
  • rolldown_plugin_manifest: align the logic related to css entries (#5626) by @shulaoda
  • hmr: handle import ... from 'external-module' in rolldown's best (#5599) by @hyf0
  • add array support for treeshake.moduleSideEffects option (#5593) by @sapphi-red

๐Ÿ› Bug Fixes

  • ensure ./ prefix for relative imports starting with . (#5687) by @shulaoda
  • hmr: fix regression test deconflict_import_bindings (#5684) by @hyf0
  • hmr: only modules in the propagation chain need to re-execute (#5683) by @hyf0
  • preserve empty export {} to ensure correct ESM detection (#5686) by @shulaoda
  • vite test failed (#5675) by @IWANABETHATGUY
  • incorrect module execution order with sideeffectful CJS module (#5661) by @IWANABETHATGUY
  • rollup-tests: update ignored tests for option.context (#5669) by @situ2001
  • hmr: ensure correctness of typeof require === 'function' (#5651) by @hyf0
  • hmr: rewrite this to exports for cjs modules (#5641) by @hyf0
  • don't generate namespace reexport code for reexport external record that has been moved to entry point (#5622) by @IWANABETHATGUY
  • esm export * from 'externalized-dep' generates unnecessary code (#5612) by @IWANABETHATGUY
  • hmr: correct runtime behavior for manual reexports (#5614) by @hyf0
  • ci: resolve potential sync issue in this.emitFile (#5611) by @shulaoda
  • hmr: support re-assignment on module.exports (#5607) by @hyf0
  • hmr: rewrite require(...) to sensible form (#5604) by @hyf0
  • align behavior when returning undefined from treeshake.moduleSideEffects function (#5595) by @sapphi-red

๐Ÿšœ Refactor

  • rolldown_binding: improve the use of FxHashSet and FxHashMap (#5665) by @shulaoda
  • hmr: move constants to constants.rs (#5650) by @hyf0
  • hmr: rewrite exports,module to __rolldown_exports__,__rolldown_module__ (#5647) by @hyf0
  • hmr: migrate VisitMut to Traverse (#5646) by @hyf0
  • use bit_index function to get RuntimeHelper bit index (#5634) by @IWANABETHATGUY
  • improve JsCallback and MaybeAsyncJsCallback (#5628) by @shulaoda
  • use bitflags instead of boolean to represent module_namespace included reason (#5621) by @IWANABETHATGUY
  • rolldown_debug,rolldown_tracing: remove EnvFilter (#5231) by @Boshen
  • align parameter name for treeshake.moduleSideEffects (#5594) by @sapphi-red

๐Ÿ“š Documentation

โšก Performance

๐Ÿงช Testing

  • Runtime error when using rolldown to build a page using tinymce (#5678) by @IWANABETHATGUY
  • rollup: enable testing for option.context (#5663) by @situ2001
  • hmr: run patch exectution after the normal execution (#5645) by @sapphi-red
  • hmr: properly execute patch chunks (#5617) by @sapphi-red
  • rust/hmr: hide unnecessary rolldown runtime, hmr module (#5606) by @hyf0
  • rust/hmr: support writting assertion tests (#5598) by @hyf0
  • rust: simplify global variable injection logic (#5597) by @hyf0

โš™๏ธ Miscellaneous Tasks

Co-authored-by: shulaoda 165626830+shulaoda@users.noreply.github.com

Don't miss a new rolldown release

NewReleases is sending notifications on new releases.