Skip to content

Commit 8dd1ecb

Browse files
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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@rsbuild%2fcore/1.5.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rsbuild%2fcore/1.5.12/1.5.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>web-infra-dev/rsbuild (@&#8203;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 [@&#8203;fi3ework](https://redirect.github.com/fi3ework) in [#&#8203;6240](https://redirect.github.com/web-infra-dev/rsbuild/pull/6240) - feat(core): simplify config option of createRsbuild by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6245](https://redirect.github.com/web-infra-dev/rsbuild/pull/6245) - feat: display browser runtime errors in the terminal by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6251](https://redirect.github.com/web-infra-dev/rsbuild/pull/6251) - feat: add `dev.browserLogs` configuration by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6253](https://redirect.github.com/web-infra-dev/rsbuild/pull/6253) - feat: add support for displaying unhandled rejection logs in terminal by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6254](https://redirect.github.com/web-infra-dev/rsbuild/pull/6254) - feat: enhance browser logs with source file locations by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6260](https://redirect.github.com/web-infra-dev/rsbuild/pull/6260) - feat: implement deduplication for browser error logs by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6283](https://redirect.github.com/web-infra-dev/rsbuild/pull/6283) - feat(deps): update dependency [@&#8203;rspack/core](https://redirect.github.com/rspack/core) to v1.5.8 by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6285](https://redirect.github.com/web-infra-dev/rsbuild/pull/6285) ##### Performance 🚀 - perf: replace source-map with [@&#8203;jridgewell/trace-mapping](https://redirect.github.com/jridgewell/trace-mapping) by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6273](https://redirect.github.com/web-infra-dev/rsbuild/pull/6273) - perf: optimize module resolution of compiled packages by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6274](https://redirect.github.com/web-infra-dev/rsbuild/pull/6274) ##### Bug Fixes 🐞 - fix(browser-logs): should skip anonymous frame by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6261](https://redirect.github.com/web-infra-dev/rsbuild/pull/6261) - fix(browser-logs): deduplicate consecutive runtime error logs by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6263](https://redirect.github.com/web-infra-dev/rsbuild/pull/6263) - fix: skip browser error reporting for webpack by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6264](https://redirect.github.com/web-infra-dev/rsbuild/pull/6264) - fix: skip browser error logs when build fails by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6270](https://redirect.github.com/web-infra-dev/rsbuild/pull/6270) - fix: mark custom compiler option as deprecated by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6272](https://redirect.github.com/web-infra-dev/rsbuild/pull/6272) - fix: print the more concise module name if it exists by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6280](https://redirect.github.com/web-infra-dev/rsbuild/pull/6280) - fix: prioritize custom file path in error logs by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6281](https://redirect.github.com/web-infra-dev/rsbuild/pull/6281) - fix: replace the deprecated url.parse in assets middleware by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6284](https://redirect.github.com/web-infra-dev/rsbuild/pull/6284) ##### Refactor 🔨 - refactor: extract server assets middleware by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6257](https://redirect.github.com/web-infra-dev/rsbuild/pull/6257) - refactor(assets-middleware): simplify paths handling and server hooks by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6258](https://redirect.github.com/web-infra-dev/rsbuild/pull/6258) - refactor(server): make filename helper independent of assets middleware context by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6259](https://redirect.github.com/web-infra-dev/rsbuild/pull/6259) - refactor: simplify variable naming in HMR client by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6266](https://redirect.github.com/web-infra-dev/rsbuild/pull/6266) - refactor(assets-middleware): simplify context management by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6269](https://redirect.github.com/web-infra-dev/rsbuild/pull/6269) ##### Document 📖 - docs(plugin-react): add 'preserve' option to JSX runtime by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6244](https://redirect.github.com/web-infra-dev/rsbuild/pull/6244) - docs: update type checking guide with tsc/vue-tsc by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6279](https://redirect.github.com/web-infra-dev/rsbuild/pull/6279) - docs: add web workers browser compatibility tips by [@&#8203;9aoy](https://redirect.github.com/9aoy) in [#&#8203;6282](https://redirect.github.com/web-infra-dev/rsbuild/pull/6282) ##### Other Changes - release: [@&#8203;rsbuild/plugin-react](https://redirect.github.com/rsbuild/plugin-react) v1.4.1 by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6241](https://redirect.github.com/web-infra-dev/rsbuild/pull/6241) - test(e2e): add test cases for preserve JSX runtime by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6243](https://redirect.github.com/web-infra-dev/rsbuild/pull/6243) - test: rename rsbuildConfig to config in test files by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6246](https://redirect.github.com/web-infra-dev/rsbuild/pull/6246) - test(e2e): move plugins config into config object in test cases by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6247](https://redirect.github.com/web-infra-dev/rsbuild/pull/6247) - test(e2e): replace manual file lookup with helpers by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6248](https://redirect.github.com/web-infra-dev/rsbuild/pull/6248) - test(e2e): standardize file content assertions using helper functions by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6249](https://redirect.github.com/web-infra-dev/rsbuild/pull/6249) - chore: remove pug-related chain IDs as they are unused by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6250](https://redirect.github.com/web-infra-dev/rsbuild/pull/6250) - test: add browser logs test case for error forwarding by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6252](https://redirect.github.com/web-infra-dev/rsbuild/pull/6252) - test(e2e): print original logs when expectLog failed by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6255](https://redirect.github.com/web-infra-dev/rsbuild/pull/6255) - chore(deps): update dependency [@&#8203;rstest/core](https://redirect.github.com/rstest/core) to ^0.5.0 by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;6256](https://redirect.github.com/web-infra-dev/rsbuild/pull/6256) - test(e2e): add Vue error logging test cases by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6262](https://redirect.github.com/web-infra-dev/rsbuild/pull/6262) - chore(socket): rename message types for better clarity by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6265](https://redirect.github.com/web-infra-dev/rsbuild/pull/6265) - chore: add build state tracking to internal context by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;6268](https://redirect.github.com/web-infra-dev/rsbuild/pull/6268) - chore(deps): update dependency [@&#8203;rsdoctor/rspack-plugin](https://redirect.github.com/rsdoctor/rspack-plugin) to v1.3.1 by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;6271](https://redirect.github.com/web-infra-dev/rsbuild/pull/6271) - chore(deps): update dependency memfs to ^4.47.0 by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;6278](https://redirect.github.com/web-infra-dev/rsbuild/pull/6278) - chore(deps): update all patch dependencies by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in [#&#8203;6277](https://redirect.github.com/web-infra-dev/rsbuild/pull/6277) - release: v1.5.13 by [@&#8203;chenjiahan](https://redirect.github.com/chenjiahan) in [#&#8203;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

4 files changed

+70
-68
lines changed

.changeset/lemon-rivers-teach.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@lynx-js/rspeedy": patch
3+
---
4+
5+
Bump Rsbuild v1.5.13 with Rspack v1.5.8.

packages/rspeedy/core/test/plugins/dev.plugin.test.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,16 +154,13 @@ describe('Plugins - Dev', () => {
154154
await rsbuild.createDevServer({ compiler })
155155

156156
// See: https://github.com/web-infra-dev/rsbuild/pull/2303
157-
expect(compiler.hooks.compile.taps.map(i => i.name)).toMatchInlineSnapshot(`
158-
[
159-
"rsbuild-dev-server",
160-
]
161-
`)
157+
expect(compiler.hooks.compile.taps.map(i => i.name)).toMatchInlineSnapshot(
158+
`[]`,
159+
)
162160

163161
expect(compiler.hooks.invalid.taps.map(i => i.name)).toMatchInlineSnapshot(`
164162
[
165163
"rsbuild-dev-server",
166-
"rsbuild-dev-middleware",
167164
]
168165
`)
169166

0 commit comments

Comments
 (0)