Skip to content

Releases: web-infra-dev/rsbuild

v1.0.1-beta.7

30 Jul 15:19
3f492d0
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🍭

Rsbuild now enables lightningcss-loader by default to transform CSS files, it replaces autoprefixer to add vendor prefixes and provides better performance.

  • @rsbuild/plugin-lightningcss has been deprecated and no longer needed.
  • tools.autoprefixer config has been removed.

Considering that Lightning CSS has some uncovered edge cases, you can still enable autoprefixer via the postcss configuration file:

// postcss.config.cjs
module.exports = {
  plugins: {
    autoprefixer: {},
  }
}

#3047, #3034

New Features 🎉

  • feat: bump Rspack 1.0.0-beta.1 by @chenjiahan in #3072
  • feat: add new tools.lightningcssLoader config by @chenjiahan in #3043
  • feat: add isWatch param to determine whether it is watch mode when build by @9aoy in #3065
  • feat: support only build specified environment by @9aoy in #3059
  • feat(core): add type option to dev.watchFiles to support reload server by @kurorinto in #3069

Performance 🚀

Bug Fixes 🐞

Document 📖

  • docs: add guide for builtin lightningcss loader by @chenjiahan in #3049
  • docs: add remove plugin tip when use environment plugin by @9aoy in #3053
  • docs: make moduleFederation.options more clear by @chenjiahan in #3060
  • docs: simplify tools.rspack examples by @chenjiahan in #3061
  • docs: tells that addRules is adding rules to the leading by @xc2 in #3071

Other Changes

New Contributors

Full Changelog: v1.0.1-beta.6...v1.0.1-beta.7

v1.0.1-beta.6

26 Jul 09:26
4324644
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

Document 📖

Other Changes

  • chore(deps): update dependency preact to ^10.23.1 by @renovate in #3013

Full Changelog: v1.0.1-beta.5...v1.0.1-beta.6

v1.0.1-beta.5

25 Jul 03:50
818ebf8
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • feat: add sources param to api.processAssets by @chenjiahan in #2987
  • feat: support add plugins for specified environment by @9aoy in #2986
  • feat: more plugins support used as environment plugin by @9aoy in #2994
  • feat: add environments as a filter of api.processAssets by @chenjiahan in #3009
  • feat: enable inline chunks based on conditions through output options by @Thulof in #3000

Bug Fixes 🐞

  • fix: webSocket stats message conflict when multiple web environment by @9aoy in #2989
  • fix: modify the criteria for verifying the Rsdoctor plugin by @easy1090 in #2992
  • fix: only listen to process exit when onExit hook is used by @chenjiahan in #2998
  • fix: css-loader type declaration is outdated by @chenjiahan in #3001

Document 📖

  • docs: add api.processAssets API by @chenjiahan in #2993
  • docs: update modifyEnvironmentConfig example code by @9aoy in #2995
  • docs: correct onAfterCreateCompiler example by @9aoy in #2996
  • docs(instance.mdx): adjust the references by @hasnum-stack in #3003
  • docs: distinguish between rspack watchOptions and rsbuild watchFiles configuration by @9aoy in #3004
  • docs: fix build typo in the benchmark by @chenjiahan in #3008
  • docs: add tips for inline scripts in production mode by @chenjiahan in #3012

Other Changes

Full Changelog: v1.0.1-beta.4...v1.0.1-beta.5

v1.0.1-beta.4

22 Jul 07:25
36297f2
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

  • fix: exclude method options when checking [hash].hot-update.json by @huuduy005 in #2977
  • fix(plugin-svgr): dedupe SVGO plugins config by @chenjiahan in #2984

Document 📖

Other Changes

  • chore(deps): update dependency nx to ^19.5.1 by @renovate in #2961
  • chore(deps): update dependency eslint-plugin-svelte to ^2.43.0 by @renovate in #2960
  • refactor: use new processAssets api to handle SRI by @chenjiahan in #2971
  • refactor: use unified Rspack plugin to attach to plugin hooks by @chenjiahan in #2972
  • refactor(plugin-rem): use new processAssets api by @chenjiahan in #2973
  • refactor: implement appIcon via Rsbuild plugin by @chenjiahan in #2974
  • refactor: implement inline chunks via Rsbuild plugin by @chenjiahan in #2976
  • chore(deps): update dependency @modern-js/module-tools to ^2.56.0 by @renovate in #2980
  • chore(deps): update all patch dependencies by @renovate in #2979

New Contributors

Full Changelog: v1.0.1-beta.3...v1.0.1-beta.4

v1.0.1-beta.3

17 Jul 12:54
ce3f5bc
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

  • fix: minify.jsOptions is not pass to SwcMinimizerPlugin by @luhc228 in #2931
  • fix: only print verbose error logs in debug mode by @chenjiahan in #2941
  • fix: should print stats.file as file name when have build errors by @chenjiahan in #2942

Document 📖

Other Changes

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

v1.0.1-beta.2

16 Jul 08:55
2fcec57
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • feat(create-rsbuild): add framework alias and validate input by @chenjiahan in #2922
  • feat(deps): bump rspack 1.0.0-alpha.4 by @9aoy in #2936

Bug Fixes 🐞

  • fix: specify SWC cache directory by @9aoy in #2926
  • fix(webpack): should generate config files correctly when output is specified by @9aoy in #2929

Document 📖

Other Changes

New Contributors

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

v1.0.1-beta.1

14 Jul 11:03
28d1328
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

Document 📖

Other Changes

New Contributors

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

v1.0.1-beta.0

12 Jul 13:15
319a290
Compare
Choose a tag to compare

Note

We are releasing 1.0.1-beta.0 instead of 1.0.0-beta.0.

This is because Rsbuild 1.0.0 is a deprecated version. Package managers will resolve ^1.0.0-beta.0 to 1.0.0, which is unexpected.

resolve: #2897, #2864, #2767, rspack-contrib/rsbuild-plugin-umd#1

What's Changed

New Features 🎉

Performance 🚀

Bug Fixes 🐞

  • fix(type): webpack type should works with moduleResolution node16+ by @9aoy in #2900
  • fix(plugin-sass): additionalData missing string type by @chenjiahan in #2901

Document 📖

Other Changes

New Contributors

Full Changelog: v1.0.0-alpha.9...v1.0.1-beta.0

v1.0.0-alpha.9

11 Jul 13:49
a4574a4
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Performance 🚀

Bug Fixes 🐞

Full Changelog: v1.0.0-alpha.8...v1.0.0-alpha.9

v1.0.0-alpha.8

11 Jul 07:33
a28f6f5
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Performance 🚀

Bug Fixes 🐞

  • fix: js/css are minified when both minify.js and minify.css are false by @xc2 in #2865
  • fix: rspack plugin apply error after merging config by @9aoy in #2877

Document 📖

Other Changes

  • chore(deps): update rspress to v1.26.0 by @renovate in #2869
  • chore(deps): update dependency rspress-plugin-sitemap to ^1.1.0 by @renovate in #2873

Full Changelog: v1.0.0-alpha.7...v1.0.0-alpha.8