v2.1.0-rc.0
v2.1.0-rc.0
Release Notes
What's Changed
New Features 🎉
- feat: make persistent cache max generations default to 3 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/14534
Performance 🚀
- perf: optimize compilation entrypoints getter by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14485
- perf: reduce asset wrapper overhead by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14487
- perf(deps): bump camino to 1.2.3 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/14519
- perf(ci): drop debuginfo from the whole ci profile by @stormslowly in https://github.com/web-infra-dev/rspack/pull/14528
Bug Fixes 🐞
- fix(types): align wasm loading types by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14506
- fix(split-chunks): align max size grouping with webpack by @intellild in https://github.com/web-infra-dev/rspack/pull/14481
- fix(rstest): fallback to automock for missing manual mocks by @9aoy in https://github.com/web-infra-dev/rspack/pull/14418
- fix(css): preserve undeclared css module idents by @intellild in https://github.com/web-infra-dev/rspack/pull/14497
- fix(mf): stabilize consume shared runtime output by @2heal1 in https://github.com/web-infra-dev/rspack/pull/14532
- fix(cache): default context_dependencies snapshot strategy to timestamp by @hardfist in https://github.com/web-infra-dev/rspack/pull/14490
Refactor 🔨
- refactor: merge webpack api parser plugins by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/14529
Document 📖
- docs: fix duplicate createRequire parser docs by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/14486
- docs: update React Compiler guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14496
- docs: remove redundant javascript/auto type examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14499
- docs: update ESM config examples by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14505
- docs: fix entry config docs by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14514
- docs: fix module config types by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14515
- docs: fix resolve config types by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14516
- docs: fix stats config types by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14518
- docs: document dev server options by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14523
- docs: move cache migration guide by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14535
- docs: improve cache option documentation by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14540
Other Changes
- chore: release v2.1.0-beta.0 by @ahabhgk in https://github.com/web-infra-dev/rspack/pull/14480
- chore: remove codspeed js bench case by @SyMind in https://github.com/web-infra-dev/rspack/pull/14489
- test(tree-shaking): lock in pureFunctions innerGraph deferred-pure-check behavior by @JSerFeng in https://github.com/web-infra-dev/rspack/pull/14488
- chore(ci): pause portable cache check by @stormslowly in https://github.com/web-infra-dev/rspack/pull/14492
- chore(ci): align hookTimeout with testTimeout to fix flaky afterAll close timeout by @stormslowly in https://github.com/web-infra-dev/rspack/pull/14498
- chore(deps): update dependency http-proxy-middleware to v4.1.1 [security] by @renovate 🤖 in https://github.com/web-infra-dev/rspack/pull/14500
- chore(deps): update dependency lint-staged to v17 by @renovate 🤖 in https://github.com/web-infra-dev/rspack/pull/14504
- chore(deps): update pnpm to v11.8.0 by @renovate 🤖 in https://github.com/web-infra-dev/rspack/pull/14503
- chore(deps): update dependency @rslib/core to ^0.23.0 by @renovate 🤖 in https://github.com/web-infra-dev/rspack/pull/14501
- chore(deps): remove unused axios dependency by @chenjiahan in https://github.com/web-infra-dev/rspack/pull/14507
- chore(deps): update dependency enhanced-resolve to v5.24.0 by @renovate 🤖 in https://github.com/web-infra-dev/rspack/pull/14512
- chore(deps): update dependency webpack-sources to v3.5.0 by @renovate 🤖 in https://github.com/web-infra-dev/rspack/pull/14513
- chore(deps): bump rspack_resolver to 0.9.3 by @stormslowly in https://github.com/web-infra-dev/rspack/pull/14521
- chore(deps): update patch npm dependencies by @renovate 🤖 in https://github.com/web-infra-dev/rspack/pull/14510
- chore(test): stabilize watch-detection on Windows with synchronous writes by @stormslowly in https://github.com/web-infra-dev/rspack/pull/14520
- test: replace non_webpack_require in tests by @LingyuCoder in https://github.com/web-infra-dev/rspack/pull/14530
- chore: bump swc_core from 68 to 71 by @CPunisher in https://github.com/web-infra-dev/rspack/pull/14526
- Release 0.101.0-rc.0 by @LingyuCoder
- chore(release): release 2.1.0-rc.0 by @LingyuCoder
Full Changelog: https://github.com/web-infra-dev/rspack/compare/v2.1.0-beta.0...v2.1.0-rc.0