Skip to content

d2m - #1021

Merged
NoiseFan merged 500 commits into
mainfrom
dev
Sep 6, 2026
Merged

d2m#1021
NoiseFan merged 500 commits into
mainfrom
dev

Conversation

@NoiseFan

@NoiseFan NoiseFan commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

在提交PR之前,请确保你执行以下操作:

  • 曾阅读过翻译须知
  • 检查是否已经有PR以同样的方式解决问题,以避免创建重复。
  • 在此PR中描述正在解决的问题,或引用它解决的问题(例如:fixes #123)。

描述

附加上下文

autofix-ci Bot and others added 30 commits April 9, 2026 15:22
* feat: add `experimental.preParse` flag (#10070)

* feat(coverage): default to text reporter `skipFull` if agent detected (#10018)

* docs: document browser mode auto cleanup behavior (#10045)

Co-authored-by: Codex <noreply@openai.com>

* feat(experimental): expose `assertion` as a public field (#10095)

* docs: add "Learn" section (#10092)

* docs(cn): dissolve the conflict

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: noise <noisefan@163.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ 5755951
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ 1df9a43
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ 12702e8
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Codex <noreply@openai.com>
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ ec964f3
…oncurrent: false })` + depreacte `sequential` test API and options (#10194)

Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
* docs(cn): complement the missing translation

* docs(cn): update /guide/

* docs(cn): update /guide/

* docs(cn): fix typo

* docs(cn): update /config/

* docs(cn): update /api/
renovate Bot and others added 27 commits August 17, 2026 09:51
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ile as `toMatchSnapshot` (#10978)

Co-authored-by: Hiroshi Ogawa <4232207+hi-ogawa@users.noreply.github.com>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
Co-authored-by: Hiroshi Ogawa <4232207+hi-ogawa@users.noreply.github.com>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ a41164c
Co-authored-by: OpenAI Codex <noreply@openai.com>
Co-authored-by: Raul Macarie <raul@macarie.me>
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ 752f075
* docs(cn): update guide/snapshot.md

* docs(cn): update guide/benchmarking.md

* docs(cn): update guide/cli-generated.md

* docs(cn): update guide/environment.md

* docs(cn): update guide/reporters.md

* docs(cn): update guide/cli.md

* docs(cn): update guide/projects.md

* docs(cn): update guide/common-errors.md

* docs(cn): update guide/improving-performance.md

* docs(cn): update guide/migration/jest.md

* docs(cn): update guide/migration/mocha.md

* docs(cn): update guide/projects.md
@netlify

netlify Bot commented Sep 6, 2026

Copy link
Copy Markdown

Deploy Preview for cn-vitest ready!

Name Link
🔨 Latest commit 1848df3
🔍 Latest deploy log https://app.netlify.com/projects/cn-vitest/deploys/6a9d8b178754e60008655b6a
😎 Deploy Preview https://deploy-preview-1021--cn-vitest.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@NoiseFan
NoiseFan merged commit 2a40854 into main Sep 6, 2026
5 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1848df35d6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

outline: deep
---

# detectAsyncLeaks

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Register detectAsyncLeaks in the config sidebar

This new configuration page has no entry in the /config sidebar in .vitepress/config.ts, so users browsing the configuration reference cannot discover it through site navigation. Add a sidebar entry linking to /config/detectasyncleaks.

AGENTS.md reference: AGENTS.md:L18-L18

Useful? React with 👍 / 👎.

outline: deep
---

# taskTitleValueFormatTruncate <CRoot /> {#tasktitlevalueformattruncate}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Register taskTitleValueFormatTruncate in the sidebar

This new configuration page is absent from the hand-maintained /config sidebar, leaving it discoverable only through direct links such as the one in the Test API. Add a sidebar entry for /config/tasktitlevalueformattruncate.

AGENTS.md reference: AGENTS.md:L18-L18

Useful? React with 👍 / 👎.

outline: deep
---

# browser.traceView <Badge type="warning" text="Experimental" /> <Version>5.0.0</Version>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Register browser.traceView in the browser config sidebar

Although this page is generated and linked from the CLI reference, the Browser Mode section of the /config sidebar has no /config/browser/traceview entry, so readers browsing browser options will not see it. Add the new page alongside the other browser.* options.

AGENTS.md reference: AGENTS.md:L18-L18

Useful? React with 👍 / 👎.

outline: deep
---

# browser.traceView <Badge type="warning" text="Experimental" /> <Version>5.0.0</Version>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Use the standard experimental markers for traceView

The heading manually renders an experimental badge while marking 5.0.0 with the ordinary Version component, which bypasses the repository's standard experimental semantics and presentation. Use <Version type="experimental">5.0.0</Version> together with <Experimental />.

AGENTS.md reference: AGENTS.md:L20-L20

Useful? React with 👍 / 👎.

Comment thread .vitepress/theme/index.ts
Comment on lines +28 to +29
if (url.pathname === '/api/' || url.pathname === '/api' || url.pathname === '/api/index.html') {
return '/api/test'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve legacy API anchors when redirecting

When a bookmarked or external link targets the former monolithic API page, such as /api/#describe or /api/#beforeeach, this branch redirects every request to /api/test and discards the hash. Since those sections now live under /api/describe and /api/hooks, these legacy deep links land on the wrong page; inspect and map the hash before returning the redirect.

Useful? React with 👍 / 👎.

Comment thread releases.md

# Releases

Vitest releases follow [Semantic Versioning](https://semver.org/). You can see the latest stable version of Vitest in the [Vitest npm package page](https://www.npmjs.com/package/vite).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Link to the Vitest npm package

The link labeled “Vitest npm package page” points to the vite package, so readers checking the current Vitest release are sent to the wrong project. Change the target to the vitest package page.

Useful? React with 👍 / 👎.

Comment on lines +15 to +17
]
</script>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid random state during SSR hydration

When VitePress renders this component on the server, the server and browser independently call Math.random(), so they choose different phases in roughly seven out of eight hydrations. This produces a Vue hydration mismatch and can visibly replace the emoji after load; derive the value deterministically or select it only after mounting.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.