Skip to content

chore(deps-dev): bump vitest from 4.1.11 to 5.0.1 - #982

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest-5.0.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest-5.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Bumps vitest from 4.1.11 to 5.0.1.

Release notes

Sourced from vitest's releases.

v5.0.1

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v5.0.0

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

... (truncated)

Commits
  • 03630a5 chore: release v5.0.1 (#11275)
  • a47d790 fix(fakeTimers): force queueMicrotask and nextTick in toNotFake (#11261)
  • 2ce29d5 fix: warn when deprecated deps.optimizer.web is used (#11214)
  • ccd6d05 docs: fix typecheck exclude default in documentation (#11223)
  • 91ab158 fix(doctor): measure vm pools for custom environments (#11212)
  • 23dda73 fix: share the server on self-referencing extends (#11034)
  • 498fbe9 fix: resolve ResolvedConfig exactOptionalPropertyTypes errors (#11175)
  • 115c3f6 fix: correct typos in error message and comments (#11187)
  • 7361465 fix: keep metadata file when clearing the cache (#11199)
  • 972e24b fix(browser): avoid double quotes in config.define (#11198)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by cubic

Updates vitest from 4.1.11 to 5.0.1, a major version bump for the test runner dependency.

Migration

  • Review breaking changes: sequential test/suite options are replaced by concurrent, deprecated entry points are removed, and the default attachmentsDir moves to .vitest/attachments/.
  • Verify the test suite still passes after the upgrade.

Written for commit 10112d9. Summary will update on new commits.

Review in cubic

Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 4.1.11 to 5.0.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.1/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 5.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Dependency updates npm npm package updates labels Sep 21, 2026
@dependabot
dependabot Bot requested a review from trac3r00 as a code owner September 21, 2026 00:09
@dependabot dependabot Bot added dependencies Dependency updates npm npm package updates labels Sep 21, 2026
@trac3r00

Copy link
Copy Markdown
Owner

Reviewed in an isolated worktree off main (8b1951c), separate from #981 and any local changes.

Why CI fails here: this PR changes only package.json, so bun install --frozen-lockfile stops every job at Install dependencies (error: lockfile had changes, but lockfile is frozen). Reproduced locally.

Fix: #985 cherry-picks this PR's commit unchanged and adds a regenerated bun.lock (+31/-35, vitest and its transitive deps only; resolved against registry.npmjs.org). No config or test changes were needed.

Verification (vitest 4.1.2 on main vs 5.0.2 on #985):

  • Unit: 59 files / 712 tests / 712 passed on both, identical test names and statuses (compared via the JSON reporter from real runs; vitest list is static in v5, so it undercounts it.each/loop tests and isn't comparable).
  • Failure detection: a deliberately wrong toThrow expectation makes vitest 5 exit 1 (re-run on chore(deps-dev): bump vitest to 5 with regenerated bun.lock (fixes #982 CI) #985 head deb1b0a with recorded exit codes: FI_EXIT=1, restored run exit 0, worktree clean).
  • Build: pass. E2E locally: 282 passed, 2 skipped. chore(deps-dev): bump vitest to 5 with regenerated bun.lock (fixes #982 CI) #985 CI: Build, Unit, E2E, GitGuardian all green.
  • Migration guide checked: clearMocks default (the only call-count test already resets in beforeEach), top-level vi.mock (both uses are), Vite >= 6.4 (8.0.3), Node >= 22.12 (CI 22), .vitest/ already gitignored; no other breaking changes apply.

Gate review: APPROVE (HIGH), no blockers. The first gate pass rejected only because a written code-review report (programming / remove-ai-slops perspectives) was missing; that report was added and a fresh reviewer re-checked the delta.

Recommendation: approve and merge #985 instead of this PR, then close #982. If Dependabot rebases this PR first, @dependabot recreate won't fix the lockfile; #985 is the path.

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

Labels

dependencies Dependency updates npm npm package updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant