github web-infra-dev/rsbuild v1.3.0

latest releases: v1.3.2, v1.3.1
4 days ago

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

New Contributors

Full Changelog: v1.2.19...v1.3.0

Don't miss a new rsbuild release

NewReleases is sending notifications on new releases.