Skip to content

[pull] main from lynx-family:main#284

Merged
pull[bot] merged 6 commits intocolinaaa:mainfrom
lynx-family:main
Aug 15, 2025
Merged

[pull] main from lynx-family:main#284
pull[bot] merged 6 commits intocolinaaa:mainfrom
lynx-family:main

Conversation

@pull
Copy link

@pull pull bot commented Aug 15, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

PupilTong and others added 6 commits August 15, 2025 19:45
…t 'all-in-one' (#1504)

<!--
  Thank you for submitting a pull request!

We appreciate the time and effort you have invested in making these
changes. Please ensure that you provide enough information to allow
others to review your pull request.

Upon submission, your pull request will be automatically assigned with
reviewers.

If you want to learn more about contributing to this project, please
visit:
https://github.com/lynx-family/lynx-stack/blob/main/CONTRIBUTING.md.
-->

<!-- The AI summary below will be auto-generated - feel free to replace
it with your own. -->

close #1221

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Behavior Changes**
* inlineScripts now defaults to disabled when chunk-splitting strategy
is not "all-in-one"; string-extraction is disabled in that mode and
emits a runtime warning.

* **Documentation**
* Clarified default inline script behavior when chunk-splitting is not
"all-in-one."

* **Tests**
* Added tests validating inlineScripts defaults, override behavior, and
function/string representation across chunk-splitting strategies.

* **Chores**
  * Added a changeset for a patch release.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

## Checklist

<!--- Check and mark with an "x" -->

- [ ] Tests updated (or not required).
- [ ] Documentation updated (or not required).
- [ ] Changeset added, and when a BREAKING CHANGE occurs, it needs to be
clearly marked (or not required).

---------

Signed-off-by: BitterGourd <91231822+gaoachao@users.noreply.github.com>
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [@rslib/core](https://rslib.rs)
([source](https://github.com/web-infra-dev/rslib/tree/HEAD/packages/core))
| [`^0.12.0` ->
`^0.12.1`](https://renovatebot.com/diffs/npm/@rslib%2fcore/0.12.0/0.12.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@rslib%2fcore/0.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rslib%2fcore/0.12.0/0.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>web-infra-dev/rslib (@&#8203;rslib/core)</summary>

###
[`v0.12.1`](https://github.com/web-infra-dev/rslib/releases/tag/v0.12.1)

[Compare
Source](https://github.com/web-infra-dev/rslib/compare/v0.12.0...v0.12.1)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### New Features 🎉

- feat(template): add Rstest by
[@&#8203;9aoy](https://github.com/9aoy) in
[https://github.com/web-infra-dev/rslib/pull/1166](https://github.com/web-infra-dev/rslib/pull/1166)

##### Other Changes

- chore(deps): bump Rslib v0.12 by
[@&#8203;Timeless0911](https://github.com/Timeless0911) in
[https://github.com/web-infra-dev/rslib/pull/1165](https://github.com/web-infra-dev/rslib/pull/1165)
- chore(deps): bump Rsbuild 1.5.0-beta.3 by
[@&#8203;Timeless0911](https://github.com/Timeless0911) in
[https://github.com/web-infra-dev/rslib/pull/1169](https://github.com/web-infra-dev/rslib/pull/1169)
- Release v0.12.1 by
[@&#8203;Timeless0911](https://github.com/Timeless0911) in
[https://github.com/web-infra-dev/rslib/pull/1170](https://github.com/web-infra-dev/rslib/pull/1170)

**Full Changelog**:
web-infra-dev/rslib@v0.12.0...v0.12.1

</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 becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiI0MS43MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuNzEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYm90OnJlbm92YXRlIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [@rspress/core](https://github.com/web-infra-dev/rspress)
([source](https://github.com/web-infra-dev/rspress/tree/HEAD/packages/cli/core))
| [`2.0.0-beta.26` ->
`2.0.0-beta.27`](https://renovatebot.com/diffs/npm/@rspress%2fcore/2.0.0-beta.26/2.0.0-beta.27)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@rspress%2fcore/2.0.0-beta.27?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rspress%2fcore/2.0.0-beta.26/2.0.0-beta.27?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@rspress/plugin-client-redirects](https://github.com/web-infra-dev/rspress)
([source](https://github.com/web-infra-dev/rspress/tree/HEAD/packages/plugin-client-redirects))
| [`2.0.0-beta.26` ->
`2.0.0-beta.27`](https://renovatebot.com/diffs/npm/@rspress%2fplugin-client-redirects/2.0.0-beta.26/2.0.0-beta.27)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@rspress%2fplugin-client-redirects/2.0.0-beta.27?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rspress%2fplugin-client-redirects/2.0.0-beta.26/2.0.0-beta.27?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@rstack-dev/doc-ui](https://github.com/rspack-contrib/rstack-doc-ui)
| [`1.10.9` ->
`1.10.10`](https://renovatebot.com/diffs/npm/@rstack-dev%2fdoc-ui/1.10.9/1.10.10)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@rstack-dev%2fdoc-ui/1.10.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rstack-dev%2fdoc-ui/1.10.9/1.10.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>web-infra-dev/rspress (@&#8203;rspress/core)</summary>

###
[`v2.0.0-beta.27`](https://github.com/web-infra-dev/rspress/releases/tag/v2.0.0-beta.27)

[Compare
Source](https://github.com/web-infra-dev/rspress/compare/v2.0.0-beta.26...v2.0.0-beta.27)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

##### Highlights ✨

##### Add layer for base.css to support tailwind v4

> related PR:
[https://github.com/web-infra-dev/rspress/pull/2477](https://github.com/web-infra-dev/rspress/pull/2477)

##### What's Changed

##### New Features 🎉

- feat(theme)!: add layer for base.css to support tailwind v4 by
[@&#8203;SoonIter](https://github.com/SoonIter) in
[https://github.com/web-infra-dev/rspress/pull/2477](https://github.com/web-infra-dev/rspress/pull/2477)

##### Bug Fixes 🐞

- fix: export `usePage` to replace deprecated `usePageData` by
[@&#8203;JounQin](https://github.com/JounQin) in
[https://github.com/web-infra-dev/rspress/pull/2471](https://github.com/web-infra-dev/rspress/pull/2471)
- fix: revert asset link support and fix the corner case when filename
contains dot by [@&#8203;SoonIter](https://github.com/SoonIter)
in
[https://github.com/web-infra-dev/rspress/pull/2473](https://github.com/web-infra-dev/rspress/pull/2473)

##### Document 📖

- docs(mdx): add markdown container part by
[@&#8203;SoonIter](https://github.com/SoonIter) in
[https://github.com/web-infra-dev/rspress/pull/2467](https://github.com/web-infra-dev/rspress/pull/2467)

##### Other Changes

- chore(core): add runtime alias by default for multi-instance problem
in monorepo by [@&#8203;SoonIter](https://github.com/SoonIter)
in
[https://github.com/web-infra-dev/rspress/pull/2463](https://github.com/web-infra-dev/rspress/pull/2463)
- chore: remove unused constant by
[@&#8203;SoonIter](https://github.com/SoonIter) in
[https://github.com/web-infra-dev/rspress/pull/2465](https://github.com/web-infra-dev/rspress/pull/2465)
- refactor(theme): usePageData => usePage by
[@&#8203;SoonIter](https://github.com/SoonIter) in
[https://github.com/web-infra-dev/rspress/pull/2466](https://github.com/web-infra-dev/rspress/pull/2466)
- chore(theme): rename useSiteData to useSite by
[@&#8203;SoonIter](https://github.com/SoonIter) in
[https://github.com/web-infra-dev/rspress/pull/2474](https://github.com/web-infra-dev/rspress/pull/2474)
- chore(infra/script): update css typed modules by
[@&#8203;SoonIter](https://github.com/SoonIter) in
[https://github.com/web-infra-dev/rspress/pull/2476](https://github.com/web-infra-dev/rspress/pull/2476)
- chore: move website to the workspace root by
[@&#8203;chenjiahan](https://github.com/chenjiahan) in
[https://github.com/web-infra-dev/rspress/pull/2478](https://github.com/web-infra-dev/rspress/pull/2478)
- Release v2.0.0-beta.27 by
[@&#8203;SoonIter](https://github.com/SoonIter) in
[https://github.com/web-infra-dev/rspress/pull/2480](https://github.com/web-infra-dev/rspress/pull/2480)

**Full Changelog**:
web-infra-dev/rspress@v2.0.0-beta.26...v2.0.0-beta.27

</details>

<details>
<summary>rspack-contrib/rstack-doc-ui
(@&#8203;rstack-dev/doc-ui)</summary>

###
[`v1.10.10`](https://github.com/rspack-contrib/rstack-doc-ui/releases/tag/v1.10.10)

[Compare
Source](https://github.com/rspack-contrib/rstack-doc-ui/compare/v1.10.9...v1.10.10)

**Full Changelog**:
rstackjs/rstack-doc-ui@v1.10.9...v1.10.10

</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 becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://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/lynx-family/lynx-stack).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS42Ni4yIiwidXBkYXRlZEluVmVyIjoiNDEuNzEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYm90OnJlbm92YXRlIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @lynx-js/react@0.112.3

### Patch Changes

- fix css transform error in testing library
([#1500](#1500))

- fix the type error of `wrapper` option in testing library's `render`
and `renderHook` function
([#1502](#1502))

- Introduce recursive hydration for lists to prevent double
remove/insert on moves.
([#1401](#1401))

- Handle `<frame/>` correctly.
([#1497](#1497))

## @lynx-js/rspeedy@0.10.7

### Patch Changes

- `output.inlineScripts` defaults to `false` when chunkSplit strategy is
not `'all-in-one'`
([#1504](#1504))

## @lynx-js/react-rsbuild-plugin@0.10.12

### Patch Changes

- `output.inlineScripts` defaults to `false` when chunkSplit strategy is
not `'all-in-one'`
([#1504](#1504))

- Updated dependencies
\[[`51a0b19`](51a0b19),
[`b391ef5`](b391ef5)]:
    -   @lynx-js/template-webpack-plugin@0.8.4
    -   @lynx-js/css-extract-webpack-plugin@0.6.2
    -   @lynx-js/react-alias-rsbuild-plugin@0.10.12
    -   @lynx-js/use-sync-external-store@1.5.0
    -   @lynx-js/react-refresh-webpack-plugin@0.3.4
    -   @lynx-js/react-webpack-plugin@0.6.19

## @lynx-js/testing-environment@0.1.6

### Patch Changes

- Fix that `lynxTestingEnv.jsdom` cannot be initialized correctly when
`global.jsdom` is not defined.
([#1422](#1422))

## @lynx-js/web-constants@0.15.6

### Patch Changes

- fix: systeminfo in mts function
([#1537](#1537))

- feat: add MTS API: \_\_UpdateComponentInfo
([#1485](#1485))

- fix: `__ElementFromBinary` needs to correctly apply the dataset in
elementTemplate to the Element
([#1487](#1487))

- fix: all attributes except `id` and `type` under ElementTemplateData
are optional.
([#1483](#1483))

- feat: add MTS API \_\_GetAttributeByName
([#1486](#1486))

-   Updated dependencies \[]:
    -   @lynx-js/web-worker-rpc@0.15.6

## @lynx-js/web-core@0.15.6

### Patch Changes

- fix: systeminfo in mts function
([#1537](#1537))

- refactor: use utf-8 string
([#1473](#1473))

- Fix mtsGlobalThis race condition in createRenderAllOnUI
([#1506](#1506))

- Updated dependencies
\[[`405a917`](405a917),
[`b8f89e2`](b8f89e2),
[`f76aae9`](f76aae9),
[`b8b060b`](b8b060b),
[`d8381a5`](d8381a5),
[`214898b`](214898b),
[`ab8cee4`](ab8cee4)]:
    -   @lynx-js/web-mainthread-apis@0.15.6
    -   @lynx-js/web-constants@0.15.6
    -   @lynx-js/web-worker-runtime@0.15.6
    -   @lynx-js/web-worker-rpc@0.15.6

## @lynx-js/web-core-server@0.15.6

### Patch Changes

- refactor: use utf-8 string
([#1473](#1473))

## @lynx-js/web-mainthread-apis@0.15.6

### Patch Changes

- fix: systeminfo in mts function
([#1537](#1537))

- refactor: use utf-8 string
([#1473](#1473))

- feat: add MTS API: \_\_UpdateComponentInfo
([#1485](#1485))

- fix: \_\_ElementFromBinary should mark all elements actively
([#1484](#1484))

- fix: `__ElementFromBinary` needs to correctly apply the dataset in
elementTemplate to the Element
([#1487](#1487))

- fix: all attributes except `id` and `type` under ElementTemplateData
are optional.
([#1483](#1483))

- feat: add MTS API \_\_GetAttributeByName
([#1486](#1486))

- Updated dependencies
\[[`405a917`](405a917),
[`b8f89e2`](b8f89e2),
[`f76aae9`](f76aae9),
[`d8381a5`](d8381a5),
[`214898b`](214898b),
[`ab8cee4`](ab8cee4)]:
    -   @lynx-js/web-constants@0.15.6
    -   @lynx-js/web-style-transformer@0.15.6

## @lynx-js/web-style-transformer@0.15.6

### Patch Changes

- refactor: use utf-8 string
([#1473](#1473))

## @lynx-js/web-worker-runtime@0.15.6

### Patch Changes

- Updated dependencies
\[[`405a917`](405a917),
[`b8f89e2`](b8f89e2),
[`f76aae9`](f76aae9),
[`b8b060b`](b8b060b),
[`d8381a5`](d8381a5),
[`214898b`](214898b),
[`ab8cee4`](ab8cee4)]:
    -   @lynx-js/web-mainthread-apis@0.15.6
    -   @lynx-js/web-constants@0.15.6
    -   @lynx-js/web-worker-rpc@0.15.6

## @lynx-js/css-extract-webpack-plugin@0.6.2

### Patch Changes

- Fix "emit different content to the same filename" error
([#1482](#1482))

## @lynx-js/template-webpack-plugin@0.8.4

### Patch Changes

- Fix invalid `module.exports=;` syntax in app-service.js.
([#1501](#1501))

## create-rspeedy@0.10.7



## @lynx-js/react-alias-rsbuild-plugin@0.10.12



## upgrade-rspeedy@0.10.7



## @lynx-js/web-worker-rpc@0.15.6

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@pull pull bot requested a review from colinaaa as a code owner August 15, 2025 15:37
@pull pull bot locked and limited conversation to collaborators Aug 15, 2025
@pull pull bot added the ⤵️ pull label Aug 15, 2025
@pull pull bot merged commit f75fc99 into colinaaa:main Aug 15, 2025
1 of 9 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants