npm @rspack/cli 2.0.0-rc.1
v2.0.0-rc.1

9 hours ago

What's Changed

Breaking Changes 🛠

Performance Improvements ⚡

  • perf(javascript): cache non-nested export target lookups by @LingyuCoder in #13545
  • perf(rspack-sources): perf potential tokens and source map to json by @SyMind in #13497
  • perf: modules should use IdentifierHasher by @SyMind in #13601

New Features 🎉

  • feat: Implement HashedModuleIdsPlugin by @aancuta in #13197
  • feat: add TryFutureConsumer with short-circuit cancellation by @jerrykingxyz in #13554
  • feat(binding): add active-related APIs to ModuleGraphConnection by @JSerFeng in #13548
  • feat: support optimize side effects free function calls by @JSerFeng in #12559
  • feat(node-binding): add external wasm debug info for wasm dwarf debugging by @hardfist in #13638

Bug Fixes 🐞

  • fix(cli): surface fatal errors and unhandled rejections on process exit by @briansilah in #13506
  • fix: multicompiler devServer false support in serve by @LingyuCoder in #13572
  • fix(cli): bundle lazy-loaded helper deps by @chenjiahan in #13587
  • fix: cjs self reference mangle exports by @ahabhgk in #13588
  • fix(esm-library): emit empty export for empty node chunks by @JSerFeng in #13462
  • fix(wasm): avoid blocking-thread work under node:wasi by @hardfist in #13598
  • fix(core): move connection states to ModuleGraphConnection by @JSerFeng in #13624
  • fix(side-effects): respect DefinePlugin purity evaluation by @ahabhgk in #13628
  • fix(externals): correct external type for aliased node builtin externals by @JSerFeng in #13627

Refactor 🔨

Document Updates 📖

Other Changes

New Contributors

Full Changelog: v2.0.0-rc.0...v2.0.0-rc.1

Don't miss a new cli release

NewReleases is sending notifications on new releases.