npm @rspack/core 1.2.7
v1.2.7

one day ago

Highlights 💡

⚡️ Up to 20% faster on macOS

On macOS, Rspack v1.2.7 is up to 20% faster than v1.2.6. See #9518 for details.

🌿 20% less HMR memory usage

Name Base (2025-02-28  2b45815) Current Change
threejs_development-mode_10x_hmr + rss memory 1137 MiB ± 129 MiB 890 MiB ± 293 MiB -21.72 %

To find out more, follow this link; and this is the benchmark report.

What's Changed

Performance Improvements ⚡

  • perf: avoid create new dependency for add include by @ahabhgk in #9505
  • perf: try reduce max_blocking_threads to save memory and reduce fs contention by @hardfist in #9518

Exciting New Features 🎉

Bug Fixes 🐞

  • fix: hmr should work when moving module between different runtime by @ahabhgk in #9412
  • fix: persistent cache skip calc modified_files when rebuild by @jerrykingxyz in #9448
  • fix: hash runtime condition for connection by @ahabhgk in #9456
  • fix: detect module graph change right before build_chunk_graph by @JSerFeng in #9453
  • fix: unify js assets info type by @SyMind in #9464
  • fix: commonjs static library mode by @hai-x in #9390
  • fix(cli): failed to run preview with TS config file by @chenjiahan in #9468
  • fix: handle css with BOM by @inottn in #9467
  • fix: rebuild ignore modules contain built-in loader errors by @jerrykingxyz in #9482
  • fix: concate with external runtime specific modules by @JSerFeng in #9490
  • fix: add_include can not incremental by @SyMind in #9423
  • fix: entry dependency passed to addInclude should be used in module graph by @SyMind in #9476
  • fix(rspack_plugin_runtime): do not render chunks that only contain non-js module types by @ScriptedAlchemy in #9521
  • fix: update asset can return undefined by @SyMind in #9530

Document Updates 📖

Other Changes

New Contributors

Full Changelog: v1.2.6...v1.2.7

Don't miss a new core release

NewReleases is sending notifications on new releases.