What's Changed
Performance Improvements ⚡
- perf: create tsfn error resolver once by @h-a-n-a in #8540
- perf: mem cache for chunk render source by @ahabhgk in #8528
- perf: move from
Buffer
to zero-copyBufferSlice
by @h-a-n-a in #8574 - perf: register cleanup hook on global by @SyMind in #8564
- perf: reduce memory consumption of paths by @h-a-n-a in #8581
Exciting New Features 🎉
- feat(mf): recursive search for versions of shared dependencies by @inottn in #8388
- feat: support output.environment.nodePrefixForCoreModules by @inottn in #8516
- feat(rspack_cacheable):
as
attr support use with dyn trait by @jerrykingxyz in #8535 - feat: support analysing AMD module format by @nilptr in #8389
- feat(cli): set default
process.title
by @chenjiahan in #8576 - feat: support chunksSortMode option to HtmlRspackPlugin by @inottn in #8585
Bug Fixes 🐞
- fix: reset the progress bar in the correct hook by @inottn in #8429
- fix: get encoded asset content correctly by @inottn in #8545
- fix: missing dependencies type in Module class by @SyMind in #8552
- fix: chunk render cache panic on css extract diagnostics by @ahabhgk in #8562
- fix: should report errors if stats was being accessed after the compiler was closed by @h-a-n-a in #8561
- fix: add missing affectedHooks parameter to ProvidePlugin by @inottn in #8570
- fix: rule.issuerLayer by @SyMind in #8572
- fix: should have module-post-order-index when incremental build by @JSerFeng in #8559
- fix: rebuild should reset module.preOrderIndex by @JSerFeng in #8413
- fix(incremental): infer async modules test cases and add loggings for incremental by @ahabhgk in #8580
- fix: prevent from accessing outdated compilation by @SyMind in #8591
- fix(incremental): get affected modules with chunk graph perf regression by @ahabhgk in #8592
Document Updates 📖
- docs: add examples for watchOptions by @chenjiahan in #8532
- docs: polish Rule configuration by @chenjiahan in #8565
Other Changes
- refactor: remove unnecessary filesystem trait by @hardfist in #8525
- chore(deps): update dependency prettier to v3.4.1 by @renovate in #8544
- chore(deps): update github-actions by @renovate in #8542
- chore(deps): update pnpm to v9.14.2 by @renovate in #8543
- refactor: css loading by @JSerFeng in #8534
- test: create issues for webpack-test failures by @GiveMe-A-Name in #8551
- chore: update rspress to v1.37.2, fix sass test case warnings by @renovate in #8514
- refactor: remove unused cssHeadDataCompression config by @JSerFeng in #8555
- chore: bump rspack crate to 0.2.0 by @hardfist in #8573
- chore: fix crate publish problems by @hardfist in #8575
- refactor: CSS HMR by @JSerFeng in #8587
Full Changelog: v1.1.4...v1.1.5