SDK changelogs
Swift
The release notes for our Swift SDK.
On an older version of the SDK? Check out our migration guides to help you upgrade:
- V2 Migration Guide
2.0.0-beta.1
Breaking Changes
- App client ID required at initialization
- PrivySdk.initialize now throws if called more than once
- new Privy.awaitReady async method
- AuthState now contains the
PrivyUser
object instead of the raw session struct
1.9.0
Improvements
- Add support for identity tokens and expose the
AuthSession.identityToken
property
1.8.1
Improvements
- Adds some additional logic to reinitialize secure context after app is backgrounded
- Automatically connects wallets when making rpc requests
1.8.0
Improvements
- Adds
PrivyLoggingConfig
that allows you to specify PrivyLogLevel, and optionally, alogMessage
callback if you want to manage logging
1.7.7
Improvements
- Enhances logging around WebView and Session
1.7.6
Improvements
- Set log level at init
- Add enhanced logging throughout SDK
1.7.5
Improvements
- Add some additional debug logs
1.7.4
Improvements
- Bump timeouts to 60 seconds or higher
1.7.3
Improvements
- Bump timeouts on create wallet flow
- Reset wallet state after errors in create wallet flow
1.7.2
Improvements
- Improved error handling for
LoginWithEmail.linkWithCode(code:, sentTo:)
1.7.1
Bug Fixes
- Fix for macOS and macOS Catalyst xcframework
1.7.0
Improvements
- Support for macOS and macOS Catalyst
1.6.0
Improvements
- Twitter/X Login
- EthereumEmbeddedWalletProvider for Ethereum wallet requests
- SolanaEmbeddedWalletProvider for Solana wallet requests
- Solana sign message support
Breaking Changes
- Deprecated EmbeddedWalletProvider. This method’s name sounds chain agnostic, but the provider is Ethereum specific.
1.5.1
Bug Fixes
- Fixes a bug in the connect wallet flow
1.5.0
Improvements
- Create wallet by specifying chain type (Ethereum or Solana)
- New connect wallet API that doesn’t require passing “retryOnFailure”
Breaking Changes
- Deprecated Create wallet API (Ethereum only)
- Deprecated Connect wallet API that requires developer to specify retryOnFailure
- Deprecated Recover wallet API (now handled automatically under the hood)
1.4.0
Improvements
- Lower minimum support to iOS 16
1.3.0
Improvements
- Add support for Privy RPC URLs
- Support native Sign in with Apple
1.2.0
Improvements
- Link email
- Link wallet
1.1.3
Improvements
- Makes some core foundational changes that better handles race conditions
1.1.2
Improvements
- Introduces “appClientId” in Privy config initializer
1.1.1
Bug Fixes
- Bug fix related to awaiting embedded wallet ready state
1.1.0
Improvements
- Introduces login with Google
1.0.4
Bug Fixes
- Fixed a bug where user object wasn’t properly updated after auth refresh
1.0.3
Bug Fixes
- Fix a bug in embedded wallets that prevented sending rpc requests with additional wallets
1.0.2
Improvements
- Drops the requirement that
embeddedWalletState
must bedisconnected
before callingprivy.embeddedWallet.connectWallet()
1.0.1
Improvements
- Bug fix and edge case handling when calling
logout
- Updates
privy.embeddedWallet.connectWallet()
such that it no ops if wallet is already connected
1.0.0
Improvements
- The official launch of our flagship Swift SDK
0.6.1
Improvements
- Base Sepolia chain (
84532
) added to supported chains
0.6.0
Improvements
- Login with SIWE (Sign in with Ethereum)
0.5.0
Improvements
- Login with email
- Login with SMS
- Privy session restoration on SDK init
0.4.1
Improvements
- Improved error handling and guarding during wallet creation
0.4.0
Improvements
- Interface updates for simpler embedded wallet interactions
- Embedded wallets now auto-connect after successful login
- Separate callbacks for
authState
andembeddedWalletState
- Improved error messages
0.3.4
Improvements
- Now possible to create and send requests on behalf of multiple embedded wallets