Highlights
Isolated Declaration Generation
Rslib now supports generating declaration files with the experimental dts.isolated option, powered by Rspack's built-in SWC fast_dts capability.
dts.isolated emits declaration files directly during the build without running a full type check, making declaration generation significantly faster.
This makes it a good fit for monorepo projects that use a separate high-performance type-checking workflow, such as rslint --type-check.
export default {
lib: [
{
dts: {
isolated: true,
},
},
],
};
More details: dts.isolated
What's Changed
New Features 🎉
- feat(dts): support isolated declaration emit by @Timeless0911 in #1664
- feat(create-rslib): add svelte template and related-doc by @elecmonkey in #1653
Performance 🚀
- perf(cli): remove process title startup overhead by @chenjiahan in #1649
Bug Fixes 🐞
- fix(dts): preserve explicit module extensions by @Timeless0911 in #1648
- fix(create-rslib): use js config for esm templates by @Timeless0911 in #1655
Document 📖
- docs: fix vue footer dts anchor by @elecmonkey in #1654
- docs: fix rsbuild assetsInclude badge by @chenjiahan in #1658
- docs: fix stale Rsbuild doc links by @elecmonkey in #1659
- docs: add acknowledgment for tsdown inspiration by @chenjiahan in #1665
- docs: update README credits by @Timeless0911 in #1668
- docs: clarify dts bundle limitations by @Timeless0911 in #1669
- docs: update Tailwind CSS v4 integration by @elecmonkey in #1671
Other Changes
- chore: exclude rsbuild-plugin-dts from release age by @Timeless0911 in #1647
- chore(deps): update all non-major dependencies by @renovate[bot] in #1651
- chore: harden GitHub Actions permissions by @Timeless0911 in #1656
- ci: allow ecosystem CI commit comments by @Timeless0911 in #1657
- chore(deps): update rsbuild 2.0.7 by @Timeless0911 in #1660
- chore: restore Renovate workspace scanning by @Timeless0911 in #1662
- chore: update draft release notes skill by @Timeless0911 in #1663
- chore(deps): update dependency @rsbuild/plugin-stylus to v2 by @renovate[bot] in #1667
- chore(deps): update rstackjs/rstack-ecosystem-ci digest to a3cd90c by @renovate[bot] in #1666
- chore(deps): update all non-major dependencies by @renovate[bot] in #1661
- test: cover Tailwind CSS plugin by @elecmonkey in #1670
- chore(deps): upgrade pnpm to v11 by @Timeless0911 in #1674
- chore(vscode): sort TypeScript imports on save by @Timeless0911 in #1675
- chore(deps): upgrade rsbuild to 2.0.8 by @Timeless0911 in #1676
- chore(deps): update dependency rsbuild-plugin-workspace-dev to v1 by @renovate[bot] in #1679
- chore(deps): update all non-major dependencies by @renovate[bot] in #1677
- chore: update workspace dependency policies by @Timeless0911 in #1680
- release: v0.22.0 by @Timeless0911 in #1681
Full Changelog: v0.21.5...v0.22.0