Skip to content

Releases: web-infra-dev/rslib

v0.12.4

28 Aug 11:41
58316e4
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

New Contributors

Full Changelog: v0.12.3...v0.12.4

v0.12.3

27 Aug 06:18
dfb007c
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

Full Changelog: v0.12.2...v0.12.3

v0.12.2

20 Aug 06:50
0300dad
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Document 📖

  • docs: code splitting doc links by @Timeless0911 in #1175
  • docs: remove unnecessary paragraphs in modernjs-module migration docs by @Timeless0911 in #1177
  • docs: fix various documentation errors: grammar, spelling, and formatting issues by @Copilot in #1179

Other Changes

New Contributors

  • @Copilot made their first contribution in #1179

Full Changelog: v0.12.1...v0.12.2

v0.12.1

15 Aug 10:37
ba51bd1
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Other Changes

Full Changelog: v0.12.0...v0.12.1

v0.12.0

13 Aug 09:27
4728c6f
Compare
Choose a tag to compare

Highlights 💡

Drop support for Node 16

Node.js 16 reached its end-of-life on September 11, 2023. Many other npm packages in the ecosystem have also dropped support for Node 16, including webpack-dev-server, css-loader, sass-loader, and so on, which makes maintaining compatibility increasingly challenging. Therefore, we have decided to drop Node 16 support starting from Rslib v0.12 to ensure better compatibility with the modern ecosystem.

Package v0.11 v0.12
@rslib/core >=16.7.0 >=18.12.0

Rslib v0.11 based on Rsbuild/Rspack v1.4 and Rslib v0.12 based on Rsbuild/Rspack v1.5:

Package v1.4 v1.5
@rspack/core >=16.0.0 >=18.12.0
@rsbuild/core >=16.10.0 >=18.12.0

⚠️ This is a breaking change for users still running Node.js 16. Users will need to upgrade to Node.js 18.12.0 or later to use Rslib v0.12.

For users currently using Node.js 16:

  1. Upgrade to Node.js 18.12.0 or later (Node.js 22 LTS is recommended)
  2. Update your CI/CD pipelines to use the new Node.js version

What's Changed

New Features 🎉

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v0.11.2...v0.12.0

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