Skip to content

Releases: web-infra-dev/rsbuild

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

v0.1.1

23 Nov 13:57
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • feat: compat dev config in uni-builder
  • feat(uni-builder): compat tools.styledComponents
  • feat: rsbuild doctor supply tree-shaking funtions

Bug Fixes 🐞

  • fix: no need to exclude core-js
  • fix: compat tools.devServer in uni-builder
  • fix: compatible loader's rule.use maybe empty array
  • fix(core): not inject title if template already contains title
  • fix(uni-builder): generate manifest correctly when targets contain node
  • fix: rsbuild doctor migrate error utils to doctor-utils
  • fix: printFileSize throw err when set output.filename query

Other Changes

  • chore(shared): remove unused CHAIN_ID
  • chore(server): compat html without publicPath by warp dev-middleware
  • chore: inject meta tags via html-rspack-plugin
  • chore: no need to set newResolver config

v0.1.0

22 Nov 07:33
Compare
Choose a tag to compare

What's Changed

Breaking Changes 💡

  • bump Rspack v0.4.0
  • rename output.enableInlineStyles to output.inlineStyles
  • rename dev.port to server.port to support preview server
  • rename dev.host to server.host to support preview server
  • rename dev.https to server.https to support preview server
  • rename dev.compress to server.compress to support preview server
  • rename dev.historyApiFallback to server.historyApiFallback to support preview server
  • rename dev.proxy to server.proxy to support preview server
  • rename dev.devMiddleware to dev.writeToDisk

New Features 🎉

  • feat(deps): bump Rspack v0.4.0
  • feat: add basic support for env files
  • feat(server): support htmlFallback
  • feat(create-rsbuild): bump typescript to v5.3.0
  • feat: support uppercase debug flags
  • feat(cli): set 300ms debounce to avoid restart frequently

Bug Fixes 🐞

  • fix(cli): should not exit process when editing config file

v0.0.28

21 Nov 05:05
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf: reduce aggregateTimeout to speed up HMR

New Features 🎉

  • feat(server): init server config and support server.headers

Bug Fixes 🐞

  • fix: rsbuild doctor compatible with rspack canary version
  • fix(server): should fallback success when distPath is absolute

v0.0.27

20 Nov 12:28
12b1302
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf: bump html-rspack-plugin v5.5.7 to reduce deps
  • perf: create Compiler instead of MultiCompiler when target length is 1

Bug Fixes 🐞

  • fix: sbuild doctor temporarily compatible with rspack canary version.
  • fix(devServer): should render html success when set output.publicPath
  • fix(react): failed to split react chunks if override chunkSplit

Other Changes

  • types: simplify BundlerChain and BundlerConfig
  • refactor(plugin-react): move component chunks to uni-builder
  • refactor: prebundle http-proxy-middleware and adjust implementation

v0.0.26

19 Nov 13:14
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf(deps): prebundle sirv and jiti
  • perf(cli): using define to inject version

New Features 🎉

  • feat: add context.version property
  • feat(cli): support specify config file path

Bug Fixes 🐞

  • fix(cli): fix version and improve perf