MessageKit(new) v0.9.0 Release Notes

  • โž• Added

    • ๐Ÿ’ฅ Breaking Change .custom((MessageContainerView)->Void) case to MessageStyle enum. #163 by @SD10.

    • ๐Ÿ’ฅ Breaking Change UIEdgeInsets associated value to all LabelAlignment enum cases. #166 by @SD10.

    • ๐Ÿ’ฅ Breaking Change .emoji(String) case to MessageData enum. #222 by @SirArkimdes.

    • ๐Ÿ’ฅ Breaking Change TextMessageDisplayDelegate to handle enabledDetectors(for:at:in) and moves textColor(for:at:in) to this namespace. #230 by @SD10

    • LocationMessageDisplayDelegate to customize a location messages appearance and add a MKAnnotationView to location message snapshots. #150 by @etoledom.

    • messageLabelInsets(for:indexPath:messagesCollectionView method to MessagesLayoutDelegate. #162 by @SD10.

    • animationBlockForLocation(message:indexPath:messagesCollectionView) method to LocationMessageDisplayDelegate to customize the display animation of the location message's map. #210 by @etoledom.

    • scrollsToBottomOnFirstLayout property to automatically scroll to the bottom of MessagesCollectionView on first load. #213 by @FraDeliro.

    • scrollsToBottomOnKeyboardDidBeginEditing property to automatically scroll to the bottom of MessagesCollectionView when the keyboard begins editing. #217 by @SD10.

    • additionalTopContentInset property to MessagesCollectionViewController to allow users to account for extra subviews. #218 by @SD10.

    • messagePadding(for:at:in) method to MessagesLayoutDelegate to dynamically set padding around MessageContainerView. #208 by @SD10.

    ๐Ÿ›  Fixed

    • MessageInputBar now correctly sizes itself when breaking its max height or pasting in large amounts of text #173 by @nathantannar4.

    • MessageInputBar faced a rendering issue on subsequent presentations of a MessageViewController. This was originally patched by adding a copy to the view during viewDidAppear(animated:) however that led to other issues #116. A correct patch has now been applied. #178 by @nathantannar4.

    • 0๏ธโƒฃ Incorrect sizing of MessagesCollectionViews content inset by setting extendedLayoutIncludesOpaqueBars to true by default. #204 by @SD10.

    • scrollIndicatorInsets to match the insets of the MessagesCollectionView. #174 by @etoledom.

    • MediaMessageCell had an offset PlayButtonView that was being constrained to the cell and not the message container. #239 by @SirArkimedes.

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ Breaking Change snapshotOptionsForLocation method is now part of LocationMessageDisplayDelegate. #150 by @etoledom.

    • ๐Ÿ’ฅ Breaking Change setMapSnapshotImage now includes an annotationView: MKAnnotationView? argument. #150 by @etoledom.

    • ๐Ÿ’ฅ Breaking Change messageLabelInsets has been made into a method on MessagesLayoutDelegate. #162 by @SD10.

    • ๐Ÿ’ฅ Breaking Change messageLabelInsets now defaults to a left inset of 18 for incoming messages and a right inset of 18 for outgoing messages. #162 by @SD10.

    • ๐Ÿ’ฅ Breaking Change InputTextView's UITextViewDelegate is now set to self #173 by @nathantannar4.

    • ๐Ÿ’ฅ Breaking Change MessagesDisplayDelegate messageHeaderView(for:at:in) and messageFooterView(for:at:in) to return non-optionals. #229 by @SD10.

    • ๐Ÿ’ฅ Breaking Change MessagesCollectionView dequeueMessageHeaderView(withIdentifier:for:) & dequeueMessageFooterView(widthIdentifier:for:) have been renamed to dequeueReusableHeaderView(CollectionViewReusable.Type,for:) & dequeueReusableFooterView(CollectionViewReusable.Type,for:). #229 by @SD10.

    • ๐Ÿ”ง configure method of all MessageCollectionViewCell types to be marked as open. #200 by @SD10.

    • MessageHeaderView, MessageFooterView, and MessageDateHeaderView initializers to be public. #175 by @cwalo.

    • UICollectionViewDataSource and UICollectionViewDelegate methods of MessagesViewController to be open. #177 by @cwalo.

    โœ‚ Removed

    • ๐Ÿ’ฅ Breaking Change cellTopLabelInsets and cellBottomLabelInsets from MessagesCollectionViewFlowLayout. #166 by @SD10.

    • ๐Ÿ’ฅ Breaking Change messageToViewEdgePadding on MessagesCollectionViewFlowLayout in favor of messagePadding(for:at:in). #208 by @SD10.