Skip to content

Releases: web-infra-dev/rsbuild

v1.0.1-beta.12

14 Aug 04:02
7ab7baa
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

  • fix: no need to print file size if there is any build error by @chenjiahan in #3190
  • fix: no need to print file size after rebuilding by @chenjiahan in #3197
  • fix: onBeforeBuild hook should before onBeforeEnvironmentCompile hook by @9aoy in #3196

Document 📖

Other Changes

New Contributors

Full Changelog: v1.0.1-beta.11...v1.0.1-beta.12

v1.0.1-beta.11

08 Aug 15:03
c26edc1
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🍭

  • fix!(cli): rename env option of inspect command to mode by @chenjiahan in #3140

New Features 🎉

Bug Fixes 🐞

Document 📖

Other Changes

New Contributors

Full Changelog: v1.0.1-beta.10...v1.0.1-beta.11

v1.0.1-beta.10

05 Aug 14:52
9c41d2b
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

  • fix: ensure isolation of config objects between different builds by @chenjiahan in #3111

Document 📖

Other Changes

Full Changelog: v1.0.1-beta.9...v1.0.1-beta.10

v1.0.1-beta.9

02 Aug 02:32
cc38dec
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • feat: allow to disable buit-in lightningcss-loader by @chenjiahan in #3082
  • feat!: onBeforeBuild hook supports calling multiple times in watch mode by @9aoy in #3066
  • feat: support using <port> in dev.assetPrefix by @colinaaa in #3098

Performance 🚀

  • perf(server): adjust gzip level for faster compression by @chenjiahan in #3090
  • perf(mf): only patch split chunks for provider app by @chenjiahan in #3102
  • perf(mf): set splitChunks.chunks to async by default if using module federation by @chenjiahan in #3104

Bug Fixes 🐞

  • fix: avoid merging boolean config with object config by @chenjiahan in #3081
  • fix: plugin type missing when set moduleResolution node16+ by @9aoy in #3089
  • fix: set gzip level to 6 for preview server by @chenjiahan in #3101

Document 📖

  • docs: what is environment by @9aoy in #3080
  • docs: add migration guide for Rsbuild 0.x by @chenjiahan in #3084
  • docs: add environment dependencies by @9aoy in #3085
  • docs: list which hooks will be triggered again when rebuild by @9aoy in #3091
  • docs: distinguish between Global Hooks and Environment Hooks by @9aoy in #3092
  • docs: add FAQ for Vue deprecated deep selector by @chenjiahan in #3095

Other Changes

Full Changelog: v1.0.1-beta.8...v1.0.1-beta.9

v1.0.1-beta.8

31 Jul 03:36
18260d3
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

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

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