Skip to content

[6.x] Widen google2fa constraint to support ^9.0#14027

Merged
jasonvarga merged 2 commits intostatamic:6.xfrom
robbiekibler:fix/google2fa-v9-compat
Feb 23, 2026
Merged

[6.x] Widen google2fa constraint to support ^9.0#14027
jasonvarga merged 2 commits intostatamic:6.xfrom
robbiekibler:fix/google2fa-v9-compat

Conversation

@robbiekibler
Copy link
Contributor

@robbiekibler robbiekibler commented Feb 21, 2026

Summary

Widens the pragmarx/google2fa version constraint from ^8.0 to ^8.0|^9.0.

Problem

Projects using laravel/fortify v1.32.0+ require pragmarx/google2fa ^9.0, which conflicts with Statamic v6's ^8.0 constraint. This makes it impossible to install Statamic v6 alongside Laravel Fortify.

The google2fa v9.0 API is fully backward-compatible with v8.0 — the public API (generateSecretKey(), verifyKey(), verify(), etc.) is identical between versions.

Solution

Change the constraint to ^8.0|^9.0 to allow either major version, maintaining backward compatibility while enabling installation alongside packages that require v9.0.

@robbiekibler robbiekibler changed the title Widen google2fa constraint to support ^9.0 [6.x] Widen google2fa constraint to support ^9.0 Feb 21, 2026
@jasonvarga jasonvarga merged commit 9820280 into statamic:6.x Feb 23, 2026
11 checks passed
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