Releases: web-infra-dev/rsbuild
Releases Β· web-infra-dev/rsbuild
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
v0.2.11
What's Changed
New Features π
- feat: add new dev.liveReload config by @chenjiahan in #1066
- feat: bump Rspack v0.4.5, update lazy entry by @chenjiahan in #1074
Performance π
- perf(plugin-svgr): reuse SWC loader to improve perf by @chenjiahan in #1070
Bug Fixes π
- fix: make hmr-client isomorphic by @tmkx in #1072
- fix: reload when the updated modules is empty by @tmkx in #1075
Document π
- docs(check-syntax): fix incorrect line feed by @Jungzl in #1065
- docs: fix discord invitation invalid by @chenjiahan in #1067
- docs: add document for dev.liveReload config by @chenjiahan in #1068
- docs: improve Svelte and Solid guide by @chenjiahan in #1079
- docs: add Vue JSX type inference guide by @chenjiahan in #1080
Other Changes
- chore(plugin-swc): use standard plugin name by @chenjiahan in #1069
- chore: simplify default swc-loader config by @chenjiahan in #1071
- chore(workflow): adjust issue template by @chenjiahan in #1073
- Revert "fix: reload when the updated modules is empty" by @tmkx in #1076
- test(e2e): reduce HMR cases time by @chenjiahan in #1078
New Contributors
Full Changelog: v0.2.10...v0.2.11
v0.2.10
What's Changed
New Features π
- feat(plugin-vue): add feature flag for Vue v3.4 by @chenjiahan in #1062
Performance π
- perf(plugin-vue): bump vue-loader v17.4 to reuse AST by @chenjiahan in #1061
Bug Fixes π
- fix: RsbuildInstance generics type error by @9aoy in #1053
- fix(plugin-svelte): missing default mainFields by @chenjiahan in #1063
Document π
- docs: add CRA config migration table by @chenjiahan in #1052
- docs: add migration guide for webpack projects by @chenjiahan in #1054
- docs: comparing Rspack dev server by @chenjiahan in #1056
- docs: add register Rspack plugins guide by @chenjiahan in #1057
- docs(check-syntax): fix sourceMap config example by @chenjiahan in #1060
Other Changes
- Revert "chore(deps): bump html-rspack-plugin v5.6.0 (#1039)" by @chenjiahan in #1055
Full Changelog: v0.2.9...v0.2.10
v0.2.9
What's Changed
New Features π
- feat: support split-by-module with rspack by @chenjiahan in #1030
- types: source.include supports RuleSetCondition by @chenjiahan in #1041
- feat(create-rsbuild): configure jsxImportSource vue by default by @chenjiahan in #1044
- feat: make loadEnv a sync method by @chenjiahan in #1048
Bug Fixes π
- fix: only clear env vars when restart server by @chenjiahan in #1047
- fix: should export loadEnv method from core by @chenjiahan in #1049
Document π
- docs: improve dev.client document by @chenjiahan in #1038
- docs(CLI): add rsbuild -h and fix title indent by @chenjiahan in #1040
- docs: update notes in source.include document by @chenjiahan in #1043
- docs: add compile node_modules note for CRA by @chenjiahan in #1045
- docs: add description for hot-update file by @chenjiahan in #1046
- docs: add loadEnv to migration guides by @chenjiahan in #1050
Other Changes
- doc(plugins): added jsdoc comments for some plugins options by @jinchaofs in #1027
- test(e2e): test configure rspack and remove duplicated case by @chenjiahan in #1032
- test(e2e): add test case for split-by-module by @chenjiahan in #1033
- chore(deps): bump nx v17.2 by @chenjiahan in #1034
- chore(deps): bump html-rspack-plugin v5.6.0 by @chenjiahan in #1039
Full Changelog: v0.2.8...v0.2.9
v0.2.8
What's Changed
New Features π
- feat(client-hmr): auto-reconnect on server disconnect by @jinchaofs in #998
- feat(plugin-pug): support Vue SFC by @chenjiahan in #1020
- feat: support override default html-plugin by @9aoy in #1012
- types: improve defineConfig overload by @chenjiahan in #1021
- types: server.https supports all server options by @chenjiahan in #1023
Bug Fixes π
- fix: rspack 0.4.4 type error by @9aoy in #1001
- fix: missing core-js entry when using webpack SWC by @chenjiahan in #1017
Other Changes
- chore(plugin-swc): bump @modern-js/swc-plugins v0.6.6 by @JSerFeng in #1016
- test(e2e): use plugin-swc to run webpack cases by @chenjiahan in #1018
- chore: move uni-builder package to modern.js repo by @chenjiahan in #1019
- chore(deps): bump Rspress version by @chenjiahan in #1024
- chore(deps): bump Modern.js version by @chenjiahan in #1022
- chore: bump rspack to 0.4.4 by @9aoy in #1026
New Contributors
- @jinchaofs made their first contribution in #998
Full Changelog: v0.2.7...v0.2.8