Changelog
Release notes for capacitor-auth-manager, latest first. This mirrors the package's full CHANGELOG, which follows Keep a Changelog and Semantic Versioning.
2.4.1 — Google-first
The package is repositioned as a Firebase-agnostic Google authentication plugin — a drop-in alternative to @codetrix-studio/capacitor-google-auth — and brought to production one provider at a time.
- Google is the only enabled provider.
auth.signIn(AuthProvider.GOOGLE)dispatches natively to GoogleSignIn (iOS), Credential Manager (Android), and Google Identity Services (web), returningresult.credential.idTokenon every platform for the FirebasesignInWithCredentialhandoff. - The other 14 providers (apple, microsoft, facebook, github, slack, linkedin, firebase, magic-link, sms, email/phone/username-password, email-code, biometric) are un-registered — calling them throws
AuthErrorCode.PROVIDER_NOT_ENABLED. They are re-enabled and verified on device one at a time. - Enum-first usage is recommended:
import { auth, AuthProvider } from 'capacitor-auth-manager'. The string'google'still works. - No secrets are persisted by default; the web flow returns an id token only (no client secret, no backend required).
2.4.0 — 2026-05-27
Type-safety and tooling cleanup, no runtime behavior change. Public types were tightened (hence a minor, not a patch).
- Eliminated all 37 remaining
no-explicit-anyoccurrences; the linter now reports 0 errors and 0 warnings. StorageInterfaceis now generic:get<T>(key)/set<T>(key, value). Existing custom implementations stay compatible; direct callers should pass a type argument or narrow.- Angular adapter method parameters use real types (
AuthManagerConfig,SignInOptions,SignOutOptions,ProviderOptions). - Completed the ESLint 9 → 10 migration (
eslint.config.mjs, flat-configignores).
2.3.0 — 2026-05-26
Internal refactor only, no breaking changes and no public signature change.
- The 7 web providers that implemented
AuthProviderInterfacedirectly (magic-link,sms,email-code,email-password,username-password,phone-password,biometric) now extend the sharedBaseAuthProvider. All 15 web providers share one construction, event, state, and capability path. - Provider constructors accept either the injected config (factory/registry) or a bare config object (direct construction) via
resolveProviderConfig— existingnew XProvider(config)usage keeps working.
2.2.0 — 2026-05-26
A backward-compatible release that repaired broken runtime paths, hardened security, completed the stub providers, and updated dependencies.
- Security: S256 PKCE on manual OAuth code flows (Slack, LinkedIn); OIDC nonce + ID-token
expvalidation (signatures are not verified client-side — re-validate server-side); pluggable secure storage with the newCapacitorPreferencesStorage; AES-GCM web fallback for biometric material;AuthError.detailssanitized. - Fixes: repaired the primary
authAPI for OAuth and credential providers; correct credential threading; underscore provider-id resolution; session restore afterconfigure(); GitHub sign-in viatokenExchangeProxy; real Slack/LinkedIn profile fetches; FirebasedefaultMethod; in-memory persistence fixed; 32-bit refresh-timer overflow guarded. - Features: account-management methods on the singleton and all adapters (
linkAccount,unlinkAccount,revokeAccess,getIdToken,updateProfile,deleteAccount);isProviderConfigured()/getConfiguredProviders(); new exportsWebStorage,CapacitorPreferencesStorage,StorageInterface,defaultLogger. - Dependencies: all updated to current stable (TypeScript 6, ESLint 10, Capacitor 8); peer ranges widened (
@capacitor/core ^7 || ^8,@angular/corethrough^21); iOS deployment target raised to 14.
For the complete, unabridged notes see the CHANGELOG on GitHub.