What's Changed
New Features 🎉
- feat(css): scope view transition names in CSS Modules by @CoderSerio in #16362
- feat(sri): support import map integrity for ESM chunks by @SyMind in #16848
Performance 🚀
- perf(loader): lazily initialize worker path utilities by @chenjiahan in #16979
- perf(loader): skip unnecessary hash escaping in requests by @chenjiahan in #16984
- perf(stats): materialize shared module snapshots on demand by @SyMind in #16995
- perf(stats): build sizes records in the native binding by @SyMind in #16980
- perf(loader): reuse unchanged buffers in extractSourceMap by @LingyuCoder in #17008
- perf(resolver): avoid duplicating resolver code per FileSystem type by @hai-x in #17011
- perf(binding): disable std backtrace symbolization in release builds by @hai-x in #17020
- perf: fuse usedExports collection and partitioning by @LingyuCoder in #17017
- perf: filter side-effect-free modules before sorting by @chenjiahan in #17026
- perf: skip redundant export queries during module concatenation by @chenjiahan in #17032
Bug Fixes 🐞
- fix(binding): align emnapi versions with WASI runtime peers by @chenjiahan in #17006
- fix(css): replace ICSS values in global keyframe names by @lanqing431 in #16926
- fix(rsc): support string export names in action entries by @SyMind in #17025
- fix(loader): preserve loader metadata for inline requests by @intellild in #16907
- fix(core): recognize existing indices in diagnostic arrays by @LingyuCoder in #17028
- fix(rstest): recognize CommonJS test API bindings by @9aoy in #17014
- fix(cache): restore Module Federation providers on legacy cache restart by @ahabhgk in #17039
Refactor 🔨
- refactor(runtime): centralize runtime template entries by @LingyuCoder in #16986
- refactor(core): simplify resource and module context handling by @ahabhgk in #16991
- refactor(binding): use weak references for Dependency and AsyncDependenciesBlock by @intellild in #16954
- refactor(loader): split JsLoaderContextState and extract LoaderMetadata by @intellild in #16913
- refactor(core): wrap ModuleRuleUseLoader in Arc and avoid cloning rule loaders by @intellild in #16955
- refactor(loader): remove the redundant ESM loader URL cache by @chenjiahan in #16985
- refactor(watcher): add DirectoryWatcher state by @stormslowly in #17010
Document 📖
- docs: show how dashedIdents changes CSS custom property names by @chenjiahan in #16998
- docs: fix overlapping rules in the built-in CSS guide by @chenjiahan in #17004
- docs: explain CSS Modules export naming conventions by @chenjiahan in #17005
- docs: clarify how exportsOnly affects stylesheet output by @chenjiahan in #17009
New Contributors
- @lanqing431 made their first contribution in #16926
Full Changelog: v2.3.5...v2.3.6