LayerKit v0.21.0 Release Notes
-
โจ Enhancements
- Introduced
LYRSession
class to provide applications with the ability to manage multiple user sessions simultaneously. - โ Added functionality to allow applications to switch user sessions without deauthenticating.
- ๐ Performance improvement in the synchronization process.
Public API Changes
- โ Added
LYRSession
object. - โ Added
currentSession
property toLYRClient
. - โ Added
sessions
property toLYRClient
. - โ Added
newSessionWithIdentifier:
method toLYRClient
. - โ Added
sessionWithUserIdentifier:
method toLYRClient
. - โ Added
switchToSession:error:
method toLYRClient
. - โ Added
destroySession:error:
method toLYRClient
. - ๐ Deprecated
addPolicy:error:
in favor ofaddPolicies:error:
andremovePolicy:error:
in favor ofremovePolicies:error:
which provides for performing bulk policy operations.
๐ Bug Fixes
- ๐ Fixes an issue where the client might crash with an exception ('Task created in a session that has been invalidated') during the de-authentication process or then disconnecting the client by hand.
- ๐ Fixes an issue where the client might crash with
EXC_CRASH (SIGABRT)
when it's downloading a lot of message parts at the time. - ๐ Fixes an issue which caused the client to improperly handle calls to
addPolicy:error
orremovePolicy:error:
when called multiple times in rapid succession. - ๐ Fixes an issue where the client might crash when trying to handle an internal error.
- ๐ Fixes an issue that could prevent a client from reauthenticating after receiving an authentication challenge.
- ๐ Fixes an issue that could lead to a crash during multiple calls to
deauthenticateWithCompletion:
. - ๐ Fixes an issue where the client could materialize a deleted conversation with no messages.
- Introduced