github web-infra-dev/rspack v1.6.0

one day ago

πŸŽ‰ See Announcing Rspack 1.6 for more details.

What's Changed

Performance Improvements ⚑

New Features πŸŽ‰

Bug Fixes 🐞

  • fix(loader-runner): add missing break statements in switch cases by @chenjiahan in #11794
  • fix: revert "fix: remove serde feature of lightningcss (#11706)" by @colinaaa in #11796
  • fix: correct stats.color type to include fine-grained options by @chenjiahan in #11797
  • fix: export interop default symbol and ensure import required chunks by @JSerFeng in #11793
  • fix: should re-export real exportInfo when export dynamic js by @JSerFeng in #11776
  • fix: should process runtime chunk after normal chunks of same chunk group by @LingyuCoder in #11778
  • fix: should use external source as name hint by @JSerFeng in #11825
  • fix(swc_plugin_import): fix panic and optimize diagnostic logs by @chenjiahan in #11862
  • fix: distinguish external modules when there are import attributes by @fi3ework in #11845
  • fix: should render default exports for cjs entry and json entry by @JSerFeng in #11860
  • fix: should export from entry chunk for cjs reexport default by @JSerFeng in #11884
  • fix: should not cache dependency instance in DynamicEntryPlugin by @SyMind in #11888
  • fix: updated dependencies sync to persistent cache by @jerrykingxyz in #11910
  • fix: no need to create compiler instance when closing compiler by @chenjiahan in #11923
  • fix: should allow override can_inline_use in flag dependency usage plugin by @ahabhgk in #11934
  • fix: perf regression caused by is_deferred by @ahabhgk in #11944
  • fix(create-rspack): polish README and configurations by @chenjiahan in #11953
  • fix(mf): federation modules plugin hooks leak by @quininer in #11929
  • fix(swcLoader): should correctly generate the default value of env_na… by @Zeahan in #11906
  • fix(types): add createReadStream to OutputFileSystem interface by @chenjiahan in #11963
  • fix: improve type safety for MultiStats options by @chenjiahan in #11964
  • fix: should support entries() for compilation.chunks by @SyMind in #11971
  • fix: esm output chunk module missing load dependent chunks by @stormslowly in #11945
  • fix: inline value for multiple runtime by @ahabhgk in #11983
  • fix: unknown defined properties for exported enum by @ahabhgk in #11992
  • fix: compilation.*_dep.added should not contains updated files by @jerrykingxyz in #11991
  • fix: side effects optimize panic when remove lib file by @jerrykingxyz in #11939
  • fix: should only top-level require wrapped modules for import side-effect specifier by @JSerFeng in #11997
  • fix: use asset resource module as entry by @LingyuCoder in #11993
  • fix: Remove some unnecessary unsafe by @quininer in #12006
  • fix: type definitions for devtool module filename templates by @chenjiahan in #12013
  • fix: incremental wrong provided exports results caused panic when delete module by @ahabhgk in #12009
  • fix: rayon iterator.consume will block in WASM by @jerrykingxyz in #12022
  • fix: calculate side effects of call exprs in seq expr by @LingyuCoder in #12017
  • fix: should remove related correctly in compilation.updateAsset by @LingyuCoder in #12031
  • fix: should resplace resource query in context replacement plugin by @LingyuCoder in #12033
  • fix(wasm): add another SharedArrayBuffer instance check by @CPunisher in #12037

Refactor πŸ”¨

Document Updates πŸ“–

Other Changes

New Contributors

Full Changelog: v1.5.8...v1.6.0

Don't miss a new rspack release

NewReleases is sending notifications on new releases.