What's Changed
New Features 🎉
- feat: support prefetch and preload in css extract plugin by @LingyuCoder in #12237
- feat: support SRI with
experiments.cssandCssExtractRspackPluginby @LingyuCoder in #12239
Bug Fixes 🐞
- fix: should inject prefetch startup in entry chunk instead of runtime chunk by @LingyuCoder in #12233
- fix: persistent cache watch missing dependencies changes by @jerrykingxyz in #12228
- fix: generate stable extract css runtime by sorting css chunks by @LingyuCoder in #12246
- fix(create-rspack): use current package manager in templates by @chenjiahan in #12248
- fix: inline enum module should populate its collected_typescript_info by @JSerFeng in #12252
- fix: buildDependency resolver add more file extensions by @jerrykingxyz in #12260
- fix: should not panic when SRI options is invalid by @LingyuCoder in #12259
- fix: not try to add integrity to tags with remote url by @LingyuCoder in #12262
- fix(cli):
devServer.hot: falsenot work by @chenjiahan in #12261 - fix: use modern syntax for reexport runtime by @chenjiahan in #12268
- fix: should match protocol-relative url of public path and tag src in SRI plugin by @LingyuCoder in #12265
- fix: track package.json files in node_modules as build dependencies by @jerrykingxyz in #12274
Refactor 🔨
- refactor: processing more string concatenation in runtime template part 2 by @LingyuCoder in #12235
- refactor: rename webpack imported vars to rspack format by @chenjiahan in #12245
- refactor: rename webpack external vars to rspack format by @chenjiahan in #12249
- refactor: rename webpack default export var to rspack format by @chenjiahan in #12257
- refactor: rename webpack reexport vars to Rspack format by @chenjiahan in #12263
- refactor: use chunk id as the placeholder when calculating content-hash by @JSerFeng in #12271
- refactor: render runtime globals by runtime template by @LingyuCoder in #12272
Document Updates 📖
- docs(config): improve
nodeoptions docs by @chenjiahan in #12236
Other Changes
- test:
maxConcurrencyandtestTimeoutshould be configurable via cli options by @9aoy in #12231 - test: should wait until async startup chunk dependencies loaded by @LingyuCoder in #12234
- chore: release v1.6.4 by @SyMind in #12229
- chore: update rspack resolver to v0.6.6 by @stormslowly in #12149
- chore(deps): update patch npm dependencies by @renovate[bot] in #12242
- chore: disable Rslint warnings by @chenjiahan in #12243
- chore: bump rstest to support show slow-running tests by @9aoy in #12247
- chore(deps): update dependency @rslib/core to v0.18.0 by @renovate[bot] in #12269
- chore(deps): update dependency core-js to v3.47.0 by @renovate[bot] in #12270
- chore(deps): bump Rslib 0.18.1 and remove unnecessary build config by @Timeless0911 in #12273
Full Changelog: v1.6.4...v1.6.5