Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v0.2.7
What's Changed
Bug Fixes 🐞
- fix: allow setting empty title to override default title by @chenjiahan in #997
- fix: use rspack config chain by @bvanjoi in #993
- fix(plugin-less): remove duplicate calls by @inottn in #1004
- fix: get available port for a specified host by @inottn in #1006
- fix(plugin-swc): should apply script condition by @chenjiahan in #1008
- fix(plugin-html):
inject: false
should behave as expected by @xc2 in #1007 - fix: inspect config not works in dev by @9aoy in #1009
- fix(plugin-swc): output.charset not work by @chenjiahan in #1013
Document 📖
- docs(hmr): external react users can use devtools to achieve hmr by @nyqykk in #999
- docs: remove and merge some doc fragments by @chenjiahan in #1002
- docs(hmr): add missing content and update link by @inottn in #1005
Other Changes
- Release v0.2.6 by @chenjiahan in #995
- test(e2e): adjust port range to avoid permission denied by @chenjiahan in #996
- test: remove uni-builder e2e cases by @chenjiahan in #1003
- chore: update deprecated minimizer options by @chenjiahan in #1010
- chore: fix browserify-sign security issue by @chenjiahan in #1011
- chore: fix webpack example by @chenjiahan in #1014
New Contributors
Full Changelog: v0.2.6...v0.2.7
v0.2.6
What's Changed
New Features 🎉
- feat: print debug logs when set DEBUG env by @chenjiahan in #977
- feat(create-rsbuild): set the name of package.json by @zhousg in #979
- types: use autoprefixer's official type definitions by @chenjiahan in #990
Performance 🚀
- perf(plugin-react): use prebundled semver by @chenjiahan in #991
Bug Fixes 🐞
- fix(startUrl): fallback to node.js open if applescript failed by @chenjiahan in #975
- fix: setup logger level if use JavaScript API by @chenjiahan in #982
- fix: failed to build wasm in Windows by @chenjiahan in #983
- fix(plugin-rem): complete postcss-pxtorem import path by @9aoy in #988
Document 📖
- docs: make default entry config clearer by @chenjiahan in #974
- docs: add more example for cleanDistPath by @chenjiahan in #980
- docs: update target type by @9aoy in #986
- docs: update PostCSS configure guide by @chenjiahan in #994
Other Changes
- chore(deps): bump rslog v1.1.2 by @chenjiahan in #976
- chore: only print Rspack version in debug mode by @chenjiahan in #981
- chore(workflow): enable Windows e2e tests by @chenjiahan in #459
- test(e2e): check if port is available by @chenjiahan in #992
Full Changelog: v0.2.5...v0.2.6
v0.2.5
What's Changed
New Features 🎉
- feat: allow to read htmlWebpackPlugin.options.title in template by @chenjiahan in #960
- types(plugin-vue): fix SplitChunks typing error by @chenjiahan in #966
Bug Fixes 🐞
- fix: should generate correct app icon URL in Windows by @chenjiahan in #965
- fix: failed to inspect rsbuild config by @Asuka109 in #967
- fix: always use postcss-load-config to load external config by @inottn in #969
- fix(plugin-vue): failed to split lib-vue chunk in Windows by @chenjiahan in #971
Document 📖
- docs: update QoS dashboard link by @chenjiahan in #957
- docs: update the sourceMap default value of css loaders by @chenjiahan in #961
Other Changes
- test(e2e): fix globContentJSON failed in Windows by @chenjiahan in #963
- test(e2e): fix some cases in Windows by @chenjiahan in #968
- test(e2e): validate the content of inspected files by @chenjiahan in #970
Full Changelog: v0.2.4...v0.2.5
v0.2.4
What's Changed
New Features 🎉
- feat(type-check): support for typescript project reference by @chenjiahan in #938
- types: extend ProcessOptions of postcss by @chenjiahan in #952
Performance 🚀
- perf: improve performance of PostCSS load config by @chenjiahan in #947
- perf: external yaml from yaml-loader by @chenjiahan in #948
Bug Fixes 🐞
- fix(plugin-solid): delegateEvents should be optional by @chenjiahan in #950
Document 📖
- docs: prefer use postcss config instead of tools.postcss by @chenjiahan in #953
Other Changes
- chore(shared): merge some modules by @chenjiahan in #939
- test(e2e): fix type check error logs by @chenjiahan in #940
- refactor: simplify provider params by @chenjiahan in #941
- test(ut): remove webpack provider in plugin tests by @chenjiahan in #942
- chore(deps): bump Rspress version by @chenjiahan in #944
- test: simplify test helpers by @chenjiahan in #943
- chore(shared): bump jiti to v1.21.0 by @chenjiahan in #945
- test(e2e): skip unstable reload env test case by @chenjiahan in #949
- refactor(server): decouple startCompiler from getMiddlewares by @9aoy in #951
- chore(workflow): remove registry in npmrc by @chenjiahan in #954
- test(e2e): add test case for mjs tailwindcss config by @chenjiahan in #955
Full Changelog: v0.2.3...v0.2.4
v0.2.3
What's Changed
Bug Fixes 🐞
- fix: clear the assigned env vars for reloading by @chenjiahan in #934
Document 📖
- docs: fix getPortSilently typo by @chenjiahan in #931
Other Changes
- chore: improve some server code by @chenjiahan in #932
- chore: bump rspack to 0.4.3 by @9aoy in #933
- chore(babel-preset): add typesVersions for compat moduleResolution node by @9aoy in #935
- chore(devServer): update filename and comment by @9aoy in #936
Full Changelog: v0.2.2...v0.2.3
v0.2.2
What's Changed
New Features 🎉
- feat(plugin-babel): add include and exclude option by @chenjiahan in #833
- feat(server): support use other server frameworks, like express by @9aoy in #926
Document 📖
- docs: add more guides for DNF prefetch by @chenjiahan in #923
- docs(plugin-babel): add include and exclude options by @chenjiahan in #925
- docs: match less files to improve babel perf by @chenjiahan in #927
- docs: update path separator examples to match Windows path by @chenjiahan in #928
Other Changes
- types: simplify options of createRsbuild by @chenjiahan in #922
- chore(plugin-babel): export helper to modify loader options by @chenjiahan in #924
- chore(deps): reduce duplicated esbuild by @chenjiahan in #929
Full Changelog: v0.2.1...v0.2.2
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