# Changelog

## Score

- CAI 56 → 61 (+4.9)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 82 → 81 (-1.3)
- Architecture 87 → 89 (+2.0)
- Maturity 63 → 68 (+4.7)
- Readiness 37 → 48 (+10.7)
- Security 78 → 68 (-9.2)
- Performance 100 → 100 (+0.0)

## Resolved (24)

- Change coupling: EmailAuthView.swift ↔ EmailLinkView.swift (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/EmailAuthView.swift)
- Change coupling: EmailAuthView.swift ↔ EnterVerificationCodeView.swift (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/EmailAuthView.swift)
- Change coupling: SignInWithFacebookButton.swift ↔ SignInWithGoogleButton.swift (FirebaseSwiftUI/FirebaseFacebookSwiftUI/Sources/Views/SignInWithFacebookButton.swift)
- Change coupling: SignInWithFacebookButton.swift ↔ SignInWithTwitterButton.swift (FirebaseSwiftUI/FirebaseFacebookSwiftUI/Sources/Views/SignInWithFacebookButton.swift)
- Change-coupling hub: GenericOAuthButton.swift → EmailAuthView.swift, SignInWithFacebookButton.swift, SignInWithGoogleButton.swift, SignInWithTwitterButton.swift (FirebaseSwiftUI/FirebaseOAuthSwiftUI/Sources/Views/GenericOAuthButton.swift)
- Change-coupling hub: SignInWithAppleButton.swift → EmailAuthView.swift, SignInWithFacebookButton.swift, SignInWithGoogleButton.swift, GenericOAuthButton.swift, SignInWithTwitterButton.swift (FirebaseSwiftUI/FirebaseAppleSwiftUI/Sources/Views/SignInWithAppleButton.swift)
- Duplicated block (12 lines × 2) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/MFAResolutionView.swift)
- Duplicated block (13 lines × 2) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/EmailAuthView.swift)
- Duplicated block (13–15 lines × 3) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/MFAEnrolmentView.swift)
- Duplicated block (13–15 lines × 3) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/MFAEnrolmentView.swift)
- Duplicated block (14 lines × 2) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/MFAEnrolmentView.swift)
- Duplicated block (17 lines × 2) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/EmailReauthView.swift)
- Duplicated block (17–19 lines × 3) (samples/swiftui/FirebaseSwiftUISample/FirebaseSwiftUISample/Application/ContentView.swift)
- Duplicated block (23 lines × 2) (FirebaseSwiftUI/FirebaseAuthUIComponents/Sources/Components/VerificationCodeInputField.swift)
- Duplicated block (25 lines × 2) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/MFAEnrolmentView.swift)
- Duplicated block (9 lines × 3) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/MFAEnrolmentView.swift)
- Inverted test pyramid
- Members sharing a duplicated core (4 members, 50+ identical tokens) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/MFAEnrolmentView.swift)
- MethodTooLong: EmailAuthView.body (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/EmailAuthView.swift)
- MethodTooLong: MFAEnrolmentView.smsEnrollmentContent (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/MFAEnrolmentView.swift)
- …and 4 more

## New (49)

