MessageKit(new) v0.10.0 Release Notes

  • โž• Added

    • โž• Added removedCachedAttributes(for:MessageType), removeAllCachedAttributes(), and attributesCacheMaxSize to MessagesCollectionViewFlowLayout to manage the caching of layout information for messages. #263 by @SD10.

    • Created SeparatorLine and InputStackView as their own subclass of UIView and UIStackView respectively. This just improves reusability. #273 by @nathantannar4.

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ Breaking Change The properties leftStackView, rightStackView and bottomStackView in MessageInputBar are now of type InputStackView. The property separatorLine is also now of type SeparatorLine in MessageInputBar. #273 by @nathantannar4.

    • Layout information is now being cached by MessagesCollectionViewFlowLayout for each MessageType using the messageId property. (This means if your layout is dynamic over the IndexPath you need to handle cache invalidation). #263 by @SD10.

    • Layout anchors for the MessagesCollectionView and MessageInputBar now include the safeAreaLayoutGuide to fix layout issues on iPhone X #280 by @nathantannar4.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug that prevented the textAllignment property of InputTextView's placeholderLabel from having noticable differences when changed to .center or .right. #262 by @nathantannar4.

    • Initial contentInset.bottom reference changed from messageInputBar to inputAccessoryView to allow custom inputAccessoryView's that don't break the initial layout. #267 by @nathantannar4.

    • Changes the MessageInputBar bottom UIStackView's bottomAnchor to layoutMarginsGuide.bottomAnchor to fix issues on the iPhone X. #266 by @nathantannar4.

    • Initial contentInset.bottom reference changed from messageInputBar to inputAccessoryView to allow custom inpinputAccessoryView's that don't break the initial layout #267 by @nathantannar4.

    โœ‚ Removed

    • ๐Ÿ’ฅ Breaking Change Removed additionalTopContentInset property of MessagesViewController because this is no longer necessary when extendedLayoutIncludesOpaqueBars is true. #250 by @SD10.