npm rolldown 1.1.5
v1.1.5

4 hours ago

[1.1.5] - 2026-07-08

๐Ÿš€ Features

๐Ÿ› Bug Fixes

  • improve invalid annotation warnings (#10185) by @hyf0
  • keep deduplicated asset filenames stable once they can be observed (#10191) by @shulaoda
  • sourcemap_filenames: use public option name in pattern errors (#10188) by @IWANABETHATGUY
  • sourcemap_filenames: hash prepared sourcemap content (#10178) by @hyf0
  • tree-shake unused circular declarators exported via export list (#10166) by @IWANABETHATGUY
  • dev: don't panic when an HMR rebuild hits an unresolved import (#10162) by @shulaoda
  • propagate errors from output.globals function (#9880) by @shulaoda
  • dev: revert cache mutations when a partial scan fails (#10110) by @shulaoda
  • dev: update importer relationships of cached modules in incremental build (#10107) by @shulaoda
  • hmr: fall back to full reload when a changed module is not registered as executed (#10132) by @shulaoda
  • chunk-optimizer: follow entry facade edges in runtime placement cycle check (#10101) by @hyf0
  • dev: ignore watcher events after close (#10113) by @hyf0
  • emit async wrapper for TLA modules under onDemandWrapping (#10086) by @IWANABETHATGUY
  • gate sideEffects:false modules' side effects on body demand (#10080) by @IWANABETHATGUY
  • rolldown_plugin_vite_resolve: return empty object for browser: false mapped modules (#10082) by @sapphi-red
  • reset the word-boundary state on newline in Hires::Boundary sourcemaps (#10025) by @shulaoda
  • trim an emptied chunk's outro/intro instead of skipping past it (#10029) by @shulaoda
  • test each edited chunk's own start against indent exclude ranges (#10026) by @shulaoda
  • preserve sourcemap mappings for indented lines when a CJS module shares the chunk (#10074) by @hyf0

๐Ÿšœ Refactor

  • separate tree-shaking side effects from execution order sensitivity (#10168) by @hyf0
  • type construct_vite_preload_call to take an ObjectPattern (#10135) by @shulaoda
  • treeshake: single-source the own-export classification shared with the lazy-barrel loader (#10098) by @IWANABETHATGUY
  • dev: reuse Vite's bundledDev server (#10081) by @h-a-n-a
  • clippy: ban std HashMap/HashSet in favour of FxHashMap/FxHashSet (#10108) by @Boshen
  • treeshake: make body demand a second module bit instead of a stmt multimap (#10097) by @IWANABETHATGUY
  • seal used_symbol_refs by construction after its last writer (#10091) by @hyf0
  • treeshake: replace inclusion mutual recursion with a worklist engine (#10096) by @IWANABETHATGUY
  • treeshake: split include_statements.rs into focused modules (#10095) by @IWANABETHATGUY
  • drop redundant is_user_defined filter on partitioned entries (#10050) by @shulaoda
  • project the retained export interface out of used_symbol_refs (#10089) by @hyf0
  • track used external symbols separately from used_symbol_refs (#10088) by @hyf0
  • make module namespace inclusion an explicit linking metadata field (#10087) by @hyf0
  • rename statement evaluation metadata (#10078) by @hyf0

๐Ÿ“š Documentation

โšก Performance

  • ast_scanner: stop order-sensitivity checks once a module is flagged (#10190) by @IWANABETHATGUY
  • return impl ExactSizeIterator from slice-backed accessors (#10133) by @Boshen
  • binding: box dev and watcher napi futures (#10103) by @Boshen

๐Ÿงช Testing

  • move string_wizard replace unit tests to the JS magic-string suite (#10176) by @IWANABETHATGUY
  • dev: assert incremental scan state matches a fresh full build after each HMR step (#10115) by @shulaoda
  • dev: restore runtime assertions of delete_file_not_used_anymore (#10112) by @shulaoda
  • dev: fix flaky dev server tests in CI (#10152) by @h-a-n-a
  • add regression test for #10099 (lazyBarrel drops default-import binding but keeps its property reads) (#10109) by @IWANABETHATGUY

โš™๏ธ Miscellaneous Tasks

โ—€๏ธ Revert

  • Revert "chore(deps): revert vite-plus to v0.2.1" (#10157) by @h-a-n-a
  • "fix(hmr): fall back to full reload when a changed module is not registered as executed (#10132)" (#10151) by @shulaoda

โค๏ธ New Contributors

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

Don't miss a new rolldown release

NewReleases is sending notifications on new releases.