Releases: web-infra-dev/rsbuild
Releases Β· web-infra-dev/rsbuild
v1.5.12
What's Changed
New Features π
- feat(deps): update dependency @rspack/core to v1.5.7 by @chenjiahan in #6238
- feat: include lazy compiled module in build logs by @chenjiahan in #6229
Performance π
- perf: bundle on-finished dependency by @chenjiahan in #6237
Bug Fixes π
- fix(dev-middleware): remove unnecessary debug logs by @chenjiahan in #6235
Document π
- docs: improve Web Workers documentation by @chenjiahan in #6225
- docs: update the Node.js version requirement for native ts support by @Timeless0911 in #6226
- docs: improve vanilla-extract config for image url by @iceprosurface in #6228
- docs: add basic testing guide by @chenjiahan in #6227
- docs: add static assets instruction for vanilla-extract by @chenjiahan in #6231
- docs: add higher precision CPU profiling example by @chenjiahan in #6236
Other Changes
- chore: update playwright installation in CI workflow by @chenjiahan in #6230
- chore(deps): update dependency @rslib/core to v0.14.0 by @renovate[bot] in #6232
- chore: remove --config-loader native flag from build scripts by @chenjiahan in #6233
- test(e2e): improve const enum and inline const cases by @chenjiahan in #6234
- release: v1.5.12 by @chenjiahan in #6239
New Contributors
- @iceprosurface made their first contribution in #6228
Full Changelog: v1.5.11...v1.5.12
v1.5.11
What's Changed
New Features π
- feat(deps): update dependency @rspack/core to v1.5.6 by @chenjiahan in #6221
- feat(cli): improve help output formatting by @chenjiahan in #6211
Bug Fixes π
- fix(CLI): CLI does not work without sub-command by @chenjiahan in #6208
- fix(cli): improve version log when displaying help by @chenjiahan in #6210
- fix: always output all logs in debug mode by @Timeless0911 in #6219
Document π
- docs: configuring output directories for multi-env builds by @chenjiahan in #6200
- docs: fix Overview component style by @chenjiahan in #6216
Other Changes
- test(e2e): add exec method to fixture by @chenjiahan in #6201
- chore(deps): update dependency @shikijs/transformers to ^3.13.0 by @renovate[bot] in #6202
- chore(deps): update dependency svelte to ^5.39.3 by @renovate[bot] in #6203
- chore(deps): update pnpm to v10.17.0 by @renovate[bot] in #6204
- test(e2e): move Rsbuild CLI execution logic to fixture by @chenjiahan in #6205
- test(e2e): replace runCliSync with use fixture's execCliSync by @chenjiahan in #6207
- chore(deps): update sass to ^1.93.0 by @renovate[bot] in #6209
- chore(deps): update all patch dependencies by @renovate[bot] in #6213
- test(e2e): fix log formatting width calculation by @chenjiahan in #6217
- test(e2e): simplify box rendering by @chenjiahan in #6218
- test(e2e): add service worker test cases by @chenjiahan in #6220
- test(e2e): add test case for Chinese filename by @chenjiahan in #6199
- chore(deps): update dependency jiti to ^2.6.0 by @renovate[bot] in #6222
- release: v1.5.11 by @chenjiahan in #6223
Full Changelog: v1.5.10...v1.5.11
v1.5.10
What's Changed
New Features π
- feat: add support for
--config-loader autoby @Timeless0911 in #6186
Bug Fixes π
- fix(types): update
ImportMetaEnvinterface to use Record by @chenjiahan in #6182 - fix: detect JavaScript runtime when enable
--config-loader autoby @Timeless0911 in #6189 - fix(inlineChunk): correct replaced source mapping URL by @chenjiahan in #6191
- fix: correct initial chunks order in generated manifest by @chenjiahan in #6192
Document π
- docs: improve documentation clarity and naturalness by @Copilot in #6177
- docs: add documentation for resolve.mainFields by @chenjiahan in #6183
- docs: clarify hash settings in cssModules docs by @chenjiahan in #6197
Other Changes
- test: improve test cases for svelte plugin by @chenjiahan in #6181
- chore: set engines to Node.js >=22.18.0 and enable engineStrict by @Timeless0911 in #6184
- test(e2e): turn shared assets into a package to simplify importing by @chenjiahan in #6185
- test(e2e): print captured logs for failed tests by @chenjiahan in #6193
- chore: update pnpm workspace exclusions by @chenjiahan in #6194
- test(e2e): add manifest chunks order test case by @chenjiahan in #6195
- release: v1.5.10 by @chenjiahan in #6198
Full Changelog: v1.5.9...v1.5.10
v1.5.9
What's Changed
New Features π
- feat: add support for
resolve.mainFieldsconfiguration by @chenjiahan in #6178
Bug Fixes π
- fix: temporarily disable const inlining optimization by @chenjiahan in #6179
Refactor π¨
- refactor(e2e): ensure all logs can be captured by @chenjiahan in #6176
Other Changes
- chore: update @rslib/core to 0.13.3 to use native config loader by @chenjiahan in #6172
- test(e2e): simplify test cases by using build fixture by @chenjiahan in #6173
- chore(deps): update dependency @rstest/core to ^0.4.0 by @renovate[bot] in #6174
- chore(deps): update dependency memfs to ^4.42.0 by @renovate[bot] in #6175
- release: v1.5.9 by @chenjiahan in #6180
Full Changelog: v1.5.8...v1.5.9
v1.5.8
What's Changed
New Features π
- feat(deps): update dependency @rspack/core to v1.5.5 by @chenjiahan in #6169
Bug Fixes π
- fix(dev-middleware): remove unused cacheStore in memorize util by @chenjiahan in #6159
- fix(types): correct ProxyConfig type definition by @chenjiahan in #6166
Refactor π¨
- refactor(dev-middleware): simplify output filesystem setup by @chenjiahan in #6160
- refactor(dev-middleware): simplify compiler handling by @chenjiahan in #6161
- refactor(dev-middleware): remove unused instance methods by @chenjiahan in #6164
Document π
- docs: add
resolve.conditionNamesconfiguration by @chenjiahan in #6156 - docs: improve documentation clarity and authenticity by @Copilot in #6157
- docs(e2e): add debugging instructions by @chenjiahan in #6165
Other Changes
- test(e2e): add test case for proxy mixed rules by @chenjiahan in #6167
- test: move configurations from inline to dedicated config files by @chenjiahan in #6168
- release: v1.5.8 by @chenjiahan in #6170
Full Changelog: v1.5.7...v1.5.8
v1.5.7
What's Changed
New Features π
- feat(deps): update dependency @rspack/core to v1.5.4 by @chenjiahan in #6153
- feat: expose environment compile hooks in Rsbuild instance by @chenjiahan in #6125
- feat: add support for
resolve.conditionNamesconfiguration by @chenjiahan in #6147 - feat: re-enable enum inlining optimization in production by @chenjiahan in #6154
- feat(types): export
BuildResulttype by @chenjiahan in #6124
Bug Fixes π
- fix(core): ensure inlined assets are deleted if devtool disabled by @chenjiahan in #6126
- fix(server): prevent multiple close calls from causing error by @chenjiahan in #6132
Document π
- docs: add documentation for environment context parameter by @chenjiahan in #6116
- docs: update output.cleanDistPath with proper code title by @Copilot in #6109
- docs: reorganize deployment platforms documentation by @chenjiahan in #6122
- docs: fix typo in imports by @vegerot in #6128
- docs: improve documentation language authenticity and clarity by @Copilot in #6136
- docs: improve authenticity in documentation by @Copilot in #6145
- docs: clarify asset prefix behavior and add examples by @chenjiahan in #6151
Other Changes
- test(e2e): improve the directory structure of e2e cases by @chenjiahan in #6118
- test(e2e): add test case for utf-8 charset in dev mode by @chenjiahan in #6119
- test: update test descriptions to be more descriptive and consistent by @chenjiahan in #6121
- test(e2e): add new test case for handling emoji filenames by @chenjiahan in #6123
- test(e2e): read output files from memory by @chenjiahan in #6129
- chore(deps): update dependency memfs to ^4.39.0 by @renovate[bot] in #6130
- test(e2e): simplify test setup with fixture helpers by @chenjiahan in #6131
- test(e2e): simplify test setup by using built-in fixtures by @chenjiahan in #6133
- test(e2e): simplify test setup by using built-in fixtures by @chenjiahan in #6134
- test(e2e): simplify test setup by using built-in fixtures by @chenjiahan in #6135
- test: remove unused variables and imports in test files by @chenjiahan in #6137
- chore(deps): update module federation to v0.19.1 by @renovate[bot] in #6139
- chore(deps): update pnpm to v10.16.0 by @renovate[bot] in #6140
- chore(deps): update dependency react-router-dom to ^7.9.1 by @renovate[bot] in #6138
- test(e2e): enable type checking for test files by @chenjiahan in #6141
- test(e2e): simplify test setup by removing imports by @chenjiahan in #6142
- test: improve test helpers naming by @chenjiahan in #6143
- test: add editFile helper for test file modifications by @chenjiahan in #6146
- chore(deps): update all patch dependencies by @renovate[bot] in #6148
- test(config-loader): simplify test by removing node version check by @chenjiahan in #6152
- release: v1.5.7 by @chenjiahan in #6155
New Contributors
Full Changelog: v1.5.6...v1.5.7
v1.5.6
What's Changed
Bug Fixes π
- fix: temporarily disable enum inlining optimization by @chenjiahan in #6114
Document π
- docs: add CN documentation for Zephyr Cloud deployment by @chenjiahan in #6113
Other Changes
- release: v1.5.6 by @chenjiahan in #6115
Full Changelog: v1.5.5...v1.5.6
v1.5.5
What's Changed
New Features π
- feat(app-icon): add support for purpose field in web app manifest by @chenjiahan in #6096
Performance π
- perf: lazy loading memfs dependency by @chenjiahan in #6094
Bug Fixes π
- fix(server): correct URL message spacing for multiple routes by @chenjiahan in #6068
- fix(server): prints correct urls when configuring web and node environments by @chenjiahan in #6073
Refactor π¨
- refactor: merge rsbuild-dev-middleware to the core pacakge by @chenjiahan in #6092
- refactor(dev-middleware): clean up code by removing redundant type casts by @chenjiahan in #6099
- refactor(dev-middleware): clean up unused options by @chenjiahan in #6103
- refactor(dev-middleware): remove unnecessary type assertions by @chenjiahan in #6104
Document π
- docs: add native watcher example to build perf guide by @chenjiahan in #6070
- docs: improve documentation authenticity by @Copilot in #6069
- docs: add examples for server.strictPort config by @Copilot in #6075
- docs: improve documentation authenticity and naturalness by @Copilot in #6074
- docs: update JSDoc comments for Rsbuild configuration options by @chenjiahan in #6080
- docs(config): clarify HTTP/2 behavior by @chenjiahan in #6083
- docs: improve wording in docs by @chenjiahan in #6085
- docs: update AGENTS.md and remove copilot-instructions.md by @chenjiahan in #6095
- docs: add zephyr to docs page by @Nsttt in #6071
Other Changes
- chore: add JSON schemas for Rspress meta and nav files by @chenjiahan in #6067
- chore: update rspress and related dependencies to beta.31 by @chenjiahan in #6072
- test(e2e): improve tests for server url printing by @chenjiahan in #6076
- chore(deps): update actions/github-script digest to f28e40c by @renovate[bot] in #6078
- chore(deps): update all patch dependencies by @renovate[bot] in #6079
- chore(deps): update actions/github-script action to v8 by @renovate[bot] in #6081
- chore(deps): update actions/setup-node action to v5 by @renovate[bot] in #6082
- chore: update module-federation and syntax plugin to latest version by @chenjiahan in #6084
- chore(deps): update dependency create-rstack to v1.6.0 by @renovate[bot] in #6091
- release: create-rsbuild v1.5.2 by @chenjiahan in #6093
- chore: bump Rslib to v0.13 and enable tsgo in local by @Timeless0911 in #6087
- chore(deps): update dependency nx to ^21.5.1 by @renovate[bot] in #6101
- chore(workflow): remove experimental typescript setting by @chenjiahan in #6102
- chore(deps): update @rspack/core to v1.5.3 by @chenjiahan in #6106
- test(e2e): add cleanup for write to disk test by @chenjiahan in #6105
- chore: update source map type imports by @chenjiahan in #6110
- release: v1.5.5 by @chenjiahan in #6111
New Contributors
Full Changelog: v1.5.4...v1.5.5
v1.5.4
What's Changed
New Features π
- feat: enable inline const optimization by default by @chenjiahan in #6043
- feat(plugin): support for source map merging in transform hook by @chenjiahan in #6050
Bug Fixes π
- fix: improve error message for public directory copy failure by @chenjiahan in #6034
- fix(hmr): reset reconnect count when connection is established by @chenjiahan in #6047
- fix(client): prevent duplicate console logs during reconnection by @chenjiahan in #6048
- fix(core): only enable inline const in production mode by @chenjiahan in #6062
- fix(core): only enable inline enum in production mode by @chenjiahan in #6064
- fix(webpack): update default value of progress bar configuration by @chenjiahan in #6035
Document π
- docs: improve English documentation phrasing and clarity by @Copilot in #6028
- docs: add examples for CSS Modules exportLocalsConvention by @chenjiahan in #6033
- docs: improve documentation authenticity by @Copilot in #6039
- docs: Improve documentation authenticity and clarity by @Copilot in #6046
- docs: add HMR workaround for vanilla-extract-css plugin by @JSerFeng in #6053
- docs: improve documentation authenticity and natural flow by @Copilot in #6051
- docs(plugins): add source map introduction for transform hook by @chenjiahan in #6052
- docs: setup the AGENTS.md file by @chenjiahan in #6054
- docs: improve documentation authenticity and readability by @Copilot in #6057
- docs: fix various documentation errors by @Copilot in #6058
- docs: fix configuration code blocks with missing titles by @Copilot in #6056
Other Changes
- test(e2e): add CSS Modules export locals test cases by @chenjiahan in #6031
- test(e2e): add TypeScript optional chaining and nullish coalescing test by @Copilot in #6008
- test(e2e): simplify test helpers and default configurations by @chenjiahan in #6036
- test(e2e): enable more HMR tests on Windows by @chenjiahan in #6037
- test(e2e): enable more cases on Windows by @chenjiahan in #6038
- chore(deps): update SWC plugins to ^9.1.0 by @renovate[bot] in #6041
- chore(deps): update sass to ^1.92.0 by @renovate[bot] in #6042
- test(e2e): add test case for constant inlining optimization by @chenjiahan in #6044
- test(e2e): add HMR reconnect test case by @chenjiahan in #6045
- chore(deps): update dependency postcss-loader to v8.2.0 by @renovate[bot] in #6040
- chore(deps): update dependency rspack-chain to v1.4.1 by @chenjiahan in #6059
- test(e2e): improve inline const test case by @chenjiahan in #6063
- test(e2e): improve inline enum test case by @chenjiahan in #6065
- release: v1.5.4 by @chenjiahan in #6066
Full Changelog: v1.5.3...v1.5.4
v1.5.3
What's Changed
New Features π
- feat(deps): update dependency @rspack/core to v1.5.2 by @chenjiahan in #6029
Performance π
- perf: optimize pick function by replacing reduce with for...of loop by @Copilot in #6022
- perf: optimize
isPlainObjectwith Object.prototype caching by @Copilot in #6021 - perf: optimize Object.values() call in nonce plugin to avoid redundant array conversion by @Copilot in #6023
Bug Fixes π
- fix: eliminate redundant getPlugin() call in plugin dependency sorting by @Copilot in #6002
Refactor π¨
- refactor(e2e): simplify test setup by using helper methods by @chenjiahan in #5998
Document π
- docs: fix grammar and terminology inconsistencies across documentation by @Copilot in #5997
- docs: adjust the links of rspack-splitChunks by @lxKylin in #6004
- docs: fix various documentation errors by @Copilot in #6005
- docs: improve authenticity of English documentation by @Copilot in #6006
- docs: fix terminology inconsistencies and grammar issues by @Copilot in #6016
- docs: improve documentation authenticity and naturalness by @Copilot in #6015
- docs: enhance performance.prefetch configuration examples by @Copilot in #6014
- docs: add examples for output.externals configuration by @Copilot in #6007
- docs(config): update externals documentation with axios example by @chenjiahan in #6027
Other Changes
- docs: Improve English documentation authenticity by @Copilot in #5996
- docs: add configuration examples for output.charset by @Copilot in #6003
- fix: incorrect target matching in isWebTarget function by @Copilot in #6013
- chore: resolve variable shadowing in transform environment scoping by @Copilot in #6012
- chore: improve formatFileList helper by @Copilot in #6018
- chore(deps): update all patch dependencies by @renovate[bot] in #6025
- ci: add pull-requests write permission to ecosystem workflow by @chenjiahan in #6026
- release: v1.5.3 by @chenjiahan in #6030
New Contributors
Full Changelog: v1.5.2...v1.5.3