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 from LYRConversation
    • ๐ŸŽ Performance was improved by offloading processing from the network thread.
    • The receivedAt property for LYRMessage objects sent by the current user is no longer nil. It is now set to the same timestamp as sentAt.
    • 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 and hasUnreadMessages did not always update appropriately during synchronization.
    • ๐Ÿ›  Fixed an issue where LYRConversation objects returned via querying had a lastMessage value of nil.
    • ๐Ÿ›  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