Skip to content

Releases: web-infra-dev/rsbuild

v0.0.22

14 Nov 11:08
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf(deps): prebundle connect and open
  • perf: prebundle browserslist and bump autoprefixer

New Features 🎉

  • feat(create-rsbuild): add new lit template
  • feat: Rsbuild Doctor add rules to doctor-core package.
  • feat(create-rsbuild): improve next steps message
  • feat(deps): bump Rspack v0.3.12
  • feat: always compile TS and JSX files

Bug Fixes 🐞

  • fix(create-rsbuild): missing tsconfig.json in vanilla template
  • fix(create-rsbuild): incorrect title in sample code

Other Changes

  • chore(type): update server.close as an async function
  • refactor: extract rem as a standalone plugin
  • chore: compile hmr-client as es5
  • chore(server): adjust printURLs, httpServer and dev compile execution order
  • refactor: move disableCssModuleExtension config to uni-builder

v0.0.21

13 Nov 10:53
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf: prebundle picocolors dependency
  • perf(shared): prebundle webpack-chain and webpack-sources
  • perf(core): remove strip-ansi dependency
  • perf: add prebundle scripts and bundle deepmerge
  • perf(core): remove filesize dependency
  • perf: prebundle fs-extra and url-join

New Features 🎉

  • feat(cli): restart dev server when config file changed
  • feat(create-rsbuild): add new vanilla template

Bug Fixes 🐞

  • hotfix(server): should print url with distPath.html
  • hotfix(doc): use rspress next version to adapt rsbuild server

Other Changes

  • chore: using exports.types to replace typesVersion
  • chore(core): remove lodash dependency
  • chore(deps): bump html-rspack-plugin v5.5.5
  • chore(server): route.json is no longer needed
  • chore: add prod-server e2e test cases and support not printURLs when preview

v0.0.20

11 Nov 12:28
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf: integrate html-rspack-plugin to reduce dependencies

New Features 🎉

  • feat(server): should print urls by html entry
  • feat(plugin-react): split react-refresh to lib-react.js
  • feat: doctor-core add shared inner plugins

Bug Fixes 🐞

  • fix(webpack): add missing dependencies for compiled packages
  • hotfix(dev-server): support access page without suffix
  • fix(server): remove useless serverOptions, and fix https urls not print when set https

Other Changes

  • chore(deps): bump html-rspack-plugin v5.5.4
  • chore: rename hmr path to /rsbuild-hmr
  • refactor: move sri plugin to uni-builder
  • refactor(core): merge asset plugins to a single plugin
  • refactor: simplify rsbuild dev-related configurations #444
  • types: provide all static assets types
  • refactor: move lazyCompilation plugin to uni-builder
  • types: unify plugin hooks type
  • types: add configuration files and simplify queries
  • refactor: move disableInlineRuntimeChunk to uni-builder

更新内容

Bug 修复 🐞

  • fix(server): 移除无用的 serverOptions 配置,并修复 https url 打印错误

v0.0.19

10 Nov 04:06
f47302e
Compare
Choose a tag to compare

What's Changed

Features

  • feat: add proxy & favicon fallback middlewares

Bug Fixes 🐞

  • fix: doctor delete webpack4
  • fix: doctor sdk server router tests supply
  • fix(core): failed to read NODE_ENV in config file

Other Changes

  • chore: update stats chunk type

v0.0.18

09 Nov 09:22
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf: make open browser faster

New Features 🎉

  • feat: add builtin assets and CSS modules types
  • feat: support dynamicImportMode.eager and preserveAllComments'
  • feat(create-rsbuild): update all pages in templates
  • feat(create-rspack): add dev --open option by default
  • feat: add rsbuild doctor innerplugin utils to @rsbuild/doctor-core
  • feat: only enable progress bar in production
  • feat: add Rsbuild server, decouple with Modern.js server
  • feat: replace pretty-time and improve time format
  • feat(cli): add new --open option for dev command

Bug Fixes 🐞

  • fix: url logs break the progress bar
  • fix(deps): add missing dependencies to core and shared
  • fix(webpack): disable webpack performance hints
  • fix: doctor utils time test error

Other Changes

  • refactor: extract assetsRetry as a standalone plugin
  • chore: use findUp utils to replace pkg-up dep
  • refactor: move source.moduleScopes to uni-builder
  • refactor: move source.globalVars option to uni-builder

v0.0.17

08 Nov 11:44
3d49f6d
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • feat: support html.template as a function
  • feat(deps): bump Rspack v0.3.11
  • feat: support html.templateParameters as a function
  • feat: support html.title as a function
  • feat: support html.favicon as a function
  • feat: support html.inject as a function

Other Changes

  • refactor: move html.titleByEntries option to uni-builder
  • refactor: remove source.compileJsDataURI option
  • refactor: merge HTML plugins into a unified plugin
  • chore: remove cssnano from shared package
  • types: fix source.alias type

v0.0.16

07 Nov 02:10
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • feat(plugin-svelte): allow to set options of svelte-loader
  • feat: support html.meta to be a function
  • feat: add default meta configs and simplify the templates

Other Changes

  • refactor: move html.metaByEntries option to uni-builder

v0.0.15

06 Nov 08:21
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • fix(doc): link error in NextStep component
  • fix(plugin-vue): failed to resolve webpack

Other Changes

  • chore: bump swc and helpers
  • refactor: use plugin to generate titles instead of template params

v0.0.14

05 Nov 12:28
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf: using a lighter modern.js server package
  • perf: replace chalk with picocolors

Bug Fixes 🐞

  • fix(css-minimizer): only apply in production

Other Changes

  • refactor: move legacy manifest config to uni-builder
  • refactor: @rsbuild/core no longer depend on webpack
  • refactor: @rsbuild/shared no longer depend on webpack

v0.0.13

03 Nov 09:33
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf: switch the default polyfill mode to usage
  • perf: remove config validation

New Features 🎉

  • feat(rsbuild/doctor): add doctor sdk server
  • feat(uni-builder): setup basic functions

Bug Fixes 🐞

  • fix(startUrl): failed to stringify circular error object
  • fix(core): failed to release static applescript
  • fix: modify priority order of source field and the default mainFields

Other Changes

  • refactor: simplify RsbuildConfig definitions
  • refactor: use plugin to generate meta tags instead of template params
  • chore(deps): bump Rspack v0.3.9
  • refactor: replace @rspack/html-plugin with html-webpack-plugin
  • refactor: extract css-minimizer plugin as a standalone package
  • chore(utils): unify the castArray implementation