Skip to content

build(deps-dev): update dependency vitest to v5 - #245

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-vitest-monorepo
Open

build(deps-dev): update dependency vitest to v5#245
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-vitest-monorepo

Conversation

@renovate

@renovate renovate Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
vitest (source) 4.1.115.0.0 age confidence

Release Notes

vitest-dev/vitest (vitest)

v5.0.0

Compare Source

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes

Important

✂ PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the Type: Dependencies Dependency issues or Changes to dependency files label Sep 6, 2026

@claude claude 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.

renovateによるvitest 4.1.11 -> 5.0.0のメジャー更新です。

ロックファイル上で@vitest/expect, @vitest/runner, @vitest/snapshot, @vitest/utils, @vitest/pretty-format, pathe, tinyrainbow, convert-source-mapが消えていますが、これはvitest本体へのインライン化と依存整理によるもので、意図しない削除ではありません。magic-stringは1.2.3へ、tinybenchは6.1.4へ上がっています。

本プロジェクトのテストが使うAPIはdescribe/it/expect/beforeEach/afterEachのみで、v5の主要な破壊的変更(vi.mockのトップレベル制約, clearMocksのデフォルト変更, test.sequential削除, benchmark API刷新, browser mode変更)はいずれも該当しません。vite.config.tsが使うdefineConfig/configDefaultsもv5で維持されています。ピア依存もvite 8.2.2 / @types/node 22.20.1で要求を満たしています。

ブロッカーとなる問題はないためAPPROVEとします。engines.nodeの整合について1点だけNOTEを残しました。

Review metadata

Comment thread package.json
"typescript-eslint": "8.68.0",
"vite": "8.2.2",
"vitest": "4.1.11"
"vitest": "5.0.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Note

📦 Dependency 🧪 Test

vitest 5.0.0はNode要求が^20.0.0 || ^22.0.0 || >=24.0.0から^22.12.0 || ^24.0.0 || >=26.0.0へ引き上げられました。一方で本プロジェクトのengines.node>=22.22のままです。

下限としては22.22 >= 22.12なので問題ありませんが、>=22.22はNode 23や25といった奇数系メジャーも許容してしまい、これらはvitest 5のサポート範囲外です。flake.nix経由のnodejsは偶数系に固定されるため実害は出にくいですが、^22.22.0 || ^24.0.0 || >=26.0.0のようにvitest 5の範囲へ揃えておくと、開発環境外で誤ったNodeが使われた際にEBADENGINEで早期に検出できます。

参考として、vitest 5.0.0はリリースから日が浅く(2026-09-03公開)パッチリリースがまだ出ていません。テスト終了時にEnvironmentTeardownError: Closing rpc while "onUserConsoleLog" was pendingが断続的に発生する回帰報告(https://github.com/vitest-dev/vitest/issues/11153)があります。本プロジェクトはgitコマンドを実行する統合テストを含むため、CIが断続的に落ちるようになった場合はこの既知問題を疑い、5.0.1以降に速やかに追随することを推奨します。

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

Labels

Type: Dependencies Dependency issues or Changes to dependency files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants