github web-infra-dev/rspack v1.0.11

latest release: v1.0.12
one day ago

Highlights 💡

Faster Startup 🚀

The Node.js code from @rspack/core is now bundled into a single bundle, making Rspack startup 30ms faster.

Benchmark 1 (Rspack 1.0.10)
  Time (mean ± σ):     370.5 ms ±  12.1 ms    [User: 412.9 ms, System: 68.1 ms]
  Range (min … max):   357.9 ms … 395.1 ms    10 runs

Benchmark 2 (Rspack 1.0.11)
  Time (mean ± σ):     335.4 ms ±   2.6 ms    [User: 380.3 ms, System: 59.0 ms]
  Range (min … max):   331.8 ms … 339.1 ms    10 runs

What's Changed

Performance Improvements ⚡

  • perf: bundle @rspack/core for faster startup by @chenjiahan in #8072
  • perf(rspack_core): replace HASH_PLACEHOLDER_REGEX with simple string parsing by @shulaoda in #7907
  • perf: add cache for getting sideEffectState by @JSerFeng in #8070

Exciting New Features 🎉

Bug Fixes 🐞

  • fix: avoid renaming the export name when outputting a library by @inottn in #8046
  • fix(ci/preview-commit): remove predicate-quantifier by @shulaoda in #8091
  • fix: return url in CreateScriptUrlRuntimeModule by @LingyuCoder in #8088
  • fix: css module should not calculate id by @JSerFeng in #8084
  • fix: avoid extra runtime for get javascript chunk filename by @inottn in #8099
  • fix: generate code correctly for dynamically importing the same file by @inottn in #8100

Other Changes

New Contributors

Full Changelog: v1.0.10...v1.0.11

Don't miss a new rspack release

NewReleases is sending notifications on new releases.