Skip to content

feat!: drop vitest 1-3 support and remove transformMode - #16

Merged
hugo-stacks merged 2 commits into
mainfrom
feat/drop-vitest-1-3
Oct 27, 2026
Merged

hugo-stacks merged 2 commits into
mainfrom
feat/drop-vitest-1-3

Conversation

@hugo-stacks

@hugo-stacks hugo-stacks commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

drop vitest 1-3 support
require node >=22.12 (aligned with vitest 5)
Will be released as v4.0.0

Copilot AI 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.

🟢 Approval recommended

The dependency declaration, environment configuration, and CI matrix consistently implement the intended compatibility change, with no unresolved findings.

No open issues 🎉

What changed in this PR

This PR prepares the breaking v4.0.0 release by dropping Vitest 1–3 support from the Clarinet environment package.

Changes:

  • Restricts Vitest peer dependencies to versions 4 and 5.
  • Removes the legacy transformMode setting while retaining viteEnvironment: "ssr".
  • Removes Vitest 3 from the CI matrix.
File Description
package.json Limits supported Vitest versions to 4 and 5.
index.js Removes the backward-compatibility transformMode setting.
.github/​workflows/​ci.yml Tests only the supported Vitest versions.

Review effort: Balanced

@hugo-stacks
hugo-stacks enabled auto-merge (squash) October 27, 2026 15:20

@brady-stacks brady-stacks 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.

👍

@hugo-stacks
hugo-stacks merged commit 7c0a541 into main Oct 27, 2026
5 checks passed
@hugo-stacks
hugo-stacks deleted the feat/drop-vitest-1-3 branch October 27, 2026 16:07
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.

3 participants