Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v0.1.3
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
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
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
What's Changed
Breaking Changes 💡
- bump Rspack v0.4.0
- rename
output.enableInlineStyles
tooutput.inlineStyles
- rename
dev.port
toserver.port
to support preview server - rename
dev.host
toserver.host
to support preview server - rename
dev.https
toserver.https
to support preview server - rename
dev.compress
toserver.compress
to support preview server - rename
dev.historyApiFallback
toserver.historyApiFallback
to support preview server - rename
dev.proxy
toserver.proxy
to support preview server - rename
dev.devMiddleware
todev.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
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
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
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
v0.0.25
What's Changed
New Features 🎉
- feat: Rsbuild doctor add webpack entry plugin @rsbuild/doctor-webpack-plugin
- feat(rsbuild-doctor):add entry plugin for rsbuild or rspack builder
Bug Fixes 🐞
- fix: rsbuild doctor delete the cloudurl property
- fix: optimize the rsbuild/doctor-core's exports config
Other Changes
- chore: adjust file size error to warning
- refactor: move resolveMainFields option to uni-builder
- refactor: move configPath option to uni-builder
- chore(deps): bump Rspack v0.3.14
v0.0.24
What's Changed
New Features 🎉
- feat: handle errors when CLI command failed
Bug Fixes 🐞
- fix: should not print entry error when entry is set by plugins
- fix: context should be updated after modifyRsbuildConfig hook
- fix: should register config.plugins when using JavaScript API
- fix(deps): bump Rspack 0.3.13 to fix new Class error
Other Changes
- refactor: remove context.srcPath
v0.0.23
What's Changed
Breaking Change
- refactor: rename source.entries to source.entry #534
Performance Improvements ⚡
- perf: prebundle gzip-size, rslog and more
- perf: lazy load prodServer module
New Features 🎉
- feat: support use index.cjs or index.mjs as the default entry
Bug Fixes 🐞
- fix(server): compiler closed delay when calling server.close
- hotfix: can't get rspack util in tools.rspack
Other Changes
- refactor: always use source.entries to set entry
- types: fix RsbuildPlugin do not provide API type by default