Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 20, 2025

Bumps vitest from 3.2.4 to 4.0.12.

Release notes

Sourced from vitest's releases.

v4.0.12

   🐞 Bug Fixes

    View changes on GitHub

v4.0.11

   🚀 Experimental Features

   🏎 Performance

    View changes on GitHub

v4.0.10

   🐞 Bug Fixes

    View changes on GitHub

v4.0.9

   🚀 Experimental Features

   🐞 Bug Fixes

... (truncated)

Commits
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 testing framework dependency to the latest major version with potential API improvements and enhancements.

✏️ 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.12.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.12/packages/vitest)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 20, 2025
@dependabot dependabot bot requested a review from a team as a code owner November 20, 2025 12:14
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 20, 2025
@coderabbitai
Copy link

coderabbitai bot commented Nov 20, 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 devDependency version bump of vitest from ^3.2.4 to ^4.0.12 in package.json. This is a major version upgrade that may introduce breaking changes requiring verification.

Changes

Cohort / File(s) Summary
Dependency Update
package.json
Bumped vitest devDependency from ^3.2.4 to ^4.0.12 (major version upgrade)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Verify that the test suite runs successfully with vitest 4.0.12
  • Review vitest changelog/migration guide for potential breaking changes (major version bump)
  • Confirm no code modifications are required to accommodate vitest API changes

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: bumping the vitest dev dependency from version 3.2.4 to 4.0.12, which is the primary and only purpose of this pull request.
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.12

📜 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 17cac18 and 0bd3996.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json (1 hunks)
🔇 Additional comments (1)
package.json (1)

38-38: Verify vitest 4.0 compatibility before merging—this major version bump includes breaking changes.

Vitest 4 has breaking changes that could affect the project. Key areas to verify:

  1. Test snapshots: vi.fn().getMockName() now returns "vi.fn()" by default instead of "spy", which can affect snapshots with mocks.

  2. Mocking behavior: Vitest 4 creates mocks differently to address module mocking issues, with changes to how classes and constructors are handled.

  3. Automocked modules: Automocked getters no longer call the original getter and now return undefined by default.

  4. Configuration: Vitest 4.0 removes deprecated config options including poolMatchGlobs, environmentMatchGlobs, and the deps.* options.

Before merging, please:

  • Run the full test suite and verify all tests pass
  • Check for any snapshot test failures (especially mock-related snapshots)
  • Review vitest.config.ts (if it exists) for any use of deprecated config options
  • Consult the Vitest 4.0 Migration Guide for detailed compatibility requirements

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

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 24, 2025

Superseded by #279.

@dependabot dependabot bot closed this Nov 24, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vitest-4.0.12 branch November 24, 2025 13:26
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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant