Commit e2bc1b9
chore(deps): update all non-major dependencies (#69)
> ℹ️ **Note**
>
> This PR body was truncated due to platform limits.
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) | Type |
Update |
|---|---|---|---|---|---|
| [@playwright/test](https://playwright.dev)
([source](https://redirect.github.com/microsoft/playwright)) |
[`^1.54.1` →
`^1.58.2`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.54.1/1.58.2)
|

|

| devDependencies | minor |
|
[@rollup/pluginutils](https://redirect.github.com/rollup/plugins/tree/master/packages/pluginutils#readme)
([source](https://redirect.github.com/rollup/plugins/tree/HEAD/packages/pluginutils))
| [`^5.2.0` →
`^5.3.0`](https://renovatebot.com/diffs/npm/@rollup%2fpluginutils/5.2.0/5.3.0)
|

|

| devDependencies | minor |
| [@rslib/core](https://rslib.rs)
([source](https://redirect.github.com/web-infra-dev/rslib/tree/HEAD/packages/core))
| [`^0.11.0` →
`^0.19.5`](https://renovatebot.com/diffs/npm/@rslib%2fcore/0.11.0/0.19.5)
|

|

| devDependencies | minor |
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`^22.17.0` →
`^22.19.11`](https://renovatebot.com/diffs/npm/@types%2fnode/22.17.0/22.19.11)
|

|

| devDependencies | minor |
|
[@types/semver](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver))
| [`^7.7.0` →
`^7.7.1`](https://renovatebot.com/diffs/npm/@types%2fsemver/7.7.0/7.7.1)
|

|

| devDependencies | patch |
| [node](https://redirect.github.com/actions/node-versions) | `22` →
`22.22.0` |

|

| uses-with | minor |
| [pnpm](https://pnpm.io)
([source](https://redirect.github.com/pnpm/pnpm/tree/HEAD/pnpm)) |
[`10.14.0` →
`10.29.3`](https://renovatebot.com/diffs/npm/pnpm/10.14.0/10.29.3) |

|

| packageManager | minor |
| [semver](https://redirect.github.com/npm/node-semver) | [`^7.7.2` →
`^7.7.4`](https://renovatebot.com/diffs/npm/semver/7.7.2/7.7.4) |

|

| devDependencies | patch |
| [tailwindcss](https://tailwindcss.com)
([source](https://redirect.github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss))
| [`^3.4.17` →
`^3.4.19`](https://renovatebot.com/diffs/npm/tailwindcss/3.4.17/3.4.19)
|

|

| devDependencies | patch |
| [typescript](https://www.typescriptlang.org/)
([source](https://redirect.github.com/microsoft/TypeScript)) | [`^5.9.2`
→ `^5.9.3`](https://renovatebot.com/diffs/npm/typescript/5.9.2/5.9.3) |

|

| devDependencies | patch |
---
### Release Notes
<details>
<summary>microsoft/playwright (@​playwright/test)</summary>
###
[`v1.58.2`](https://redirect.github.com/microsoft/playwright/compare/v1.58.1...ce480a952553175eae75342aad2c5e86cdf2cbba)
[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.58.1...v1.58.2)
###
[`v1.58.1`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.58.1)
[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.58.0...v1.58.1)
##### Highlights
[#​39036](https://redirect.github.com/microsoft/playwright/issues/39036)
fix(msedge): fix local network permissions
[#​39037](https://redirect.github.com/microsoft/playwright/issues/39037)
chore: update cft download location
[#​38995](https://redirect.github.com/microsoft/playwright/issues/38995)
chore(webkit): disable frame sessions on fronzen builds
##### Browser Versions
- Chromium 145.0.7632.6
- Mozilla Firefox 146.0.1
- WebKit 26.0
###
[`v1.58.0`](https://redirect.github.com/microsoft/playwright/compare/v1.57.0...961381ec73a9fa2661d92504eab1a6bd6eaffc75)
[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.57.0...v1.58.0)
###
[`v1.57.0`](https://redirect.github.com/microsoft/playwright/compare/v1.56.1...80581972582c9565e141c5fedd3c5fa10cc0e38b)
[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.56.1...v1.57.0)
###
[`v1.56.1`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.56.1)
[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.56.0...v1.56.1)
#### Highlights
[#​37871](https://redirect.github.com/microsoft/playwright/issues/37871)
chore: allow local-network-access permission in chromium
[#​37891](https://redirect.github.com/microsoft/playwright/issues/37891)
fix(agents): remove workspaceFolder ref from vscode mcp
[#​37759](https://redirect.github.com/microsoft/playwright/issues/37759)
chore: rename agents to test agents
[#​37757](https://redirect.github.com/microsoft/playwright/issues/37757)
chore(mcp): fallback to cwd when resolving test config
#### Browser Versions
- Chromium 141.0.7390.37
- Mozilla Firefox 142.0.1
- WebKit 26.0
###
[`v1.56.0`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.56.0)
[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.55.1...v1.56.0)
#### Playwright Agents
Introducing Playwright Agents, three custom agent definitions designed
to guide LLMs through the core process of building a Playwright test:
- **🎭 planner** explores the app and produces a Markdown test plan
- **🎭 generator** transforms the Markdown plan into the Playwright Test
files
- **🎭 healer** executes the test suite and automatically repairs failing
tests
Run `npx playwright init-agents` with your client of choice to generate
the latest agent definitions:
```bash
### Generate agent files for each agentic loop
### Visual Studio Code
npx playwright init-agents --loop=vscode
### Claude Code
npx playwright init-agents --loop=claude
### opencode
npx playwright init-agents --loop=opencode
```
> \[!NOTE]
> VS Code v1.105 (currently on the VS Code Insiders channel) is needed
for the agentic experience in VS Code. It will become stable shortly, we
are a bit ahead of times with this functionality!
[Learn more about Playwright
Agents](https://playwright.dev/docs/test-agents)
#### New APIs
- New methods
[page.consoleMessages()](https://playwright.dev/docs/api/class-page#page-console-messages)
and
[page.pageErrors()](https://playwright.dev/docs/api/class-page#page-page-errors)
for retrieving the most recent console messages from the page
- New method
[page.requests()](https://playwright.dev/docs/api/class-page#page-requests)
for retrieving the most recent network requests from the page
- Added [`--test-list` and
`--test-list-invert`](https://playwright.dev/docs/test-cli#test-list) to
allow manual specification of specific tests from a file
#### UI Mode and HTML Reporter
- Added option to `'html'` reporter to disable the "Copy prompt" button
- Added option to `'html'` reporter and UI Mode to merge files,
collapsing test and describe blocks into a single unified list
- Added option to UI Mode mirroring the `--update-snapshots` options
- Added option to UI Mode to run only a single worker at a time
#### Breaking Changes
- Event
[browserContext.on('backgroundpage')](https://playwright.dev/docs/api/class-browsercontext#browser-context-event-background-page)
has been deprecated and will not be emitted. Method
[browserContext.backgroundPages()](https://playwright.dev/docs/api/class-browsercontext#browser-context-background-pages)
will return an empty list
#### Miscellaneous
- Aria snapshots render and compare `input` `placeholder`
- Added environment variable `PLAYWRIGHT_TEST` to Playwright worker
processes to allow discriminating on testing status
#### Browser Versions
- Chromium 141.0.7390.37
- Mozilla Firefox 142.0.1
- WebKit 26.0
###
[`v1.55.1`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.55.1)
[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.55.0...v1.55.1)
##### Highlights
[#​37479](https://redirect.github.com/microsoft/playwright/issues/37479)
- \[Bug]: Upgrade Chromium to 140.0.7339.186.
[#​37147](https://redirect.github.com/microsoft/playwright/issues/37147)
- \[Regression]: Internal error: step id not found.
[#​37146](https://redirect.github.com/microsoft/playwright/issues/37146)
- \[Regression]: HTML reporter displays a broken chip link when there
are no projects.
[#​37137](https://redirect.github.com/microsoft/playwright/pull/37137)
- Revert "fix(a11y): track inert elements as hidden".
[#​37532](https://redirect.github.com/microsoft/playwright/pull/37532)
- chore: do not use -k option
#### Browser Versions
- Chromium 140.0.7339.186
- Mozilla Firefox 141.0
- WebKit 26.0
This version was also tested against the following stable channels:
- Google Chrome 139
- Microsoft Edge 139
###
[`v1.55.0`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.55.0)
[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.54.2...v1.55.0)
#### New APIs
- New Property
[testStepInfo.titlePath](https://playwright.dev/docs/api/class-teststepinfo#test-step-info-title-path)
Returns the full title path starting from the test file, including test
and step titles.
#### Codegen
- Automatic `toBeVisible()` assertions: Codegen can now generate
automatic `toBeVisible()` assertions for common UI interactions. This
feature can be enabled in the Codegen settings UI.
#### Breaking Changes
- ⚠️ Dropped support for Chromium extension manifest v2.
#### Miscellaneous
- Added support for Debian 13 "Trixie".
#### Browser Versions
- Chromium 140.0.7339.16
- Mozilla Firefox 141.0
- WebKit 26.0
This version was also tested against the following stable channels:
- Google Chrome 139
- Microsoft Edge 139
###
[`v1.54.2`](https://redirect.github.com/microsoft/playwright/releases/tag/v1.54.2)
[Compare
Source](https://redirect.github.com/microsoft/playwright/compare/v1.54.1...v1.54.2)
##### Highlights
[#​36714](https://redirect.github.com/microsoft/playwright/issues/36714)
- \[Regression]: Codegen is not able to launch in Administrator Terminal
on Windows (ProtocolError: Protocol error)
[#​36828](https://redirect.github.com/microsoft/playwright/issues/36828)
- \[Regression]: Playwright Codegen keeps spamming with selected option
[#​36810](https://redirect.github.com/microsoft/playwright/issues/36810)
- \[Regression]: Starting Codegen with target language doesn't work
anymore
#### Browser Versions
- Chromium 139.0.7258.5
- Mozilla Firefox 140.0.2
- WebKit 26.0
This version was also tested against the following stable channels:
- Google Chrome 140
- Microsoft Edge 140
</details>
<details>
<summary>rollup/plugins (@​rollup/pluginutils)</summary>
###
[`v5.3.0`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/pluginutils/CHANGELOG.md#v530)
*2025-09-04*
##### Features
- feat: add `suffixRegex` & support multiple string
([#​1886](https://redirect.github.com/rollup/plugins/issues/1886))
</details>
<details>
<summary>web-infra-dev/rslib (@​rslib/core)</summary>
###
[`v0.19.5`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.19.5)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.19.4...v0.19.5)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### What's Changed
##### Document 📖
- docs: add guide for using Rspress with Rslib by
[@​SoonIter](https://redirect.github.com/SoonIter) in
[#​1471](https://redirect.github.com/web-infra-dev/rslib/pull/1471)
- docs: add Rsdoctor guide by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1472](https://redirect.github.com/web-infra-dev/rslib/pull/1472)
- docs: fix Rspress plugin URLs to official-plugins path by
[@​SoonIter](https://redirect.github.com/SoonIter) in
[#​1474](https://redirect.github.com/web-infra-dev/rslib/pull/1474)
##### Other Changes
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1470](https://redirect.github.com/web-infra-dev/rslib/pull/1470)
- chore(deps): upgrade Rspack to v1.7.5 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1473](https://redirect.github.com/web-infra-dev/rslib/pull/1473)
- chore(deps): bump Rsbuild 1.7.3 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1475](https://redirect.github.com/web-infra-dev/rslib/pull/1475)
- Release v0.19.5 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1476](https://redirect.github.com/web-infra-dev/rslib/pull/1476)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.19.4...v0.19.5>
###
[`v0.19.4`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.19.4)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.19.3...v0.19.4)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
##### What's Changed
##### New Features 🎉
- feat(create-rslib): add Rspress documentation tool templates by
[@​SoonIter](https://redirect.github.com/SoonIter) in
[#​1459](https://redirect.github.com/web-infra-dev/rslib/pull/1459)
##### Bug Fixes 🐞
- fix(cli): exit with non-zero code when it fails to start by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1449](https://redirect.github.com/web-infra-dev/rslib/pull/1449)
- fix(shims): `import.meta.url` not being removed by tree-shaking by
[@​sylingd](https://redirect.github.com/sylingd) in
[#​1463](https://redirect.github.com/web-infra-dev/rslib/pull/1463)
- fix(create-rslib): remove rspress-js template by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1464](https://redirect.github.com/web-infra-dev/rslib/pull/1464)
- fix(create-rslib): support dynamic package name in rspress template by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1465](https://redirect.github.com/web-infra-dev/rslib/pull/1465)
- fix(create-rslib): improve template argument parsing and defaults by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1467](https://redirect.github.com/web-infra-dev/rslib/pull/1467)
##### Document 📖
- docs: remove custom llms button by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1456](https://redirect.github.com/web-infra-dev/rslib/pull/1456)
- docs: update guide of creating an Rslib project by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1468](https://redirect.github.com/web-infra-dev/rslib/pull/1468)
##### Other Changes
- chore(deps): update dependency prettier-plugin-packagejson to v3 by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1450](https://redirect.github.com/web-infra-dev/rslib/pull/1450)
- chore(deps): update dependency lodash to v4.17.23 \[security] by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1451](https://redirect.github.com/web-infra-dev/rslib/pull/1451)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1454](https://redirect.github.com/web-infra-dev/rslib/pull/1454)
- chore(deps): upgrade Rspack to v1.7.4 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1455](https://redirect.github.com/web-infra-dev/rslib/pull/1455)
- test: refactor runCliSync to unify cli tests by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1458](https://redirect.github.com/web-infra-dev/rslib/pull/1458)
- chore(create-rslib): remove git track of auto-generated templates by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1460](https://redirect.github.com/web-infra-dev/rslib/pull/1460)
- refactor(create-rslib): use `extraTools` to generate templates by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1462](https://redirect.github.com/web-infra-dev/rslib/pull/1462)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1466](https://redirect.github.com/web-infra-dev/rslib/pull/1466)
- Release v0.19.4 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1469](https://redirect.github.com/web-infra-dev/rslib/pull/1469)
##### New Contributors
- [@​sylingd](https://redirect.github.com/sylingd) made their
first contribution in
[#​1463](https://redirect.github.com/web-infra-dev/rslib/pull/1463)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.19.3...v0.19.4>
###
[`v0.19.3`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.19.3)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.19.2...v0.19.3)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### What's Changed
##### Document 📖
- docs: add FAQ for declaration files directory structure by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1446](https://redirect.github.com/web-infra-dev/rslib/pull/1446)
##### Other Changes
- chore(deps): update actions/setup-node digest to
[`6044e13`](https://redirect.github.com/web-infra-dev/rslib/commit/6044e13)
by [@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1444](https://redirect.github.com/web-infra-dev/rslib/pull/1444)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1445](https://redirect.github.com/web-infra-dev/rslib/pull/1445)
- Release v0.19.3 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1447](https://redirect.github.com/web-infra-dev/rslib/pull/1447)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.19.2...v0.19.3>
###
[`v0.19.2`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.19.2)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.19.1...v0.19.2)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
##### What's Changed
##### New Features 🎉
- feat(core): improve build status logging in watch mode by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1437](https://redirect.github.com/web-infra-dev/rslib/pull/1437)
- feat: support import.meta.dirname / filename shims for CJS by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1440](https://redirect.github.com/web-infra-dev/rslib/pull/1440)
##### Bug Fixes 🐞
- fix(core): use default import from node:module to avoid naming
conflict by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1433](https://redirect.github.com/web-infra-dev/rslib/pull/1433)
- fix(dts): unify logger in dts plugin by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1438](https://redirect.github.com/web-infra-dev/rslib/pull/1438)
##### Document 📖
- docs: update rstack org link by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​1426](https://redirect.github.com/web-infra-dev/rslib/pull/1426)
- docs(plugins): add rsbuild-plugin-arethetypeswrong to plugins list by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1430](https://redirect.github.com/web-infra-dev/rslib/pull/1430)
- docs: enable ssg-md to support rendering overview component by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1432](https://redirect.github.com/web-infra-dev/rslib/pull/1432)
##### Other Changes
- chore: bump
[@​rslib/core](https://redirect.github.com/rslib/core) by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1425](https://redirect.github.com/web-infra-dev/rslib/pull/1425)
- chore(deps): update dependency check-dependency-version-consistency to
v6 by [@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1428](https://redirect.github.com/web-infra-dev/rslib/pull/1428)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1427](https://redirect.github.com/web-infra-dev/rslib/pull/1427)
- chore: remove pnpm dedupe check from CI and lint-staged by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1429](https://redirect.github.com/web-infra-dev/rslib/pull/1429)
- refactor(core): use named import from node:module for require shim by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1431](https://redirect.github.com/web-infra-dev/rslib/pull/1431)
- chore(deps): update dependency preact to v10.28.2 \[security] by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1436](https://redirect.github.com/web-infra-dev/rslib/pull/1436)
- refactor(plugin-dts): simplify dtsPromises to single dtsPromise by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1439](https://redirect.github.com/web-infra-dev/rslib/pull/1439)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1441](https://redirect.github.com/web-infra-dev/rslib/pull/1441)
- Release v0.19.2 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1443](https://redirect.github.com/web-infra-dev/rslib/pull/1443)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.19.1...v0.19.2>
###
[`v0.19.1`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.19.1)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.19.0...v0.19.1)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### What's Changed
##### Document 📖
- docs: refine third-party dependencies guide by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1420](https://redirect.github.com/web-infra-dev/rslib/pull/1420)
- docs: add `Rstest` guide by
[@​9aoy](https://redirect.github.com/9aoy) in
[#​1419](https://redirect.github.com/web-infra-dev/rslib/pull/1419)
- docs: update links from rspack-contrib to rstackjs by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​1423](https://redirect.github.com/web-infra-dev/rslib/pull/1423)
##### Other Changes
- chore(deps): bump Rslib v0.19.0 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1417](https://redirect.github.com/web-infra-dev/rslib/pull/1417)
- chore(deps): bump Rsbuild 1.7.0 by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1422](https://redirect.github.com/web-infra-dev/rslib/pull/1422)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.19.0...v0.19.1>
###
[`v0.19.0`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.19.0)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.18.6...v0.19.0)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### Highlights 💡
##### New JavaScript API
This release introduces a new, comprehensive [JavaScript
API](https://rslib.rs/api/start) for Rslib.
> \[!CAUTION]
> This is a **Breaking Change**. The previously exposed informal API has
been removed. You can switch to the new JavaScript API and refer to the
docs below to re-integrate.
See the API docs for details:
- [Rslib core methods](https://rslib.rs/api/javascript-api/core)
- [Rslib instance](https://rslib.rs/api/javascript-api/instance)
- [Rslib types](https://rslib.rs/api/javascript-api/types)
##### Usage
1. **Install Rslib**: install the `@rslib/core` package:
```bash
npm add @​rslib/core -D
```
2. **Create an Rslib instance**: call the
[createRslib](https://rslib.rs/api/javascript-api/core#createrslib)
method to create an Rslib instance:
```ts
import { createRslib } from '@​rslib/core';
const rslib = await createRslib();
```
3. **Call Rslib instance methods**: use the
[rslib.build](https://rslib.rs/api/javascript-api/instance#rslibbuild)
method which will build production outputs:
```ts
await rslib.build();
```
##### Advanced ESM Output
In previous versions, Rslib integrated Rspack's
[EsmLibraryPlugin](https://rspack.rs/plugins/rspack/esm-library-plugin#esmlibraryplugin)
through an experimental configuration of
[experiments.advancedEsm](https://rslib.rs/config/lib/experiments#experimentsadvancedesm),
aiming to optimize the quality of ESM outputs. Now, we are pleased to
announce that this plugin has been stabilized.
In this release, the `EsmLibraryPlugin` is enabled by default by setting
`experiments.advancedEsm` to `true` in bundle mode. Developers can
directly obtain ESM output that is high-quality, more friendly to static
analysis, and supports code splitting without any additional
configuration.
##### Better Rstest Integration
Rslib now supports seamless integration with Rstest.
By using the official
[@​rstest/adapter-rslib](https://www.npmjs.com/package/@​rstest/adapter-rslib),
you can directly reuse your Rslib build configurations (such as
`resolve.alias` and `source.define`) within Rstest. This enables
zero-config testing for Rslib projects, ensuring your test environment
perfectly mirrors your build environment while eliminating the overhead
of maintaining duplicate configurations.
```ts
// rstest.config.ts
import { defineConfig } from '@​rstest/core';
import { withRslibConfig } from '@​rstest/adapter-rslib';
export default defineConfig({
extends: withRslibConfig({}),
// Additional Rstest-specific configurations
// ...
});
```
> More details: <https://rstest.rs/guide/integration/rslib>
#### What's Changed
##### New Features 🎉
- feat(create-rslib): use `happy-dom` instead of `jsdom` by
[@​9aoy](https://redirect.github.com/9aoy) in
[#​1412](https://redirect.github.com/web-infra-dev/rslib/pull/1412)
- feat!: add JavaScript API and enhance CLI behaviour by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1394](https://redirect.github.com/web-infra-dev/rslib/pull/1394)
- feat(create-rslib): use `@rstest/adapter-rslib` by
[@​9aoy](https://redirect.github.com/9aoy) in
[#​1415](https://redirect.github.com/web-infra-dev/rslib/pull/1415)
- feat!: enable advanced esm by default by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1413](https://redirect.github.com/web-infra-dev/rslib/pull/1413)
##### Other Changes
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1411](https://redirect.github.com/web-infra-dev/rslib/pull/1411)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1414](https://redirect.github.com/web-infra-dev/rslib/pull/1414)
- Release v0.19.0 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1416](https://redirect.github.com/web-infra-dev/rslib/pull/1416)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.18.6...v0.19.0>
###
[`v0.18.6`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.18.6)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.18.5...v0.18.6)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### What's Changed
##### New Features 🎉
- feat(CLI): add `rslib-node` process title by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1406](https://redirect.github.com/web-infra-dev/rslib/pull/1406)
##### Bug Fixes 🐞
- fix: should throw error when custom config file not found by
[@​9aoy](https://redirect.github.com/9aoy) in
[#​1403](https://redirect.github.com/web-infra-dev/rslib/pull/1403)
- fix(CLI): ensure consistent spacing before the greeting message by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1407](https://redirect.github.com/web-infra-dev/rslib/pull/1407)
- fix(CLI): simplify build error logs by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1408](https://redirect.github.com/web-infra-dev/rslib/pull/1408)
##### Other Changes
- chore(deps): update dependency storybook to v10.1.10 \[security] by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1400](https://redirect.github.com/web-infra-dev/rslib/pull/1400)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1402](https://redirect.github.com/web-infra-dev/rslib/pull/1402)
- chore(deps): bump Rsbuild 1.7.0-beta.1 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1409](https://redirect.github.com/web-infra-dev/rslib/pull/1409)
- Release v0.18.6 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1410](https://redirect.github.com/web-infra-dev/rslib/pull/1410)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.18.5...v0.18.6>
###
[`v0.18.5`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.18.5)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.18.4...v0.18.5)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
##### What's Changed
##### Document 📖
- docs: improve documentation for `dts.alias` by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1391](https://redirect.github.com/web-infra-dev/rslib/pull/1391)
- docs: add documentation for more resolve options by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1392](https://redirect.github.com/web-infra-dev/rslib/pull/1392)
##### Other Changes
- test: replace `onDevCompileDone` with `onAfterDevCompile` by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1393](https://redirect.github.com/web-infra-dev/rslib/pull/1393)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1396](https://redirect.github.com/web-infra-dev/rslib/pull/1396)
- chore(deps): update dependency
[@​rsbuild/core](https://redirect.github.com/rsbuild/core) to
v1.7.0-beta.0 by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​1398](https://redirect.github.com/web-infra-dev/rslib/pull/1398)
- Release v0.18.5 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1399](https://redirect.github.com/web-infra-dev/rslib/pull/1399)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.18.4...v0.18.5>
###
[`v0.18.4`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.18.4)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.18.3...v0.18.4)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### What's Changed
##### New Features 🎉
- feat: improve bundleless file size print by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1386](https://redirect.github.com/web-infra-dev/rslib/pull/1386)
##### Bug Fixes 🐞
- fix: disable split chunks for umd and iife output format by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1378](https://redirect.github.com/web-infra-dev/rslib/pull/1378)
- fix: ignore specific system files in bundleless entry config by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1384](https://redirect.github.com/web-infra-dev/rslib/pull/1384)
##### Other Changes
- chore(deps): update actions/setup-node digest to
[`395ad32`](https://redirect.github.com/web-infra-dev/rslib/commit/395ad32)
by [@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1381](https://redirect.github.com/web-infra-dev/rslib/pull/1381)
- chore(deps): update actions/checkout digest to
[`8e8c483`](https://redirect.github.com/web-infra-dev/rslib/commit/8e8c483)
by [@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1380](https://redirect.github.com/web-infra-dev/rslib/pull/1380)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1382](https://redirect.github.com/web-infra-dev/rslib/pull/1382)
- chore(deps): bump Rspress 2.0.0-rc.2 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1383](https://redirect.github.com/web-infra-dev/rslib/pull/1383)
- test: use rstest es module outputs by
[@​9aoy](https://redirect.github.com/9aoy) in
[#​1385](https://redirect.github.com/web-infra-dev/rslib/pull/1385)
- chore(deps): bump Rsbuild 1.6.14 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1387](https://redirect.github.com/web-infra-dev/rslib/pull/1387)
- chore(deps): update actions/checkout digest to
[`8e8c483`](https://redirect.github.com/web-infra-dev/rslib/commit/8e8c483)
by [@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1388](https://redirect.github.com/web-infra-dev/rslib/pull/1388)
- Release v0.18.4 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1389](https://redirect.github.com/web-infra-dev/rslib/pull/1389)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.18.3...v0.18.4>
###
[`v0.18.3`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.18.3)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.18.2...v0.18.3)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### What's Changed
##### New Features 🎉
- feat(create-rslib): bump Storybook to v10 by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1309](https://redirect.github.com/web-infra-dev/rslib/pull/1309)
##### Bug Fixes 🐞
- fix: preserve original extension when extension redirection is
disabled by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1369](https://redirect.github.com/web-infra-dev/rslib/pull/1369)
- fix(dts): check for existence of target path when redirect extension
by [@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1374](https://redirect.github.com/web-infra-dev/rslib/pull/1374)
##### Other Changes
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1370](https://redirect.github.com/web-infra-dev/rslib/pull/1370)
- chore(deps): update dependency express to v5.2.0 \[security] by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1372](https://redirect.github.com/web-infra-dev/rslib/pull/1372)
- chore: remove pnpm trust policy by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1373](https://redirect.github.com/web-infra-dev/rslib/pull/1373)
- chore(deps): bump Rsbuild 1.6.12 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1375](https://redirect.github.com/web-infra-dev/rslib/pull/1375)
- Release v0.18.3 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1376](https://redirect.github.com/web-infra-dev/rslib/pull/1376)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.18.2...v0.18.3>
###
[`v0.18.2`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.18.2)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.18.1...v0.18.2)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### What's Changed
##### New Features 🎉
- feat: default exclude `@types/react` from dts bundle by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1365](https://redirect.github.com/web-infra-dev/rslib/pull/1365)
##### Bug Fixes 🐞
- fix: clean declaration maps before the build starts by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1363](https://redirect.github.com/web-infra-dev/rslib/pull/1363)
##### Other Changes
- test: refactor dts tests to split into multiple test files by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1364](https://redirect.github.com/web-infra-dev/rslib/pull/1364)
- chore(deps): bump Rsbuild 1.6.9 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1366](https://redirect.github.com/web-infra-dev/rslib/pull/1366)
- Release v0.18.2 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1367](https://redirect.github.com/web-infra-dev/rslib/pull/1367)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.18.1...v0.18.2>
###
[`v0.18.1`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.18.1)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.18.0...v0.18.1)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### What's Changed
##### Bug Fixes 🐞
- fix(dts): gracefully shutdown when panic by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1343](https://redirect.github.com/web-infra-dev/rslib/pull/1343)
- fix: use native plugin to handle hashbang and react directives by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1331](https://redirect.github.com/web-infra-dev/rslib/pull/1331)
- fix: should only make entry doppelganger in non-advanced ESM by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1352](https://redirect.github.com/web-infra-dev/rslib/pull/1352)
- fix(create-rslib): use current package manager in templates by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1354](https://redirect.github.com/web-infra-dev/rslib/pull/1354)
- fix(create-rslib): merge AGENTS.md in different tools by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1356](https://redirect.github.com/web-infra-dev/rslib/pull/1356)
- fix: emit correct warning message when no entry found in bundleless
mode by [@​Timeless0911](https://redirect.github.com/Timeless0911)
in
[#​1359](https://redirect.github.com/web-infra-dev/rslib/pull/1359)
##### Document 📖
- docs: transparent nav at top by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1341](https://redirect.github.com/web-infra-dev/rslib/pull/1341)
- docs: refactor section headers by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1342](https://redirect.github.com/web-infra-dev/rslib/pull/1342)
- docs: remove HomeBackground and navTransparent hack by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1344](https://redirect.github.com/web-infra-dev/rslib/pull/1344)
- docs: twoslash cache false by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1350](https://redirect.github.com/web-infra-dev/rslib/pull/1350)
##### Other Changes
- test: fix flaky watching file cases by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1345](https://redirect.github.com/web-infra-dev/rslib/pull/1345)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1346](https://redirect.github.com/web-infra-dev/rslib/pull/1346)
- chore(deps): update actions/checkout digest to
[`93cb6ef`](https://redirect.github.com/web-infra-dev/rslib/commit/93cb6ef)
by [@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1347](https://redirect.github.com/web-infra-dev/rslib/pull/1347)
- test: recover assets with public path tests by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1349](https://redirect.github.com/web-infra-dev/rslib/pull/1349)
- chore(deps): update glob to solve security vulnerabilities by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1348](https://redirect.github.com/web-infra-dev/rslib/pull/1348)
- test: simplify cli watch test by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1351](https://redirect.github.com/web-infra-dev/rslib/pull/1351)
- chore(deps): update Rspress v2.0.0-rc.1 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1353](https://redirect.github.com/web-infra-dev/rslib/pull/1353)
- chore(deps): update actions/checkout action to v6 by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1357](https://redirect.github.com/web-infra-dev/rslib/pull/1357)
- chore(deps): update mf packages and rm unused packages in
trustPolicyExclude by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1358](https://redirect.github.com/web-infra-dev/rslib/pull/1358)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1361](https://redirect.github.com/web-infra-dev/rslib/pull/1361)
- Release v0.18.1 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1362](https://redirect.github.com/web-infra-dev/rslib/pull/1362)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.18.0...v0.18.1>
###
[`v0.18.0`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.18.0)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.17.2...v0.18.0)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
##### Highlights 💡
##### Enable persistent build cache by default
Rslib enables Rspack's persistent build cache by default, allowing it to
reuse the cached results instead of rebuilding from scratch, which can
significantly reduce build time for large projects.
```ts
// rslib.config.ts
export default {
performance: {
buildCache: true,
},
};
```
More details:
- [performance.buildCache -
Rsbuild](https://rsbuild.rs/config/performance/build-cache)
- [experiments.cache -
Rspack](https://rspack.rs/config/experiments#experimentscache)
##### What's Changed
##### New Features 🎉
- feat: enable buildCache by default by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1334](https://redirect.github.com/web-infra-dev/rslib/pull/1334)
##### Document 📖
- docs: update some configurations of Rspress v2 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1339](https://redirect.github.com/web-infra-dev/rslib/pull/1339)
##### Other Changes
- chore(deps): bump Rslib 0.17.2 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1337](https://redirect.github.com/web-infra-dev/rslib/pull/1337)
- security: enable pnpm's no-downgrade trustPolicy by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1333](https://redirect.github.com/web-infra-dev/rslib/pull/1333)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1338](https://redirect.github.com/web-infra-dev/rslib/pull/1338)
- Release v0.18.0 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1340](https://redirect.github.com/web-infra-dev/rslib/pull/1340)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.17.2...v0.18.0>
###
[`v0.17.2`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.17.2)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.17.1...v0.17.2)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### What's Changed
##### New Features 🎉
- feat: log a flag to mark first compile done in watch mode by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1330](https://redirect.github.com/web-infra-dev/rslib/pull/1330)
##### Bug Fixes 🐞
- fix: do not modify mf’s output config by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1322](https://redirect.github.com/web-infra-dev/rslib/pull/1322)
- fix: upgrade MF\@​0.21.3 to fix lazy compilation issue by
[@​2heal1](https://redirect.github.com/2heal1) in
[#​1327](https://redirect.github.com/web-infra-dev/rslib/pull/1327)
- fix(create-rslib): support repeatable `—tools` flag by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1328](https://redirect.github.com/web-infra-dev/rslib/pull/1328)
##### Document 📖
- docs: remove complex twoslash code block by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1302](https://redirect.github.com/web-infra-dev/rslib/pull/1302)
- docs: assets output filename and distPath by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1332](https://redirect.github.com/web-infra-dev/rslib/pull/1332)
##### Other Changes
- test: set max workers number by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1323](https://redirect.github.com/web-infra-dev/rslib/pull/1323)
- chore(deps): bump Rstest 0.6.2 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1324](https://redirect.github.com/web-infra-dev/rslib/pull/1324)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1326](https://redirect.github.com/web-infra-dev/rslib/pull/1326)
- chore(build): use advanced ESM by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1325](https://redirect.github.com/web-infra-dev/rslib/pull/1325)
- chore(deps): bump Rsbuild 1.6.6 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1335](https://redirect.github.com/web-infra-dev/rslib/pull/1335)
- Release v0.17.2 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1336](https://redirect.github.com/web-infra-dev/rslib/pull/1336)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.17.1...v0.17.2>
###
[`v0.17.1`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.17.1)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.17.0...v0.17.1)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### What's Changed
##### New Features 🎉
- feat: export Rsbuild types by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1314](https://redirect.github.com/web-infra-dev/rslib/pull/1314)
- feat(CLI): run `rslib` without any sub-command to trigger build by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1316](https://redirect.github.com/web-infra-dev/rslib/pull/1316)
- feat(create-rslib): add AGENTS.md by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1317](https://redirect.github.com/web-infra-dev/rslib/pull/1317)
- feat: runtime chunk name default to `rslib-runtime` by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1320](https://redirect.github.com/web-infra-dev/rslib/pull/1320)
##### Bug Fixes 🐞
- fix(create-rslib): compatible with Storybook 10 by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1310](https://redirect.github.com/web-infra-dev/rslib/pull/1310)
- fix: verbose Rslib normalized config only in Rslib debug mode by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1312](https://redirect.github.com/web-infra-dev/rslib/pull/1312)
- fix: remove externalsPresets.node by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1318](https://redirect.github.com/web-infra-dev/rslib/pull/1318)
##### Other Changes
- chore(deps): update dependency vitest to v4 by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1306](https://redirect.github.com/web-infra-dev/rslib/pull/1306)
- chore(deps): update dependency
[@​types/node](https://redirect.github.com/types/node) to v24 by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1305](https://redirect.github.com/web-infra-dev/rslib/pull/1305)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1307](https://redirect.github.com/web-infra-dev/rslib/pull/1307)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1308](https://redirect.github.com/web-infra-dev/rslib/pull/1308)
- chore: add type module to package.json in examples by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1313](https://redirect.github.com/web-infra-dev/rslib/pull/1313)
- chore: rename rsbuildConfig to config by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​1315](https://redirect.github.com/web-infra-dev/rslib/pull/1315)
- chore(deps): bump Rsbuild 1.6.2 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1319](https://redirect.github.com/web-infra-dev/rslib/pull/1319)
- Release v0.17.1 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1321](https://redirect.github.com/web-infra-dev/rslib/pull/1321)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.17.0...v0.17.1>
###
[`v0.17.0`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.17.0)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.16.1...v0.17.0)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### Highlights 💡
##### Improved ESM output
Optimizing ESM output has long been one of the key challenges faced by
Rspack. Previously, we relied on [module
concatenation](https://rspack.rs/config/optimization#optimizationconcatenatemodules)
to optimize ESM outputs, but that approach had several limitations:
- **Impure output** – The generated files contained Rspack's runtime
code.
- **Prone to errors** – Some modules could not be correctly
concatenated, leading to unexpected runtime issues.
- **Limited code-splitting support** – Split bundles became complex and
difficult to analyze or optimize statically.
To address these issues once and for all, we introduced an experimental
plugin called
[EsmLibraryPlugin](https://rspack.rs/plugins/rspack/esm-library-plugin),
purpose-built for constructing clean and efficient ESM libraries:
- **Full control over the bundling process** – All modules are linked
during compilation, eliminating reliance on Rspack's runtime.
- **Code-splitting support** – Code after splitting can be statically
analyzed and is tree-shaking friendly.
The image below compares the code splitting output before and after
using this plugin — the left side shows the previous output, while the
right side shows the cleaner output produced by EsmLibraryPlugin:

In Rslib, the EsmLibraryPlugin is now integrated out-of-the-box with
[experiments.advancedEsm](https://rslib.rs/config/lib/experiments#experimentsadvancedesm)
enabled to generate ESM output that is high-quality, more friendly to
static analysis, and supports code splitting.
```ts
export default {
lib: [
{
format: 'esm',
bundle: true,
experiments: {
advancedEsm: true,
},
},
],
};
```
> \[!TIP]
> Currently this option only takes effect in bundle mode when format is
`'esm'`.
#### What's Changed
##### New Features 🎉
- feat: introduce `experiments.advancedEsm` with Rspack's
EsmLibraryPlugin by
[@​JSerFeng](https://redirect.github.com/JSerFeng) in
[#​1273](https://redirect.github.com/web-infra-dev/rslib/pull/1273)
##### Other Changes
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1293](https://redirect.github.com/web-infra-dev/rslib/pull/1293)
- chore(deps): update dependency nx to v22 by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1294](https://redirect.github.com/web-infra-dev/rslib/pull/1294)
- ci: add ecosystem CI by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1296](https://redirect.github.com/web-infra-dev/rslib/pull/1296)
- ci: add per commit notify by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1298](https://redirect.github.com/web-infra-dev/rslib/pull/1298)
- ci: fix yaml file by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1299](https://redirect.github.com/web-infra-dev/rslib/pull/1299)
- ci: add main branch to ecosystem-ci by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1300](https://redirect.github.com/web-infra-dev/rslib/pull/1300)
- ci: remove useless input by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1301](https://redirect.github.com/web-infra-dev/rslib/pull/1301)
- chore(deps): bump Rsbuild 1.6.0 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1303](https://redirect.github.com/web-infra-dev/rslib/pull/1303)
- Release v0.17.0 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1304](https://redirect.github.com/web-infra-dev/rslib/pull/1304)
#### New Contributors
- [@​JSerFeng](https://redirect.github.com/JSerFeng) made their
first contribution in
[#​1273](https://redirect.github.com/web-infra-dev/rslib/pull/1273)
**Full Changelog**:
<https://github.com/web-infra-dev/rslib/compare/v0.16.1...v0.17.0>
###
[`v0.16.1`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.16.1)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.16.0...v0.16.1)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### What's Changed
##### Bug Fixes 🐞
- fix: align esX browserslist expression to SWC by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1287](https://redirect.github.com/web-infra-dev/rslib/pull/1287)
##### Other Changes
- chore(CI): extract reusable yml and remove Node 20 tests by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1283](https://redirect.github.com/web-infra-dev/rslib/pull/1283)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1284](https://redirect.github.com/web-infra-dev/rslib/pull/1284)
- chore: bump Rsbuild 1.6.0-beta.1 and remove special `output.distPath`
merge logic by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1285](https://redirect.github.com/web-infra-dev/rslib/pull/1285)
- chor
</details>
---
### Configuration
📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, on day
1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rstackjs/rsbuild-plugin-tailwindcss).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Mi4xIiwidXBkYXRlZEluVmVyIjoiNDIuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Qingyu Wang <40660121+colinaaa@users.noreply.github.com>1 parent d1b141a commit e2bc1b9
4 files changed
Lines changed: 195 additions & 289 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
39 | 38 | | |
40 | | - | |
| 39 | + | |
41 | 40 | | |
42 | | - | |
43 | | - | |
| 41 | + | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
| 53 | + | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
0 commit comments