npm @rspack/core 2.1.0
v2.1.0

7 hours ago

What's Changed

🎉 See Announcing Rspack 2.1 for more details.

New Features 🎉

Performance 🚀

Bug Fixes 🐞

  • fix: preserve inline source content for transform sourcemaps by @intellild in #14350
  • fix: remove webpackSource and webpackDefer magic comments by @ahabhgk in #14364
  • fix: apply global overrideStrict for ContextModule by @colinaaa in #14361
  • fix(watcher): filter ignored-subtree events that emit a spurious folder change by @stormslowly in #14329
  • fix: use ChunkWithSizeInfo delimiter in maxInitialSize chunk naming fallback path by @wr40000 in #14331
  • fix: wait for in-flight build before closing compiler by @stormslowly in #14377
  • fix(browser): point wasi-worker-browser export to dist file by @stormslowly in #14415
  • fix(tree-shaking): handle nested pure function calls by @JSerFeng in #14375
  • fix: cherry-pick mf manifest expose assets by @2heal1 in #14339
  • fix: cache import.meta filename and dirname outside eval by @intellild in #14423
  • fix(pure-functions): keep deferred pure import callees by @JSerFeng in #14425
  • fix: improve createRequire argument parsing by @JSerFeng in #14424
  • fix(rstest): preserve mocks in module chunk loading by @9aoy in #14472
  • fix(rspack_watcher): prevent watch-root panic from orphaned path tree by @stormslowly in #14448
  • fix(test): isolate source for fixture-writing config cases by @stormslowly in #14462
  • fix: change default value of createRequire parsing to false by @JSerFeng in #14482
  • fix(types): align wasm loading types by @chenjiahan in #14506
  • fix(split-chunks): align max size grouping with webpack by @intellild in #14481
  • fix(rstest): fallback to automock for missing manual mocks by @9aoy in #14418
  • fix(css): preserve undeclared css module idents by @intellild in #14497
  • fix(mf): stabilize consume shared runtime output by @2heal1 in #14532
  • fix(cache): default context_dependencies snapshot strategy to timestamp by @hardfist in #14490
  • fix(core): support watcher events on native WatchFileSystem by @stormslowly in #14404
  • fix: default html script loading to module for module output by @intellild in #14544
  • fix: parse preserved magic comments by @intellild in #14536
  • fix: preserve source phase for wasm externals by @intellild in #14494
  • fix: handle cjs export assignment side effects by @JSerFeng in #14260
  • fix(error): use theme-based styling instead of environment-sniffing dim() in graphical renderer by @ruanyl in #14561
  • fix: exclude for const/let in/of decl from hoisted decls by @swwind in #14287
  • fix(types): align SWC unsafe function option by @haakjunlee in #14134
  • fix(core): set rslib runtime chunk names by @Timeless0911 in #14575
  • fix(core): exclude node_modules files from require.context map by @fi3ework in #14576

Refactor 🔨

Document 📖

Other Changes

New Contributors

Full Changelog: v2.0.8...v2.1.0

Don't miss a new core release

NewReleases is sending notifications on new releases.