Skip to content

Releases: nikolainobadi/NnCredentialKit

v3.2.0

15 Oct 22:47
f7a9cda

Choose a tag to compare

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: AccountLinkActionResult enum with .success and .canceled cases to track authentication flow outcomes
  • Added: Return values to linkAction() methods for detecting user cancellation in account linking flows
  • Changed: AccountLinkButtonDelegate.linkAction() and AccountLinkViewModel.linkAction(_:) now return AccountLinkActionResult (marked @discardableResult for compatibility)

(For full details, see CHANGELOG.md)

v3.1.0

30 Sep 20:41
dc45e6e

Choose a tag to compare

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: preventUnlinkingLastProvider parameter (defaults to true) to prevent unlinking the last provider, shouldShowButton(for:) method for conditional button visibility
  • Changed: Renamed AppleSignInCoordinatorAppleSignInService, GoogleSignInHandlerGoogleSignInService (deprecated but available), updated documentation, reorganized provider architecture
  • Removed: linkButtonColor from AccountLinkSectionColorsConfig

(For full details, see CHANGELOG.md)

v3.0.1

05 May 21:19

Choose a tag to compare

v3.0.1

NnCredentialKit v3.0.1 Release Notes

This patch includes minor project maintenance updates.

Changes

  • Updated README.md for improved clarity and accuracy.
  • Removed Package.resolved from version control tracking.

v3.0.0

18 Apr 16:50

Choose a tag to compare

NnCredentialKit v3.0.0 Release Notes

Changes

  • New SwiftUI AccountLinkSection
    Customizable UI for managing linked accounts (Apple, Google, Email/Password).

  • New ViewModels
    Added AccountLinkViewModel and AccountDeleter for cleaner architecture.

  • Improved Reauthentication Flows
    Introduced ReauthenticationManager with automatic retry handling.

  • Social Credential Management
    Simplified Apple and Google sign-in integration via SocialCredentialManager.

  • 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 by AccountLinkSection and AccountLinkDelegate.

v2.1.1

20 Feb 22:50

Choose a tag to compare

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

31 Oct 01:15
58eaf4d

Choose a tag to compare

NnCredentialKit v2.1.0

Key Changes

  • Updated package dependencies to use the latest versions, including the latest release of NnTestKit to ensure compatibility and improvements in testing utilities.

v2.0.1

02 Oct 00:30

Choose a tag to compare

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

15 Aug 22:19

Choose a tag to compare

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.