Skip to content

chore(deps): update vitest to v5 - #453

Merged
gitfromwildan merged 1 commit into
mainfrom
renovate/major-vitest
Nov 5, 2026
Merged

gitfromwildan merged 1 commit into
mainfrom
renovate/major-vitest

Conversation

@gitfromwildan

Copy link
Copy Markdown
Member

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@vitest/coverage-v8 (source) ^4.1.12 → ^5.0.0 age confidence
vitest (source) ^4.1.12 → ^5.0.0 age confidence

Release Notes

vitest-dev/vitest (@​vitest/coverage-v8)

v5.0.5

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v5.0.4

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v5.0.3

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v5.0.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v5.0.1

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v5.0.0

Compare Source

Vitest 5 is officially out! This release focuses on performance and brings a lot of new features while fixing long-standing bugs. See our blog post for the official announcement.

   🚨 Breaking Changes

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • "on monday"
  • 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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@gitfromwildan gitfromwildan added dependencies Pull requests that update a dependency file renovate labels Nov 5, 2026
@vercel

vercel Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docu Ignored Ignored Preview Nov 5, 2026 12:49am UTC

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ℹ️ No critical issues. One engines mismatch is worth a follow-up.

Reviewed changes

Mode: standard. I reviewed the grouped Renovate major bump of vitest and @vitest/coverage-v8 to v5 (resolves to 5.1.0) and ran every package's suite against it.

  • vitest ^4.1.12 → ^5.0.0 — root devDependency. The lockfile drops the packages vitest 5 now inlines: @vitest/expect, runner, snapshot, utils and pretty-format.
  • @vitest/coverage-v8 ^4.1.12 → ^5.0.0 — themes-colors devDependency. It now pulls @vitest/istanbul-lib-* in place of istanbul-lib-*, istanbul-reports and make-dir.
  • Lockfile churn — [email protected] leaves the tree, so the mdx, micromark and jsdom snapshots change their peer suffix from ([email protected]) to ([email protected]). None of those packages change version.

Checks run on the PR head:

  • pnpm install --frozen-lockfile passes.
  • vitest run passes on 5.1.0 in all five packages: core 121, markdown 122, themes-colors 120, ui-react 88, flame 680.
  • themes-colors coverage thresholds pass under --coverage.
  • pnpm turbo typecheck is clean.
  • No source file imports a @vitest/* subpackage directly, so the removed entry points don't affect this repo.

Overall: ready to merge. Top priority: align the root engines.node (see below). Nothing else needs action.

ℹ️ Root engines.node still advertises Node 20, which vitest 5 dropped

One of vitest 5's listed breaking changes is "Require Node.js 22 and Vite 6.4". The locked [email protected] declares engines.node: ^22.12.0 || ^24.0.0 || >=26.0.0. The root package.json still declares ^20.19.0 || ^22.13.0 || >=24, so a contributor on Node 20 (or 25) passes the workspace's own engine check, but pnpm test runs on an unsupported runtime. CI pins Node 22 everywhere, so CI is not affected. Only the contributor-facing contract drifts.

Technical details
# Root engines range wider than vitest 5 supports

## Affected sites
- package.json:40 — `"node": "^20.19.0 || ^22.13.0 || >=24"`. vitest 5.1.0 needs `^22.12.0 || ^24.0.0 || >=26.0.0`.

## Required outcome
- The root workspace's `engines.node` stops advertising Node versions the test toolchain no longer supports.

## Suggested approach (optional)
- Narrow the root range to something like `^22.13.0 || ^24.0.0 || >=26`. This can go in this PR or a follow-up.
- Leave `packages/flame/package.json` `engines.node` (`>=20.11`) alone. It describes the published runtime contract, and vitest is not a runtime dependency.

## Open questions for the human (optional)
- Is Node 20 still meant to be a supported contributor runtime? It reached EOL in April 2026, so dropping it is probably fine.

Pullfrog  | Fix it ➔ | View workflow run | Using claude-opus-5-5 | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found. The engines.node concern from the last review no longer applies.

Reviewed changes

Mode: standard. Since the last review, Renovate rebased this PR onto main, which now includes #451 and #452. Only the lockfile changed in this PR's own diff.

  • Lockfile re-resolved against the new main. The [email protected] snapshot now has [email protected] as its peer, and @testing-library/[email protected] resolves its optional vitest peer (>= 0.32) to [email protected]. No other versions change because of this PR.
  • Prior engines.node suggestion resolved through the base. Root package.json now declares ^22.22.2 || ^24.15.0 || >=26. That range sits inside vitest 5's ^22.12.0 || ^24.0.0 || >=26.0.0, so the workspace no longer advertises a Node version the test toolchain doesn't support.

Checks run on ab2293d (Node 24):

  • pnpm install --frozen-lockfile passes.
  • vitest run passes on 5.1.0 in all five packages: core 121, markdown 122, themes-colors 120, ui-react 88, flame 680. This covers the new combination of jsdom 30, jest-dom 7 and vitest 5.
  • themes-colors coverage thresholds pass under --coverage.
  • pnpm turbo typecheck is clean.

Overall: ready to merge. Nothing needs action.

Pullfrog  | View workflow run | Using claude-opus-5-5 | 𝕏

@gitfromwildan
gitfromwildan merged commit bae598e into main Nov 5, 2026
17 checks passed
@gitfromwildan
gitfromwildan deleted the renovate/major-vitest branch November 5, 2026 00:53
@gitfromwildan gitfromwildan mentioned this pull request Nov 5, 2026
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file renovate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant