Commit 8dd1ecb
chore(deps): update dependency @rsbuild/core to v1.5.13 (#1849)
> [!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 |
|---|---|---|---|
| [@rsbuild/core](https://rsbuild.rs)
([source](https://redirect.github.com/web-infra-dev/rsbuild/tree/HEAD/packages/core))
| [`1.5.12` ->
`1.5.13`](https://renovatebot.com/diffs/npm/@rsbuild%2fcore/1.5.12/1.5.13)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>web-infra-dev/rsbuild (@​rsbuild/core)</summary>
###
[`v1.5.13`](https://redirect.github.com/web-infra-dev/rsbuild/releases/tag/v1.5.13)
[Compare
Source](https://redirect.github.com/web-infra-dev/rsbuild/compare/v1.5.12...v1.5.13)
<!-- Release notes generated using configuration in .github/release.yml
at main -->
#### Highlights 💡
##### Browser logs
Rsbuild now forwards browser errors to your terminal — giving your
coding agent more context 🤖.
<img width="600" height="792" alt="image"
src="https://github.com/user-attachments/assets/b4663eb1-6162-481d-814e-b43146febbad"
/>
This can be disabled via `dev.browserLogs` config:
```js
export default {
dev: {
browserLogs: false,
},
}
```
#### What's Changed
##### New Features 🎉
- feat(plugin-react): complete `preserve` React runtime by
[@​fi3ework](https://redirect.github.com/fi3ework) in
[#​6240](https://redirect.github.com/web-infra-dev/rsbuild/pull/6240)
- feat(core): simplify config option of createRsbuild by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6245](https://redirect.github.com/web-infra-dev/rsbuild/pull/6245)
- feat: display browser runtime errors in the terminal by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6251](https://redirect.github.com/web-infra-dev/rsbuild/pull/6251)
- feat: add `dev.browserLogs` configuration by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6253](https://redirect.github.com/web-infra-dev/rsbuild/pull/6253)
- feat: add support for displaying unhandled rejection logs in terminal
by [@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6254](https://redirect.github.com/web-infra-dev/rsbuild/pull/6254)
- feat: enhance browser logs with source file locations by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6260](https://redirect.github.com/web-infra-dev/rsbuild/pull/6260)
- feat: implement deduplication for browser error logs by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6283](https://redirect.github.com/web-infra-dev/rsbuild/pull/6283)
- feat(deps): update dependency
[@​rspack/core](https://redirect.github.com/rspack/core) to v1.5.8
by [@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6285](https://redirect.github.com/web-infra-dev/rsbuild/pull/6285)
##### Performance 🚀
- perf: replace source-map with
[@​jridgewell/trace-mapping](https://redirect.github.com/jridgewell/trace-mapping)
by [@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6273](https://redirect.github.com/web-infra-dev/rsbuild/pull/6273)
- perf: optimize module resolution of compiled packages by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6274](https://redirect.github.com/web-infra-dev/rsbuild/pull/6274)
##### Bug Fixes 🐞
- fix(browser-logs): should skip anonymous frame by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6261](https://redirect.github.com/web-infra-dev/rsbuild/pull/6261)
- fix(browser-logs): deduplicate consecutive runtime error logs by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6263](https://redirect.github.com/web-infra-dev/rsbuild/pull/6263)
- fix: skip browser error reporting for webpack by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6264](https://redirect.github.com/web-infra-dev/rsbuild/pull/6264)
- fix: skip browser error logs when build fails by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6270](https://redirect.github.com/web-infra-dev/rsbuild/pull/6270)
- fix: mark custom compiler option as deprecated by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6272](https://redirect.github.com/web-infra-dev/rsbuild/pull/6272)
- fix: print the more concise module name if it exists by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6280](https://redirect.github.com/web-infra-dev/rsbuild/pull/6280)
- fix: prioritize custom file path in error logs by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6281](https://redirect.github.com/web-infra-dev/rsbuild/pull/6281)
- fix: replace the deprecated url.parse in assets middleware by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6284](https://redirect.github.com/web-infra-dev/rsbuild/pull/6284)
##### Refactor 🔨
- refactor: extract server assets middleware by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6257](https://redirect.github.com/web-infra-dev/rsbuild/pull/6257)
- refactor(assets-middleware): simplify paths handling and server hooks
by [@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6258](https://redirect.github.com/web-infra-dev/rsbuild/pull/6258)
- refactor(server): make filename helper independent of assets
middleware context by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6259](https://redirect.github.com/web-infra-dev/rsbuild/pull/6259)
- refactor: simplify variable naming in HMR client by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6266](https://redirect.github.com/web-infra-dev/rsbuild/pull/6266)
- refactor(assets-middleware): simplify context management by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6269](https://redirect.github.com/web-infra-dev/rsbuild/pull/6269)
##### Document 📖
- docs(plugin-react): add 'preserve' option to JSX runtime by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6244](https://redirect.github.com/web-infra-dev/rsbuild/pull/6244)
- docs: update type checking guide with tsc/vue-tsc by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6279](https://redirect.github.com/web-infra-dev/rsbuild/pull/6279)
- docs: add web workers browser compatibility tips by
[@​9aoy](https://redirect.github.com/9aoy) in
[#​6282](https://redirect.github.com/web-infra-dev/rsbuild/pull/6282)
##### Other Changes
- release:
[@​rsbuild/plugin-react](https://redirect.github.com/rsbuild/plugin-react)
v1.4.1 by [@​chenjiahan](https://redirect.github.com/chenjiahan)
in
[#​6241](https://redirect.github.com/web-infra-dev/rsbuild/pull/6241)
- test(e2e): add test cases for preserve JSX runtime by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6243](https://redirect.github.com/web-infra-dev/rsbuild/pull/6243)
- test: rename rsbuildConfig to config in test files by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6246](https://redirect.github.com/web-infra-dev/rsbuild/pull/6246)
- test(e2e): move plugins config into config object in test cases by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6247](https://redirect.github.com/web-infra-dev/rsbuild/pull/6247)
- test(e2e): replace manual file lookup with helpers by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6248](https://redirect.github.com/web-infra-dev/rsbuild/pull/6248)
- test(e2e): standardize file content assertions using helper functions
by [@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6249](https://redirect.github.com/web-infra-dev/rsbuild/pull/6249)
- chore: remove pug-related chain IDs as they are unused by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6250](https://redirect.github.com/web-infra-dev/rsbuild/pull/6250)
- test: add browser logs test case for error forwarding by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6252](https://redirect.github.com/web-infra-dev/rsbuild/pull/6252)
- test(e2e): print original logs when expectLog failed by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6255](https://redirect.github.com/web-infra-dev/rsbuild/pull/6255)
- chore(deps): update dependency
[@​rstest/core](https://redirect.github.com/rstest/core) to ^0.5.0
by [@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​6256](https://redirect.github.com/web-infra-dev/rsbuild/pull/6256)
- test(e2e): add Vue error logging test cases by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6262](https://redirect.github.com/web-infra-dev/rsbuild/pull/6262)
- chore(socket): rename message types for better clarity by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6265](https://redirect.github.com/web-infra-dev/rsbuild/pull/6265)
- chore: add build state tracking to internal context by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6268](https://redirect.github.com/web-infra-dev/rsbuild/pull/6268)
- chore(deps): update dependency
[@​rsdoctor/rspack-plugin](https://redirect.github.com/rsdoctor/rspack-plugin)
to v1.3.1 by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​6271](https://redirect.github.com/web-infra-dev/rsbuild/pull/6271)
- chore(deps): update dependency memfs to ^4.47.0 by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​6278](https://redirect.github.com/web-infra-dev/rsbuild/pull/6278)
- chore(deps): update all patch dependencies by
[@​renovate](https://redirect.github.com/renovate)\[bot] in
[#​6277](https://redirect.github.com/web-infra-dev/rsbuild/pull/6277)
- release: v1.5.13 by
[@​chenjiahan](https://redirect.github.com/chenjiahan) in
[#​6286](https://redirect.github.com/web-infra-dev/rsbuild/pull/6286)
**Full Changelog**:
<web-infra-dev/rsbuild@v1.5.12...v1.5.13>
</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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJib3Q6cmVub3ZhdGUiXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Qingyu Wang <[email protected]>1 parent b3b5fe1 commit 8dd1ecb
File tree
4 files changed
+70
-68
lines changed- .changeset
- packages/rspeedy/core/test/plugins
4 files changed
+70
-68
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
162 | 160 | | |
163 | 161 | | |
164 | 162 | | |
165 | 163 | | |
166 | | - | |
167 | 164 | | |
168 | 165 | | |
169 | 166 | | |
| |||
0 commit comments