Skip to content

Bump vitest from 3.2.4 to 4.0.16#245

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/vitest-4.0.16
Closed

Bump vitest from 3.2.4 to 4.0.16#245
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/vitest-4.0.16

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 22, 2025

Bumps vitest from 3.2.4 to 4.0.16.

Release notes

Sourced from vitest's releases.

v4.0.16

   🐞 Bug Fixes

    View changes on GitHub

v4.0.15

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.0.14

   🚀 Experimental Features

... (truncated)

Commits
  • b46d744 chore: release v4.0.16
  • 84a3062 fix(browser): string formatting bug when including placeholders in console.lo...
  • f7f6aa8 fix: log deprecated test.poolOptions if it's set (#9226)
  • 568513c fix: allow inlining fully dynamic import (#9137)
  • 5d26b87 fix(experimental): export setupEnvironment for custom pools (#9187)
  • f17eb42 refactor: avoid using isFileServingAllowed from Vite (#9160)
  • 78cfbf9 fix: avoid crashing on process.versions stub (#9174)
  • da0ade2 fix: fix browser mode default testTimeout back to 15 seconds (#9167)
  • eb1abf0 chore: release v4.0.15
  • a68f74e feat(cache): add opt-out on a plugin level, fix internal root cache (#9154)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for vitest since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 CodeRabbit

  • Chores
    • Updated development dependencies to maintain compatibility and performance.

✏️ Tip: You can customize this high-level summary in your review settings.

Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.4 to 4.0.16.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.16/packages/vitest)

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

Signed-off-by: dependabot[bot] <support@github.com>
@coderabbitai
Copy link

coderabbitai bot commented Dec 22, 2025

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key(s) in object: 'tools'
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Walkthrough

A dev dependency version update in package.json where vitest is bumped from ^3.2.4 to ^4.0.16. This is a configuration change with no functional or control-flow modifications.

Changes

Cohort / File(s) Change Summary
Dependency update
package.json
Updated dev dependency vitest from ^3.2.4 to ^4.0.16 (major version bump from 3.x to 4.x)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

  • Major version bump (3.x → 4.x): Review vitest v4 release notes and migration guide for any breaking changes that could affect the project's test suite or configuration.

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description includes comprehensive release notes and commit details from the vitest project, but lacks the required template sections: no explicit 'Changes' section, missing checklist with release label selection (though labels are applied separately), and no documentation/test update confirmations. Add the template sections: describe changes in a 'Changes' section, complete the checklist including label selection and confirmations about documentation and test updates.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The PR title accurately and concisely describes the main change: updating the vitest dev dependency from version 3.2.4 to 4.0.16, which matches the changeset perfectly.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dependabot/npm_and_yarn/vitest-4.0.16

📜 Recent review details

Configuration used: Repository: lokalise/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 088a0ca and 9bcdc59.

📒 Files selected for processing (1)
  • package.json
🔇 Additional comments (1)
package.json (1)

58-58: Vitest 4.0 upgrade appears compatible with this codebase, but verify with full test suite execution.

The configuration at vitest.config.mts uses 4.0-compatible syntax (no removed options like poolMatchGlobs, environmentMatchGlobs, or deprecated deps.* configs). The test suite does not appear to use breaking change features like custom reporters, vi.restoreAllMocks, or vi.fn().getMockName() assertions. However, run the full test suite in CI to confirm—vitest 4.0 does include breaking changes in mocking behavior, coverage reporting (V8 remapper), and reporter APIs that could affect untested code paths.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
package.json (1)

52-52: Update @vitest/coverage-v8 to 4.0.16 to match vitest major version.

The vitest package is being upgraded to 4.0.16, but @vitest/coverage-v8 remains at 3.2.4. Coverage plugins require version alignment with the core framework. The latest version of @vitest/coverage-v8 is 4.0.16, which corresponds to vitest 4.0.x. This mismatch will break the test:coverage script.

-    "@vitest/coverage-v8": "^3.2.4",
+    "@vitest/coverage-v8": "^4.0.16",
📜 Review details

Configuration used: Repository: lokalise/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 088a0ca and 9bcdc59.

📒 Files selected for processing (1)
  • package.json
🔇 Additional comments (1)
package.json (1)

58-58: Vitest 4.0 upgrade appears compatible with this codebase, but verify with full test suite execution.

The configuration at vitest.config.mts uses 4.0-compatible syntax (no removed options like poolMatchGlobs, environmentMatchGlobs, or deprecated deps.* configs). The test suite does not appear to use breaking change features like custom reporters, vi.restoreAllMocks, or vi.fn().getMockName() assertions. However, run the full test suite in CI to confirm—vitest 4.0 does include breaking changes in mocking behavior, coverage reporting (V8 remapper), and reporter APIs that could affect untested code paths.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 12, 2026

Superseded by #249.

@dependabot dependabot bot closed this Jan 12, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vitest-4.0.16 branch January 12, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants