Skip to content

Releases: web-infra-dev/rslib

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

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

v0.20.2

30 Mar 09:08
600ac2e

Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v0.20.1...v0.20.2

v0.20.1

25 Mar 08:50
b3fadd5

Choose a tag to compare

What's Changed

New Features 🎉

Performance 🚀

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v0.20.0...v0.20.1

v0.20.0

10 Mar 11:31
7b85274

Choose a tag to compare

Breaking changes 🚨

Drop Node.js 18 support

Rslib v0.20 requires Node.js 20.19+ or 22.12+, Node.js 18 is no longer supported.

Rsbuild / Rspack v2

Rslib v0.20 now depends on beta version of @rsbuild/core v2 and @rspack/core v2. If you use custom Rsbuild / Rspack configurations or plugins, you may need to make corresponding adjustments.

See the Rsbuild v2 upgrade guide for all breaking changes.

Deprecate experiments.advancedEsm

experiments.advancedEsm is now deprecated and effectively ignored. Advanced ESM behavior is the default in both bundle and bundleless mode.

What you need to do:

  • Remove experiments.advancedEsm from your config
  • Verify the output behaviour

Rename type StartServerResult

The exported type StartServerResult has been renamed to StartDevServerResult.

What's Changed

New Features 🎉

  • feat!: upgrade Rsbuild to v2 and deprecate experiments.advancedEsm by @Timeless0911 in #1513
  • feat: updates the default contenthash length in filenames from 8 to 10 by @Timeless0911 in #1515

Bug Fixes 🐞

  • fix: validate glob entry correctness in bundle mode by @9aoy in #1512
  • fix(core): allow preserve jsx in bundleless mode to coexist with bundle mode by @Timeless0911 in #1523

Document 📖

Other Changes

Full Changelog: v0.19.6...v0.20.0

v0.19.6

14 Feb 08:03
2015a04

Choose a tag to compare

What's Changed

Document 📖

Other Changes

Full Changelog: v0.19.5...v0.19.6

v0.19.5

05 Feb 06:48
824ba7c

Choose a tag to compare

What's Changed

Document 📖

Other Changes

Full Changelog: v0.19.4...v0.19.5