Skip to content

Releases: web-infra-dev/rsbuild

v0.2.1

11 Dec 12:47
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • types: export stats type from rspack by @9aoy in #914
  • feat: add stats params in onDevCompileDone hook by @9aoy in #916
  • feat(plugin-umd): add new export option by @chenjiahan in #919

Bug Fixes 🐞

Document 📖

Full Changelog: v0.2.0...v0.2.1

v0.2.0

11 Dec 06:22
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🍭

Please visit #813 for details of all breaking changes.

  • rename output.disableCssExtract to output.injectStyles in #906
  • rename output.disableSourceMap to output.sourceMap, source maps no longer generated during build by default in #896
  • rename the options of @rsbuild/plugin-babel to babelLoaderOptions in #858
  • remove deprecated source.entries config in #839
  • writeToDisk defaults to false in #859
  • add output.targets to replace createRsbuild.target in #871

New Features 🎉

Performance 🚀

Bug Fixes 🐞

  • fix(plugin-babel): failed to resolve babel-loader by @chenjiahan in #842
  • fix(server-plugin): not relay on modifyRsbuildConfig by @9aoy in #847
  • fix(plugin-react): split react-refresh utils to lib-react chunk by @chenjiahan in #850
  • fix: add charset test case by @9aoy in #750
  • fix: allow to generate HTML with filename hash by @chenjiahan in #876
  • fix: avoid duplicated logs with multiple targets by @chenjiahan in #883
  • fix: incorrect log name for service worker by @chenjiahan in #884
  • fix(plugin-react): should get the new targets from context by @chenjiahan in #890
  • fix(plugin-umd): add globalObject to support Node.js env by @chenjiahan in #908

Document 📖

Other Changes

New Contributors

Full Changelog: v0.1.9...v0.2.0

v0.1.9

04 Dec 09:36
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Performance 🚀

  • perf(core): reduce fs overhead in getCompiledPath by @chenjiahan in #824
  • perf(plugin-react): reduce deps and fix peer dep warning by @chenjiahan in #830
  • perf(server): load proxy module on demand by @chenjiahan in #835
  • perf(build): no need to load dev middleware when building by @chenjiahan in #836
  • perf(server): skip schema validation in webpack-dev-middleware by @chenjiahan in #837

Bug Fixes 🐞

  • fix(plugin-babel): prebundle babel-loader to fix peer warning by @chenjiahan in #831

Document 📖

Other Changes

Full Changelog: v0.1.8...v0.1.9

v0.1.8

02 Dec 12:19
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • fix(plugin-babel): lodash breaks the mjs artifact

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

Full Changelog: v0.1.7...v0.1.8

v0.1.7

02 Dec 02:21
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • types: proxy.context should allow function type by @chenjiahan in #804
  • feat(uni-builder): support disableHtmlFolder by @9aoy in #790

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v0.1.6...v0.1.7

v0.1.6

30 Nov 14:30
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Performance 🚀

Document 📖

Other Changes

New Contributors

Full Changelog: v0.1.5...v0.1.6

v0.1.5

29 Nov 13:33
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • feat(deps): bump Rspack to v0.4.1 by @chenjiahan in #756
  • feat: auto inject public env vars to client by @chenjiahan in #759
  • feat(uni-builder): support tools.babel in rspack mode by @9aoy in #760
  • feat(uni-builder): support experiments.sourceBuild by @9aoy in #761
  • feat(cli): support reload .env files and restart dev server by @chenjiahan in #767

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v0.1.4...v0.1.5

v0.1.4

28 Nov 15:05
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • feat(uni-builder): support ts-checker by @9aoy in #737
  • feat(uni-builder): apply css-minimizer-webpack-plugin by @9aoy in #738
  • feat(uni-builder): support checkSyntax by @9aoy in #739
  • feat(core): export logger module as a helper by @chenjiahan in #741
  • feat(uni-builder): support tools.pug by @9aoy in #743
  • feat: support output.inlineScripts by @9aoy in #749
  • feat(core): add new server.strictPort config by @Timeless0911 in #748
  • feat(plugin-react): allow to enable/disable chunk splitting by @Timeless0911 in #746
  • feat: support performance.preload、prefetch in MPA scenario by @9aoy in #747
  • feat: support solid-js hmr by @inottn in #740
  • feat(cli): cli support dev --port/--host and preview --port/--host by @Timeless0911 in #745

Bug Fixes 🐞

  • fix(plugin-image-compress): can't work with filename query by @fireairforce in #730
  • fix: rspack ecosystem-ci failed by @9aoy in #744

Document 📖

Other Changes

Full Changelog: v0.1.3...v0.1.4

v0.1.3

27 Nov 13:12
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf(plugin-rem): use define to inject version

New Features 🎉

  • feat(cli): support preview --open option
  • feat: support react plugin in uni-builder
  • feat(core): support printFileSize.detail and printFileSize.total
  • feat: support config file export function
  • feat: support svgr in uni-builder
  • feat: print rsbuild plugins when inspect config
  • feat: add plugins hooks for prod server

Bug Fixes 🐞

  • fix: preload resource cannot be used when crossOrigin attr does not match
  • fix(plugin-svelte): use wildcard in conditionNames
  • fix(plugin-source-build): not work when use Rspack
  • fix: failed to modify server port in plugins

Other Changes

  • refactor(webpack): use modifyBundlerChain instead of modifyWebpackChain
  • types: unify compiler type, use Rspack compiler by default
  • types: improve defineConfig typing

v0.1.2

25 Nov 00:20
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf(deps): prebundle ws to reduce dependency
  • perf: make rspack version check 3x faster

New Features 🎉

  • feat: resolve ts files by default
  • feat(core): log the current used Rspack version
  • feat(cli): support build --watch option

Bug Fixes 🐞

  • fix: should not inject duplicated charset meta tag