- AuthService.handleSignInLink (cyclomatic 16) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Services/AuthService.swift)
- Change coupling: AuthPickerView.swift ↔ ErrorAlertView.swift (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/AuthPickerView.swift)
- Change coupling: EnterPhoneNumberView.swift ↔ EnterVerificationCodeView.swift (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/EnterPhoneNumberView.swift)
- Change coupling: GenericOAuthButton.swift ↔ SignInWithTwitterButton.swift (FirebaseSwiftUI/FirebaseOAuthSwiftUI/Sources/Views/GenericOAuthButton.swift)
- Change coupling: PhoneReauthView.swift ↔ ReauthenticationModifier.swift (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/PhoneReauthView.swift)
- Change coupling: SignInWithGoogleButton.swift ↔ GenericOAuthButton.swift (FirebaseSwiftUI/FirebaseGoogleSwiftUI/Sources/Views/SignInWithGoogleButton.swift)
- Change-coupling hub: EmailAuthView.swift → SignInWithAppleButton.swift, EmailLinkView.swift, EnterVerificationCodeView.swift, ErrorAlertView.swift, PasswordRecoveryView.swift, GenericOAuthButton.swift, SignInWithTwitterButton.swift (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/EmailAuthView.swift)
- Change-coupling hub: SignInWithAppleButton.swift → SignInWithGoogleButton.swift, GenericOAuthButton.swift, SignInWithTwitterButton.swift (FirebaseSwiftUI/FirebaseAppleSwiftUI/Sources/Views/SignInWithAppleButton.swift)
- Change-coupling hub: SignInWithFacebookButton.swift → SignInWithAppleButton.swift, ErrorAlertView.swift, SignInWithGoogleButton.swift, GenericOAuthButton.swift, SignInWithTwitterButton.swift (FirebaseSwiftUI/FirebaseFacebookSwiftUI/Sources/Views/SignInWithFacebookButton.swift)
- Duplicated block (12 lines × 3) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/EmailLinkReauthScreen.swift)
- Duplicated block (13–15 lines × 3) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/DefaultMFAEnrolmentContent.swift)
- Duplicated block (16 lines × 4) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/DefaultMFAEnrolmentContent.swift)
- Duplicated block (21 lines × 2) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/DefaultMFAEnrolmentContent.swift)
- Duplicated block (5 lines × 2) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/EmailAuthScreen.swift)
- Duplicated block (6–7 lines × 2) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/EmailLinkReauthScreen.swift)
- Duplicated block (7 lines × 2) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/SignInView.swift)
- Duplicated block (7 lines × 3) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/EmailLinkReauthScreen.swift)
- Duplicated block (9 lines × 3) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/DefaultMFAEnrolmentContent.swift)
- Edited copies of one member (3 members, 11+ corresponding lines) (FirebaseSwiftUI/FirebaseOAuthSwiftUI/Sources/Services/OAuthProviderSwift+Presets.swift)
- Edited copies of one member (5 members, 17+ corresponding lines) (FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/EmailLinkScreen.swift)
- …and 29 more

## Changes since last survey

- 34 commits — 21 feature/other, 13 fixes

## By area

- FirebaseSwiftUI/FirebaseAuthSwiftUI — 22 commits
- (repo) — 6 commits
- okf-bundle/packages — 2 commits
- (root) — 1 commit
- .github/workflows — 1 commit
- e2eTest/FirebaseSwiftUIExample — 1 commit
- okf-bundle/ci-workflows — 1 commit

## Notable commits

- fix: fix(auth)!: resolve second factor when reauthenticating MFA users (#1419)
- fix: fix(auth): attach MFA screen modifiers once and tighten their state
- fix: fix(auth): avoid a Swift 6.2 IRGen crash in MFAResolutionScreen
- fix: fix(auth): give every content state initializer parameter a default
- fix: fix(auth): give the MFA resolution and management state initializer parameters defaults
- fix: fix(auth): keep DefaultAuthMethodPicker full width inside a content-sized ScrollView
- fix: fix(auth): let the resend code button inherit the app font when no theme is set
- fix: fix(auth): open the authenticator URL with openURL and reuse the QR CIContext
- fix: fix(auth): report MFA enrolment expiry and clear stale codes
- fix: fix(auth): require a sent SMS code to resolve MFA and test the screen guards
- fix: fix(auth): return expired MFA enrolment sessions to factor selection
- fix: fix(auth): tighten MFA enrolment steps and factor validation
- fix: fix(auth): tighten phone screen actions and match the picker state API
- change: Merge pull request #1411 from firebase/auth/method-picker-layout
- change: Merge pull request #1412 from firebase/auth/phone-content-slots
- change: Merge pull request #1414 from firebase/auth/email-content-slots
- change: Merge pull request #1415 from firebase/auth/mfa-enrolment-content-slot
- change: Merge pull request #1416 from firebase/auth/mfa-content-slots
- change: Merge pull request #1426 from firebase/ci/ui-tests-speedup
- change: Merge pull request #1427 from firebase/chore/dependabot-combine-20261103
- …and 14 more
