LayerKit v0.9.1 Release Notes
-
โจ Enhancements
- ๐ The synchronization engine integration with transport has been simplified and enhanced for more reliable behavior under poor network conditions.
- โ Added querying support on
lastMessage.receivedAt
fromLYRConversation
- ๐ Performance was improved by offloading processing from the network thread.
- The
receivedAt
property forLYRMessage
objects sent by the current user is no longernil
. It is now set to the same timestamp assentAt
. - Querying against
LYRConversation
participants now implicitly includes the authenticated user.
๐ Bug Fixes
LYRClient
objects will now attempt to reconnect immediately upon losing a connection even if reachability state has not changed.- ๐ An issue where synchronization could become stalled when the app returned from the background has been fixed.
- ๐ Fixed an issue where metadata values were not validated properly, blocking the use of nested structures.
- ๐ Fixed an issue where
isUnread
andhasUnreadMessages
did not always update appropriately during synchronization. - ๐ Fixed an issue where
LYRConversation
objects returned via querying had alastMessage
value ofnil
. - ๐ Fixed an issue that could result in database busy errors and crashes during concurrent database transactions.
- ๐ Fixed an issue where typing indicator received before a conversation was synchronized would result in a crash.
- ๐ Fixed a regression in querying for participants with certain structures of user identifiers.
Public API changes