Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.0.1-rc.0
What's Changed
Breaking Changes 💡
- feat!: enable Rspack config schema validation by default by @chenjiahan in #3295
- fix!: remove transformImport false option by @9aoy in #3289
New Features 🎉
- feat(deps): bump Rspack 1.0.0 by @chenjiahan in #3297
- feat: minify CSS for injected styles by @chenjiahan in #3272
- feat: allow to override Rspack config validate env by @chenjiahan in #3292
Bug Fixes 🐞
- fix: avoid passing unsupported Rspack config by @chenjiahan in #3293
Document 📖
- docs: update EJS usage by @chenjiahan in #3275
Other Changes
- test(e2e): improve helper for going to page by @chenjiahan in #3274
- chore(deps): update dependency typescript-eslint to ^8.2.0 by @renovate in #3276
- chore(deps): update dependency webpack to ^5.94.0 by @renovate in #3277
- chore: move vue2 plugin to separate repo by @chenjiahan in #3278
- test(e2e): update const enum test case by @chenjiahan in #3281
- chore(deps): update all patch dependencies by @renovate in #3282
Full Changelog: v1.0.1-beta.16...v1.0.1-rc.0
v1.0.1-beta.16
What's Changed
New Features 🎉
- feat(deps): bump Rspack 1.0.0-rc.0 by @chenjiahan in #3268
- feat: expose
server.printUrls
method by @chenjiahan in #3260 - feat: add
environments
toonAfterStartProdServer
by @colinaaa in #3264 - feat: transformImport support function type by @9aoy in #3266
Performance 🚀
- perf: replace dev middleware with a lightweight version by @chenjiahan in #3257
Bug Fixes 🐞
- fix(webpack): no longer need to set NODE_ENV by @chenjiahan in #3255
- fix: not inline scripts / styles when enable not set by @9aoy in #3258
- fix: should terminate http server correctly by @chenjiahan in #3261
- fix: server.close should close http server by @chenjiahan in #3263
- fix(deps): use caret version for swc helpers by @SevereCloud in #3269
- fix(mf): should compile
@module-federation/sdk
by @chenjiahan in #3270
Document 📖
- docs: improve 0.x migration guide by @chenjiahan in #3252
- docs: polish README by @chenjiahan in #3262
- docs: add developing environment plugins guide by @9aoy in #3265
- docs: correct the default HTML template by @chenjiahan in #3267
Other Changes
- refactor: simplify get dev middleware by @chenjiahan in #3256
- chore: remove unused outputFileSystem from server instance by @chenjiahan in #3259
New Contributors
- @SevereCloud made their first contribution in #3269
Full Changelog: v1.0.1-beta.15...v1.0.1-beta.16
v1.0.1-beta.15
What's Changed
Breaking Changes 🍭
- feat!: change default charset to utf8 by @chenjiahan in #3250
New Features 🎉
- feat: set default entry when entry is set to an empty object by @Timeless0911 in #3225
- feat: allow to custom web app manifest filename by @chenjiahan in #3228
- feat: add mime type for web app manifest by @chenjiahan in #3234
- feat: allow to specify target for app icons by @chenjiahan in #3235
- feat: allow to set URL as app icon by @chenjiahan in #3237
- feat: allow to disable HTML for specific entry by @chenjiahan in #3246
Performance 🚀
- perf: use compilation.inputFileSystem to read app icons by @chenjiahan in #3226
Document 📖
- docs: update documentation for
html.appIcon
by @chenjiahan in #3223 - docs: add app icon to website by @chenjiahan in #3238
- docs: add example for inlining async chunks by @chenjiahan in #3241
- docs: update Rspack stack layers by @chenjiahan in #3243
- docs: add more breaking changes about rsbuild 1.0 by @9aoy in #3245
Other Changes
- chore: simplify plugin-swc inspected config by @9aoy in #3224
- chore(deps): update dependency nx to ^19.6.0 by @renovate in #3233
- chore(deps): update dependency @module-federation/rspack to v0.5.0 by @renovate in #3232
- chore(deps): update dependency typescript-eslint to ^8.1.0 by @renovate in #3236
- chore: move vue2-jsx plugin to separate repo by @chenjiahan in #3239
- chore(deps): update all patch dependencies by @renovate in #3242
- test: update ip in test files by @chenjiahan in #3248
Full Changelog: v1.0.1-beta.14...v1.0.1-beta.15
v1.0.1-beta.14
What's Changed
Breaking Change 💡
- feat!: support generating web app manifest when using
html.appIcon
by @chenjiahan in #3219 - feat!: use
connectWebSocket
instead ofonHTTPUpdate
method by @9aoy in #3216 - feat(deps): bump Rspack 1.0.0-beta.5 by @chenjiahan in #3221
New Features 🎉
- feat(create-rsbuild): improve tool selection instruction in prompt by @BrinsilElias in #3208
- feat:
output.cleanDistPath
defaults toauto
by @chenjiahan in #3213
Bug Fixes 🐞
- fix: clean rsbuild outputs by default by @9aoy in #3210
- fix: missing default mode when using
rsbuild.startDevServer
by @chenjiahan in #3214
Document 📖
- docs(type-check): add exclude examples by @chenjiahan in #3207
- docs: enable strict SSG and update X logo by @chenjiahan in #3218
Other Changes
- doc: fix typo in security by @liyincode in #3209
- chore(deps): update dependency @module-federation/rspack to v0.4.0 by @renovate in #3211
- chore(deps): update rspress to v1.28.0 by @renovate in #3212
- test(e2e): add cases for
html.appIcon
by @chenjiahan in #3222
Full Changelog: v1.0.1-beta.13...v1.0.1-beta.14
v1.0.1-beta.13
What's Changed
Bug Fixes 🐞
- fix: ensure postcss-loader uses the built-in postcss by @chenjiahan in #3204
Full Changelog: v1.0.1-beta.12...v1.0.1-beta.13
v1.0.1-beta.12
What's Changed
New Features 🎉
- feat: add new
root
config by @chenjiahan in #3170 - feat(CLI): add new
root
option by @chenjiahan in #3173 - feat(deps): bump Rspack 1.0.0-beta.4 by @chenjiahan in #3178
- feat!: output inspect config to .rsbuild dir by @9aoy in #3189
- feat: add type attribute for SVG favicon by @chenjiahan in #3200
Bug Fixes 🐞
- fix: no need to print file size if there is any build error by @chenjiahan in #3190
- fix: no need to print file size after rebuilding by @chenjiahan in #3197
- fix: onBeforeBuild hook should before onBeforeEnvironmentCompile hook by @9aoy in #3196
Document 📖
- docs: add tip for using root with env files by @chenjiahan in #3174
- docs: remove unnecessary version tips by @chenjiahan in #3175
- docs: add MarsCode to online examples by @chenjiahan in #3176
- docs: Fix minor grammar errors in the contribution docs 📙 by @BrinsilElias in #3181
- docs: update benchmark data by @chenjiahan in #3195
- docs: optimize module federation version selection by @chenjiahan in #3202
Other Changes
- test(helpers): migrate path-serializer to npm package by @SoonIter in #3165
- chore(deps): update dependency core-js to ~3.38.0 by @renovate in #3131
- chore: remove unused ts comments by @chenjiahan in #3177
- chore(deps): update all patch dependencies by @renovate in #3179
- chore(deps): update eslint to ^9.9.0 by @renovate in #3180
- chore(deps): update dependency html-rspack-plugin to v6.0.0 by @renovate in #3184
- chore(deps): update dependency rspack-chain to v1 by @renovate in #3186
- chore: move styled components plugin to separate repo by @chenjiahan in #3183
- test(e2e): print line for each test being run in CI by @chenjiahan in #3187
- chore(deps): update dependency lit to ^3.2.0 by @renovate in #3185
- chore: move rem plugin to separate repo by @chenjiahan in #3192
- chore(deps): update dependency @modern-js/module-tools to ^2.58.0 by @renovate in #3188
- refactor: favicon generation by @chenjiahan in #3198
New Contributors
- @BrinsilElias made their first contribution in #3181
Full Changelog: v1.0.1-beta.11...v1.0.1-beta.12
v1.0.1-beta.11
What's Changed
Breaking Changes 🍭
- fix!(cli): rename env option of inspect command to mode by @chenjiahan in #3140
New Features 🎉
- feat(deps): bump Rspack 1.0.0-beta.3 by @chenjiahan in #3144
- feat: add new
mode
config by @chenjiahan in #3155 - feat: prefer reading the mode config by @chenjiahan in #3156
- feat(CLI): add new
--mode
option by @chenjiahan in #3166 - feat: support for
import.meta.env.MODE
by @chenjiahan in #3168
Bug Fixes 🐞
- fix(plugin-sass): sassOptions type should defaults to modern API by @chenjiahan in #3143
- fix: no need to override Rspack configuration type by @chenjiahan in #3146
- fix(create-rsbuild): failed to override package.json by @chenjiahan in #3151
- fix: define NODE_ENV conflicts when setting mode by @chenjiahan in #3159
Document 📖
- docs: Add pt-BR Readme by @kevenleone in #3145
- docs: add
environment
to glossary by @9aoy in #3149 - docs: add SSR guide by @9aoy in #3148
- docs: add link for Rsbuild 0.x website by @chenjiahan in #3150
- docs: typo fix Lighting → Lightning by @vsn4ik in #3154
- docs: add
mode
config documentation by @chenjiahan in #3157 - docs: unify glossary for development and production modes by @chenjiahan in #3161
- docs: display top level fields in the overview page by @chenjiahan in #3162
Other Changes
- chore(workflow): align PR labels with Rspack by @chenjiahan in #3141
- chore: move helpers to sub folder by @chenjiahan in #3142
- chore: let cspell ignore Portuguese README by @chenjiahan in #3147
- chore: move source code plugin to separate repo by @chenjiahan in #3153
- test(e2e): add more cases for
mode
config by @chenjiahan in #3164
New Contributors
- @kevenleone made their first contribution in #3145
- @vsn4ik made their first contribution in #3154
Full Changelog: v1.0.1-beta.10...v1.0.1-beta.11
v1.0.1-beta.10
What's Changed
New Features 🎉
- feat(deps): bump Rspack 1.0.0-beta.2 by @chenjiahan in #3113
- feat: add environment hooks about compiler by @9aoy in #3108
- feat: allow to configure
output.filename.html
by @chenjiahan in #3137
Bug Fixes 🐞
- fix: ensure isolation of config objects between different builds by @chenjiahan in #3111
Document 📖
- docs: add UA polyfill guide by @chenjiahan in #3115
- docs: add configure SWC guide by @chenjiahan in #3119
- docs: add guide for custom JS minimizer by @chenjiahan in #3120
- docs: add tips for SWC plugin version by @chenjiahan in #3121
- docs: add guide for watching files and reload dev server by @chenjiahan in #3128
- docs: add Rslib links by @chenjiahan in #3132
- docs: bump
@rstack-dev/doc-ui
to add Rslib and awesome Rspack by @Timeless0911 in #3134 - docs: link to Rspack document instead of webpack by @chenjiahan in #3135
- docs: add guide for filename template string by @chenjiahan in #3138
Other Changes
- test(e2e): fix a slow case case by @chenjiahan in #3109
- test(e2e): make type checker faster by not including types by @chenjiahan in #3110
- chore(deps): update dependency globals to ^15.9.0 by @renovate in #3117
- chore(deps): update rspress to v1.27.0 by @renovate in #3118
- chore: move check syntax plugin to separate repo by @chenjiahan in #3123
- chore(deps): update dependency @modern-js/module-tools to ^2.57.1 by @renovate in #3126
- chore(deps): update dependency react-router-dom to ^6.26.0 by @renovate in #3127
- chore(deps): update all patch dependencies by @renovate in #3129
- chore(deps): update dependency @babel/core to ^7.25.2 by @renovate in #3130
- chore: rename internal HTML plugin to RsbuildHtmlPlugin by @chenjiahan in #3136
Full Changelog: v1.0.1-beta.9...v1.0.1-beta.10
v1.0.1-beta.9
What's Changed
New Features 🎉
- feat: allow to disable buit-in lightningcss-loader by @chenjiahan in #3082
- feat!:
onBeforeBuild
hook supports calling multiple times in watch mode by @9aoy in #3066 - feat: support using
<port>
indev.assetPrefix
by @colinaaa in #3098
Performance 🚀
- perf(server): adjust gzip level for faster compression by @chenjiahan in #3090
- perf(mf): only patch split chunks for provider app by @chenjiahan in #3102
- perf(mf): set splitChunks.chunks to
async
by default if using module federation by @chenjiahan in #3104
Bug Fixes 🐞
- fix: avoid merging boolean config with object config by @chenjiahan in #3081
- fix: plugin type missing when set moduleResolution node16+ by @9aoy in #3089
- fix: set gzip level to 6 for preview server by @chenjiahan in #3101
Document 📖
- docs: what is environment by @9aoy in #3080
- docs: add migration guide for Rsbuild 0.x by @chenjiahan in #3084
- docs: add environment dependencies by @9aoy in #3085
- docs: list which hooks will be triggered again when rebuild by @9aoy in #3091
- docs: distinguish between Global Hooks and Environment Hooks by @9aoy in #3092
- docs: add FAQ for Vue deprecated deep selector by @chenjiahan in #3095
Other Changes
- chore(deps): update all patch dependencies by @renovate in #3050
- chore(deps): update dependency typescript-eslint to v8 by @renovate in #3088
- test(e2e): improve onExit test case by @chenjiahan in #3103
Full Changelog: v1.0.1-beta.8...v1.0.1-beta.9
v1.0.1-beta.8
What's Changed
Bug Fixes 🐞
- fix: pnpm generates invalid peerDependencies version by @chenjiahan in #3078
Full Changelog: v1.0.1-beta.7...v1.0.1-beta.8