MessageKit(new) v0.8.0 Release Notes

  • ๐Ÿš€ This release closes the 0.8 milestone.

    โž• Added

    • ๐Ÿ’ฅ Breaking Change MessageData now supports .photo(UIImage), .location(CLLocation), .video(file: URL, thumbnail: UIImage) cases.
    • ๐Ÿ’ฅ Breaking Change MessageCollectionViewCell is now generic over its ContentView constrained to UIView.
    • ๐Ÿ’ฅ Breaking Change TextMessageCell subclass of MessageCollectionViewCell to support text messages.
    • ๐Ÿ‘ MediaMessageCell subclass of MessageCollectionViewCell to support photo/video messages.
    • ๐Ÿ‘ LocationMessageCell subclass of MessageCollectionViewCell to support location messages.
    • โž• Adds LocationMessageLayoutDelegate for sizing of location messages.
    • โž• Adds MediaMessageLayoutDelegate for sizing of media messages.
    • ๐Ÿ‘ AvatarView now supports fontMinimumScaleFactor, placeholderFontColor, and placeholderFont properties

    ๐Ÿ”„ Changed

    • Keyboard handling no longer adjusts the top & bottom insets for MessagesCollectionView.
    • ๐Ÿ’… MessageStyles are now applied as a mask on the MessageContainerView

    ๐Ÿ—„ Deprecated

    • MessageCollectionViewCell's messageLabel has been renamed to messageContentView
    • ๐Ÿ—„ AvatarView's setBackground(color: UIColor) method has been deprecated in favor of backgroundColor
    • ๐Ÿ—„ AvatarView's getImage() method has been deprecated in favor of a new image property.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixes extra height on text messages due to font specified in MessagesCollectionViewFlowLayout not being applied.
    • AvatarView's placeholder image is no longer constrained to a size of 30 x 30.
    • AvatarView's placeholder text can now auto-adjust based on available width.