Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.4.11
What's Changed
New Features 🎉
- feat: enable error tolerance for type re-exports by @chenjiahan in #5670
- feat: add
filename.wasm
config by @chenjiahan in #5677
Performance 🚀
- perf: use
endsWith
instead of regex by @chenjiahan in #5668 - perf: require rspack to improve startup performance by @chenjiahan in #5673
Bug Fixes 🐞
- fix: watch options not work in build watch mode by @chenjiahan in #5674
Document 📖
Other Changes
- test: enable HMR test for Preact createContext by @chenjiahan in #5669
- chore: rename the rspack folder to rspack-plugins by @chenjiahan in #5672
- test: split Wasm test cases into subdirectories by @chenjiahan in #5676
- chore(deps): update dependency cross-env to v10 by @renovate[bot] in #5678
- chore: simplify scripts in package.json by @chenjiahan in #5679
- release: 1.4.11 by @chenjiahan in #5680
Full Changelog: v1.4.10...v1.4.11
v1.4.10
What's Changed
New Features 🎉
- feat(plugin): apply property can be a function by @chenjiahan in #5653
- feat(types): export
Connect
type by @chenjiahan in #5663 - feat(deps): update @rspack/core to v1.4.10 by @chenjiahan in #5666
Bug Fixes 🐞
- fix: patch is-wsl to maintaining Node 16.10 compatibility by @chenjiahan in #5656
Document 📖
- docs: add
enforce
property to plugin API by @chenjiahan in #5649 - docs(plugin): update
apply
property for its function signature by @chenjiahan in #5654 - docs: mention Rstest in CRA guide by @chenjiahan in #5664
Other Changes
- chore(deps): update Rspress to 2.0.0-beta.22 by @chenjiahan in #5650
- chore(deps): update dependency jiti to ^2.5.0 by @renovate[bot] in #5661
- chore(deps): update dependency @rslib/core to v0.11.0 - autoclosed by @renovate[bot] in #5660
- chore: add open collective funding link by @chenjiahan in #5662
- test: use the shared tsconfig by @chenjiahan in #5665
- release: 1.4.10 by @chenjiahan in #5667
Full Changelog: v1.4.9...v1.4.10
v1.4.9
What's Changed
New Features 🎉
- feat(plugin): introduce
order
property for transform hook by @chenjiahan in #5640 - feat(plugin): support for the
enforce
property by @chenjiahan in #5645 - feat(deps): update @rspack/core to v1.4.9 by @chenjiahan in #5646
Document 📖
- docs: enhance migration guide for resolved config by @chenjiahan in #5638
- docs: add example for migrating configEnvironment hook by @chenjiahan in #5641
- docs(deps): update @rstack-dev/doc-ui to 1.10.8 by @chenjiahan in #5642
- docs: add Rstest to callerName section by @chenjiahan in #5643
- docs: add type and scope information for env variables by @chenjiahan in #5644
Other Changes
- chore(deps): update dependency less to ^4.4.0 by @renovate[bot] in #5630
- release: @rsbuild/plugin-less 1.3.0 by @chenjiahan in #5636
- chore(deps): update all patch dependencies by @renovate[bot] in #5639
- chore(deps): update SWC plugins to v9 (major) by @renovate[bot] in #5635
- release: 1.4.9 by @chenjiahan in #5647
Full Changelog: v1.4.8...v1.4.9
v1.4.8
What's Changed
New Features 🎉
- feat: allow plugin to specify
apply
property by @chenjiahan in #5620 - feat: allow control of type safety for import.meta.env by @chenjiahan in #5627
Bug Fixes 🐞
- fix(cli): increase arrow spacing by @thinkasany in #5607
- fix: wait until the last build is finished before calling
stats.toJson
by @9aoy in #5615 - fix: failed to call
getStats
before the first build is finished by @chenjiahan in #5622 - fix: adjust when lazy compilation can be applied by @chenjiahan in #5628
Refactor 🔨
- refactor: simplify plugin environment handling by @chenjiahan in #5616
Document 📖
- docs: add example for migrating config hook by @chenjiahan in #5609
- docs: add example for migrating HTML hook by @chenjiahan in #5610
- docs: minor english adjustment by @slobo in #5612
- docs: add example for migrating configureServer hook by @chenjiahan in #5613
- docs: add section on defining Rsbuild plugins by @chenjiahan in #5614
- docs: middleware can be an async function by @chenjiahan in #5619
- docs: update plugin existence checks guide by @chenjiahan in #5623
- docs: enhance type declaration guidance for env variables by @chenjiahan in #5625
- docs: standardize terminology for environment variables by @chenjiahan in #5626
- docs: add introduction to conditional apply plugin by @chenjiahan in #5629
Other Changes
- chore: simplify workspace config by @thinkasany in #5606
- chore(plugin-vue): remove unused webpack dev deps by @thinkasany in #5608
- chore(deps): pin @biomejs/biome to v2.0.6 by @chenjiahan in #5611
- chore(deps): update dependency svelte-check to ^4.3.0 by @renovate[bot] in #5633
- chore(deps): update dependency react-router-dom to ^7.7.0 by @renovate[bot] in #5632
- chore(deps): update dependency nx to ^21.3.0 by @renovate[bot] in #5631
- release: 1.4.8 by @chenjiahan in #5634
New Contributors
Full Changelog: v1.4.7...v1.4.8
v1.4.7
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 1.4.8 by @chenjiahan in #5603
- feat: add
metadata
field to tag object by @chenjiahan in #5586 - feat: validate output target in Rsbuild config by @chenjiahan in #5592
- feat: export
HtmlTag
type by @chenjiahan in #5585
Bug Fixes 🐞
- fix(create-rsbuild): update ESLint config in React templates by @chenjiahan in #5583
- fix(types): type error when importing SVG file with React query by @GRAMMAC1 in #5587
Document 📖
- docs: update plugin API title by @chenjiahan in #5581
- docs: add section on vite-tsconfig-paths support by @chenjiahan in #5593
- docs: prefer to use the postcss plugin of unocss by @chenjiahan in #5594
- docs: update migration guides for plugins by @chenjiahan in #5598
Other Changes
- chore(cache): change cache enabled message to debug log by @chenjiahan in #5580
- chore(deps): update playwright monorepo to v1.54.1 by @renovate[bot] in #5584
- chore(types): add JSDoc for SVGR by @chenjiahan in #5588
- release: create-rsbuild v1.4.4 by @chenjiahan in #5589
- chore(deps): update all patch dependencies by @renovate[bot] in #5590
- chore(deps): update dependency svelte to ^5.36.0 by @renovate[bot] in #5597
- chore(deps): update dependency @shikijs/transformers to ^3.8.0 by @renovate[bot] in #5595
- chore(deps): update dependency open to ^10.2.0 by @renovate[bot] in #5596
- chore(deps): update module federation to v0.17.0 by @renovate[bot] in #5601
- chore(deps): update all patch dependencies by @renovate[bot] in #5600
- release: 1.4.7 by @chenjiahan in #5605
Full Changelog: v1.4.6...v1.4.7
v1.4.6
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to v1.4.6 by @chenjiahan in #5578
Bug Fixes 🐞
- fix: update Node.js engine requirement to >=16.17.0 by @chenjiahan in #5567
- fix: patch open to maintaining Node 16.10 compatibility by @chenjiahan in #5570
Document 📖
- docs: update plugin development introduction by @chenjiahan in #5565
- docs: add note on Node.js 16 support by @chenjiahan in #5568
- docs: enhance HTML tags with detailed JSDoc by @chenjiahan in #5569
- docs: explain tag options of
html.tags
config by @chenjiahan in #5573 - docs: correct translations for
html.tags
by @chenjiahan in #5574
Other Changes
- chore(deps): update dependency @biomejs/biome to ^2.1.1 by @renovate in #5571
- chore(deps): update pnpm to v10.13.1 by @renovate in #5572
- release: 1.4.6 by @chenjiahan in #5579
Full Changelog: v1.4.5...v1.4.6
v1.4.5
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to 1.4.5 by @chenjiahan in #5562
Bug Fixes 🐞
- fix: duplicated build started logs by @chenjiahan in #5554
- fix: improve formatting of minutes in build time by @chenjiahan in #5555
- fix: Use
hostname
to determine local or network by @mycoin in #5561
Document 📖
- docs: add note on missing core-js polyfills by @chenjiahan in #5560
Other Changes
- chore: simplify Rstest config by @chenjiahan in #5556
- chore(deps): update dependency core-js to ~3.44.0 by @renovate in #5557
- test: speed up UT by external
@rsbuild/core
by @9aoy in #5558 - test(e2e): fix print urls cases by @chenjiahan in #5563
- release: 1.4.5 by @chenjiahan in #5564
New Contributors
Full Changelog: v1.4.4...v1.4.5
v1.4.4
What's Changed
New Features 🎉
- feat(server): add
compress.filter
option by @chenjiahan in #5520 - feat(server): add
compress.level
option by @chenjiahan in #5522 - feat(server): token-based WebSocket authentication by @chenjiahan in #5531
Bug Fixes 🐞
- fix(plugin-react): profiling not work with React 19 by @chenjiahan in #5524
- fix: ensure that raw query of scripts can be accurately matched by @chenjiahan in #5538
- fix: ensure that raw query of styles can be accurately matched by @chenjiahan in #5540
- fix: ensure that raw query of assets can be accurately matched by @chenjiahan in #5547
Refactor 🔨
- refactor: normalize config types in compilation manager by @chenjiahan in #5529
Document 📖
- docs: add
compress.filter
option by @chenjiahan in #5521 - docs: clarify execution order with
modifyHTML
andhtml.tags
by @chenjiahan in #5523 - docs: Update typescript.mdx with fixed typo in
isolatedModules
example by @bodia-uz in #5539 - docs: fix typo in isolatedModules example by @chenjiahan in #5542
- docs: update raw import JSDoc to include scripts by @chenjiahan in #5544
- docs: add webSocketToken to documentation by @chenjiahan in #5548
Other Changes
- chore(deps): update dependency @rsbuild/plugin-vue to ^1.1.0 by @renovate in #5534
- chore(deps): update dependency svelte to ^5.35.2 by @renovate in #5536
- chore(deps): update dependency @types/node to ^22.16.0 by @renovate in #5535
- chore(deps): update module federation to v0.16.0 by @renovate in #5537
- chore(plugin-svgr): improve SVGR options type by @chenjiahan in #5541
- test(e2e): use valid browserslist value by @chenjiahan in #5545
- chore(deps): update babel to ^7.28.0 by @renovate in #5550
- chore(deps): update Rspress to 2.0.0-beta.19 by @chenjiahan in #5551
- chore(deps): update all patch dependencies by @renovate in #5549
- release: 1.4.4 by @chenjiahan in #5553
New Contributors
Full Changelog: v1.4.3...v1.4.4
v1.4.3
What's Changed
New Features 🎉
- feat(deps): update @rspack/core to v1.4.2 by @chenjiahan in #5516
Bug Fixes 🐞
- fix(create-rsbuild): change the target of Svelte apps to es2022 by @chenjiahan in #5512
- fix(open): skip opening browser in CodeSandbox by @chenjiahan in #5515
- fix(plugin-vue): CSS Modules for SSR build by @chenjiahan in #5517
Document 📖
- docs: fix use-bundler-chain anchor by @CPunisher in #5508
Other Changes
- chore(deps): update all patch dependencies by @renovate in #5506
- test(e2e): fix unstable rspack profile cases by @chenjiahan in #5507
- release: create-rsbuild v1.4.3 by @chenjiahan in #5513
- release: 1.4.3 by @chenjiahan in #5518
New Contributors
- @CPunisher made their first contribution in #5508
Full Changelog: v1.4.2...v1.4.3
v1.4.2
What's Changed
New Features 🎉
- feat: update open to v10 and improve error handling by @chenjiahan in #5500
Performance 🚀
- perf: minify the prebundled webpack-bundle-analyzer by @chenjiahan in #5502
Bug Fixes 🐞
- fix: disable bundle info when SRI is enabled by @chenjiahan in #5498
- fix: remove invalid resource query for scripts by @chenjiahan in #5503
Document 📖
- docs: add StackBlitz example to quick start by @chenjiahan in #5501
Other Changes
- chore: move pnpm config from .npmrc to pnpm-workspace.yaml by @chenjiahan in #5499
- release: 1.4.2 by @chenjiahan in #5504
Full Changelog: v.1.4.1...v1.4.2