Skip to content

Releases: web-infra-dev/rsbuild

v1.3.2

01 Apr 14:15
bd7cc53
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v1.3.1...v1.3.2

v1.3.1

31 Mar 05:31
9e4bb8f
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • fix: let jiti load @rspack/core with native require by @chenjiahan in #4926
  • fix: make CSS preprocessor plugins compat with Rsbuild 1.2 by @colinaaa in #4909
  • fix: improve inline rules in CSS preprocessor plugins by @chenjiahan in #4914

Document 📖

Other Changes

Full Changelog: v1.3.0...v1.3.1

v1.3.0

28 Mar 09:37
88ec25b
Compare
Choose a tag to compare

See Announcing Rspack 1.3 for more details.

Breaking Changes 💡

Rsbuild dev server no longer sets Access-Control-Allow-Origin: * header to all requests by default. This is the same default behavior as esbuild and Vite, which prevents any website from sending any requests to the dev server.

It is recommended to set up trusted origins via server.cors, see the server.cors documentation for more details.

See also:

What's Changed

New Features 🎉

Bug Fixes 🐞

  • fix(cache): buildCache.cacheDirectory config not work by @Shucei in #4790
  • fix: should merge copy config correctly when copy config type is different by @9aoy in #4793
  • fix: update null checks to improve type safety by @chenjiahan in #4802
  • fix(overlay): avoid multiple error overlay instances by @chenjiahan in #4803
  • fix: MaxListenersExceeded warning after restarting server by @chenjiahan in #4826
  • fix: handle errors in transform loader with try-catch block by @chenjiahan in #4837
  • fix: allow to disable CSS minification if CSS is inlined by @chenjiahan in #4853
  • fix(plugin-stylus): define option type by @chenjiahan in #4861
  • fix(types): missing server.cors object type by @chenjiahan in #4877
  • fix(server)!: should respect the value of the server.cors option by @chenjiahan in #4876
  • fix(server): allow server.headers to override server.cors by @chenjiahan in #4898

Document 📖

Other Changes

Read more

v1.3.0-beta.3

26 Mar 15:03
4c5ee56
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • fix(server)!: should respect the value of the server.cors option by @chenjiahan in #4876

New Features 🎉

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v1.3.0-beta.2...v1.3.0-beta.3

v1.3.0-beta.2

25 Mar 09:35
0a599bc
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

Document 📖

  • docs: fix typo in English HMR guide by @Chevindu in #4850
  • docs: pluginReact is also needed when using pluginSvgr by @9aoy in #4857
  • docs: add inline query parameter to CSS guide by @chenjiahan in #4865

Other Changes

New Contributors

Full Changelog: v1.3.0-beta.1...v1.3.0-beta.2

v1.3.0-beta.1

22 Mar 13:00
b79d99c
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

  • fix: MaxListenersExceeded warning after restarting server by @chenjiahan in #4826
  • fix: handle errors in transform loader with try-catch block by @chenjiahan in #4837

Document 📖

Other Changes

Full Changelog: v1.3.0-beta.0...v1.3.0-beta.1

v1.3.0-beta.0

18 Mar 13:58
289b049
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

  • fix(cache): buildCache.cacheDirectory config not work by @Shucei in #4790
  • fix: should merge copy config correctly when copy config type is different by @9aoy in #4793
  • fix: update null checks to improve type safety by @chenjiahan in #4802
  • fix(overlay): avoid multiple error overlay instances by @chenjiahan in #4803

Document 📖

Other Changes

New Contributors

Full Changelog: v1.2.19...v1.3.0-beta.0

v1.2.19

14 Mar 03:33
c7c5c66
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • feat(CLI): allow to run without sub-command to trigger dev by @chenjiahan in #4773
  • feat(types): export LoadEnvOptions and LoadEnvResult types by @chenjiahan in #4779
  • feat: support async function for rsbuildConfig in createRsbuild options by @chenjiahan in #4778
  • feat: integrate env variable loading into createRsbuild options by @chenjiahan in #4783

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v1.2.18...v1.2.19

v1.2.18

12 Mar 06:20
b72ef38
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v1.2.17...v1.2.18

v1.2.17

11 Mar 02:23
211d3ad
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • feat: allow opening relative paths on error overlay by @chenjiahan in #4739
  • feat: display relative paths on error overlay by @chenjiahan in #4744
  • feat(plugin-webpack-swc): use require.resolve to check react version to support pnpm catalog by @caohuilin in #4745

Performance 🚀

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v1.2.16...v1.2.17