Releases: web-infra-dev/rslib
v0.23.0
What's Changed
New Features 🎉
- feat(create-rslib): include rstest in default templates by @Timeless0911 in #1702
Performance 🚀
- perf(core): use deterministic module ids for web targets by @Timeless0911 in #1703
Other Changes
- chore(deps): update all non-major dependencies by @renovate[bot] in #1701
- chore(deps): update security dependencies by @Timeless0911 in #1704
- chore(deps): update all non-major dependencies by @renovate[bot] in #1705
- release: v0.23.0 by @Timeless0911 in #1706
Full Changelog: v0.22.1...v0.23.0
v0.22.1
What's Changed
Bug Fixes 🐞
- fix(dts): correct tsgo preview peer range by @Timeless0911 in #1694
Document 📖
- docs: clarify dts.isolated performance guidance by @Timeless0911 in #1683
- docs: fix broken documentation links by @chenjiahan in #1693
Other Changes
- chore(build): use isolated declarations by @Timeless0911 in #1682
- chore(deps): update all non-major dependencies by @renovate[bot] in #1685
- chore(deps): update rstackjs/rstack-ecosystem-ci digest to e853652 by @renovate[bot] in #1684
- chore(deps): upgrade rsbuild to 2.0.11 by @chenjiahan in #1686
- chore: use pnpm staged publishing by @chenjiahan in #1687
- chore(deps): update dependency @rsbuild/plugin-preact to v2 by @renovate[bot] in #1689
- chore(deps): update all non-major dependencies by @renovate[bot] in #1688
- chore(deps): update Rspress to v2.0.14 by @renovate[bot] in #1690
- chore(deps): update dependency @rsbuild/plugin-svelte to v2 by @renovate[bot] in #1691
- ci: use pinned pnpm setup action by @elecmonkey in #1695
- chore(ci): skip snapshots in ecosystem ci by @Timeless0911 in #1697
- chore(deps): upgrade rsbuild v2.0.12 by @Timeless0911 in #1698
- release: v0.22.1 by @Timeless0911 in #1699
Full Changelog: v0.22.0...v0.22.1
v0.22.0
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
v0.21.5
What's Changed
New Features 🎉
- feat(create-rslib): add opt-in react-compiler tool and templates for react by @elecmonkey in #1635
Bug Fixes 🐞
- fix(core): set iife chunk output defaults by @Timeless0911 in #1642
Other Changes
- chore(deps): update fast-uri to 3.1.2 by @Timeless0911 in #1636
- chore(deps): update all non-major dependencies by @renovate[bot] in #1638
- chore(deps): update rstackjs/rstack-ecosystem-ci digest to 4949c44 by @renovate[bot] in #1637
- chore: tighten pnpm workspace install settings by @chenjiahan in #1640
- chore: add release notes skill by @chenjiahan in #1643
- chore: update renovate security config by @Timeless0911 in #1645
- chore(deps): update all non-major dependencies by @renovate[bot] in #1644
- release: v0.21.5 by @Timeless0911 in #1646
New Contributors
- @elecmonkey made their first contribution in #1635
Full Changelog: v0.21.4...v0.21.5
v0.21.4
What's Changed
New Features 🎉
- feat(create-rslib): add rslint template mapping by @Timeless0911 in #1624
Document 📖
- docs: recommend tsgo for dts generation by @Timeless0911 in #1621
- docs: add Rslint to optional tools by @Timeless0911 in #1622
- docs: type Storybook getAbsolutePath helpers by @Timeless0911 in #1623
Other Changes
- chore(deps): update rstackjs/rstack-ecosystem-ci digest to 0e1297e by @renovate[bot] in #1613
- chore(deps): bump @rslint/core to 0.5.0 by @Timeless0911 in #1615
- chore(core): add native preview dependency by @Timeless0911 in #1617
- test(dts): consolidate redirect dts fixtures by @Timeless0911 in #1618
- chore: update pr creator skill by @Timeless0911 in #1619
- chore: enable tsgo in CI by @Timeless0911 in #1620
- chore(deps): update @rsbuild/core and restrict rsbuild minor upgrades by @Timeless0911 in #1616
- chore(deps): update all non-major dependencies by @renovate[bot] in #1614
- chore(deps): update rstackjs/rstack-ecosystem-ci digest to f767cdd by @renovate[bot] in #1625
- chore(deps): update all non-major dependencies by @renovate[bot] in #1626
- chore: simplify renovate config by @Timeless0911 in #1627
- chore(deps): update pnpm to v10.33.2 by @renovate[bot] in #1628
- chore: replace Biome with Prettier and Rslint by @Timeless0911 in #1629
- chore(deps): update security dependencies by @Timeless0911 in #1630
- chore: update VS Code workspace config by @Timeless0911 in #1631
- chore(deps): update rsbuild to 2.0.5 by @Timeless0911 in #1632
- chore: consolidate type checking into rslint by @Timeless0911 in #1633
- release: v0.21.4 by @Timeless0911 in #1634
Full Changelog: v0.21.3...v0.21.4
v0.21.3
What's Changed
New Features 🎉
- feat(deps): upgrade Rsbuild to 2.0.0 by @Timeless0911 in #1608
- feat(deps): upgrade Rsbuild plugins to v2 by @Timeless0911 in #1610
Other Changes
- chore: align rslint defaults and rstest commands by @chenjiahan in #1603
- chore: replace changeset release flow with release skill by @Timeless0911 in #1604
- chore(deps): update rstackjs/rstack-ecosystem-ci digest to 6680c15 by @renovate[bot] in #1605
- chore(deps): update all non-major dependencies by @renovate[bot] in #1606
- chore: remove Netlify configuration and add redirects file by @Timeless0911 in #1607
- chore(deps): update actions/setup-node digest to 48b55a0 by @renovate[bot] in #1609
- release: v0.21.3 by @Timeless0911 in #1611
Full Changelog: v0.21.2...v0.21.3
v0.21.2
What's Changed
New Features 🎉
- feat(create-rslib): add conditional optional skills by @Timeless0911 in #1600
Bug Fixes 🐞
- fix(core): only rewrite requests whose context is in outBase in bundleless mode by @Timeless0911 in #1599
Other Changes
- chore(deps): update all non-major dependencies by @renovate[bot] in #1601
- Release v0.21.2 by @Timeless0911 in #1602
Full Changelog: v0.21.1...v0.21.2
v0.21.1
What's Changed
Bug Fixes 🐞
- fix(create-rslib): add rootDir to tsconfig templates for TypeScript 6.0 compatibility by @intellild in #1589
- fix(dts): align tinyglobby root resolution by @Timeless0911 in #1591
- fix(create-rslib): add env.d.ts to React/Vue templates by @Timeless0911 in #1594
Other Changes
- chore(deps): update rslib to 0.21.0 by @Timeless0911 in #1583
- chore(deps): enable pnpm dedupePeers by @Timeless0911 in #1584
- chore(deps): update rstackjs/rstack-ecosystem-ci digest to 45a8018 by @renovate[bot] in #1585
- chore(deps): update dependency nano-staged to v1 by @renovate[bot] in #1587
- chore(deps): upgrade rslint to v0.4.2 by @Timeless0911 in #1592
- chore(deps): upgrade security-related dependencies by @Timeless0911 in #1593
- chore(deps): update all non-major dependencies by @renovate[bot] in #1586
- test(create-rslib): remove slow skills-related test cases by @colinaaa in #1597
- Release v0.21.1 by @Timeless0911 in #1598
New Contributors
- @intellild made their first contribution in #1589
Full Changelog: v0.21.0...v0.21.1
v0.21.0
Highlights 💡
Single Executable Applications
Rslib now supports building Node.js single executable applications with the experimental experiments.exe option.
export default {
lib: [
{
format: 'esm',
experiments: {
exe: true,
},
},
],
};Rslib's SEA bundling support was inspired by prior work in tsdown, created by Kevin Deng.
More details: experiments.exe
Best Practices Skill
Rslib now provides a best practices skill, which can be used when writing, reviewing, or troubleshooting Rslib projects.
- In an existing project:
npx skills add rstackjs/agent-skills --skill rslib-best-practices- When creating a new project:
npx -y create-rslib@latest my-project -t react --skill rslib-best-practicesMore details: AI - Agent Skills
What's Changed
New Features 🎉
- feat(core): add
experiments.exesupport by @Timeless0911 in #1572 - feat(create-rslib): add optional rslib best practices skill by @colinaaa in #1575
- feat: upgrade rsbuild and sync node builtin handling by @Timeless0911 in #1581
Bug Fixes 🐞
- fix(core): improve nodenext type declarations by @Timeless0911 in #1559
- fix(core): align Vue bundleless externals with plugin-vue by @Timeless0911 in #1579
Document 📖
- docs: correct experiments.exe seaOptions version history by @Timeless0911 in #1580
Other Changes
- chore(deps): update dependency lodash to v4.18.1 [security] by @renovate[bot] in #1569
- test: keep rspack eco ci passing after mangle output change by @Timeless0911 in #1574
- chore(deps): update rstackjs/rstack-ecosystem-ci digest to f6ea537 by @renovate[bot] in #1576
- chore(deps): update all non-major dependencies by @renovate[bot] in #1577
- Release v0.21.0 by @Timeless0911 in #1582
New Contributors
Full Changelog: v0.20.3...v0.21.0
v0.20.3
What's Changed
Other Changes
- chore(deps): update Rsbuild 2.0.0-rc.0 by @Timeless0911 in #1568
- chore(deps): update all non-major dependencies by @renovate[bot] in #1570
- Release v0.20.3 by @Timeless0911 in #1571
Full Changelog: v0.20.2...v0.20.3