Repository navigation
🎉 See Announcing Rspack 2.3 for more details
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.3.0 by @chenjiahan in #8754
- feat(core): support limiting file size details by @chenjiahan in #8697
- feat(core): add onClosePreviewServer hook by @chenjiahan in #8705
- feat(create-rsbuild): display version in startup banner by @chenjiahan in #8700
- feat(create-rsbuild): add Lynx framework option by @chenjiahan in #8692
- feat(create-rsbuild): use TypeScript 7 in supported templates by @chenjiahan in #8696
- feat(core): add codeFilter to api.transform by @chenjiahan in #8722
- feat(dev): apply HMR updates once web environments finish compiling by @mattcosta7 in #8729
- feat(core): support environment-level publicDir configuration by @chenjiahan in #8711
Performance 🚀
- perf: use Rspack internal API to get asset names by @chenjiahan in #8741
- perf(dev): avoid stats serialization for early HMR updates by @chenjiahan in #8750
Bug Fixes 🐞
- fix(create-rsbuild): group Solid versions under one framework by @chenjiahan in #8694
- fix(core): omit empty compression columns in file size reports by @chenjiahan in #8699
- fix(core): resolve HMR WebSocket URLs from blob origins by @chenjiahan in #8709
- fix(core): validate paths after stripping asset prefixes by @chenjiahan in #8713
- fix(core): skip full reload in workers by @chenjiahan in #8714
- fix(server): print network URLs for the IPv6 wildcard host by @kwy404 in #8724
- fix(dev): align early web update conditions by @chenjiahan in #8733
- fix(types): correct normalizeConfig return type by @chenjiahan in #8735
- fix(types): preserve merged environment config assignability by @SoonIter in #8737
- fix(dev): wait for full builds before downstream middleware by @chenjiahan in #8734
- fix: clean up stale assets in dev memory filesystem by @chenjiahan in #8739
- fix(dev): preserve build errors during early web updates by @chenjiahan in #8742
- fix(dev): preserve runtime errors during early web updates by @chenjiahan in #8743
- fix(core): skip overlay initialization in workers by @chenjiahan in #8745
- fix(dev): preserve early updates for queued rebuilds by @chenjiahan in #8748
- fix(dev): invalidate early HMR results per environment by @chenjiahan in #8749
- fix(dev): clear HMR state when closing the socket server by @chenjiahan in #8752
Refactor 🔨
- refactor: replace on-finished with node:stream finished by @chenjiahan in #8706
- refactor(core): prepare public directory handling for environments by @chenjiahan in #8719
Document 📖
- docs: document TanStack Start project creation by @chenjiahan in #8689
- docs: add package manager tabs for TanStack Start by @chenjiahan in #8691
- docs: document Lynx project creation by @chenjiahan in #8693
- docs: move glossary to FAQ section by @chenjiahan in #8695
- docs: document file size detail limits by @chenjiahan in #8698
- docs: organize api.transform descriptor options by @chenjiahan in #8723
- docs: recommend rsbuild-plugin-cloudflare by @chenjiahan in #8725
- docs: document environment-level publicDir configuration by @chenjiahan in #8718
- docs: add ReactLynx framework guide by @upupming in #8494
- docs: explain TypeScript declarations for text imports by @chenjiahan in #8746
- docs: consolidate plugin directory on the website by @chenjiahan in #8751
- docs: add Rstack CLI to toolchain listings by @chenjiahan in #8753
Other Changes
- chore(deps): update dependency happy-dom to v21 by @renovate[bot] in #8684
- chore: remove redundant workspaces field by @chenjiahan in #8701
- test: correct test fixture metadata for ecosystem CI by @chenjiahan in #8703
- chore(deps): update actions/setup-node action to v7.1.0 by @renovate[bot] in #8707
- chore(deps): update dependency core-js to ^3.51.0 by @renovate[bot] in #8708
- chore(deps): update @ungap/structured-clone to 1.4.0 by @chenjiahan in #8715
- test: cover HMR in workers by @chenjiahan in #8716
- test: cover HMR in module workers by @chenjiahan in #8717
- chore(deps): update dependency node to v24.22.0 by @renovate[bot] in #8726
- chore(deps): update pnpm to v12.15.0 by @renovate[bot] in #8728
- chore(deps): update dependency octane to ^0.15.0 by @renovate[bot] in #8727
- chore(deps): update all patch dependencies by @renovate[bot] in #8730
- chore(deps): update sass to ^1.106.1 by @renovate[bot] in #8731
- chore(deps): update dependency chokidar to v6 by @renovate[bot] in #8732
- test: cover HMR in blob workers by @chenjiahan in #8744
- release: v2.3.0 by @chenjiahan in #8755
Full Changelog: v2.2.14...v2.3.0