Skip to content

Releases: web-infra-dev/rslib

v0.11.2

05 Aug 09:21
477004d
Compare
Choose a tag to compare

What's Changed

Trusted Publishing

All Rslib npm packages are now published based on npm's trusted publishing, making Rslib's npm packages more secure and transparent.

See:

Document 📖

Other Changes

Full Changelog: v0.11.1...v0.11.2

v0.11.1

01 Aug 08:11
87d3d9c
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

Full Changelog: v0.11.0...v0.11.1

v0.11.0

21 Jul 11:47
a0b666a
Compare
Choose a tag to compare

Breaking changes 🚨

redirect.asset

Boolean values are no longer supported for redirect.asset, see the documentation of redirect.asset for more details. (#1119)

Please note the following changes that may require adjustments to your configurations:

export default defineConfig({
  lib: [
    {
      redirect: {
-       asset: true,
+       asset: {
+         path: true,
+         extension: true,
+       },
      },
    },
  ],
});
export default defineConfig({
  lib: [
    {
      redirect: {
-       asset: false,
+       asset: {
+         path: false,
+         extension: false,
+       },
      },
    },
  ],
});

What's Changed

New Features 🎉

  • feat!: support redirect.asset.path and redirect.asset.extension by @Timeless0911 in #1119

Bug Fixes 🐞

  • fix(dts): error log of set declarationDir when dts.build is true by @Timeless0911 in #1120

Other Changes

Full Changelog: v0.10.6...v0.11.0

v0.10.6

16 Jul 07:49
adbd46c
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

Other Changes

Full Changelog: v0.10.5...v0.10.6

v0.10.5

08 Jul 09:46
341e225
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v0.10.4...v0.10.5

v0.10.4

27 Jun 06:31
c28c44e
Compare
Choose a tag to compare

What's Changed

New Features 🎉

In order to fix an issue where require.cache caused unexpected ESM output

Document 📖

Other Changes

Full Changelog: v0.10.3...v0.10.4

v0.10.3

25 Jun 09:57
7297b89
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • fix(dts): collect all kinds of diagnostics when composite is true by @Timeless0911 in #1086

Other Changes

Full Changelog: v0.10.2...v0.10.3

v0.10.2

20 Jun 04:55
5875d0b
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • fix(dts): should emit all kinds of diagnostics when composite is true by @Timeless0911 in #1081

Document 📖

Other Changes

Full Changelog: v0.10.1...v0.10.2

v0.10.1

18 Jun 11:29
814fdb5
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v0.10.0...v0.10.1

v0.10.0

16 Jun 08:35
7bffc91
Compare
Choose a tag to compare

Highlights ✨

New ESM Output

We have simplified the ESM output to improve readability and reduce bundle size. See the comparison in the figure below.

Rslib ESM Output

Compared with v0.9.2, additional optimization for import default has been included.

What's Changed

New Features 🎉

  • feat: bump Rsbuild 1.4.0-beta.3 to enhance default import rename by @Timeless0911 in #1053

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v0.9.2...v0.10.0