SDK changelogs
Swift changelog
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.3
Improvements
- Bump timeouts on create wallet flow
- Reset wallet state after errors in create wallet flow
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.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.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
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