Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v0.3.2
What's Changed
New Features 🎉
- feat: support log debug logger when debug=* by @9aoy in #1266
- types(core): export the type of config sub key by @chenjiahan in #1269
Bug Fixes 🐞
- fix(plugin-svgr): failed to reuse SWC react options by @chenjiahan in #1263
- fix(server): access page error when url with query or hash by @9aoy in #1265
Other Changes
- chore(workflow): should build script packages for testing by @chenjiahan in #1259
- chore(workflow): fix pnpm publish failed to resolve by @chenjiahan in #1260
- chore(workflow): use changeset CLI as release tools by @chenjiahan in #1261
- chore: add JSDoc for plugin options by @chenjiahan in #1264
- chore: extract some plugin names as constants by @chenjiahan in #1267
- chore: auto trigger modern.js update rsbuild when rsbuild release by @9aoy in #1268
- refactor(shared): move formatStats helper to core by @chenjiahan in #1270
Full Changelog: v0.3.1...v0.3.2
v0.3.1
What's Changed
New Features 🎉
- feat: add @rsbuild/plugin-react package by @chenjiahan in #1249
- feat: support return modified urls with printUrls by @chenjiahan in #1246
- feat(plugin-preact): add reactAliasesEnabled option by @chenjiahan in #1254
- feat(create-rsbuild): add extensions config for Vue projects by @chenjiahan in #1235
- feat(create-rsbuild): support for create Preact project by @chenjiahan in #1252
- feat(create-rsbuild): enable useDefineForClassFields by default by @chenjiahan in #1255
Performance 🚀
- perf(plugin-svgr): prebundle url-loader to reduce dependencies by @chenjiahan in #1243
Bug Fixes 🐞
- fix(plugin-svgr): missing file-loader peer dependency by @chenjiahan in #1239
Document 📖
- docs: setup document for plugin-preact by @chenjiahan in #1251
- docs(vue3): update outdated typescript support by @chenjiahan in #1253
Other Changes
- types: improve rewriteTo type for historyApiFallback by @chenjiahan in #1233
- chore(workflow): enable more Biome lint rules by @chenjiahan in #1236
- chore: avoid releasing internal test helper by @chenjiahan in #1237
- test(e2e): add case for SVGR with file-loader by @chenjiahan in #1241
- chore(workflow): use Biome to lint import/export type by @chenjiahan in #1244
- test(e2e): add basic cases for Preact / React by @chenjiahan in #1250
- chore: use helper to modify swc loader options by @chenjiahan in #1256
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
Breaking Changes 🍭
- Upgrade Rspack to v0.5.0 in #1223 #1171
- The default value of
distPath.server
is changed to'server'
in #1200 - The
logger
andprintURLs
option ofrsbuild.startDevServer
is removed in #1203, #1204 - Extract TOML and YAML plugin into separate packages in #1201, #1202
See Breaking changes in Rsbuild v0.3.0 for details.
New Features 🎉
- feat(CLI): add -o alias for --open option by @chenjiahan in #1194
- feat(plugin-source-build): add resolvePriority option by @chenjiahan in #1228
- types: allow to narrow Compiler type for createCompiler by @chenjiahan in #1220
Performance 🚀
- perf(RegExp): use non-capturing groups for asset rules by @chenjiahan in #1215
- perf(create-rsbuild): improve perf for new solid projects by @chenjiahan in #1218
Document 📖
- docs: add guide for specify config file by @chenjiahan in #1195
- docs: update slogan by @chenjiahan in #1198
- docs: adjust configure Rsbuild document by @chenjiahan in #1209
- docs: add TOML plugin document by @chenjiahan in #1210
- docs: add YAML plugin document by @chenjiahan in #1211
Other Changes
- chore(deps): bump pnpm from v8.9.0 to v8.14.0 by @chenjiahan in #1196
- chore(plugin-image-compress): bump svgo v3.2.0, improve e2e by @chenjiahan in #1197
- chore(workflow): try integrate biome by @chenjiahan in #1205
- chore(workflow): add guide for Biome VS Code extension by @chenjiahan in #1206
- chore: lint more files and fix issues by @chenjiahan in #1207
- chore: merge HMR plugin into basic plugin by @chenjiahan in #1213
- chore: remove unused config for Rspack 0.5 by @chenjiahan in #1214
- chore: update RegExp in document and tests by @chenjiahan in #1217
- chore: simplify rsbuild.build implementation by @chenjiahan in #1219
- chore(e2e): remove unnecessary intermediate variable by @inottn in #1227
- test(e2e): add case for plugin-yaml by @chenjiahan in #1208
New Contributors
Full Changelog: v0.2.18...v0.3.0
v0.2.18
What's Changed
New Features 🎉
- feat(plugin-svelte): support pass preprocess options by @tmkx in #1185
- feat(plugin-react): add jsxRuntime option to support React 16 by @chenjiahan in #1189
- feat(plugin-react): add jsxImportSource option by @chenjiahan in #1190
- feat(plugin-react): allow to configure all SWC react options by @chenjiahan in #1191
Bug Fixes 🐞
- fix(babel-preset): should merge targets array correctly by @chenjiahan in #1182
Document 📖
- docs: add CRA output directory guide by @chenjiahan in #1183
- docs: add Vue 2 version requirements by @chenjiahan in #1184
- docs: add unknown assets guide for CRA by @chenjiahan in #1186
- docs: add guides for the svelte process options by @tmkx in #1187
- docs: add cleanup to loadEnv document by @chenjiahan in #1188
- docs: add migration guide for Modern.js Builder by @chenjiahan in #1192
Other Changes
Full Changelog: v0.2.17...v0.2.18
v0.2.17
What's Changed
Bug Fixes 🐞
- fix(babel): presetEnv need allow null value by @zllkjc in #1176
- fix(babel-preset): allow disable presetEnv for web target by @chenjiahan in #1177
- fix(plugin-babel): export getDefaultBabelOptions util from index by @9aoy in #1179
Document 📖
New Contributors
Full Changelog: v0.2.16...v0.2.17
v0.2.16
What's Changed
New Features 🎉
- feat: validate plugin object, provide better hint by @chenjiahan in #1155
- feat: allow passing falsy plugins by @Asuka109 in #1156
- feat: validate config function return value by @chenjiahan in #1161
- feat: check output dir when running the preview command by @chenjiahan in #1162
- feat(core): export Rsbuild version by @chenjiahan in #1169
Performance 🚀
- perf: ncc target to es2019 to reduce bundle size by @chenjiahan in #1153
Bug Fixes 🐞
Document 📖
- docs: update footer time 2023 to 2024 by @liangchaofei in #1152
- docs: document more public types by @chenjiahan in #1159
- docs: fix webpack build typo by @tmkx in #1167
- docs: add tip for migrating CRACO and ejected projects by @chenjiahan in #1168
- docs: add more CHAIN_ID to bundler-chain document by @chenjiahan in #1174
Other Changes
- test(ut): remove duplicated hooks case by @chenjiahan in #1154
- chore: revert plugin validation implementation by @chenjiahan in #1158
- chore(deps): bump Modern.js v2.45.0 by @chenjiahan in #1163
- chore(deps): bump Rspress v1.9.3 by @chenjiahan in #1164
- chore(plugin-image-compress): rename some internal vars by @chenjiahan in #1165
- chore(babel-plugin): export getDefaultBabelOptions util by @9aoy in #1172
New Contributors
- @liangchaofei made their first contribution in #1152
Full Changelog: v0.2.15...v0.2.16
v0.2.15
What's Changed
New Features 🎉
- feat: support custom print urls by @chenjiahan in #1138
- feat: bump rslog to support customize logger by @chenjiahan in #1146
- feat(server): support listening on ipv6 address by @chenjiahan in #1150
Bug Fixes 🐞
- fix: failed to prepend entry via chain API by @chenjiahan in #1139
- fix: doc sidebar disappeared by @sanyuan0704 in #1143
- fix(server): print local label for more hosts by @chenjiahan in #1149
Document 📖
- docs: add tip for mergeConfig util by @chenjiahan in #1140
- docs: add polyfill guide for CRA projects by @chenjiahan in #1141
- docs: add migration guide for CRACO configurations by @chenjiahan in #1144
Other Changes
- chore: deprecate legacy printURLs option by @chenjiahan in #1145
- chore: deprecate logger option of startDevServer by @chenjiahan in #1147
- test(e2e): remove unused devcert by @chenjiahan in #1148
Full Changelog: v0.2.14...v0.2.15
v0.2.14
What's Changed
New Features 🎉
- feat(plugin-svgr): support configure SVGR options by @chenjiahan in #1122
- types: fix plugin type when use tools.rspack by @chenjiahan in #1118
- feat: add new server.printUrls config by @chenjiahan in #1125
- feat: improve error message of invalid URLs by @chenjiahan in #1130
Bug Fixes 🐞
- fix: missing style-loader dependency when enable injectStyles by @9aoy in #1114
- fix(plugin-vue2): alias Vue to support element-ui by @chenjiahan in #1133
Document 📖
- docs: update extend asset types example by @chenjiahan in #1116
- docs: add guide for custom asset rules by @chenjiahan in #1117
- docs: fix example URL by @chenjiahan in #1119
- docs: improve bundler chain document by @chenjiahan in #1120
- docs: fix missing content in CRA migration guide by @chenjiahan in #1127
- docs: add document for server.printUrls by @chenjiahan in #1128
- docs: add migration guide links by @chenjiahan in #1135
- docs: add template migration guide by @chenjiahan in #1136
Other Changes
- test: add e2e case for toml-loader by @chenjiahan in #1115
- chore(deps): bump sass from v1.54 to v1.69 by @chenjiahan in #1123
- chore(deps): bump less from v4.1.3 to v4.2.0 by @chenjiahan in #1124
- test(e2e): verify error logs by @chenjiahan in #1126
- chore(deps): bump Rspress to v1.9.1 by @chenjiahan in #1129
- chore(deps): bump rslog to v1.1.3 by @chenjiahan in #1131
- chore(deps): bump webpack-merge from v5.8.0 to v5.10.0 by @chenjiahan in #1134
Full Changelog: v0.2.13...v0.2.14
v0.2.13
What's Changed
New Features 🎉
- feat(CLI): support open specific URL by @chenjiahan in #1095
- feat: output mjs files when inspecting configs by @chenjiahan in #1100
Bug Fixes 🐞
- fix(plugin-source-build): should after babel/ts-loader/swc by @9aoy in #1097
- fix(plugin-esbuild): compiled folder should be published by @9aoy in #1098
- fix: missing dependency when using bundle analyzer by @chenjiahan in #1102
- fix: bundle analyzer failed to read assets during dev by @chenjiahan in #1103
- fix: lock webpack-bundle-analyzer to v4.9.0 to compat Rspack by @chenjiahan in #1105
Document 📖
- docs: recommend using mjs config file by @chenjiahan in #1099
- docs: add guide for custom env prefix by @chenjiahan in #1108
- docs(plugin-source-build): document sourceField by @chenjiahan in #1109
Other Changes
- chore(deps): bump sass-loader from v13.0.2 to v13.3.3 by @chenjiahan in #1093
- chore(deps): bump less-loader from v11.0.0 to v11.1.4 by @chenjiahan in #1094
- test(e2e): add case for JSON imports by @chenjiahan in #1096
- chore: get compilation stage constant from compiler by @chenjiahan in #1104
- chore(deps): bump Modern.js version by @chenjiahan in #1106
- chore(deps): bump Rspress to v1.9.0 by @chenjiahan in #1107
Full Changelog: v0.2.12...v0.2.13
v0.2.12
What's Changed
New Features 🎉
- feat: support use entry description object by @chenjiahan in #1083
- feat: allow use public files as template by @chenjiahan in #1084
Performance 🚀
- perf: use non-capturing groups in regexp by @chenjiahan in #1091
Bug Fixes 🐞
- fix: handle css-loader mode option correctly by @chenjiahan in #1087
Other Changes
- chore: remove outdated comment from preload plugin by @chenjiahan in #1086
- chore(hmr-client): remove unused variable by @chenjiahan in #1085
- chore(plugin-stylus): move constant and reduce any by @chenjiahan in #1088
- chore: move some shared helpers to core by @chenjiahan in #1089
- chore: rename to differentiate between two context types by @chenjiahan in #1090
Full Changelog: v0.2.11...v0.2.12