Repository navigation
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds a comprehensive CHANGELOG.md detailing the upcoming changes for FirebaseUI for iOS, including breaking changes, behavior modifications, new features like theming and customizable screen slots, bug fixes, and dependency updates. The review feedback suggests updating several British English spellings (such as 'Behaviour', 'enrolment', and 'behaviour') to American English ('Behavior', 'enrollment', and 'behavior') to maintain consistency with the existing codebase.
russellwheatley
left a comment
There was a problem hiding this comment.
Checked the public API diff from v16.2.0 to main, and the two Breaking: entries are the only source-breaking changes I could find 👍 Inline notes are mostly missing entries. A few things outside this diff:
Version.swiftstill says16.1.0, even at the v16.2.0 tag. Needs bumping to 17.0.0 when this ships (release-swift.shdoes it).- Might be worth adding a "update
CHANGELOG.md" step to the release rules inspm-and-cocoapods-workflow.md, now that there is one. - The SwiftUI user docs don't cover most of what this changelog announces. Theming,
pickerContent/pickerDestination/signedInContent/reauthContent, the*Screen/Default*Contenttypes,AuthProviderActionandtriggerSignIn(for:)only show up in the okf-bundle doc. I think these want updating before 17.0.0 goes out (separate PR is fine):FirebaseSwiftUI/README.md: no section on customizing the default views. That's now the middle ground before the "Usage with Custom Views" approaches.- AuthPickerView reference only lists
init(content:), none of the new modifiers. - Enums and Types doesn't document
AuthViewat all, including the newsignIn/signUpcases. AuthServiceErrorblock is out of date and leaves outmultiFactorReauthenticationRequired.- Reauthentication in Custom Views says "four types of reauthentication errors", now five, with no MFA reauth example.
- Additional Resources links
samples/swiftui/FirebaseSwiftUIExample, which doesn't exist. It'sFirebaseSwiftUISample. GETTING_STARTED.mdCustomization only mentionsAuthConfiguration,renderButtons()and fully custom views. Probably worth a line pointing at theming and content slots.
Adds a root
CHANGELOG.mdwith a17.0.0entry for the changes merged since v16.2.0, most of them the SwiftUI auth customization work from #1400.Changes
AuthView.signIn/signUpcases (feat(auth)!: add content slots to email sign-in screens #1414) andAuthServiceError.multiFactorReauthenticationRequired(fix(auth)!: resolve second factor when reauthenticating MFA users #1419).