Releases: nikolainobadi/NnCredentialKit
v3.2.0
Release Notes 3.2.0 - 2025-10-15
Highlights
- Account linking operations now return results that distinguish between successful completion and user cancellation
- Clients can detect when users dismiss authentication flows (Apple Sign-In, Google Sign-In) instead of completing them
- Backward compatible—existing code continues to work without modification
Changes
- Added:
AccountLinkActionResultenum with.successand.canceledcases to track authentication flow outcomes - Added: Return values to
linkAction()methods for detecting user cancellation in account linking flows - Changed:
AccountLinkButtonDelegate.linkAction()andAccountLinkViewModel.linkAction(_:)now returnAccountLinkActionResult(marked@discardableResultfor compatibility)
(For full details, see CHANGELOG.md)
v3.1.0
Release Notes 3.1.0 - 2025-09-30
Highlights
- Added safety feature to prevent users from unlinking their only authentication method
- Renamed authentication services for better consistency (AppleSignInService, GoogleSignInService)
- Cleaned up configuration by removing unused color property
Changes
- Added:
preventUnlinkingLastProviderparameter (defaults totrue) to prevent unlinking the last provider,shouldShowButton(for:)method for conditional button visibility - Changed: Renamed
AppleSignInCoordinator→AppleSignInService,GoogleSignInHandler→GoogleSignInService(deprecated but available), updated documentation, reorganized provider architecture - Removed:
linkButtonColorfromAccountLinkSectionColorsConfig
(For full details, see CHANGELOG.md)
v3.0.1
v3.0.1
NnCredentialKit v3.0.1 Release Notes
This patch includes minor project maintenance updates.
Changes
- Updated
README.mdfor improved clarity and accuracy. - Removed
Package.resolvedfrom version control tracking.
v3.0.0
NnCredentialKit v3.0.0 Release Notes
Changes
-
New SwiftUI
AccountLinkSection
Customizable UI for managing linked accounts (Apple, Google, Email/Password). -
New ViewModels
AddedAccountLinkViewModelandAccountDeleterfor cleaner architecture. -
Improved Reauthentication Flows
IntroducedReauthenticationManagerwith automatic retry handling. -
Social Credential Management
Simplified Apple and Google sign-in integration viaSocialCredentialManager. -
Better Error Handling
New error types for clearer failure and reauth workflows.
Requirements
- iOS 16+
- Swift 6.0+
Impact
- Breaking Changes
Old account linking APIs replaced byAccountLinkSectionandAccountLinkDelegate.
v2.1.1
v2.1.1 Release Notes
Changes & Improvements
- Lowered minimum iOS deployment target from iOS 17 to iOS 16, allowing broader compatibility.
- Updated Swift version from Swift 5.9 to Swift 5.7 to align with iOS 16 support.
- No functionality changes—only compatibility improvements.
Impact
- Existing users on iOS 17+ are unaffected.
- Developers targeting iOS 16+ can now integrate the package without modifying their project’s minimum deployment target.
- No breaking changes; this update is fully backward-compatible.
v2.1.0
NnCredentialKit v2.1.0
Key Changes
- Updated package dependencies to use the latest versions, including the latest release of
NnTestKitto ensure compatibility and improvements in testing utilities.
v2.0.1
NnCredentialKit v2.0.1
Key Changes
- removed dependency on NnSwiftUIKit
- AccountLinkSection now requires a button to be provided that can handle async throws method (use AccountLinkButtonDelegate for button info).
v1.0.0
NnCredentialKit v1.0.0
Summary
NnCredentialKit v1.0.0 provides a streamlined solution for integrating user authentication workflows in iOS apps. It supports email/password sign-up, Apple and Google sign-in, and account linking with customizable UI components. This release also includes robust error handling and reauthentication workflows.
Key Features
- Account linking for multiple providers
- Credential management for Apple, Google, and email/password
- Reauthentication handling with custom alerts
- Social sign-in integration
NnCredentialKit can be added to projects via Swift Package Manager.