Skip to content

CHORE: update next, vitest, and stripe deps#1334

Merged
wcole1-godaddy merged 2 commits intomainfrom
chore/update-next-and-stripe-deps
Mar 26, 2026
Merged

CHORE: update next, vitest, and stripe deps#1334
wcole1-godaddy merged 2 commits intomainfrom
chore/update-next-and-stripe-deps

Conversation

@pbennett1-godaddy
Copy link
Collaborator

Summary

Updates applied

Package Dependency From To Breaking?
examples/nextjs next 16.0.10 16.2.1 No
@godaddy/react @stripe/stripe-js ^7.3.1 ^8.11.0 No
@godaddy/react @stripe/react-stripe-js ^3.7.0 ^5.6.1 No
@godaddy/react vitest ^3.0.6 ^4.1.2 No
@godaddy/react vite ^5.1.6 ^6.4.1 No
@godaddy/react @vitejs/plugin-react ^4.2.1 ^4.7.0 No
@godaddy/app-connect vitest ^1.2.2 ^4.1.2 No

Vitest config modernization

  • packages/react/vitest.config.ts — replaced /// + defineConfig from vite with defineConfig from vitest/config (recommended for vitest 4)

Breaking change assessment — no impact

@stripe/stripe-js v7→v8: Removed redirectToCheckout, Clover elements, and Checkout SDK type changes — none used in codebase.

@stripe/stripe-js v8→v9: Not taken. Stayed on v8 since v9.0.0 was published <24h ago. The Dependabot PR also missed updating @stripe/react-stripe-js (v3 requires stripe-js <8), which would have been a
peer dependency conflict.

@stripe/react-stripe-js v3→v5: Peer dep bump for stripe-js v8 compatibility. APIs used (Elements, useElements, useStripe, CardElement, ExpressCheckoutElement) are all unchanged.

Next.js 16.0→16.2: Minor/patch semver bump — bug fixes and features only.

Vitest 1/3→4: Breaking changes are all internal/deprecated API removals (basic reporter, vite-node, etc.) — none used. Required bumping vite to v6 and @vitejs/plugin-react to support it.

Verification

  • ✅ pnpm build — all packages and examples build clean
  • ✅ pnpm --filter @godaddy/app-connect test — 11/11 tests pass
  • ✅ pnpm --filter @godaddy/react test — 87/87 tests pass
  • ✅ pnpm --filter @godaddy/react typecheck — zero errors (also fixed pre-existing type bug)

Changeset

  • Changeset added (docs)

Test Plan

@pbennett1-godaddy pbennett1-godaddy requested a review from a team as a code owner March 26, 2026 17:22
@pbennett1-godaddy pbennett1-godaddy self-assigned this Mar 26, 2026
@changeset-bot
Copy link

changeset-bot bot commented Mar 26, 2026

⚠️ No Changeset found

Latest commit: fe83d35

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@wcole1-godaddy wcole1-godaddy merged commit 23def91 into main Mar 26, 2026
3 checks passed
@wcole1-godaddy wcole1-godaddy deleted the chore/update-next-and-stripe-deps branch March 26, 2026 17:32
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