Skip to content

Releases: web-infra-dev/rslib

v0.23.0

16 Jun 12:09
ae21500

Choose a tag to compare

What's Changed

New Features 🎉

Performance 🚀

Other Changes

Full Changelog: v0.22.1...v0.23.0

v0.22.1

12 Jun 09:53
3fadcaf

Choose a tag to compare

What's Changed

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v0.22.0...v0.22.1

v0.22.0

29 May 11:02
399066d

Choose a tag to compare

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,
      },
    },
  ],
};
Isolated Declaration Generation

More details: dts.isolated

What's Changed

New Features 🎉

Performance 🚀

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v0.21.5...v0.22.0

v0.21.5

13 May 10:00
71e5f64

Choose a tag to compare

What's Changed

New Features 🎉

  • feat(create-rslib): add opt-in react-compiler tool and templates for react by @elecmonkey in #1635

Bug Fixes 🐞

Other Changes

New Contributors

Full Changelog: v0.21.4...v0.21.5

v0.21.4

07 May 08:28
41c638a

Choose a tag to compare

What's Changed

New Features 🎉

Document 📖

Other Changes

Full Changelog: v0.21.3...v0.21.4

v0.21.3

22 Apr 10:42
40da15a

Choose a tag to compare

What's Changed

New Features 🎉

Other Changes

Full Changelog: v0.21.2...v0.21.3

v0.21.2

15 Apr 12:11
e699bd0

Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

  • fix(core): only rewrite requests whose context is in outBase in bundleless mode by @Timeless0911 in #1599

Other Changes

Full Changelog: v0.21.1...v0.21.2

v0.21.1

14 Apr 11:52
5a459e8

Choose a tag to compare

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

New Contributors

Full Changelog: v0.21.0...v0.21.1

v0.21.0

08 Apr 11:38
abfe04e

Choose a tag to compare

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-practices

More details: AI - Agent Skills

What's Changed

New Features 🎉

Bug Fixes 🐞

Document 📖

Other Changes

New Contributors

Full Changelog: v0.20.3...v0.21.0

v0.20.3

02 Apr 03:40
cef2326

Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v0.20.2...v0.20.3