github web-infra-dev/rspack v2.2.0

2 hours ago

What's Changed

🎉 See Announcing Rspack 2.2 for more details.

New Features 🎉

Performance 🚀

Bug Fixes 🐞

  • fix: pass HMR error to Preact refresh recovery handler by @chenjiahan in #15179
  • fix(cache): limit shutdown compaction to a single pass by @ahabhgk in #15188
  • fix(types): add missing stats fields by @chenjiahan in #15206
  • fix(css-extract): strip BOM from module content before concatenation by @doxxx93 in #15169
  • fix(core): decouple incremental artifacts from cache! by @hardfist in #15229
  • fix(asset): preserve ESM imports in module output for "preserve" importMode by @JSerFeng in #15165
  • fix(css): CSS module dashed identifier and composes edge cases by @intellild in #15223
  • fix: make Module.blocks and Module.dependencies fail gracefully while the module graph is under construction by @upupming in #15177
  • fix: preserve reexport call context in concatenation by @LingyuCoder in #15247
  • fix(cache): validate new cache version by @hardfist in #15237
  • fix(cache): use storage location for new cache by @hardfist in #15250
  • fix(ids): make compare_modules_by_pre_order_index_or_identifier a total order by @noyobo in #15260
  • fix: await async modules in ProvidePlugin by @HashemKhalifa in #15143
  • fix: refine binding code generation result error handling by @intellild in #15253
  • fix(resolver): restore tsconfig files as file dependencies by @stormslowly in #15264
  • fix: include factory-created server actions in RSC metadata by @nikhilsnayak in #15298

Refactor 🔨

Document 📖

Other Changes

New Contributors

Full Changelog: v2.1.10...v2.2.0

Don't miss a new rspack release

NewReleases is sending notifications on new releases.