Repository navigation
Releases
Releases · web-infra-dev/rsbuild
v2.3.3
What's Changed
New Features 🎉
- feat(core): support
asinapi.transformby @chenjiahan in #8871 - feat(deps): update @rspack/core to 2.3.3 by @chenjiahan in #8926
Performance 🚀
- perf(core): avoid splitting paths when checking file names by @chenjiahan in #8878
- perf(core): slice known prefixes when formatting file names by @chenjiahan in #8885
- perf(core): collect matching plugins in one pass by @chenjiahan in #8884
- perf(core): simplify formatting the first changed file by @chenjiahan in #8882
- perf(core): avoid splitting loader chains in diagnostics by @chenjiahan in #8879
- perf(core): avoid splitting environment override paths by @chenjiahan in #8880
- perf(core): avoid splitting content types in gzip middleware by @chenjiahan in #8881
- perf(core): skip resource filtering when no filters are configured by @chenjiahan in #8883
- perf(core): skip dependency sorting for independent plugins by @chenjiahan in #8888
- perf(core): format only visible import trace paths by @chenjiahan in #8889
- perf(core): avoid splitting module paths in the server runner by @chenjiahan in #8890
- perf(core): check WebSocket tokens without a temporary array by @chenjiahan in #8891
- perf(core): avoid spreading routes into concat by @chenjiahan in #8896
- perf(core): find the next plugin dependency candidate by @chenjiahan in #8898
- perf(core): serialize public environment variables once by @chenjiahan in #8897
- perf(core): collect chunk entry names in one traversal by @chenjiahan in #8899
- perf(core): avoid deduplicating ESM export names by @chenjiahan in #8900
- perf(core): interpolate Content-Range headers directly by @chenjiahan in #8901
- perf(core): slice the resource path from module identifiers by @chenjiahan in #8911
- perf(plugin-babel): skip redundant POSIX path conversion by @chenjiahan in #8906
- perf(core): generate plugin hints on demand by @chenjiahan in #8905
- perf(plugin-solid): reuse the default script pattern by @chenjiahan in #8908
- perf(core): convert version segments on demand by @chenjiahan in #8912
- perf(core): return single paths before deduplication by @chenjiahan in #8913
- perf(plugin-svgr): avoid stringifying base64 data URLs by @chenjiahan in #8907
- perf(core): move the index route without sorting by @chenjiahan in #8910
- perf(core): index plugin instances by name by @chenjiahan in #8904
- perf(plugin-svgr): update duplicate plugin options in place by @chenjiahan in #8909
- perf(plugins): check the core version without splitting by @chenjiahan in #8914
- perf(core): return matching inline assets directly by @chenjiahan in #8915
- perf(core): avoid wrapping the file existence promise by @chenjiahan in #8916
- perf(plugin-react): skip disabled chunk groups by @chenjiahan in #8917
- perf(plugin-vue): skip disabled chunk groups by @chenjiahan in #8918
- perf(core): return the Lightning CSS options promise directly by @chenjiahan in #8919
- perf(core): return the HTML template parameters promise directly by @chenjiahan in #8920
- perf(core): avoid wrapping before-compile hook promises by @chenjiahan in #8921
- perf(core): return the HTML file-check promise directly by @chenjiahan in #8922
- perf(core): skip tag copies when nonce is disabled by @chenjiahan in #8923
- perf(core): check source map fields directly by @chenjiahan in #8924
- perf(core): skip HTML path enumeration for disabled resource hints by @chenjiahan in #8925
Bug Fixes 🐞
- fix(core): invalidate build cache when Rsbuild is upgraded by @chenjiahan in #8873
Refactor 🔨
- refactor(core): use toReversed for import traces by @chenjiahan in #8892
- refactor(core): infer the package JSON filter type predicate by @chenjiahan in #8893
- refactor(core): count open ANSI spans by @chenjiahan in #8903
- refactor(core): use isBuiltin for Node polyfill hints by @chenjiahan in #8902
Document 📖
- docs: document api.transform as option by @chenjiahan in #8872
- docs: enable ESM output for website by @chenjiahan in #8874
Other Changes
- chore(deps): update dependency @octanejs/rsbuild-plugin to ^0.2.0 by @renovate[bot] in #8875
- chore(deps): update dependency @tsrx/typescript-plugin to ^0.7.0 by @renovate[bot] in #8876
- chore(deps): update dependency octane to ^0.17.0 by @renovate[bot] in #8877
- chore(deps): update memfs to v4.80.1 by @renovate[bot] in #8887
- chore(deps): update dependency @vue/test-utils to ^2.6.0 by @renovate[bot] in #8894
- chore(deps): update dependency octane to ^0.18.0 by @renovate[bot] in #8895
- chore(deps): update all patch dependencies by @renovate[bot] in #8886
- release: v2.3.3 by @chenjiahan in #8927
Full Changelog: v2.3.2...v2.3.3
v2.3.2
What's Changed
New Features 🎉
- feat(core): add environment-level server.serveAssets by @chenjiahan in #8832
- feat(deps): update @rspack/core to 2.3.2 by @chenjiahan in #8867
Bug Fixes 🐞
- fix(core): override output.filename functions in environments config by @kwy404 in #8846
- fix(core): await all environment compile hooks by @chenjiahan in #8847
- fix(core): recognize plain objects across realms by @chenjiahan in #8850
- fix(core): merge null-prototype config objects by @chenjiahan in #8851
- fix(core): wrap IPv6 hosts in brackets for dev.assetPrefix true by @kwy404 in #8866
Document 📖
- docs: add deployment plugins category by @chenjiahan in #8841
- docs: recommend singular CSS Modules filenames by @chenjiahan in #8843
- docs: add Nitro deployment guidance by @chenjiahan in #8842
- docs: document server.serveAssets by @chenjiahan in #8833
- docs: redirect moved pages on Cloudflare Pages by @chenjiahan in #8849
- docs: add five community plugins by @chenjiahan in #8863
- docs(website): simplify Rspress configuration by @SoonIter in #8864
Other Changes
- chore(deps): update swc monorepo to v18 by @renovate[bot] in #8840
- chore(deps): update dependency rsbuild-plugin-google-analytics to ^1.1.0 by @renovate[bot] in #8839
- chore(deps): update dependency @shikijs/transformers to v4.6.0 by @renovate[bot] in #8838
- chore(e2e): format nested configuration objects across multiple lines by @chenjiahan in #8844
- test: use vmForks for unit tests by @chenjiahan in #8848
- chore: upgrade Rspress v2.1.1 and use built-in Shiki transformers by @chenjiahan in #8852
- chore(deps): update sass to ^1.108.1 by @renovate[bot] in #8855
- chore(deps): update dependency preact to ^11.2.0 by @renovate[bot] in #8854
- chore(deps): update dependency @rsbuild/plugin-check-syntax to ^2.1.0 by @renovate[bot] in #8853
- chore(deps): update dependency playwright to v1.65.0 by @renovate[bot] in #8857
- chore(deps): update pnpm to v12.18.0 by @renovate[bot] in #8858
- test: wait for page reload before teardown by @chenjiahan in #8860
- chore(deps): update all patch dependencies by @renovate[bot] in #8856
- test(e2e): enable experimental Rspack build cache by @chenjiahan in #8865
- release: v2.3.2 by @chenjiahan in #8868
Full Changelog: v2.3.1...v2.3.2
v2.3.1
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.3.1 by @chenjiahan in #8836
Bug Fixes 🐞
- fix: preserve symbol properties when merging configs by @chenjiahan in #8825
- fix(hmr): preserve early web updates with custom Node targets by @chenjiahan in #8834
Document 📖
- docs: add Rsbuild 2.3 blog links by @chenjiahan in #8756
- docs: explain how to view build cache statistics by @chenjiahan in #8817
- docs: clarify Vue CLI CSS extraction migration by @chenjiahan in #8806
- docs: add the missing Preact import to the JSX example by @chenjiahan in #8816
- docs: enable SRI in algorithm examples by @chenjiahan in #8780
- docs: document assetPrefix support in none mode by @chenjiahan in #8792
- docs: clarify empty manifest integrity objects by @chenjiahan in #8793
- docs: clarify the dev client host example by @chenjiahan in #8796
- docs: add the missing import to the dedupe example by @chenjiahan in #8815
- docs: clarify SWC plugin version compatibility by @chenjiahan in #8766
- docs: clarify the CSS transformation overview by @chenjiahan in #8797
- docs: fix the Module Federation host example by @chenjiahan in #8781
- docs: fix the wildcard alias example by @chenjiahan in #8804
- docs: clarify CORS defaults and option merging by @chenjiahan in #8787
- docs: clarify JavaScript and Rust profiling by @chenjiahan in #8808
- docs: clarify single-entry lazy compilation by @chenjiahan in #8794
- docs: add rsbuild-plugin-start-server to community plugins by @YiCChi in #8818
- docs: fix the Storybook example in the Rsbuild 0.7 post by @chenjiahan in #8814
- docs: clarify conditionNames configuration merging by @chenjiahan in #8772
- docs: fix examples in the Rsbuild 0.4 post by @chenjiahan in #8812
- docs: clarify the React plugin's splitChunks option by @chenjiahan in #8809
- docs: fix the Cheerio import in the HTML hook example by @chenjiahan in #8803
- docs: clarify JavaScript heap memory limits by @chenjiahan in #8807
- docs: fix the Babel example in the Rsbuild 0.2 post by @chenjiahan in #8782
- docs: clarify missing export errors by @chenjiahan in #8776
- docs: update the UnoCSS setup example by @chenjiahan in #8798
- docs: clarify contributor setup and testing steps by @chenjiahan in #8783
- docs: clarify Vite plugin apply migration by @chenjiahan in #8784
- docs: clarify Vite configuration mappings by @chenjiahan in #8774
- docs: clarify which tags receive crossorigin by @chenjiahan in #8788
- docs: correct the documented SWC defaults by @chenjiahan in #8767
- docs: complete plugin registration examples by @chenjiahan in #8768
- docs: clarify JavaScript minification options by @chenjiahan in #8763
- docs: fix the asset name in the processAssets example by @chenjiahan in #8802
- docs: correct app icon metadata examples by @chenjiahan in #8758
- docs: clarify Lightning CSS loader minification by @chenjiahan in #8799
- docs: clarify Sass implementations and JavaScript APIs by @chenjiahan in #8810
- docs: clarify when plugins can read configuration by @chenjiahan in #8771
- docs: correct transform input types and examples by @chenjiahan in #8801
- docs: fix Rspack configuration examples by @chenjiahan in #8759
- docs: correct Create React App migration examples by @chenjiahan in #8805
- docs: align browser log traces with the example by @chenjiahan in #8795
- docs: clarify plugin lookup within environments by @chenjiahan in #8800
- docs: clarify file watcher options by @chenjiahan in #8790
- docs: fix the output.externals type example by @chenjiahan in #8786
- docs: clarify how favicon URLs are handled by @chenjiahan in #8789
- docs: clarify when polyfills are injected by @chenjiahan in #8764
- docs: clarify history API fallback matching by @chenjiahan in #8757
- docs: simplify Docker guidance in the TanStack Start migration guide by @chenjiahan in #8785
- docs: clarify which assets are inlined into HTML by @chenjiahan in #8762
- docs: clarify output filenames and chunk IDs by @chenjiahan in #8791
- docs: clarify Babel syntax support by @chenjiahan in #8778
- docs: clarify dev server and preview behavior by @chenjiahan in #8765
- docs: correct build cache paths and dependencies by @chenjiahan in #8761
- docs: clarify build mode defaults by @chenjiahan in #8773
- docs: complete custom server examples by @chenjiahan in #8779
- docs: clarify CSS Modules file matching and modes by @chenjiahan in #8760
- docs: clarify configuration and env loading in the JavaScript API by @chenjiahan in #8770
- docs: correct static asset URLs and inlining limits by @chenjiahan in #8775
- docs: clarify environment variable replacement by @chenjiahan in #8769
- docs: correct SSR configuration and bundle loading by @chenjiahan in #8811
- docs: fix Svelte preprocessor alias examples by @chenjiahan in #8777
Other Changes
- chore(deps): update all patch dependencies by @renovate[bot] in #8820
- chore(deps): update dependency octane to ^0.16.6 by @renovate[bot] in #8821
- chore(deps): update dependency preact to ^11.1.1 by @renovate[bot] in #8823
- chore(deps): update dependency hono to ^4.13.16 by @renovate[bot] in #8822
- chore(deps): upgrade Node.js to v26 by @chenjiahan in #8824
- chore(deps): upgrade Rstack CLI to v0.9.0 by @chenjiahan in #8826
- test: cover plural CSS Modules filenames by @chenjiahan in #8827
- chore: run unit tests as Rstest projects by @chenjiahan in #8828
- chore(lint): re-enable import rules by @elecmonkey in #8829
- test: cover NODE_ENV property access forms by @chenjiahan in #8830
- release: v2.3.1 by @chenjiahan in #8837
Full Changelog: v2.3.0...v2.3.1
v2.3.0
🎉 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
v2.3.0-rc.0
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.3.0-rc.0 by @chenjiahan in #8740
- 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
Bug Fixes 🐞
- 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
Refactor 🔨
- refactor(core): prepare public directory handling for environments by @chenjiahan in #8719
Document 📖
- 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
Other Changes
- 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-rc.0 by @chenjiahan in #8747
Full Changelog: v2.3.0-beta.0...v2.3.0-rc.0
v2.3.0-beta.0
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.3.0-beta.0 by @chenjiahan in #8710
- 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
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
Refactor 🔨
- refactor: replace on-finished with node:stream finished by @chenjiahan in #8706
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
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
- release: v2.3.0-beta.0 by @chenjiahan in #8712
Full Changelog: v2.2.14...v2.3.0-beta.0
v2.2.14
What's Changed
New Features 🎉
- feat(create-rsbuild): add TanStack Start template by @chenjiahan in #8685
- feat(create-rsbuild): add TanStack Start Solid template by @chenjiahan in #8688
Bug Fixes 🐞
- fix(core): recognize charset attributes in custom HTML templates by @Jarvis636431 in #8670
- fix(core): handle file watcher errors by @chenjiahan in #8671
- fix(core): suggest latest Rsdoctor core when missing by @yifancong in #8674
- fix(core): include user-defined fields in import.meta.env by @chenjiahan in #8672
- fix(core): limit PostCSS config search to workspace root by @chenjiahan in #8673
- fix(core): only serve publicDir for GET and HEAD requests by @ybai08 in #8682
- fix(create-rsbuild): preserve non-interactive TanStack creation by @chenjiahan in #8686
- fix(create-rsbuild): clarify basic template labels by @chenjiahan in #8687
Document 📖
- docs: update Rsdoctor guide for v2 by @yifancong in #8459
- docs: simplify Rsdoctor setup guide by @chenjiahan in #8676
- docs: highlight Rsdoctor agent-driven analysis by @chenjiahan in #8677
Other Changes
- chore(deps): upgrade Rspress to 2.1.0-beta.1 by @SoonIter in #8675
- chore(deps): update dependency cac to ^7.1.0 by @renovate in #8678
- chore(deps): update pnpm to v12.14.0 by @renovate in #8680
- chore(deps): update all patch dependencies by @renovate in #8683
- release: v2.2.14 by @chenjiahan in #8690
Full Changelog: v2.2.13...v2.2.14
v2.2.13
What's Changed
New Features 🎉
- feat(core): add internal Host validation helper by @chenjiahan in #8661
- feat(core): export jiti subpath by @chenjiahan in #8662
- feat(core): add opt-in dev server Host validation by @chenjiahan in #8663
- feat(core): validate preview server request hosts by @chenjiahan in #8666
- feat(deps): update @rspack/core to 2.2.9 by @chenjiahan in #8667
Performance 🚀
- perf(core): bound file size compression across environments by @chenjiahan in #8656
- perf(core): avoid asset descriptor lookups in file size reporting by @chenjiahan in #8657
- perf(core): reuse source buffers for file size reporting by @chenjiahan in #8658
- perf(core): skip file labels when size details are disabled by @chenjiahan in #8659
Bug Fixes 🐞
- fix(core): calculate file sizes during emit by @LingyuCoder in #8650
- fix(core): manage proxy WebSocket upgrades explicitly by @chenjiahan in #8660
Document 📖
- docs: fix preconnect link attribute example by @chenjiahan in #8637
- docs: fix Module Federation configuration examples by @chenjiahan in #8638
- docs: improve page descriptions for discovery by @chenjiahan in #8636
- docs: remove outdated Babel React Compiler example links by @chenjiahan in #8664
- docs: document server.allowedHosts by @chenjiahan in #8665
Other Changes
- chore(deps): update swc monorepo to v17 by @renovate in #8633
- chore(deps): update dependency preact to v11 by @renovate in #8632
- chore(docs): prepare website for type-aware linting by @chenjiahan in #8639
- chore(test): prepare core tests for type-aware linting by @chenjiahan in #8640
- chore(test): prepare plugin tests for type-aware linting by @chenjiahan in #8641
- chore(lint): scope typed linting for templates and fixtures by @chenjiahan in #8642
- chore(deps): upgrade rstack to 0.8.3 by @chenjiahan in #8644
- chore(lint): enable automatic TypeScript project discovery by @chenjiahan in #8643
- chore(lint): enable import/no-named-as-default by @chenjiahan in #8645
- chore(lint): enable import/named and await-thenable by @chenjiahan in #8646
- chore(lint): enable no-unsafe-member-access by @chenjiahan in #8647
- chore(deps): update all patch dependencies by @renovate in #8651
- chore(types): clarify core assignment boundaries by @chenjiahan in #8648
- chore(test): type dynamically loaded e2e fixtures by @chenjiahan in #8649
- chore(deps): update dependency octane to ^0.13.0 by @renovate in #8653
- release: v2.2.13 by @chenjiahan in #8668
Full Changelog: v2.2.12...v2.2.13
v2.2.12
What's Changed
New Features 🎉
- feat(core): add tapOnce to internal async hooks by @chenjiahan in #8594
Performance 🚀
- perf(server): skip unnecessary HTML path normalization by @chenjiahan in #8628
- perf(server): reduce gzip overhead for large responses by @chenjiahan in #8627
- perf(core): avoid reading assets that writeToDisk skips by @guru-irl in #8615
- perf(core): avoid buffering compressed output for size reporting by @chenjiahan in #8613
Bug Fixes 🐞
- fix(server): decode request paths when completing HTML files by @kwy404 in #8618
- fix(plugin-solid): align refresh with Solid rc.13 by @chenjiahan in #8623
- fix(server): close gzip streams when responses close by @chenjiahan in #8617
- fix(server): avoid leaking file streams for HEAD requests by @chenjiahan in #8614
- fix(core): preserve proxy logger formatting arguments by @hardfist in #8609
- fix(core): respect minimizer options for CSS URL imports by @chenjiahan in #8607
- fix(core): avoid minifying CSS URL assets twice by @chenjiahan in #8606
- fix(core): resolve asset URLs in CSS ?url imports by @chenjiahan in #8604
- fix(core): preserve externals for classic worker targets by @chenjiahan in #8600
- fix(server): use one-time internal dev server hooks by @chenjiahan in #8588
Document 📖
- docs: preserve arguments in logger override examples by @chenjiahan in #8611
- docs: explain Node.js externals for Cloudflare Workers by @chenjiahan in #8605
- docs: explain workerd export conditions by @chenjiahan in #8603
- docs: explain Cloudflare built-in module externals by @chenjiahan in #8602
- docs: explain externals for classic workers by @chenjiahan in #8601
Other Changes
- release: v2.2.12 by @chenjiahan in #8631
- release: @rsbuild/plugin-solid v2.0.0-rc.1 by @chenjiahan in #8630
- chore(deps): update all patch dependencies by @renovate in #8619
- chore: use chore prefix for all Renovate updates by @chenjiahan in #8626
- chore(deps): update dependency octane to ^0.8.0 by @renovate in #8625
- chore(deps): update pnpm to v12.9.1 by @renovate in #8624
- chore(deps): update memfs to v4.80.0 by @renovate in #8622
- chore(deps): update dependency @tsrx/typescript-plugin to ^0.6.1 by @renovate in #8621
- chore(deps): update dependency @shikijs/transformers to ^4.5.0 by @renovate in #8620
- chore(deps): update dependency node to v24.21.0 by @renovate in #8612
Full Changelog: v2.2.11...v2.2.12
v2.2.11
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 2.2.8 by @chenjiahan in #8598
Performance 🚀
- perf(core): skip Node.js compile cache in CI by @chenjiahan in #8565
- perf(core): avoid copying complete asset buffers by @chenjiahan in #8595
Bug Fixes 🐞
- fix(core): respect CI=false consistently by @chenjiahan in #8567
- fix(core): preserve externals for module worker targets by @chenjiahan in #8573
- fix(deps): update dependency octane to ^0.6.0 by @renovate[bot] in #8575
- fix(server): share graceful shutdown listeners across instances by @chenjiahan in #8580
- fix(server): clean up preview shortcuts on close by @chenjiahan in #8582
- fix(client): clean up overlay keyboard listeners on removal by @chenjiahan in #8584
- fix(server): preserve shared stdin for active shortcuts by @chenjiahan in #8583
- fix(client): clear runtime error history on hot updates by @chenjiahan in #8585
- fix(plugin-react): apply reactCompiler only to web environments by @BleedingDev in #8568
- fix(server): release closed socket server reference by @chenjiahan in #8589
Document 📖
- docs: clarify worker chunk splitting behavior by @chenjiahan in #8577
- docs: explain Cloudflare Workers build configuration by @chenjiahan in #8581
- docs: clarify React Compiler usage in non-web environments by @chenjiahan in #8587
Other Changes
- test(core): verify module worker runtime behavior by @chenjiahan in #8564
- test(core): cover shared chunks in module worker targets by @chenjiahan in #8566
- chore(deps): update all patch dependencies by @renovate[bot] in #8569
- chore(deps): update memfs to v4.79.0 by @renovate[bot] in #8571
- chore(deps): update dependency ws to ^8.22.0 by @renovate[bot] in #8570
- chore(deps): update sass to ^1.105.0 by @renovate[bot] in #8572
- test(core): cover shared chunks in classic workers by @chenjiahan in #8574
- chore(deps): update swc monorepo to v15 by @renovate[bot] in #8576
- chore(test): remove FORCE_COLOR workaround for Rstest by @fi3ework in #8578
- test(core): cover module worker entry exports by @chenjiahan in #8579
- release: @rsbuild/plugin-react v2.1.1 by @chenjiahan in #8586
- release: v2.2.11 by @chenjiahan in #8599
Full Changelog: v2.2.10...v2.2.11