forked from lynx-family/lynx-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] main from lynx-family:main #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…al_isLazyBundle: true` (#653) <!-- 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. --> ## Summary <!-- Can you explain the reasoning behind implementing this change? What problem or issue does this pull request resolve? --> <!-- It would be helpful if you could provide any relevant context, such as GitHub issues or related discussions. --> Fixes #504 In this PR, we disabled HMR for standalone lazy bundle to ensure it works normally when it is served using `rspeedy dev`. When HMR is enabled, the bundle result will be like: ```js /************************************************************************/ // module cache are used so entry inlining is disabled // startup // Load entry module and return exports __webpack_require__("(react:background)/./src/index.tsx"); __webpack_require__("(react:background)/./node_modules/.pnpm/@rspack+core@1.3.6_@swc+helpers@0.5.17/node_modules/@rspack/core/hot/dev-server.js"); __webpack_require__("(react:background)/./node_modules/.pnpm/@lynx-js+webpack-dev-transport@0.1.2/node_modules/@lynx-js/webpack-dev-transport/lib/client/index.js?hostname=192.168.5.55&port=3000&pathname=/rsbuild-hmr&hot=true&live-reload=true&protocol=ws"); var __webpack_exports__ = __webpack_require__("(react:background)/./node_modules/.pnpm/@lynx-js+react@0.107.0_@lynx-js+types@3.2.1_@types+react@18.3.20/node_modules/@lynx-js/react/refresh/dist/index.js"); ``` It wrongly exports `@lynx-js/react/refresh/dist/index.js` as the default export, however `(react:background)/./src/index.tsx` is expected. ## Checklist <!--- Check and mark with an "x" --> - [x] Tests updated (or not required). - [ ] Documentation updated (or **not required**).
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@rspack/cli](https://rspack.dev) ([source](https://github.com/web-infra-dev/rspack/tree/HEAD/packages/rspack-cli)) | [`1.3.6` -> `1.3.8`](https://renovatebot.com/diffs/npm/@rspack%2fcli/1.3.6/1.3.8) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@rspack/core](https://rspack.dev) ([source](https://github.com/web-infra-dev/rspack/tree/HEAD/packages/rspack)) | [`1.3.6` -> `1.3.8`](https://renovatebot.com/diffs/npm/@rspack%2fcore/1.3.6/1.3.8) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@rspack/test-tools](https://rspack.dev) ([source](https://github.com/web-infra-dev/rspack/tree/HEAD/packages/rspack-test-tools)) | [`1.3.6` -> `1.3.8`](https://renovatebot.com/diffs/npm/@rspack%2ftest-tools/1.3.6/1.3.8) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>web-infra-dev/rspack (@​rspack/cli)</summary> ### [`v1.3.8`](https://github.com/web-infra-dev/rspack/releases/tag/v1.3.8) [Compare Source](https://github.com/web-infra-dev/rspack/compare/v1.3.7...v1.3.8) <!-- Release notes generated using configuration in .github/release.yml at v1.3.8 --> #### Highlights 💡 ##### Exposing SWC JS API Rspack now experimentally exposes some SWC JavaScript APIs via `rspack.experiments.swc`. This allows you to call SWC methods like `transform` or `minify` without installing the additional [@​swc/core](https://www.npmjs.com/package/@​swc/core) package. > See [SWC API](https://rspack.dev/api/javascript-api/swc) for more details. <img src="https://github.com/user-attachments/assets/20c24090-3d8e-46cd-a5af-cd316f58d7c0" width="600" /> #### What's Changed ##### Exciting New Features 🎉 * feat(incremental): silent warning and add presets by @​ahabh[https://github.com/web-infra-dev/rspack/pull/10175](https://github.com/web-infra-dev/rspack/pull/10175)/10175 * feat: add SWC transform and minify support by @​GiveMe-A-Na[https://github.com/web-infra-dev/rspack/pull/10201](https://github.com/web-infra-dev/rspack/pull/10201)/10201 * feat: support `origin.loc` on chunkgroup by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/10188](https://github.com/web-infra-dev/rspack/pull/10188)/10188 * feat: support regexp and function of `output.clean` by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/10207](https://github.com/web-infra-dev/rspack/pull/10207)/10207 * feat(incremental): add more tracing for debugging by @​ahabh[https://github.com/web-infra-dev/rspack/pull/10214](https://github.com/web-infra-dev/rspack/pull/10214)/10214 ##### Bug Fixes 🐞 * fix: print rspack version instead of webpack's (fix #​10189) by @​[https://github.com/web-infra-dev/rspack/pull/10190](https://github.com/web-infra-dev/rspack/pull/10190)k/pull/10190 * fix: slash in char match pattern of magic comments by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/10187](https://github.com/web-infra-dev/rspack/pull/10187)/10187 * fix: CI mulit rust cache file with the same cache key by @​stormslow[https://github.com/web-infra-dev/rspack/pull/10200](https://github.com/web-infra-dev/rspack/pull/10200)/10200 * fix: compiler js object cannot be gc by @​SyMi[https://github.com/web-infra-dev/rspack/pull/9685](https://github.com/web-infra-dev/rspack/pull/9685)l/9685 * fix: dead loop of circular dependency plugin by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/10212](https://github.com/web-infra-dev/rspack/pull/10212)/10212 * fix(core): temporarily disable lightningcss warning by @​hardfi[https://github.com/web-infra-dev/rspack/pull/10211](https://github.com/web-infra-dev/rspack/pull/10211)/10211 * fix(core): add tracing for native fs by @​hardfi[https://github.com/web-infra-dev/rspack/pull/10219](https://github.com/web-infra-dev/rspack/pull/10219)/10219 * fix: missing context depenendency by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/10221](https://github.com/web-infra-dev/rspack/pull/10221)/10221 * fix: copy zod types instead of bundling them by @​Timeless09[https://github.com/web-infra-dev/rspack/pull/10222](https://github.com/web-infra-dev/rspack/pull/10222)/10222 ##### Document Updates 📖 * docs: add `require.resolveWeak` module method by @​9a[https://github.com/web-infra-dev/rspack/pull/10203](https://github.com/web-infra-dev/rspack/pull/10203)/10203 * docs: improve CSS Modules documentation by @​chenjiah[https://github.com/web-infra-dev/rspack/pull/10209](https://github.com/web-infra-dev/rspack/pull/10209)/10209 * docs: add notice about lightningcss by @​hardfi[https://github.com/web-infra-dev/rspack/pull/10210](https://github.com/web-infra-dev/rspack/pull/10210)/10210 ##### Other Changes * test: should not report on wrong case when error by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/10185](https://github.com/web-infra-dev/rspack/pull/10185)/10185 * chore: release v1.3.7 by @​chenjiah[https://github.com/web-infra-dev/rspack/pull/10182](https://github.com/web-infra-dev/rspack/pull/10182)/10182 * refactor: integrate swc api into rspack_javascript_compiler by @​GiveMe-A-Na[https://github.com/web-infra-dev/rspack/pull/10186](https://github.com/web-infra-dev/rspack/pull/10186)/10186 * chore(deps): update dependency @​rspack/plugin-react-refresh to ^1.4.1 by @​[https://github.com/web-infra-dev/rspack/pull/10192](https://github.com/web-infra-dev/rspack/pull/10192)k/pull/10192 * chore(deps): update dependency axios to ^1.9.0 by @​renova[https://github.com/web-infra-dev/rspack/pull/10193](https://github.com/web-infra-dev/rspack/pull/10193)/10193 * chore(deps): update typescript and @​microsoft/api-extractor by @​[https://github.com/web-infra-dev/rspack/pull/10194](https://github.com/web-infra-dev/rspack/pull/10194)k/pull/10194 * chore(deps): update dependency table to v6 by @​renova[https://github.com/web-infra-dev/rspack/pull/10197](https://github.com/web-infra-dev/rspack/pull/10197)/10197 * chore(deps): update webpack-merge to v6 (major) by @​renova[https://github.com/web-infra-dev/rspack/pull/10198](https://github.com/web-infra-dev/rspack/pull/10198)/10198 * test: add test case of issue #​10195 by @​Lin[https://github.com/web-infra-dev/rspack/pull/10202](https://github.com/web-infra-dev/rspack/pull/10202)k/pull/10202 * chore(deps): remove unused webpack-cli by @​chenjiah[https://github.com/web-infra-dev/rspack/pull/10199](https://github.com/web-infra-dev/rspack/pull/10199)/10199 * test: clean full snapshoted stats api test cases by @​LingyuCod[https://github.com/web-infra-dev/rspack/pull/10204](https://github.com/web-infra-dev/rspack/pull/10204)/10204 * chore(deps): update pnpm to v10 by @​renova[https://github.com/web-infra-dev/rspack/pull/10092](https://github.com/web-infra-dev/rspack/pull/10092)/10092 * refactor: merge rust check and test into one require check job require condtion by @​stormslow[https://github.com/web-infra-dev/rspack/pull/10216](https://github.com/web-infra-dev/rspack/pull/10216)/10216 * chore(ci): test self hosted by @​stormslow[https://github.com/web-infra-dev/rspack/pull/10148](https://github.com/web-infra-dev/rspack/pull/10148)/10148 #### New Contributors * @​tmadeira made their first contributi[https://github.com/web-infra-dev/rspack/pull/10190](https://github.com/web-infra-dev/rspack/pull/10190)/10190 **Full Changelog**: web-infra-dev/rspack@v1.3.7...v1.3.8 ### [`v1.3.7`](https://github.com/web-infra-dev/rspack/releases/tag/v1.3.7) [Compare Source](https://github.com/web-infra-dev/rspack/compare/v1.3.6...v1.3.7) <!-- Release notes generated using configuration in .github/release.yml at v1.3.7 --> #### 💡 Highlights The [rspack.dev](https://rspack.dev/) now provides [llms.txt](https://llmstxt.org/) to help LLMs better understand Rspack: - https://rspack.dev/llms.txt - https://rspack.dev/llms-full.txt #### What's Changed ##### Performance Improvements ⚡ - perf: use `Vec::with_capacity` for hooks and plugins by [@​CPunisher](https://github.com/CPunisher) in [https://github.com/web-infra-dev/rspack/pull/10178](https://github.com/web-infra-dev/rspack/pull/10178) ##### Exciting New Features 🎉 - feat: persistent cache snapshot expose is_hot_start by [@​jerrykingxyz](https://github.com/jerrykingxyz) in [https://github.com/web-infra-dev/rspack/pull/10166](https://github.com/web-infra-dev/rspack/pull/10166) - feat: custom prefix for lazy compilation by [@​dgaponov](https://github.com/dgaponov) in [https://github.com/web-infra-dev/rspack/pull/10147](https://github.com/web-infra-dev/rspack/pull/10147) ##### Bug Fixes 🐞 - fix: should rebuild css module when rebuild css extract entry by [@​LingyuCoder](https://github.com/LingyuCoder) in [https://github.com/web-infra-dev/rspack/pull/10124](https://github.com/web-infra-dev/rspack/pull/10124) - fix: plugin compilation hooks leak by [@​quininer](https://github.com/quininer) in [https://github.com/web-infra-dev/rspack/pull/10137](https://github.com/web-infra-dev/rspack/pull/10137) - fix(core): add more trace for loaders by [@​hardfist](https://github.com/hardfist) in [https://github.com/web-infra-dev/rspack/pull/10139](https://github.com/web-infra-dev/rspack/pull/10139) - fix: panic when factorize failed in module executor by [@​LingyuCoder](https://github.com/LingyuCoder) in [https://github.com/web-infra-dev/rspack/pull/10136](https://github.com/web-infra-dev/rspack/pull/10136) - fix(core): enable tracing for hook by default except in make stage by [@​hardfist](https://github.com/hardfist) in [https://github.com/web-infra-dev/rspack/pull/10141](https://github.com/web-infra-dev/rspack/pull/10141) - fix(storage): should flush writer when flushing file mtime by [@​LingyuCoder](https://github.com/LingyuCoder) in [https://github.com/web-infra-dev/rspack/pull/10143](https://github.com/web-infra-dev/rspack/pull/10143) - fix: storage validate hash with content by [@​jerrykingxyz](https://github.com/jerrykingxyz) in [https://github.com/web-infra-dev/rspack/pull/10101](https://github.com/web-infra-dev/rspack/pull/10101) - fix: multiple runtime keys broke filename in runtime module by [@​LingyuCoder](https://github.com/LingyuCoder) in [https://github.com/web-infra-dev/rspack/pull/10144](https://github.com/web-infra-dev/rspack/pull/10144) - fix: call `compiler.close` when having errors by [@​LingyuCoder](https://github.com/LingyuCoder) in [https://github.com/web-infra-dev/rspack/pull/10154](https://github.com/web-infra-dev/rspack/pull/10154) - fix: pass `null` to additional data of loader context by [@​LingyuCoder](https://github.com/LingyuCoder) in [https://github.com/web-infra-dev/rspack/pull/10155](https://github.com/web-infra-dev/rspack/pull/10155) - fix: support license plugin when enable concatenated by [@​LingyuCoder](https://github.com/LingyuCoder) in [https://github.com/web-infra-dev/rspack/pull/10158](https://github.com/web-infra-dev/rspack/pull/10158) - fix(parallel-loader): should not pass options for which loaders are not set to `parallel` by [@​h-a-n-a](https://github.com/h-a-n-a) in [https://github.com/web-infra-dev/rspack/pull/10164](https://github.com/web-infra-dev/rspack/pull/10164) - fix: circularDependencyRspackPlugin should check all cycle by [@​fireairforce](https://github.com/fireairforce) in [https://github.com/web-infra-dev/rspack/pull/10163](https://github.com/web-infra-dev/rspack/pull/10163) - fix: should regenerate runtime chunk hash when using get chunk filename runtime module by [@​LingyuCoder](https://github.com/LingyuCoder) in [https://github.com/web-infra-dev/rspack/pull/10167](https://github.com/web-infra-dev/rspack/pull/10167) - fix: ignore parsing errors on CSS modules from lightningcss-loader by [@​SyMind](https://github.com/SyMind) in [https://github.com/web-infra-dev/rspack/pull/10172](https://github.com/web-infra-dev/rspack/pull/10172) - fix: truncate width into `u16::MAX` for graphical reporter by [@​h-a-n-a](https://github.com/h-a-n-a) in [https://github.com/web-infra-dev/rspack/pull/10180](https://github.com/web-infra-dev/rspack/pull/10180) - fix: Vue CSS pseudo class warning in lightningcss by [@​SyMind](https://github.com/SyMind) in [https://github.com/web-infra-dev/rspack/pull/10184](https://github.com/web-infra-dev/rspack/pull/10184) ##### Document Updates 📖 - docs(llms): bump to Rspress@2.0.0-beta.1 and add llms.txt by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspack/pull/10157](https://github.com/web-infra-dev/rspack/pull/10157) - docs: update config merging guide by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rspack/pull/10159](https://github.com/web-infra-dev/rspack/pull/10159) - docs(llms): bump to Rspress@2.0.0-beta.2 by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspack/pull/10165](https://github.com/web-infra-dev/rspack/pull/10165) - docs: fix grammar in rspack-next-partner.mdx by [@​tlund101](https://github.com/tlund101) in [https://github.com/web-infra-dev/rspack/pull/10169](https://github.com/web-infra-dev/rspack/pull/10169) - docs(llms.txt): add more description by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspack/pull/10181](https://github.com/web-infra-dev/rspack/pull/10181) ##### Other Changes - chore: enable more webpack watch cases by [@​ahabhgk](https://github.com/ahabhgk) in [https://github.com/web-infra-dev/rspack/pull/10128](https://github.com/web-infra-dev/rspack/pull/10128) - refactor: adjust circularDependencyRspackPlugin compilation API by [@​fireairforce](https://github.com/fireairforce) in [https://github.com/web-infra-dev/rspack/pull/10006](https://github.com/web-infra-dev/rspack/pull/10006) - chore: release v1.3.6 by [@​GiveMe-A-Name](https://github.com/GiveMe-A-Name) in [https://github.com/web-infra-dev/rspack/pull/10116](https://github.com/web-infra-dev/rspack/pull/10116) - chore(deps): update dependency [@​rstack-dev/doc-ui](https://github.com/rstack-dev/doc-ui) to v1.8.0 by [@​renovate](https://github.com/renovate) in [https://github.com/web-infra-dev/rspack/pull/10152](https://github.com/web-infra-dev/rspack/pull/10152) - refactor: remove dead_code and use spawn_blocking for fast_set by [@​hardfist](https://github.com/hardfist) in [https://github.com/web-infra-dev/rspack/pull/10151](https://github.com/web-infra-dev/rspack/pull/10151) - chore: disable more hook tracing by [@​hardfist](https://github.com/hardfist) in [https://github.com/web-infra-dev/rspack/pull/10156](https://github.com/web-infra-dev/rspack/pull/10156) - refactor: dependency range of remain dependencies by [@​LingyuCoder](https://github.com/LingyuCoder) in [https://github.com/web-infra-dev/rspack/pull/10160](https://github.com/web-infra-dev/rspack/pull/10160) - ci: close inactive issues with `need more info` or `awaiting more feedback` by [@​LingyuCoder](https://github.com/LingyuCoder) in [https://github.com/web-infra-dev/rspack/pull/10171](https://github.com/web-infra-dev/rspack/pull/10171) - refactor: CI by [@​stormslowly](https://github.com/stormslowly) in [https://github.com/web-infra-dev/rspack/pull/10135](https://github.com/web-infra-dev/rspack/pull/10135) - refactor(incremental): disable passes only for current rebuild by [@​ahabhgk](https://github.com/ahabhgk) in [https://github.com/web-infra-dev/rspack/pull/10145](https://github.com/web-infra-dev/rspack/pull/10145) - chore(ci): refactor incremental causes ci tests failed by [@​ahabhgk](https://github.com/ahabhgk) in [https://github.com/web-infra-dev/rspack/pull/10174](https://github.com/web-infra-dev/rspack/pull/10174) - refactor(core): remove browserslist feature of lightningcss by [@​hardfist](https://github.com/hardfist) in [https://github.com/web-infra-dev/rspack/pull/10173](https://github.com/web-infra-dev/rspack/pull/10173) - chore(ci): fix job if condition by [@​stormslowly](https://github.com/stormslowly) in [https://github.com/web-infra-dev/rspack/pull/10176](https://github.com/web-infra-dev/rspack/pull/10176) #### New Contributors - [@​dgaponov](https://github.com/dgaponov) made their first contribution in [https://github.com/web-infra-dev/rspack/pull/10147](https://github.com/web-infra-dev/rspack/pull/10147) - [@​tlund101](https://github.com/tlund101) made their first contribution in [https://github.com/web-infra-dev/rspack/pull/10169](https://github.com/web-infra-dev/rspack/pull/10169) **Full Changelog**: web-infra-dev/rspack@v1.3.6...v1.3.7 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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 these updates 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNTcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjI1Ny4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJib3Q6cmVub3ZhdGUiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Qingyu Wang <40660121+colinaaa@users.noreply.github.com>
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@rsbuild/core](https://rsbuild.dev) ([source](https://github.com/web-infra-dev/rsbuild/tree/HEAD/packages/core)) | [`1.3.11` -> `1.3.14`](https://renovatebot.com/diffs/npm/@rsbuild%2fcore/1.3.11/1.3.14) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>web-infra-dev/rsbuild (@​rsbuild/core)</summary> ### [`v1.3.14`](https://github.com/web-infra-dev/rsbuild/releases/tag/v1.3.14) [Compare Source](https://github.com/web-infra-dev/rsbuild/compare/v1.3.13...v1.3.14) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed ##### New Features 🎉 - feat(deps): update Rspack to v1.3.8 by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5127](https://github.com/web-infra-dev/rsbuild/pull/5127) ##### Bug Fixes 🐞 - fix: file size logging when detail is disabled by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5125](https://github.com/web-infra-dev/rsbuild/pull/5125) ##### Other Changes - chore(deps): update all patch dependencies by [@​renovate](https://github.com/renovate) in [https://github.com/web-infra-dev/rsbuild/pull/5122](https://github.com/web-infra-dev/rsbuild/pull/5122) - chore(deps): update pnpm to v10.10.0 by [@​renovate](https://github.com/renovate) in [https://github.com/web-infra-dev/rsbuild/pull/5123](https://github.com/web-infra-dev/rsbuild/pull/5123) - test(e2e): enhance file size logging assertions by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5126](https://github.com/web-infra-dev/rsbuild/pull/5126) - release: 1.3.14 by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5128](https://github.com/web-infra-dev/rsbuild/pull/5128) **Full Changelog**: web-infra-dev/rsbuild@v1.3.13...v1.3.14 ### [`v1.3.13`](https://github.com/web-infra-dev/rsbuild/releases/tag/v1.3.13) [Compare Source](https://github.com/web-infra-dev/rsbuild/compare/v1.3.12...v1.3.13) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed ##### New Features 🎉 - feat: improve alignment of total output size by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5108](https://github.com/web-infra-dev/rsbuild/pull/5108) - feat: add config link to overlay footer for better accessibility by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5118](https://github.com/web-infra-dev/rsbuild/pull/5118) ##### Bug Fixes 🐞 - fix: prevent circular references in recursiveChunkGroup by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5107](https://github.com/web-infra-dev/rsbuild/pull/5107) - fix: gzip middleware breaks SSE connection by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5114](https://github.com/web-infra-dev/rsbuild/pull/5114) - fix(sever): handle SSE close events in proxy middleware by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5116](https://github.com/web-infra-dev/rsbuild/pull/5116) - fix: improve error message formatting in build stats by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5117](https://github.com/web-infra-dev/rsbuild/pull/5117) ##### Document 📖 - docs(environments): add note on server and dev options limitations by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5112](https://github.com/web-infra-dev/rsbuild/pull/5112) - docs: update plugin examples with conditional and async by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5113](https://github.com/web-infra-dev/rsbuild/pull/5113) ##### Other Changes - chore(deps): update dependency [@​types/node](https://github.com/types/node) to ^22.15.2 by [@​renovate](https://github.com/renovate) in [https://github.com/web-infra-dev/rsbuild/pull/5109](https://github.com/web-infra-dev/rsbuild/pull/5109) - test(e2e): add case for proxy SSE request by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5115](https://github.com/web-infra-dev/rsbuild/pull/5115) - release: 1.3.13 by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5119](https://github.com/web-infra-dev/rsbuild/pull/5119) **Full Changelog**: web-infra-dev/rsbuild@v1.3.12...v1.3.13 ### [`v1.3.12`](https://github.com/web-infra-dev/rsbuild/releases/tag/v1.3.12) [Compare Source](https://github.com/web-infra-dev/rsbuild/compare/v1.3.11...v1.3.12) <!-- Release notes generated using configuration in .github/release.yml at main --> #### 💡 Highlights The [rsbuild.dev](https://rsbuild.dev/) now provides [llms.txt](https://llmstxt.org/) to help LLMs better understand Rspack: - https://rsbuild.dev/llms.txt - https://rsbuild.dev/llms-full.txt #### What's Changed ##### New Features 🎉 - feat(deps): update Rspack to 1.3.7 by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5104](https://github.com/web-infra-dev/rsbuild/pull/5104) ##### Bug Fixes 🐞 - fix: call `compiler.close` when having errors by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5096](https://github.com/web-infra-dev/rsbuild/pull/5096) - fix(security): update http-proxy-middleware to 2.0.9 by [@​DeveshSapkale](https://github.com/DeveshSapkale) in [https://github.com/web-infra-dev/rsbuild/pull/5103](https://github.com/web-infra-dev/rsbuild/pull/5103) ##### Document 📖 - docs(llms): bump to rspress@2.0.0-beta.1 and add llms.txt by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rsbuild/pull/5049](https://github.com/web-infra-dev/rsbuild/pull/5049) - docs: update alias strategy documentation by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5097](https://github.com/web-infra-dev/rsbuild/pull/5097) - docs: update guide for switching minifiers by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5098](https://github.com/web-infra-dev/rsbuild/pull/5098) - docs(llms.txt): add more description by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rsbuild/pull/5101](https://github.com/web-infra-dev/rsbuild/pull/5101) ##### Other Changes - chore(deps): upgrade to Rspress@2.0.0-beta.2 by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rsbuild/pull/5095](https://github.com/web-infra-dev/rsbuild/pull/5095) - release: 1.3.12 by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rsbuild/pull/5105](https://github.com/web-infra-dev/rsbuild/pull/5105) #### New Contributors - [@​DeveshSapkale](https://github.com/DeveshSapkale) made their first contribution in [https://github.com/web-infra-dev/rsbuild/pull/5103](https://github.com/web-infra-dev/rsbuild/pull/5103) **Full Changelog**: web-infra-dev/rsbuild@v1.3.11...v1.3.12 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNTcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjI1Ny4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJib3Q6cmVub3ZhdGUiXX0=--> --------- Signed-off-by: Qingyu Wang <40660121+colinaaa@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Qingyu Wang <40660121+colinaaa@users.noreply.github.com>
pull bot
pushed a commit
that referenced
this pull request
Jan 4, 2026
<!-- 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. --> Solves lynx-family#2045 An example log from our examples/react package is as below. First screen: <details> ```log [BackgroundThread Component Render] name: Fragment, uniqID: undefined, __id: undefined main-thread.js:3421 [ReactLynxDebug] FiberElement API call #1: __CreatePage("0", 0) => page#10 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #2: __GetElementUniqueID(page#10) => 10 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #3: __SetCSSId([page#10], 0) main-thread.js:3460 [MainThread Component Render] name: App main-thread.js:3421 [ReactLynxDebug] FiberElement API call #4: __CreateView(10) => view#11 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #5: __CreateView(10) => view#12 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #6: __SetClasses(view#12, "Background") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #7: __AppendElement(view#11, view#12) => view#12 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #8: __CreateView(10) => view#13 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #9: __SetClasses(view#13, "App") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #10: __AppendElement(view#11, view#13) => view#13 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #11: __CreateView(10) => view#14 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #12: __SetClasses(view#14, "Banner") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #13: __AppendElement(view#13, view#14) => view#14 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #14: __CreateWrapperElement(10) => wrapper#15 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #15: __AppendElement(view#14, wrapper#15) => wrapper#15 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #16: __CreateText(10) => text#16 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #17: __SetClasses(text#16, "Title") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #18: __SetAttribute(text#16, "text", "React") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #19: __AppendElement(view#14, text#16) => text#16 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #20: __CreateText(10) => text#17 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #21: __SetClasses(text#17, "Subtitle") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #22: __SetAttribute(text#17, "text", "on Lynx") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #23: __AppendElement(view#14, text#17) => text#17 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #24: __CreateView(10) => view#18 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #25: __SetClasses(view#18, "Content") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #26: __AppendElement(view#13, view#18) => view#18 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #27: __CreateImage(10) => image#19 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #28: __SetClasses(image#19, "Arrow") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #29: __AppendElement(view#18, image#19) => image#19 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #30: __CreateText(10) => text#20 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #31: __SetClasses(text#20, "Description") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #32: __SetAttribute(text#20, "text", "Tap the logo and have fun!") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #33: __AppendElement(view#18, text#20) => text#20 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #34: __CreateText(10) => text#21 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #35: __SetClasses(text#21, "Hint") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #36: __AppendElement(view#18, text#21) => text#21 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #37: __CreateRawText("Edit") => raw-text#22 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #38: __AppendElement(text#21, raw-text#22) => raw-text#22 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #39: __CreateWrapperElement(10) => wrapper#23 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #40: __AppendElement(text#21, wrapper#23) => wrapper#23 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #41: __CreateRawText("to see updates!") => raw-text#24 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #42: __AppendElement(text#21, raw-text#24) => raw-text#24 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #43: __CreateView(10) => view#25 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #44: __SetInlineStyles(view#25, "flex:1") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #45: __AppendElement(view#13, view#25) => view#25 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #46: __AppendElement(page#10, view#11) => view#11 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #47: __SetAttribute(image#19, "src", "http://1.1.1.1:3000/static/image/arrow.aee54ba7.png") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #48: __CreateView(10) => view#26 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #49: __SetClasses(view#26, "Logo") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #50: __ReplaceElement(view#26, wrapper#15) main-thread.js:3421 [ReactLynxDebug] FiberElement API call #51: __AddEvent(view#26, "bindEvent", "tap", "-3:0:") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #52: __CreateImage(10) => image#27 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #53: __SetClasses(image#27, "Logo--lynx") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #54: __AppendElement(view#26, image#27) => image#27 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #55: __SetAttribute(image#27, "src", "http://1.1.1.1:3000/static/image/lynx-logo.620eb8d1.png") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #56: __CreateText(10) => text#28 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #57: __SetInlineStyles(text#28, "font-style:italic;color:rgba(255, 255, 255, 0.85)") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #58: __ReplaceElement(text#28, wrapper#23) main-thread.js:3421 [ReactLynxDebug] FiberElement API call #59: __CreateRawText("") => raw-text#29 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #60: __SetAttribute(raw-text#29, "text", " src/App.tsx ") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #61: __AppendElement(text#28, raw-text#29) => raw-text#29 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #62: __OnLifecycleEvent(["rLynxFirstScreen", {"root":"{\"id\":-1,\"type\":\"root\",\"children\":[{\"id\":-5,\"type\":\"__snapshot_835da_b8ae7_1\",\"values\":[\"http://1.1.1.1:3000/static/image/arrow.aee54ba7.png\"],\"children\":[{\"id\":-3,\"type\":\"__snapshot_835da_b8ae7_2\",\"values\":[\"-3:0:\"],\"children\":[{\"id\":-2,\"type\":\"__snapshot_835da_b8ae7_4\",\"values\":[\"http://1.1.1.1:3000/static/image/lynx-logo.620eb8d1.png\"]}]},{\"id\":-4,\"type\":\"__snapshot_835da_b8ae7_5\",\"children\":[{\"id\":-6,\"type\":null,\"values\":[\" src/App.tsx \"]}]}]}]}","jsReadyEventIdSwap":{}}]) background.js:11351 [rspeedy-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay disabled. background.js:3564 [HMR] Waiting for update signal from WDS... background.js:4476 [BackgroundThread Component Render] name: App, uniqID: __snapshot_835da_b8ae7_1, __id: 2 background.js:4476 [BackgroundThread Component Render] name: Fragment, uniqID: __snapshot_835da_b8ae7_1, __id: 2 background.js:214 Hello, ReactLynx background.js:8011 [ReactLynxDebug] MTS -> BTS OnLifecycleEvent: { "root": { "id": -1, "type": "root", "children": [ { "id": -5, "type": "__snapshot_835da_b8ae7_1", "values": [ "http://1.1.1.1:3000/static/image/arrow.aee54ba7.png" ], "children": [ { "id": -3, "type": "__snapshot_835da_b8ae7_2", "values": [ "-3:0:" ], "children": [ { "id": -2, "type": "__snapshot_835da_b8ae7_4", "values": [ "http://1.1.1.1:3000/static/image/lynx-logo.620eb8d1.png" ] } ] }, { "id": -4, "type": "__snapshot_835da_b8ae7_5", "children": [ { "id": -6, "type": null, "values": [ " src/App.tsx " ] } ] } ] } ] }, "jsReadyEventIdSwap": {} } main-thread.js:5801 [ReactLynxDebug] BTS -> MTS updateMainThread: { "data": { "patchList": [ { "snapshotPatch": [], "id": 2 } ] }, "patchOptions": { "isHydration": true, "reloadVersion": 0, "pipelineOptions": { "pipelineID": "0x16c567000_29", "needTimestamps": true, "pipelineOrigin": "reactLynxHydrate", "dsl": "reactLynx", "stage": "hydrate" } } } main-thread.js:3421 [ReactLynxDebug] FiberElement API call #63: __FlushElementTree(page#10, {"pipelineOptions":{"pipelineID":"0x16c567000_29","needTimestamps":true,"pipelineOrigin":"reactLynxHydrate","dsl":"reactLynx","stage":"hydrate"}}) ``` </details> Next update: <details> ```log [BackgroundThread Component Render] name: App, uniqID: __snapshot_835da_b8ae7_1, __id: -5 main-thread.js:5801 [ReactLynxDebug] BTS -> MTS updateMainThread: { "data": { "patchList": [ { "id": 3, "snapshotPatch": [ { "op": "RemoveChild", "parentId": -3, "childId": -2 }, { "op": "CreateElement", "type": "__snapshot_835da_b8ae7_3", "id": 7 }, { "op": "SetAttributes", "id": 7, "values": [ "http://1.1.1.1:3000/static/image/react-logo.75eb3837.png" ] }, { "op": "InsertBefore", "parentId": -3, "childId": 7, "beforeId": null } ] } ] }, "patchOptions": { "reloadVersion": 0, "pipelineOptions": { "pipelineID": "0x16c567000_30", "needTimestamps": false, "pipelineOrigin": "updateTriggeredByBts", "dsl": "reactLynx", "stage": "update" } } } main-thread.js:3421 [ReactLynxDebug] FiberElement API call #64: __RemoveElement(view#26, image#27) => image#27 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #65: __CreateImage(10) => image#30 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #66: __SetClasses(image#30, "Logo--react") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #67: __SetAttribute(image#30, "src", "http://1.1.1.1:3000/static/image/react-logo.75eb3837.png") main-thread.js:3421 [ReactLynxDebug] FiberElement API call #68: __AppendElement(view#26, image#30) => image#30 main-thread.js:3421 [ReactLynxDebug] FiberElement API call #69: __FlushElementTree(page#10, {"pipelineOptions":{"pipelineID":"0x16c567000_30","needTimestamps":false,"pipelineOrigin":"updateTriggeredByBts","dsl":"reactLynx","stage":"update"}}) ``` </details> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Enhanced debug logging: structured, dual-thread API-call, lifecycle and hydration traces when debug mode is enabled. * **Tests** * Added and expanded tests and snapshots to validate richer logging, API-call sequences, and hydration traces. * **Chores** * Development-only error messages now include a troubleshooting hint recommending the debug-mode option for easier diagnosis. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> ## Checklist <!--- Check and mark with an "x" --> - [x] Tests updated (or not required). - [ ] Documentation updated (or not required). - [x] Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )