forked from lynx-family/lynx-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] main from lynx-family:main #63
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
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@eslint/js](https://eslint.org) ([source](https://github.com/eslint/eslint/tree/HEAD/packages/js)) | [`^9.26.0` -> `^9.27.0`](https://renovatebot.com/diffs/npm/@eslint%2fjs/9.26.0/9.27.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/eslint-plugin](https://github.com/vitest-dev/eslint-plugin-vitest) | [`^1.1.44` -> `^1.2.0`](https://renovatebot.com/diffs/npm/@vitest%2feslint-plugin/1.1.44/1.2.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | [`^9.26.0` -> `^9.27.0`](https://renovatebot.com/diffs/npm/eslint/9.26.0/9.27.0) | [](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>eslint/eslint (@​eslint/js)</summary> ### [`v9.27.0`](https://github.com/eslint/eslint/compare/v9.26.0...ecaef7351f9f3220aa57409bf98db3e55b07a02a) [Compare Source](https://github.com/eslint/eslint/compare/v9.26.0...v9.27.0) </details> <details> <summary>vitest-dev/eslint-plugin-vitest (@​vitest/eslint-plugin)</summary> ### [`v1.2.0`](https://github.com/vitest-dev/eslint-plugin-vitest/releases/tag/v1.2.0) [Compare Source](https://github.com/vitest-dev/eslint-plugin-vitest/compare/v1.1.44...v1.2.0) #### What's Changed - chore: fix dependancies by [@​veritem](https://github.com/veritem) in [https://github.com/vitest-dev/eslint-plugin-vitest/pull/706](https://github.com/vitest-dev/eslint-plugin-vitest/pull/706) **Full Changelog**: vitest-dev/eslint-plugin-vitest@v1.1.44...v1.2.0 </details> <details> <summary>eslint/eslint (eslint)</summary> ### [`v9.27.0`](https://github.com/eslint/eslint/compare/v9.26.0...b9080cf28d88f934941a545a033eb960eceeadbd) [Compare Source](https://github.com/eslint/eslint/compare/v9.26.0...v9.27.0) </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. 👻 **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:eyJjcmVhdGVkSW5WZXIiOiI0MC4xMS4xOCIsInVwZGF0ZWRJblZlciI6IjQwLjExLjE4IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJib3Q6cmVub3ZhdGUiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [codecov/codecov-action](https://github.com/codecov/codecov-action) | action | digest | `ad3126e` -> `18283e0` | | [github/codeql-action](https://github.com/github/codeql-action) | action | digest | `60168ef` -> `ff0a06e` | | [taiki-e/install-action](https://github.com/taiki-e/install-action) | action | digest | `97a83ae` -> `13608a1` | --- ### 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:eyJjcmVhdGVkSW5WZXIiOiI0MC43LjEiLCJ1cGRhdGVkSW5WZXIiOiI0MC4xMS4xOCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYm90OnJlbm92YXRlIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | 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.4` -> `2.0.0-beta.6`](https://renovatebot.com/diffs/npm/@rspress%2fplugin-client-redirects/2.0.0-beta.4/2.0.0-beta.6) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@rspress/shared](https://github.com/web-infra-dev/rspress) ([source](https://github.com/web-infra-dev/rspress/tree/HEAD/packages/shared)) | [`2.0.0-beta.4` -> `2.0.0-beta.6`](https://renovatebot.com/diffs/npm/@rspress%2fshared/2.0.0-beta.4/2.0.0-beta.6) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@rstack-dev/doc-ui](https://github.com/rspack-contrib/rstack-doc-ui) | [`1.8.0` -> `1.10.0`](https://renovatebot.com/diffs/npm/@rstack-dev%2fdoc-ui/1.8.0/1.10.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [rspress](https://github.com/web-infra-dev/rspress) ([source](https://github.com/web-infra-dev/rspress/tree/HEAD/packages/cli)) | [`2.0.0-beta.4` -> `2.0.0-beta.6`](https://renovatebot.com/diffs/npm/rspress/2.0.0-beta.4/2.0.0-beta.6) | [](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/rspress (@​rspress/plugin-client-redirects)</summary> ### [`v2.0.0-beta.6`](https://github.com/web-infra-dev/rspress/releases/tag/v2.0.0-beta.6) [Compare Source](https://github.com/web-infra-dev/rspress/compare/v2.0.0-beta.5...v2.0.0-beta.6) <!-- Release notes generated using configuration in .github/release.yml at main --> ##### What's Changed ##### New Features 🎉 - feat: update Rsbuild 1.3.18 and set caller name by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rspress/pull/2139](https://github.com/web-infra-dev/rspress/pull/2139) - feat(theme): expose classname for crawler by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2161](https://github.com/web-infra-dev/rspress/pull/2161) - feat(core): support md definition syntax url by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2164](https://github.com/web-infra-dev/rspress/pull/2164) - feat: support `file://` protocol and `URL` for icon by [@​JounQin](https://github.com/JounQin) in [https://github.com/web-infra-dev/rspress/pull/2167](https://github.com/web-infra-dev/rspress/pull/2167) ##### Performance 🚀 - perf: remove React 17 compatibility code by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rspress/pull/2174](https://github.com/web-infra-dev/rspress/pull/2174) ##### Bug Fixes 🐞 - fix(deps): remove unused react-syntax-highlighter by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rspress/pull/2138](https://github.com/web-infra-dev/rspress/pull/2138) - fix(plugin-api-doc-gen): plugin-api-doc-gen should have anchor ([#​2140](https://github.com/web-infra-dev/rspress/issues/2140)) by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2146](https://github.com/web-infra-dev/rspress/pull/2146) - fix(shiki): shiki langs perf regression by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2151](https://github.com/web-infra-dev/rspress/pull/2151) - fix(theme): highlight the <PackageManagerTabs /> manually by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2153](https://github.com/web-infra-dev/rspress/pull/2153) - fix(core/mdx-loader): due to frontmatter stack error loc and remove useless hmr old codes by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2168](https://github.com/web-infra-dev/rspress/pull/2168) - fix(shiki/css): add diff language token and remove useless prism token by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2175](https://github.com/web-infra-dev/rspress/pull/2175) ##### Document 📖 - docs: replace `Helmet` with `Head` by [@​jbroma](https://github.com/jbroma) in [https://github.com/web-infra-dev/rspress/pull/2150](https://github.com/web-infra-dev/rspress/pull/2150) - docs: update website contributing guide by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rspress/pull/2157](https://github.com/web-infra-dev/rspress/pull/2157) - docs(algolia): update index name by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2163](https://github.com/web-infra-dev/rspress/pull/2163) - docs: add Rstest to homepage by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/web-infra-dev/rspress/pull/2169](https://github.com/web-infra-dev/rspress/pull/2169) ##### Other Changes - chore(deps): update all patch dependencies by [@​renovate](https://github.com/renovate) in [https://github.com/web-infra-dev/rspress/pull/2144](https://github.com/web-infra-dev/rspress/pull/2144) - chore(plugin-shiki): add all builtin-langs in shiki by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2148](https://github.com/web-infra-dev/rspress/pull/2148) - chore(theme): rename Pre -> PreWithCodeButtonGroup, the only element that differs from the original element by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2162](https://github.com/web-infra-dev/rspress/pull/2162) - Release v2.0.0-beta.6 by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2176](https://github.com/web-infra-dev/rspress/pull/2176) **Full Changelog**: web-infra-dev/rspress@v2.0.0-beta.5...v2.0.0-beta.6 ### [`v2.0.0-beta.5`](https://github.com/web-infra-dev/rspress/releases/tag/v2.0.0-beta.5) [Compare Source](https://github.com/web-infra-dev/rspress/compare/v2.0.0-beta.4...v2.0.0-beta.5) <!-- Release notes generated using configuration in .github/release.yml at main --> ##### Highlights✨ ##### Use shiki v3 by default, drop prism support > related PR: [https://github.com/web-infra-dev/rspress/pull/1672](https://github.com/web-infra-dev/rspress/pull/1672), [https://github.com/web-infra-dev/rspress/pull/2046](https://github.com/web-infra-dev/rspress/pull/2046), [https://github.com/web-infra-dev/rspress/pull/2122](https://github.com/web-infra-dev/rspress/pull/2122) Migrate all code highlighting from prism to shiki in compile time. It is worth noting that some code block syntax will be changed, e.g `transformerNotationHighlight` More info: [https://github.com/web-infra-dev/rspress/discussions/1891#discussioncomment-12458121](https://github.com/web-infra-dev/rspress/discussions/1891#discussioncomment-12458121) before ```ts import { defineConfig } from 'rspress/config'; import { pluginShiki, createTransformerLineNumber, createTransformerDiff } from '@​rspress/plugin-shiki'; export default defineConfig({ plugins: [ pluginShiki({ transformers: [ createTransformerLineNumber(), createTransformerDiff(), // createTransformerErrorLevel(), // createTransformerHighlight(), // createTransformerFocus(), ], }), ], }); ``` after ```ts import { defineConfig } from 'rspress/config'; import { transformerNotationDiff, } from '@​shikijs/transformers'; export default defineConfig({ markdown: { showLineNumber: true, shiki: { transformers: [ transformerNotationDiff(), // transformerNotationErrorLevel(), // transformerNotationFocus(), // transformerNotationHighlight(), ], } } }); ``` ##### Support JSON schema for `_meta.json` > related PR: [#​2079](https://github.com/web-infra-dev/rspress/issues/2079) Now you can get type hints in the IDE. For example, in VSCode you can set ```json5 // .vscode/settings.json { //... "json.schemas": [ { "fileMatch": ["**/_meta.json"], "url": "./node_modules/rspress/meta-json-schema.json" // or "url": "https://unpkg.com/rspress@2.0.0-beta.5/meta-json-schema.json" } ], // ... } ``` ##### What's Changed ##### New Features 🎉 - feat!: support shiki by default, drop prism support by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2122](https://github.com/web-infra-dev/rspress/pull/2122) - feat: add `_meta.json` json schema in `rspress/meta-json-schema.json` by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2079](https://github.com/web-infra-dev/rspress/pull/2079) - feat(theme/dynamic-toc): add .rspress-toc-exclude escape hatch by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2136](https://github.com/web-infra-dev/rspress/pull/2136) ##### Bug Fixes 🐞 - fix(theme/dynamic-toc): skip <a /> element in TOC by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2134](https://github.com/web-infra-dev/rspress/pull/2134) ##### Document 📖 - docs(algolia-search): use new docsearch account and optimize the dark mode by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2131](https://github.com/web-infra-dev/rspress/pull/2131) ##### Other Changes - chore: bump rsbuild to v1.3.17 by [@​JounQin](https://github.com/JounQin) in [https://github.com/web-infra-dev/rspress/pull/2132](https://github.com/web-infra-dev/rspress/pull/2132) - Release v2.0.0-beta.5 by [@​SoonIter](https://github.com/SoonIter) in [https://github.com/web-infra-dev/rspress/pull/2137](https://github.com/web-infra-dev/rspress/pull/2137) **Full Changelog**: web-infra-dev/rspress@v2.0.0-beta.4...v2.0.0-beta.5 </details> <details> <summary>rspack-contrib/rstack-doc-ui (@​rstack-dev/doc-ui)</summary> ### [`v1.10.0`](https://github.com/rspack-contrib/rstack-doc-ui/releases/tag/v1.10.0) [Compare Source](https://github.com/rspack-contrib/rstack-doc-ui/compare/v1.9.1...v1.10.0) **Full Changelog**: rstackjs/rstack-doc-ui@v1.9.1...v1.10.0 ### [`v1.9.1`](https://github.com/rspack-contrib/rstack-doc-ui/releases/tag/v1.9.1) [Compare Source](https://github.com/rspack-contrib/rstack-doc-ui/compare/v1.9.0...v1.9.1) #### What's Changed - fix: update link color in dark mode by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/rspack-contrib/rstack-doc-ui/pull/37](https://github.com/rspack-contrib/rstack-doc-ui/pull/37) **Full Changelog**: rstackjs/rstack-doc-ui@v1.9.0...v1.9.1 ### [`v1.9.0`](https://github.com/rspack-contrib/rstack-doc-ui/releases/tag/v1.9.0) [Compare Source](https://github.com/rspack-contrib/rstack-doc-ui/compare/v1.8.0...v1.9.0) #### What's Changed - fix(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in [https://github.com/rspack-contrib/rstack-doc-ui/pull/35](https://github.com/rspack-contrib/rstack-doc-ui/pull/35) - feat: add card for Rstest and polish styles by [@​chenjiahan](https://github.com/chenjiahan) in [https://github.com/rspack-contrib/rstack-doc-ui/pull/36](https://github.com/rspack-contrib/rstack-doc-ui/pull/36) **Full Changelog**: rstackjs/rstack-doc-ui@v1.8.0...v1.9.0 </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. 👻 **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:eyJjcmVhdGVkSW5WZXIiOiI0MC43LjEiLCJ1cGRhdGVkSW5WZXIiOiI0MC4xMS4xOCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYm90OnJlbm92YXRlIl19--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Qingyu Wang <40660121+colinaaa@users.noreply.github.com>
## Summary <!-- Can you explain the reasoning behind implementing this change? What problem or issue does this pull request resolve? --> Set `persist-credentials: false` for `actions/checkout`. Fix https://github.com/lynx-family/lynx-stack/security/code-scanning/88 <!-- It would be helpful if you could provide any relevant context, such as GitHub issues or related discussions. --> See https://docs.zizmor.sh/audits/#artipacked for details. ## Checklist <!--- Check and mark with an "x" --> - [ ] Tests updated (or not required). - [ ] Documentation updated (or not required).
## Summary
<!-- Can you explain the reasoning behind implementing this change? What
problem or issue does this pull request resolve? -->
Fix the codeql parse errors.
```
* packages/webpack/css-extract-webpack-plugin/test/hotCases/hot-update-json/default/entry.js#L10C7:7: A parse error occurred: `Unexpected token`. Check the syntax of the file. If the file is invalid, correct the error or [exclude](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning) the file from analysis.
* packages/rspeedy/create-rspeedy/template-react-vitest-rltl-js/src/index.js#L8C9:9: A parse error occurred: `Unexpected token`. Check the syntax of the file. If the file is invalid, correct the error or [exclude](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning) the file from analysis.
* packages/webpack/css-extract-webpack-plugin/test/hotCases/modules/export-default/entry.js#L9C7:7: A parse error occurred: `Unexpected token`. Check the syntax of the file. If the file is invalid, correct the error or [exclude](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning) the file from analysis.
* packages/webpack/react-webpack-plugin/test/diagnostic/module-build-failed/errors/invalid.js#L2C6:6: A parse error occurred: `Unexpected token`. Check the syntax of the file. If the file is invalid, correct the error or [exclude](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning) the file from analysis.
```
>
https://github.com/lynx-family/lynx-stack/actions/runs/15085254769/job/42406992052
<!-- It would be helpful if you could provide any relevant context, such
as GitHub issues or related discussions. -->
## Checklist
<!--- Check and mark with an "x" -->
- [ ] Tests updated (or not required).
- [ ] Documentation updated (or not required).
## Summary <!-- Can you explain the reasoning behind implementing this change? What problem or issue does this pull request resolve? --> Since we are not requiring RelativeCI, we can remove it from merge queue to same some job runs. <!-- It would be helpful if you could provide any relevant context, such as GitHub issues or related discussions. --> ## Checklist <!--- Check and mark with an "x" --> - [ ] Tests updated (or not required). - [ ] Documentation updated (or not required).
## Summary
<!-- Can you explain the reasoning behind implementing this change? What
problem or issue does this pull request resolve? -->
Set `permissions: {}` for all workflows. And set required permissions
for each job.
Fix:
https://github.com/lynx-family/lynx-stack/security/code-scanning/124
<!-- It would be helpful if you could provide any relevant context, such
as GitHub issues or related discussions. -->
See https://docs.zizmor.sh/audits/#excessive-permissions for more
details.
## Checklist
<!--- Check and mark with an "x" -->
- [ ] Tests updated (or not required).
- [ ] Documentation updated (or not required).
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 : )