Skip to content

chore(deps): upgrade vitest monorepo 4.0.18 → 4.1.5#138

Merged
dtoxvanilla1991 merged 1 commit into
mainfrom
fix/upgrade/vitest-4.1.5
Apr 28, 2026
Merged

chore(deps): upgrade vitest monorepo 4.0.18 → 4.1.5#138
dtoxvanilla1991 merged 1 commit into
mainfrom
fix/upgrade/vitest-4.1.5

Conversation

@dtoxvanilla1991

@dtoxvanilla1991 dtoxvanilla1991 commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Clean replacement for #129 (which has merge conflicts against the current main).

Upgrades vitest and @vitest/coverage-v8 from 4.0.18 → 4.1.5 - a minor version bump.
No migration required. All 51 tests pass.


Is this a breaking change?

No. This is a 4.0.x → 4.1.x minor bump. All 4.1.x changes are additive or deprecation-only. Nothing was removed in this series. The deprecations emit runtime warnings but do not break existing code. This codebase uses none of the deprecated APIs anyway (verified by code scan).


Key changes across the 4.1.x series

Security

  • 4.1.2: Bumps flatted dependency to resolve its CVE (security advisory #9975)

New features (4.1.0)

  • aroundEach / aroundAll lifecycle hooks
  • mockThrow / mockThrowOnce mock helpers
  • Tags support for tests (test.tag)
  • Enhanced retry options for flaky tests
  • New agent reporter (reduces AI agent token usage)
  • Chai-style assertions
  • --detect-async-leaks CLI flag

Deprecations (backward-compatible warnings only)

  • toBe* spy aliases → prefer toHaveBeen* (not used in this codebase)
  • Several vitest/* sub-entry points (not used in this codebase)

Changes

  • package.json: specifiers bumped ^4.0.18/^4.0.0^4.1.5
  • pnpm-lock.yaml: lockfile updated — vitest and @vitest/coverage-v8 resolve to 4.1.5

Supersedes: #129

@dtoxvanilla1991 dtoxvanilla1991 requested a review from a team as a code owner April 27, 2026 22:23
@coderabbitai

coderabbitai Bot commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (2)
  • package.json is excluded by !**/*.json
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml, !**/*.yaml

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 661366d5-2a7f-45a0-b832-09eeb587275b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/upgrade/vitest-4.1.5

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@dtoxvanilla1991 dtoxvanilla1991 self-assigned this Apr 27, 2026
Bumps vitest and @vitest/coverage-v8 from 4.0.18 → 4.1.5 (minor).

Notable changes across the 4.1.x series:
- 4.1.2: bumps flatted to resolve CVE (security fix)
- 4.1.0: new features — aroundEach/aroundAll hooks, tags support,
  mockThrow/mockThrowOnce, improved retry options, agent reporter
- Various deprecations (toBe* spy aliases, vitest/* sub-entries) —
  deprecated but NOT removed; codebase does not use any of these

No migration required. All 51 tests pass.

Supersedes #129 (renovate PR had merge conflicts against current main).
@dtoxvanilla1991 dtoxvanilla1991 force-pushed the fix/upgrade/vitest-4.1.5 branch from 880c6ab to 3b29875 Compare April 27, 2026 22:33
@dtoxvanilla1991 dtoxvanilla1991 merged commit 0df2e50 into main Apr 28, 2026
4 checks passed
@dtoxvanilla1991 dtoxvanilla1991 deleted the fix/upgrade/vitest-4.1.5 branch April 28, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants