github web-infra-dev/rspack v2.0.0-beta.1

14 hours ago

What's Changed

Breaking Changes 🛠

  • feat!: change default value for devtool by @SyMind in #12934
  • fix!: enable requireAsExpression by default again and not to throw warning when requireAlias is disabled by @LingyuCoder in #12998

Performance Improvements ⚡

New Features 🎉

  • feat: add beforeModuleIds hook by @hamlim in #12809
  • feat: support import.defer() for context module by @ahabhgk in #12938
  • feat: support MF share treeshake by @2heal1 in #12250
  • feat: make license banner comment more concise by @chenjiahan in #12960
  • feat: preserve tla expr for EsmLibrary by @JSerFeng in #12942
  • feat: add support for readonly persistent cache by @cellison-figma in #12902
  • feat(css): introduce resolveImport parser option for css parser to choose whether to resolve @import syntax by @JSerFeng in #12672
  • feat: add the map of json data size to rspack_plugin_rsdoctor for use rsdoctor by @yifancong in #12950
  • feat!: change exports presence default to true by @ahabhgk in #13002

Bug Fixes 🐞

  • fix: rsc plugin stats should use AtomicRefCell by @SyMind in #12923
  • fix: context dependencies hash calculation use cache.snapshot configuration by @jerrykingxyz in #12937
  • fix!: remove debug hash algorithm by @chenjiahan in #12951
  • fix: RSC fails to properly handle Windows paths by @SyMind in #12969
  • fix: webpack_chunk_load api compile wrong by @SyMind in #12971
  • fix: Replace AtomicRefCell with Mutex in RSC Coordinator by @SyMind in #12972
  • fix: port webpack fix for webpack_module name collision by @Copilot in #12956
  • fix: preserve import external without modify mg by @JSerFeng in #12973
  • fix: allow to export the same name of same local, fix entry splitting algorithm by @JSerFeng in #13000
  • fix(esm-lib-plugin): support inline export for dyn import by @JSerFeng in #12949

Refactor 🔨

Document Updates 📖

Other Changes

New Contributors

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

Don't miss a new rspack release

NewReleases is sending notifications on new releases.