What's Changed
Performance Improvements ⚡
New Features 🎉
- feat(mf): support manifest by @2heal1 in #11846
- feat: add Tracy profiler support by @hardfist in #12048
- feat(react-refresh-loader): generate more compact runtime code by @chenjiahan in #12160
Bug Fixes 🐞
- fix: should generate correct relative path for context modules in sourcemap by @LingyuCoder in #12078
- fix: render external re-exports by @JSerFeng in #12089
- fix: support
import.meta.urlas the only param ofnew Worker()by @LingyuCoder in #12095 - fix: inject global entry to async entrypoints by @ahabhgk in #12096
- fix(rstest): should only handles JavaScript module by @fi3ework in #12068
- fix: should rename global in node by @LingyuCoder in #12102
- fix: should add file dependencies in
loaderContext.resolveby @LingyuCoder in #12107 - fix: inner graph class static block usage by @ahabhgk in #12114
- fix: should not inject CSS prefetch/preload runtime when only prefetch/preload JS chunks by @LingyuCoder in #12112
- fix: keep entry chunk signature by @JSerFeng in #12133
- fix: use real resource when exporting from external by @JSerFeng in #12136
- fix: loader order of nested rules by @nilptr in #12132
- fix: mf container entry use startup to load initial chunks by @ahabhgk in #12142
- fix: should not panic if ref-cjs is removed by @JSerFeng in #12147
- fix: should export external aliased right by @JSerFeng in #12143
- fix: should have JS entry for importModule assets and rslib by @JSerFeng in #12167
Refactor 🔨
- refactor: remove support for nested importModule usage by @jerrykingxyz in #12111
- refactor: render runtime globals with runtime template by @LingyuCoder in #12144
- refactor: rename some classes and static variables by @LingyuCoder in #12145
- refactor: move compilation.rs to the compilation folder by @hardfist in #12159
- refactor: move build_chunk_graph into compilation by @hardfist in #12162
Other Changes
- test: custom resource loader of test cases by @LingyuCoder in #12091
- chore(deps): update dependency lint-staged to v16 by @renovate[bot] in #12098
- chore(deps): update github-actions (major) by @renovate[bot] in #12099
- chore(deps): update rust crate swc_core to 46.0.3 by @renovate[bot] in #12085
- test: enable more watch cases by @LingyuCoder in #12106
- chore: remove webpackBootstrap comment from output by @chenjiahan in #12108
- chore: remove divider comment from output by @chenjiahan in #12109
- chore(deps): update dependency terser to v5.44.1 by @renovate[bot] in #12117
- chore(deps): update dependency cspell to ^9.3.0 by @renovate[bot] in #12115
- chore(deps): update dependency prebundle to ^1.5.0 by @renovate[bot] in #12116
- chore(deps): update dependency @shikijs/transformers to ^3.15.0 by @renovate[bot] in #12119
- chore(deps): update dependency axios to ^1.13.2 by @renovate[bot] in #12120
- chore(deps): update pnpm to v10.20.0 by @renovate[bot] in #12118
- chore(deps): update dependency @microsoft/api-extractor to v7.54.0 by @renovate[bot] in #12088
- chore(deps): update rust crate tokio to 1.48.0 by @renovate[bot] in #12123
- chore(deps): update rust crate regex to 1.12.2 by @renovate[bot] in #12122
- chore(deps): update rust crate notify to 8.2.0 by @renovate[bot] in #12121
- docs: document global entry behavior in EntryPlugin by @Copilot in #12105
- chore(deps): update rust crate either to 1.15.0 by @renovate[bot] in #12128
- chore(deps): update rust crate camino to 1.2.1 by @renovate[bot] in #12127
- test: migrate rspack wasm test to rstest by @CPunisher in #11990
- test: rename
toMatchFileSnapshottotoMatchFileSnapshotSyncby @9aoy in #12139 - test: remove jest script by @9aoy in #12150
- chore(deps): update dependency iconv-lite to ^0.7.0 by @renovate[bot] in #12158
- chore(deps): update patch npm dependencies by @renovate[bot] in #12153
- chore: deprecate experiments.parallelCodeSplitting by @JSerFeng in #12169
- revert: refactor: remove support for nested importModule usage (#12111) by @jerrykingxyz in #12165
Full Changelog: v1.6.1...v1.6.2