LayerKit v0.24.0 Release Notes
-
Public API Changes
- โ Added the
paginatedObjects
property on theLYRQueryController
to access the subset of objects in a paginated query result set.
โจ Enhancements
- ๐ Performance improvements when dealing with high volume of conversations (reducing the memory and CPU usage). [APPS-2521]
- ๐ Performance improvements when receiving new conversations in real-time. [APPS-2603]
- ๐ Performance improvements when an already synchronized client reconnects. [APPS-2641]
- ๐ Performance improvements when performing synchronization upon receiving remote notifications. [APPS-2651]
- ๐ Performance improvements when cold-syncing client by prioritizing conversation synchronization for the most recent conversations. [APPS-2669]
๐ Bug Fixes
- ๐ Fixes an issue where
LYRQueryController
's access toallObjects
could crash ifpaginationWindow
was smaller thantotalNumberOfObjects
. - ๐ Fixes a bug where the
LYRQueryController
wouldn't allow querying for conversations based on thelastMessage
property. [APPS-2664] - ๐ Fixed an issue where metadata mutations would leak transient copies of
NSDictionary
objects. [APPS-2599] - Client now deallocates public API objects (
LYRConversation
,LYRMessage
,LYRMessagePart
andLYRIdentity
) when they're not in use anymore. - ๐ Conversation metadata changes more consistent across clients, when changing it from multiple clients.
- ๐ Fixes an issue where a client could crash during synchronization in response to a push notification of a conversation that was deleted before the client could perform the synchronization process. [APPS-2654]
- ๐ Fixes the connection issues when the client is initialized with the app being launched in background (e.g. due to silent remote notification). [APPS-2566], [APPS-2666]
- Client can now recover from bad database migrations, which could occur when running a new version of the client after an old one crashed. [APPS-2727].
- Fixes an issue where de-authenticating the client might crash with the
malloc: *** error for object 0xXXXXXXXXXXX: pointer being freed was not allocated
message.
- โ Added the