Identity V3:
New methods
- Introduces
logIn, a new way of identifying users, which also returns whether a new user has been registered in the system.
logInuses a new backend endpoint. - Introduces
logOut, a replacement forreset.
Deprecations
-
deprecates
createAliasin favor oflogIn -
deprecates
identifyin favor oflogIn -
deprecates
resetin favor oflogOut -
deprecates
allowSharingAppStoreAccountin favor of dashboard-side configuration
Other changes:
Public additions
SharedPurchases nullability
- Fixed
sharedPurchasesnullability - Introduced new property,
isConfigured, that can be used to check whether the SDK has been configured andsharedPurchaseswon't benil.
#508
Improved log handling
- Added new property
logLevel, which provides more granular settings for the log level. Valid values aredebug,info,warnanderror. - Added new method,
setLogHandler, which allows developers to use their own code to handle logging, and integrate their existing systems.
#481
#515
Deprecations
- Deprecated
debugLogsEnabledproperty in favor ofLogLevel. UsePurchases.logLevel = .debugas a replacement.
Other
- Fixed CI issues with creating pull requests
#504 - Improved Github Issues bot behavior
#507 - Added e-tags to reduce network traffic usage
#509 - Fixed a warning in Xcode 13 with an outdated path in Package.swift
#522 - Switched to Swift Package Manager for handling dependencies for test targets.
#527 - Removed all
fatalErrors from the codebase
#529
#527 - Updated link for error message when UserDefaults are deleted outside the SDK
#531 - Improved many of the templates and added
CODE_OF_CONDUCT.mdto make contributing easier
#534
#537
#589