Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v0.2.1
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 🐞
- fix(cli): missing logger require by @chenjiahan in #917
- fix: failed to resolve path/posix in some Node version by @chenjiahan in #918
Document 📖
- docs: update benchmark data to v0.2.0 by @chenjiahan in #920
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
Breaking Changes 🍭
Please visit #813 for details of all breaking changes.
- rename
output.disableCssExtract
tooutput.injectStyles
in #906 - rename
output.disableSourceMap
tooutput.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 🎉
- feat: add type declaration for PluginSolidPresetOptions (#783) by @lalalazero in #848
- feat(plugin-vue): apply default split chunk rules by @chenjiahan in #851
- feat(plugin-vue2): apply default split chunk rules by @chenjiahan in #852
- feat(core): inspect normalized config by @chenjiahan in #870
- feat(core): expose loadConfig method by @chenjiahan in #879
- feat(core): support get original Rsbuild config by @chenjiahan in #894
- feat(plugin-stylus): support extension
.stylus
by @xc2 in #895 - feat: add new
@rsbuild/plugin-umd
package by @chenjiahan in #891 - feat: support rsbuild.createDevServer by @9aoy in #902
Performance 🚀
- perf(plugin-babel): skip schema-utils in babel-loader by @chenjiahan in #853
- perf: avoid passing html plugin in plugin options by @chenjiahan in #863
- perf(deps): remove url-join dependency by @chenjiahan in #900
- perf(shared): prebundle line-diff dependency by @chenjiahan in #910
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 📖
- docs: update web default browserslist by @9aoy in #841
- docs: add missing logger to javascript-api part by @chenjiahan in #846
- docs: split config document to single markdown page by @chenjiahan in #855
- docs: merge config fragments by @chenjiahan in #856
- docs: add some example for server.proxy by @chenjiahan in #868
- docs: add example for custom HTML filename by @chenjiahan in #877
- docs: add output.targets document by @chenjiahan in #881
- docs: fix Overview component missing style by @chenjiahan in #885
- docs: improve typings for dev config options by @chenjiahan in #887
- docs: update output.sourceMap document by @chenjiahan in #898
- docs(check-syntax): add enable source map tip by @chenjiahan in #899
- docs: remove separate CHANGELOG files by @chenjiahan in #904
- docs: prefer relative links and fix broken links by @chenjiahan in #907
- docs: add guide for UMD plugin by @chenjiahan in #909
Other Changes
- chore: remove unused getRspackVersion fn by @chenjiahan in #843
- chore(workflow): integrate ls-lint for filename linting by @chenjiahan in #844
- chore(workflow): configure ls-lint for tests and docs by @chenjiahan in #845
- chore: merge basic plugin by @chenjiahan in #849
- chore(deps): bump vitest to 1.0.1 by @Timeless0911 in #854
- chore: bump rspack to 0.4.2 by @9aoy in #860
- test(e2e): add basic case for server.proxy by @chenjiahan in #864
- chore(workflow): simplify pull request template by @chenjiahan in #866
- test(e2e): fix ERR_UNSAFE_PORT error in CI by @chenjiahan in #865
- doc(assetsRetryPlugin): delete usage limit description on dynamic import by @lalalazero in #869
- refactor(server): extract createHttpServer method from rsbuildServer by @9aoy in #867
- chore(examples): use CLI instead of JS API for SW by @chenjiahan in #872
- chore(deps): bump Rspress to adapt Rsbuild v0.2.0 by @chenjiahan in #873
- chore: rename dir param of loadEnv to cwd by @chenjiahan in #878
- test(e2e): support load separate config file by @chenjiahan in #882
- chore(server): format dev-middleware options by @9aoy in #889
- chore(deps): bump Modern.js v2.42.1 by @chenjiahan in #888
- Revert "chore(deps): bump Modern.js v2.42.1 (#888)" by @chenjiahan in #893
- refactor: use getMiddlewares instead of RsbuildDevServer by @9aoy in #892
- test(e2e): split vue cases to separate folder by @chenjiahan in #901
- chore: merge createContext implementation by @chenjiahan in #903
- chore(shared): use deepmerge instead of lodash.merge by @chenjiahan in #911
New Contributors
- @lalalazero made their first contribution in #848
- @xc2 made their first contribution in #895
Full Changelog: v0.1.9...v0.2.0
v0.1.9
What's Changed
New Features 🎉
- feat: optimize the order of print file size by @chenjiahan in #814
- feat: add type commonjs for all pkgs by @chenjiahan in #822
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 📖
- docs: add more description for writeToDisk by @chenjiahan in #820
- docs: mark getCompiledPath as private by @chenjiahan in #823
- docs: add tip for ASSET_PREFIX env var by @chenjiahan in #829
- docs: add web infra QoS link to README.md by @chenjiahan in #834
Other Changes
- Release v0.1.8 by @chenjiahan in #812
- test(e2e): add basic case for tailwindcss by @chenjiahan in #816
- chore(deps): bump prebundled postcss to v7.3.3 by @chenjiahan in #817
- chore(deps): bump prebundled css-loader to v6.8.1 by @chenjiahan in #818
- chore: no need to set disableTransformByDefault flag by @chenjiahan in #819
- chore: adjust server logs of multiple routes by @chenjiahan in #821
- chore(plugin-babel): mark addIncludes as deprecated by @chenjiahan in #827
- chore(deps): bump Rspress version by @chenjiahan in #828
- chore: should external compiled packages by @chenjiahan in #832
Full Changelog: v0.1.8...v0.1.9
v0.1.8
What's Changed
Bug Fixes 🐞
- fix(plugin-babel): lodash breaks the mjs artifact
What's Changed
New Features 🎉
- feat(core): add package.json to exports map by @chenjiahan in #811
Bug Fixes 🐞
- fix(plugin-babel): lodash breaks the mjs artifact by @chenjiahan in #809
Other Changes
- test(e2e): check validity of mjs artifact by @chenjiahan in #810
Full Changelog: v0.1.7...v0.1.8
v0.1.7
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 🐞
- fix(deps): manage dependencies for uni-builder by @chenjiahan in #801
Document 📖
- docs(plugin-babel): fix outdated examples by @chenjiahan in #799
Other Changes
- Release v0.1.6 by @chenjiahan in #796
- test(e2e): fix type issues in test files by @chenjiahan in #798
- chore: merge duplicated initPlugins modules by @chenjiahan in #800
- chore: migrate rsdoctor code to separate repo by @chenjiahan in #802
- chore(deps): bump tsx from v3 to v4 by @chenjiahan in #805
- chore(core): simplify directory structure by @chenjiahan in #806
Full Changelog: v0.1.6...v0.1.7
v0.1.6
What's Changed
New Features 🎉
- feat: support serving public assets in the public dir by @9aoy in #769
- types: using loose plugin type for appendPlugins @chenjiahan by @chenjiahan in #778
- types: move webpack related tools config to shared by @chenjiahan in #789
- types: unify config types, remove duplicated code by @chenjiahan in #792
- types: unify plugin and API types by @chenjiahan in #793
Performance 🚀
- perf(core): remove semver from deps by @chenjiahan in #773
Document 📖
- docs: fix typo in config.mdx by @NaturelLee in #772
- docs: add page-route guide by @9aoy in #777
- docs: add release roadmap to README by @chenjiahan in #782
- docs: add notice for preview server by @9aoy in #784
- docs: add intro for @rsbuild/webpack package by @chenjiahan in #786
Other Changes
- Release v0.1.5 by @chenjiahan in #771
- chore: remove unused is-ci dependency by @chenjiahan in #775
- chore(update): add getPackageVersion util by @chenjiahan in #776
- chore(workflow): no longer require changesets by @chenjiahan in #781
- chore: resolve some todos and move unused import by @chenjiahan in #785
- refactor(webpack): remove builtin CSS minimizer by @chenjiahan in #787
- refactor(webpack): move babel/react plugin to uni-builder by @chenjiahan in #791
- chore: unify initHooks implementation by @chenjiahan in #795
New Contributors
- @NaturelLee made their first contribution in #772
Full Changelog: v0.1.5...v0.1.6
v0.1.5
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 🐞
- fix: use camel case for type by @Timeless0911 in #753
Document 📖
- docs: add guide for .env files by @chenjiahan in #757
- docs: add loadEnv method to JavaScript API document by @chenjiahan in #763
- docs: add mkcert tip for https dev server by @chenjiahan in #770
Other Changes
- workflow: run SWC ut cases in CI by @chenjiahan in #752
- docs: add createRsbuild type and improve format by @chenjiahan in #762
- chore: move Rspack plugins from shared to core by @chenjiahan in #764
- chore(shared): move and merge some modules by @chenjiahan in #765
Full Changelog: v0.1.4...v0.1.5
v0.1.4
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 📖
- docs: remove webpack related hooks by @chenjiahan in #742
Other Changes
- Release v0.1.3 by @chenjiahan in #731
Full Changelog: v0.1.3...v0.1.4
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