Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.0.7
What's Changed
New Features 🎉
- feat(deps): bump Rspack v1.0.7 by @chenjiahan in #3549
Bug Fixes 🐞
- fix(plugin-webpack-swc): swcMinimizerPlugin sourceMap config by @easy1090 in #3550
- Revert "feat: allow to import TS files with js extension (#3536)" by @chenjiahan in #3559
Other Changes
- chore(deps): update dependency browserslist to v4.24.0 by @renovate in #3553
- chore(deps): update dependency babel-preset-solid to ^1.9.0 by @renovate in #3552
- chore(deps): update all patch dependencies by @renovate in #3551
- chore: remove lightningcss minimizer exclude by @chenjiahan in #3555
- chore: remove unused CHAIN_ID by @chenjiahan in #3556
Full Changelog: v1.0.6...v1.0.7
v1.0.6
What's Changed
New Features 🎉
- feat(create-rsbuild): adds decorator configs to lit-html templates an… by @alexUXUI in #3527
- feat: allow to import TS files with js extension by @chenjiahan in #3536
- feat(deps): bump Rspack v1.0.6 by @9aoy in #3544
Performance 🚀
- perf: avoid requiring empty module by @chenjiahan in #3538
Bug Fixes 🐞
- fix(types): missing toml module type by @chenjiahan in #3526
- fix(create-rsbuild): useDefineForClassFields in lit template by @chenjiahan in #3530
- fix: remove temp code for PostCSS AST by @chenjiahan in #3537
Document 📖
- docs: Update style-loader.mdx by @qmakani in #3515
- docs: update
source.exclude
usage by @9aoy in #3517 - docs: correct style-loader example by @chenjiahan in #3518
- docs: fix
webpackContext
link by @chenjiahan in #3524 - docs: add preset types by @chenjiahan in #3525
- docs: update tailwindcss content usage by @9aoy in #3533
- docs: fix html typo by @9aoy in #3541
Other Changes
- chore(deps): update dependency sass to ^1.79.2 by @renovate in #3503
- chore(deps): update dependency sass-embedded to ^1.79.2 by @renovate in #3504
- chore(deps): update dependency nx to ^19.8.0 by @renovate in #3523
- chore(deps): update all patch dependencies by @renovate in #3532
- chore: delete release pull request workflow && remove release trigger modern update by @caohuilin in #3543
New Contributors
Full Changelog: v1.0.5...v1.0.6
v1.0.5
What's Changed
New Features 🎉
- feat: expose
devServer.open
API by @chenjiahan in #3498 - feat: disable preserveAllComments by default by @Timeless0911 in #3510
Document 📖
Other Changes
- chore(deps): update dependency @modern-js/module-tools to ^2.60.0 by @renovate in #3488
- chore(deps): update dependency nx to ^19.7.3 by @renovate in #3490
- chore(lint): enable Biome support for CSS Modules by @chenjiahan in #3494
- chore(deps): update dependency terser to v5.32.0 by @renovate in #3492
- chore(deps): update all patch dependencies by @renovate in #3495
- chore(deps): update dependency vitest to ^2.1.1 by @renovate in #3493
- test(e2e): validate dev source map by @chenjiahan in #3501
- chore(plugin-less): use Rslib to bundle by @chenjiahan in #3502
- chore(deps): update dependency preact to ^10.24.0 by @renovate in #3491
- chore: extract shared Rslib config by @chenjiahan in #3506
- chore(test-helper): use Rslib to bundle by @chenjiahan in #3507
- chore(deps): update dependency terser to v5.33.0 by @renovate in #3505
- chore(deps): update dependency babel-loader to v9.2.1 by @renovate in #3500
Full Changelog: v1.0.4...v1.0.5
v1.0.4
v1.0.3
What's Changed
New Features 🎉
- feat(create-rsbuild): create an emptry public folder by @chenjiahan in #3454
- feat(core): warn leading slash for output.distPath.html and default to
./
by @wjw99830 in #3462 - feat(deps): bump Rspack v1.0.5 by @chenjiahan in #3477
Bug Fixes 🐞
- fix: allow to configure
dev.hmr
in environments by @chenjiahan in #3446 - fix(plugin-react): allow configuring
tools.swc
to override react runtime by @chenjiahan in #3449 - fix: set resolve.tsConfig by rspack-chain by @chenjiahan in #3466
- fix(type): eco-ci fail of watching close callback type by @SoonIter in #3470
Document 📖
- docs: correct public folder example by @chenjiahan in #3455
- docs: remove non-existent utils variable in rspack config by @Draculabo in #3456
- docs: server open priority by @chenjiahan in #3459
- docs: update outdated glossary by @chenjiahan in #3464
- docs(guide): fix improper punctuation in Chinese guide by @miownag in #3465
- docs(plugin-svgr): correct named export guide by @chenjiahan in #3469
Other Changes
- chore: fix type for eco CI by @chenjiahan in #3472
- chore(deps): update rspress to v1.31.0 by @renovate in #3473
New Contributors
- @Draculabo made their first contribution in #3456
- @miownag made their first contribution in #3465
- @wjw99830 made their first contribution in #3462
Full Changelog: v1.0.2...v1.0.3
v1.0.2
What's Changed
New Features 🎉
- feat(deps): bump Rspack v1.0.4 by @chenjiahan in #3443
- feat(plugin-stylus): support
define
option by @shulaoda in #3434
Bug Fixes 🐞
- fix(plugin-webpack-swc): @swc/helpers version requires at least 0.5.13 by @9aoy in #3436
- fix(create-rsbuild): eslint-plugin-react-hooks version conflict by @chenjiahan in #3441
Document 📖
- docs: fix typo in 1.0 announcement by @chenjiahan in #3432
- docs: add example for merging Rspack config by @chenjiahan in #3437
- docs(plugin-stylus): update
StylusOptions
by @shulaoda in #3439 - docs: add recommended PostCSS plugins when not using Lightning CSS by @chenjiahan in #3442
New Contributors
Full Changelog: v1.0.1...v1.0.2
v1.0.1
See Announcing Rsbuild 1.0 for more details 🎉
What's Changed
Breaking Changes 🍭
- fix!: remove lightningcss plugin by @chenjiahan in #3047
- fix!(cli): rename env option of inspect command to mode by @chenjiahan in #3140
- feat!: change default charset to utf8 by @chenjiahan in #3250
New Features 🎉
- feat: expose
reduceConfigs
helper by @chenjiahan in #2631 - feat: normalize environment config by @9aoy in #2633
- feat!: replace output.targets with output.target by @9aoy in #2636
- feat!: remove deprecated
dev.startUrl
by @chenjiahan in #2642 - feat: allow to use port placeholder in
client.port
by @chenjiahan in #2641 - feat: support read environments source.entry config by @9aoy in #2643
- feat!: add browserslist to context.environments by @chenjiahan in #2646
- feat!: output.emitAssets changed to boolean type by @chenjiahan in #2649
- feat!: remove
target
param forsource.alias
by @chenjiahan in #2650 - feat: support apply environment html-related config by @9aoy in #2647
- feat: support apply more environment configs by @9aoy in #2652
- feat: support apply more environment configs by @9aoy in #2656
- feat: use environment name as progress id by @chenjiahan in #2670
- feat: handle more cases in ensureAssetPrefix helper by @chenjiahan in #2671
- feat(deps): bump core-js v3.37 and @swc/helpers by @chenjiahan in #2673
- feat!: decorators version defaults to
2022-03
by @chenjiahan in #2677 - feat(styled-components): use SWC Wasm plugin by @chenjiahan in #2679
- feat: support apply environment bundleAnalyze config by @9aoy in #2682
- feat(type-check): allow to check multiple tsconfig files by @chenjiahan in #2684
- feat: print file size grouped by environment by @9aoy in #2683
- feat: support apply environment nonce config by @9aoy in #2685
- feat(source-build): support for flat conditional exports by @chenjiahan in #2688
- types: allow to configure dev in environments by @chenjiahan in #2695
- feat: support for merging environments config by @chenjiahan in #2700
- feat: add modifyEnvironmentConfig hook by @9aoy in #2707
- feat: support apply environment moduleFederation config by @9aoy in #2692
- feat(create-rsbuild): enable allowImportingTsExtensions by @chenjiahan in #2710
- feat: add basic server environment api by @9aoy in #2714
- feat!: enable LightningCSS minimizer as default CSS minimizer by @chenjiahan in #2716
- feat(deps)!: bump Rspack 1.0 alpha by @chenjiahan in #2722
- feat: allow to configure progress bar by environment by @chenjiahan in #2730
- feat(server): support load SSR module by @9aoy in #2528
- feat: support output environment config when inspect config by @9aoy in #2738
- feat: prettier print file size log by @9aoy in #2761
- feat: add environments param into rsbuild api by @9aoy in #2768
- feat!(plugin-vue2): update Vue 2 compiler options to condense whitespace by @a145789 in #2785
- feat: improve the default splitting cache groups by @chenjiahan in #2792
- feat(deps): bump Rspack 1.0.0-alpha.1 by @chenjiahan in #2803
- feat(deps): bump Rspack 1.0.0-alpha.2 by @chenjiahan in #2836
- feat: allow to custom CSS minify options by @chenjiahan in #2840
- feat: set uniqueName for module federation HMR by @chenjiahan in #2853
- types: export HtmlRspackPlugin type by @chenjiahan in #2861
- types: allow passing user config to mergeEnvironmentConfig by @9aoy in #2863
- feat(create-rsbuild): support for project name with npm scope by @chenjiahan in #2874
- types: fix plugins type mismatch by @chenjiahan in #2875
- feat(deps): bump Rspack 1.0.0-alpha.3 by @chenjiahan in #2883
- feat(CLI): add new --env-dir option by @chenjiahan in #2891
- feat: allow to disable gzip compression size by @chenjiahan in #2892
- feat(create-rsbuild): allow to create via CLI options by @chenjiahan in #2903
- feat: allow dev.client.port to be a number by @chenjiahan in #2907
- feat(create-rsbuild): add framework alias and validate input by @chenjiahan in #2922
- feat(deps): bump rspack 1.0.0-alpha.4 by @9aoy in #2936
- feat: add
htmlPlugin
andrspackConfig
template parameters by @chenjiahan in #2938 - feat: add environments as a filter of
api.transform
by @chenjiahan in #2947 - feat(deps): bump Rspack 1.0.0-alpha.5 by @chenjiahan in #2949
- feat: add new plugin API to process assets by @chenjiahan in #2966
- feat: allow to process assets for specific target by @chenjiahan in #2967
- feat: allow to access environment context in transform API by @chenjiahan in #2968
- feat: allow to access environment context in process assets by @chenjiahan in #2970
- feat: allow to access compiler in modifyHTMLTags hook by @chenjiahan in #2975
- feat: add sources param to api.processAssets by @chenjiahan in #2987
- feat: support add plugins for specified environment by @9aoy in #2986
- feat: more plugins support used as environment plugin by @9aoy in #2994
- feat: add environments as a filter of
api.processAssets
by @chenjiahan in #3009 - feat: enable inline chunks based on conditions through output options by @Thulof in #3000
- feat(deps): bump Rspack 1.0.0-beta.0 by @chenjiahan in #3022
- feat: allow absolute output path for inspectConfig by @chenjiahan in #3024
- feat: enable lightningcss-loader by default by @chenjiahan in #3034
- feat: add new
tools.lightningcssLoader
config by @chenjiahan in #3043 - feat: add
isWatch
param to determine whether it is watch mode when build by @9aoy in #3065 - feat: support only build specified environment by @9aoy in #3059
- feat: bump Rspack 1.0.0-beta.1 by @chenjiahan in #3072
- feat(core): add
type
option todev.watchFiles
to support reload server by @kurorinto in #3069 - 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 - 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.filenam...
v1.0.1-rc.5
What's Changed
Bug Fixes 🐞
- fix: failed to use html-loader by @chenjiahan in #3384
- fix(plugin-stylus): updated StylusOptions type by @sudhakar-selva in #3392
- fix: lightningcss-loader not work when using PostCSS by @chenjiahan in #3396
Document 📖
- docs: fix rsdoctor link by @iamdin in #3379
- docs: add eslint plugin guide in CRA migration by @9aoy in #3383
- docs: improve
output.charset
by @chenjiahan in #3389 - docs: add tip for deprecated tilde by @chenjiahan in #3391
- docs(zh): updated StylusOptions type by @chenjiahan in #3393
- docs: should manually call loadEnv method when using Rsbuild Environment API by @9aoy in #3395
Other Changes
- chore(deps): update dependency sass to ^1.78.0 by @renovate in #3386
- chore(deps): update rspress to v1.29.0 by @renovate in #3388
- chore(deps): update dependency sass-embedded to ^1.78.0 by @renovate in #3387
- test(e2e): skip unstable MF case in Windows by @chenjiahan in #3390
New Contributors
- @iamdin made their first contribution in #3379
- @sudhakar-selva made their first contribution in #3392
Full Changelog: v1.0.1-rc.4...v1.0.1-rc.5
v1.0.1-rc.4
What's Changed
New Features 🎉
- feat(deps): bump Rspack 1.0.2 by @chenjiahan in #3375
- feat(deps): bump Rspack 1.0.3 by @chenjiahan in #3378
Bug Fixes 🐞
- fix: skip resolution if Rsdoctor plugin is registered by @chenjiahan in #3370
Document 📖
- docs(website): typo for easy to configure text on homepage by @aryan1306 in #3371
Other Changes
- chore(deps): update dependency picocolors to ^1.1.0 by @renovate in #3366
- chore(deps): update dependency vue to ^3.5.0 by @renovate in #3367
- chore(deps): update dependency svelte-check to v4 by @renovate in #3368
- chore: format all files by @chenjiahan in #3369
- test(e2e): validate all production source map types by @chenjiahan in #3376
New Contributors
- @aryan1306 made their first contribution in #3371
Full Changelog: v1.0.1-rc.3...v1.0.1-rc.4
v1.0.1-rc.3
What's Changed
New Features 🎉
- feat(deps): bump Rspack v1.0.1 by @chenjiahan in #3360
- feat: support nested plugins by @9aoy in #3348
- feat: export more sub-types of Rsbuild config by @chenjiahan in #3351
Bug Fixes 🐞
- fix: correct proxy options type by @chenjiahan in #3352
- fix: resolve mjs extension before js by @chenjiahan in #3359
- fix(plugin-swc): should verify the version correctly by @yimingjfe in #3364
Document 📖
- docs: improve selecting SWC plugin version by @chenjiahan in #3346
- docs: correct addPlugins type by @9aoy in #3347
- docs: remove repeat info in rsbuild-0-x.mdx by @GaryHjy in #3356
- docs: remove repeat info in en rsbuild-0-x.mdx by @GaryHjy in #3355
- docs(landingpage): new landingpage aligned with Rspack by @SoonIter in #3349
Other Changes
- chore: change security report email by @chenjiahan in #3350
New Contributors
- @GaryHjy made their first contribution in #3356
- @yimingjfe made their first contribution in #3364
Full Changelog: v1.0.1-rc.2...v1.0.1-rc.3