Commit bc71f3b
chore(deps): update dependency @rslib/core to ^0.15.0 (#1828)
> [!NOTE]
> Mend has cancelled [the proposed
renaming](https://redirect.github.com/renovatebot/renovate/discussions/37842)
of the Renovate GitHub app being renamed to `mend[bot]`.
>
> This notice will be removed on 2025-10-07.
<hr>
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [@rslib/core](https://rslib.rs)
([source](https://redirect.github.com/web-infra-dev/rslib/tree/HEAD/packages/core))
| [`^0.13.3` ->
`^0.15.0`](https://renovatebot.com/diffs/npm/@rslib%2fcore/0.13.3/0.15.0)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>web-infra-dev/rslib (@​rslib/core)</summary>
###
[`v0.15.0`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.15.0)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.14.0...v0.15.0)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### Highlights 💡
##### Preserve JSX
Rslib supports setting the JSX runtime to `'preserve'` to leave JSX
syntax unchanged without transforming it, which is useful when you
expect JSX to be left as is in library development.
<img alt="Preserve JSX"
src="https://github.com/user-attachments/assets/70aeb34c-427d-44fb-85e1-99d5a7283440"
width="400" />
> See [JSX transform -
React](https://rslib.rs/guide/solution/react#jsx-transform) for more
details.
#### What's Changed
##### New Features 🎉
- feat: support JSX preserve by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1244](https://redirect.github.com/web-infra-dev/rslib/pull/1244)
- feat: support inspect Rslib config by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1255](https://redirect.github.com/web-infra-dev/rslib/pull/1255)
##### Bug Fixes 🐞
- fix(create-rslib): drop legacy Storybook packages by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1252](https://redirect.github.com/web-infra-dev/rslib/pull/1252)
##### Document 📖
- docs: correct rslib mf command in README by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1245](https://redirect.github.com/web-infra-dev/rslib/pull/1245)
- docs: update examples link by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1246](https://redirect.github.com/web-infra-dev/rslib/pull/1246)
- docs(zh): translate bundle example heading by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1248](https://redirect.github.com/web-infra-dev/rslib/pull/1248)
- docs: specify
[@​storybook/addon-essentials](https://redirect.github.com/storybook/addon-essentials)
next version by [@​nyqykk](https://redirect.github.com/nyqykk) in
[#​1250](https://redirect.github.com/web-infra-dev/rslib/pull/1250)
- docs(AGENTS.md): refine by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​1251](https://redirect.github.com/web-infra-dev/rslib/pull/1251)
##### Other Changes
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1253](https://redirect.github.com/web-infra-dev/rslib/pull/1253)
- chore(deps): bump Rsbuild 1.5.13 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1256](https://redirect.github.com/web-infra-dev/rslib/pull/1256)
- Release v0.15.0 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1259](https://redirect.github.com/web-infra-dev/rslib/pull/1259)
**Full Changelog**:
<web-infra-dev/rslib@v0.14.0...v0.15.0>
###
[`v0.14.0`](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.14.0)
[Compare
Source](https://redirect.github.com/web-infra-dev/rslib/compare/v0.13.3...v0.14.0)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### Breaking changes 🚨
##### Config loading
Currently, configuration files are loaded with
[jiti](https://redirect.github.com/unjs/jiti), which relies on Babel.
This approach is relatively slow (at least \~70ms slower compared to
native).
In Rslib
[v0.13.3](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.13.3),
we introduced a new CLI option `--config-loader native`, which uses
Node.js's native loader. This approach offers better performance and
stricter behavior, but comes with certain requirements:
- Requires Node v22.18+ with built-in TypeScript support
- Import specifiers must include file extensions
- When using TypeScript, `package.json` must set `"type": "module"`
- Importing JSON requires `with { type: "json" }`
In Rslib
[v0.14.0](https://redirect.github.com/web-infra-dev/rslib/releases/tag/v0.14.0),
we adjust the default configuration loading behavior. The new default is
now `--config-loader auto`, which:
- First attempts to use the faster native loader
- If that fails, it gracefully falls back to jiti for broader
compatibility
This change to `'auto'` as the default is part of our long-term plan to
[transition config loading from jiti to Node.js
native](https://redirect.github.com/web-infra-dev/rsbuild/discussions/6188).
#### What's Changed
##### New Features 🎉
- feat!: config loader default to `'auto'` by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1240](https://redirect.github.com/web-infra-dev/rslib/pull/1240)
- feat(CLI): support `logLevel` by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1238](https://redirect.github.com/web-infra-dev/rslib/pull/1238)
##### Bug Fixes 🐞
- fix(docs): use `rp-not-doc` for rsbuild doc badge by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1236](https://redirect.github.com/web-infra-dev/rslib/pull/1236)
##### Other Changes
- chore(deps): update dependency ora to v9 by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1230](https://redirect.github.com/web-infra-dev/rslib/pull/1230)
- chore(deps): update dependency ubuntu to v24 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1231](https://redirect.github.com/web-infra-dev/rslib/pull/1231)
- chore(renovate): ignore `jsdom` due to Node.js version limit by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1233](https://redirect.github.com/web-infra-dev/rslib/pull/1233)
- chore: update tailwind v4 in test cases by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1232](https://redirect.github.com/web-infra-dev/rslib/pull/1232)
- chore(deps): bump Rsbuild 1.5.9 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1234](https://redirect.github.com/web-infra-dev/rslib/pull/1234)
- chore(deps): update all non-major dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​1235](https://redirect.github.com/web-infra-dev/rslib/pull/1235)
- chore(deps): bump Rsbuild 1.5.11 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1241](https://redirect.github.com/web-infra-dev/rslib/pull/1241)
- test: make test logs clear by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1242](https://redirect.github.com/web-infra-dev/rslib/pull/1242)
- Release v0.14.0 by
[@​Timeless0911](https://redirect.github.com/Timeless0911) in
[#​1243](https://redirect.github.com/web-infra-dev/rslib/pull/1243)
**Full Changelog**:
<web-infra-dev/rslib@v0.13.3...v0.14.0>
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- 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/lynx-family/lynx-stack).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJib3Q6cmVub3ZhdGUiXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Qingyu Wang <[email protected]>1 parent 8dd1ecb commit bc71f3b
File tree
3 files changed
+17
-13
lines changed- packages/react/testing-library
3 files changed
+17
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | | - | |
59 | | - | |
| 62 | + | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments