v2.1.10
[!NOTE] Removed noisy
import.metawarningsRspack 2.1.9 introduced warnings for unknown
import.metaproperties. Because they proved overly noisy in real-world builds, Rspack 2.1.10 removes them to reduce unnecessary diagnostics for custom or runtime-specific extensions. See #15166 for detail.
What's Changed
New Features 🎉
- feat: expose ExternalModule chunkCondition hook by @intellild in https://github.com/web-infra-dev/rspack/pull/15093
- feat: new cache system by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/15110
- feat: integrate new cache to minimize cache by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/15150
Bug Fixes 🐞
- fix(split-chunks): process remaining module copies at lower priorities by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/15079
- fix(esm_library): allow scope hoisting for
new URLtargets in new-url-relative mode by @elecmonkey in https://github.com/web-infra-dev/rspack/pull/15155 - fix(deps): bump rkyv to 0.8.18 (fixes RUSTSEC-2026-0233/0234/0235) by @jesses-canva in https://github.com/web-infra-dev/rspack/pull/15156
- fix(cli): normalize string
contextfrom loaded config by @stormslowly in https://github.com/web-infra-dev/rspack/pull/15162 - fix: share ExternalModule hooks across core instances by @intellild in https://github.com/web-infra-dev/rspack/pull/15163
- fix: new cache compile failed on 32-bit platforms by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/15175
Refactor 🔨
- refactor: migrate rspack_dojang into monorepo by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/15124
Document 📖
- docs: document Baseline queries by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15167
- docs: document webpack_layer by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15170
Other Changes
- chore: clean up CODEOWNERS by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15159
- chore(deps): update rstack to v0.5.1 by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15160
- test: add CSS benchmarks by @intellild in https://github.com/web-infra-dev/rspack/pull/15106
- revert: unknown import.meta property warnings by @intellild in https://github.com/web-infra-dev/rspack/pull/15166
- test: add Baseline query coverage by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/15168
- chore(ci): drop binary size limit from required check by @stormslowly in https://github.com/web-infra-dev/rspack/pull/15171
New Contributors
- @jesses-canva made their first contribution in https://github.com/web-infra-dev/rspack/pull/15156
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.1.9...v2.1.10