Releases: web-infra-dev/rsbuild
Releases · web-infra-dev/rsbuild
v1.0.11
What's Changed
New Features 🎉
- feat: define
import.meta.env.ASSET_PREFIX
by @chenjiahan in #3638 - feat: allow
dev.watchFiles
to be an array by @chenjiahan in #3640 - feat: check output folder when using preview JS API by @chenjiahan in #3642
- feat: export
PreviewOptions
type and correct doc by @chenjiahan in #3645 - feat: allow to disable preview checks by @chenjiahan in #3646
- feat: support for CLI shortcuts by @chenjiahan in #3614
- feat: support for CLI shortcuts (part 2) by @chenjiahan in #3651
- feat: enable CLI shortcuts by default when using Rsbuild CLI by @chenjiahan in #3652
- feat: CLI shortcuts for preview server by @chenjiahan in #3653
- feat: restart dev server via CLI shortcut by @chenjiahan in #3655
- feat: support for custom CLI shortcuts by @chenjiahan in #3661
Performance 🚀
- perf: no need to init Rspack config before preview by @chenjiahan in #3644
Bug Fixes 🐞
- fix: correct
rsbuild.createCompiler
type by @chenjiahan in #3647 - fix: failed to transform Rsbuild runtime code by @chenjiahan in #3657
Document 📖
- docs: list all default env vars by @chenjiahan in #3636
- docs: update plugin configuration API examples by @chenjiahan in #3639
- docs: polish configuration documents by @chenjiahan in #3654
- docs: add reload-server tip by @9aoy in #3656
- docs: add
dev.cliShortcuts
configuration by @chenjiahan in #3660
Other Changes
- chore(deps): update all patch dependencies by @renovate in #3643
- chore(deps): update dependency nx to v20 by @renovate in #3649
- test(e2e): add test cases for CLI shortcuts by @chenjiahan in #3658
- chore(deps): update rspress to v1.32.0 by @renovate in #3659
- release: 1.0.11 by @chenjiahan in #3662
Full Changelog: v1.0.10...v1.0.11
v1.0.10
What's Changed
New Features 🎉
- feat: support
server.base
configuration by @9aoy in #3542 - feat: define
import.meta.env.BASE_URL
by @chenjiahan in #3632
Performance 🚀
- perf(CLI): enable Node.js compile cache by @chenjiahan in #3627
Bug Fixes 🐞
- fix(plugin-sass): mute the legacy API deprecation warnings by @chenjiahan in #3629
Document 📖
- docs: add Rspress link to footer by @chenjiahan in #3617
- docs: improve
output.assetPrefix
by @chenjiahan in #3620 - docs: add guide for migrating env vars by @chenjiahan in #3624
- docs: add
base
version range by @chenjiahan in #3625 - docs: add
base
to migration guide by @chenjiahan in #3626 - docs(plugin-sass): add legacy API deprecation tip by @chenjiahan in #3631
Other Changes
- chore(deps): update all patch dependencies by @renovate in #3622
- chore(deps): update dependency typescript to ^5.6.2 by @renovate in #3619
- chore(CI): upgrade to Node 22 by @chenjiahan in #3628
- chore(deps): update babel to ^7.25.7 by @renovate in #3634
- release: 1.0.10 by @chenjiahan in #3637
Full Changelog: v1.0.9...v1.0.10
v1.0.9
What's Changed
New Features 🎉
- feat(deps): bump rspack 1.0.8 by @9aoy in #3596
- feat: improve logs order when port is in use by @chenjiahan in #3606
Bug Fixes 🐞
- fix: moduleFederation option only supports Rspack by @chenjiahan in #3597
- fix: failed load browserslist string value by @chenjiahan in #3598
- fix: compat invalid route by @9aoy in #3611
- fix: only print children compiler time when multi compiler by @9aoy in #3613
Other Changes
- chore(deps): update all patch dependencies by @renovate in #3599
- chore: update pnpm lock file by @chenjiahan in #3603
- chore: remove esbuild version overrides by @chenjiahan in #3604
- chore: bump pnpm v9.11.0 by @chenjiahan in #3605
- chore: update renovate ignore deps by @chenjiahan in #3612
Full Changelog: v1.0.8...v1.0.9
v1.0.8
What's Changed
New Features 🎉
- feat: add node polyfill tip for
node:
protocol by @chenjiahan in #3571
Performance 🚀
- perf: reduce stats.toJson calls by @chenjiahan in #3565
- perf: reduce require calls for compiled packages by @chenjiahan in #3568
- perf: remove browserslist-to-es-version dependency by @chenjiahan in #3585
- perf: using browserslist-load-config to load browserslist by @chenjiahan in #3587
Bug Fixes 🐞
- fix(webpack): move @rsbuild/core to peer dependency by @chenjiahan in #3564
- fix(plugin-react): exclude node_modules from react-refresh plugin by @chenjiahan in #3575
- fix: correct webpack error message by @9aoy in #3576
Document 📖
- docs: update tools.htmlPlugin options tip by @9aoy in #3561
- docs: add module federation assets retry by @chenjiahan in #3573
- docs: add rspack config modification order by @9aoy in #3574
- docs: add example for splitting single CSS chunk by @chenjiahan in #3577
- docs: add tools.lightningcssLoader false tip by @9aoy in #3581
- docs: correct CRACO migration table by @chenjiahan in #3584
Other Changes
- chore(deps): update dependency webpack to ^5.95.0 by @renovate in #3579
- chore(deps): update dependency terser to v5.34.0 by @renovate in #3578
- chore(plugin-preact): use Rslib to bundle by @chenjiahan in #3563
- chore(deps): update dependency solid-js to ^1.9.1 by @renovate in #3589
Full Changelog: v1.0.7...v1.0.8
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