All Versions
117
Latest Version
Avg Release Cycle
17 days
Latest Release
1901 days ago
Changelog History
Page 7
Changelog History
Page 7
-
v0.16.0 Changes
Public API Changes
LYRQueryController
initialization on theLYRClient
changes fromqueryControllerWithQuery:
toqueryControllerWithQuery:error:
to return an error when the client isn't authenticated and a controller can't be created.- ๐
LYRQuery
now supportsLYRConversation
querying on propertymetadata
in dictionary and key path forms. - LayerKit client now tries to resolve message parts' MIMEType and uses an appropriate filename extension for the rich content
(LYRMessagePart *)part.fileURL
.
๐ Bugfix
- โก๏ธ Ensure
LYRMessagePart
fileURL
property is updated whenLYRProgress
fractionCompleted
is 1. - ๐ Fixed
LayerKit
connection issue when XCode Product Name contained a unicode character. - ๐ Fixed a minor memory leak when interacting with the Keychain APIs.
โจ Enhancements
- โก๏ธ Updated exception language when an invalid parameter is supplied to an
LYRQuery
. - โก๏ธ Updated error language when attempting to authenticate with an invalid nonce.
- โ Adding metadata querying support.
-
v0.15.0 Changes
Public API Changes
- ๐ Changed
LYRClient
initializer to accept anNSURL
object for theappID
parameter. - ๐ Changed
appID
property type fromNSUUID
toNSURL
onLYRClient
.
โจ Enhancements
- Introduced file protection with
NSFileProtectionCompleteUntilFirstUserAuthentication
for allLayerKit
files.
๐ Bug Fixes
- ๐ Fixed an issue which caused a crash when calling
objectAtIndexPath:
on an emptyLYRQueryController
.
- ๐ Changed
-
v0.14.3 Changes
โจ Enhancements
- When transitioning to background
LYRClient
now keeps the messaging services running for as long as iOS allows the app to run in the background.
๐ Bug Fixes
- ๐ Fixes an issue where
LYRMessagePart
s hold outdated objects in memory, where updating it can throw exceptions due to mismatched version number. - ๐ Fixes an issue where deleting conversation metadata at key path didn't work.
- ๐ Fixes an issue which caused LayerKit to indefinitely retry conversation creation after receiving an unrecoverable error from server.
- ๐ Fixes an issue where the
LYRClient
would auto-purge most of the downloaded content when setting theclient.diskCapacity
property.
- When transitioning to background
-
v0.14.2 Changes
๐ Bug Fixes
- ๐ Fixes an issue where creating a query controller mutates a collection the client is enumerating.
-
v0.14.1 Changes
Public API Changes
- Introduced
LYRConversation
query predicate and sort descriptorlastMessage.sentAt
, which joins the already existinglastMessage.receivedAt
.
โจ Enhancements
- โ Added logic to speed up synchronization of conversation deletions and metadata updates.
๐ Bug Fixes
- ๐ Fixes an issue where deleted conversations with pending changes caused the sync to completely stop.
- ๐ Fixes an issue where mutlitple local deletions and distinct conversation creations could create object cache inconsistencies and crash.
- ๐ Fixes an issue which caused
LayerKit
to returnnil
instead ofNSUIntegerMax
if an error occurred during a count query.
- Introduced
-
v0.14.0 Changes
โจ Enhancements
- Introduced Announcements, special Messages sent to all users of the application or to a list of users that will arrive outside of the context of a conversation. Announcements can only be sent through the Platform API.
- ๐ Introduced the ability to create a single distinct conversations between participants. This will prevent duplicate conversations if multiple users try to create conversations with each other at the same time. See Public API Changes for more details. Distinct conversations are now the default when creating new conversations. All conversations created before v0.14 are set to be non-distinct.
Public API Changes
- โ Added
LYRAnnouncement
, which models a platform message sent externally from any conversation.LYRAnnouncement
subclassesLYRMessage
and is queryable by itself. This works in conjunction with the Platform API. - โ Added
LYRConversationOptionsDistinctByParticipantsKey
toLYRConversation
as a key for the conversationoptions
initilization parameter. Setting the value for this key toYES
during initialization will guarantee that Layer only ever creates a single conversation for the specified participants.YES
is also default if no options are specified. - โ Added
isDistinct
property toLYRConversation
to indicate whether or not the conversation is distinct by its participant list.
-
v0.13.3 Changes
Public API Changes
- Introduced
LYRObjectChange
, which models a change that has occured upon a Layer model object. This object replaces the change dictionaries thatLYRClient
posted with change notifications. - ๐ Deprecated the following object change dictionary keys:
LYRObjectChangeTypeKey
,LYRObjectChangeObjectKey
,LYRObjectChangePropertyKey
,LYRObjectChangeOldValueKey
,LYRObjectChangeNewValueKey
. Use the public properties onLYRObjectChange
instead.
โจ Enhancements
- ๐ Improved the performance of the Rich Content management (smaller memory footprint and CPU usage).
- โฑ Prioritized auto-download scheduling of message parts with Rich Content.
๐ Bug Fixes
- ๐ Fixed crash caused by attempting to add a participant to a conversation they are already in.
- ๐ Fixed crash caused by attempting to remove a participant from a conversation they are not in.
- ๐ Fixed crash when dealing with huge numbers of Rich Content parts.
- ๐ Fixed an issue where sent messages' recipient statuses seemed to be stuck on
LYRRecipientStatusPending
, even though messages were successfully sent.
- Introduced
-
v0.13.2 Changes
๐ Bug Fixes
- ๐ Fixed bug that prevented
LYRClient
objects from being properly deallocated.
- ๐ Fixed bug that prevented
-
v0.13.1 Changes
๐ Bug Fixes
- ๐ Fixed crash during synchronization caused by improperly set error pointers.
- ๐ Fixed crash during synchronization caused by fetching thousands of conversations at a time.
- ๐ Fixed crash caused by a Layer Client being deauthenticated while trying to mark messages as read.
- ๐ Fixed bug that could cause message recipient status to not update properly.
-
v0.13.0 Changes
โจ Enhancements
- โ Added the ability to receive messages from non-human actors via the Layer Platform API.
- ๐จ Implemented partial object faulting to lower memory footprint.
- โ Added
LYRRecipientStatusPending
to theLYRRecipientStatus
enumeration to align more closely with Layer Android SDK.
๐ Bug Fixes
- ๐ Changed the behavior of
recipientStatusByUserID
such that the status for each recipient isLYRRecipientStatusPending
rather thanLYRRecipientStatusSent
when a message is awaiting transport.
Public API Changes
- ๐ The
LYRMessage
propertysentByUserID
has been deprecated. - ๐ The
LYRActor
objectsender
is a new property onLYRMessage
to support non-human actors. Thesender
has two mutually exclusive properties,userID
andname
.userID
is the user ID of a participant that sends a message, andname
is the name specified from a platform non-human message sent in a conversation.