MessageKit v0.11.0 Release Notes

  • โž• Added

    • ๐Ÿ’ฅ Breaking Change Added a top InputStackView to MessageInputBar. This adds the addition of the .top case to InputStackView.Position. #320 by @nathantannar4.

    • ๐Ÿ’ฅ Breaking Change Added AvatarPosition and avatarPosition(for:at:in) to configure an AvatarView's vertical and horizontal position in a MessageCollectionViewCell. #322 by @SD10.

    • โž• Added shouldCacheLayoutAttributes(for:MessageType)-> Bool method to MessagesLayoutDelegate to manage whether a MessageType's layout information is cached or not. #364 by @SD10.

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ Breaking Change The cellTopLabel and cellBottomLabel properties of MessageCollectionViewCell are no longer typed as MessageLabel and are now regular UILabels. #355 by @SD10.

    • 0๏ธโƒฃ All DetectorTypes for MessageLabel are disabled by default. #356 by @SD10.

    ๐Ÿ›  Fixed

    • ๐Ÿ’ฅ Breaking Change Fixed all instances of misspelled initial property. Avatar.initial has changed to Avatar.initial and the initializer has changed from public init(image: UIImage? = nil, initials: String = "?") to public init(image: UIImage? = nil, initials: String = "?"). #298 by @sidmclaughlin.

    • ๐Ÿ›  Fixed MessageInputBar's translucent functionality. #348 by @zhongwuzw.

    • ๐Ÿ›  Fixes infinite loop when dismissing keyboard on iPhone X. #350 by @nathantannar4.

    • ๐Ÿ›  Fixed incorrect sizing of cellTopLabel and cellBottomLabel. #371 by @SD10.

    โœ‚ Removed

    • ๐Ÿ’ฅ Breaking Change Removed AvatarAlignment and avatarAlignment(for:at:in) delegate method in favor of new AvatarPosition representing both vertical and horizontal alignments. #322 by @SD10.

    • ๐Ÿ’ฅ Breaking Change Removed the avatarAlwaysLeading and avatarAlwaysTrailing properties of `MessagesCollectionViewFlow$ #322 by @SD10.

    • ๐Ÿ’ฅ Breaking Change Removed LocationMessageDisplayDelegate & TextMessageDisplayDelegate and moved their methods ๐Ÿšš into the MessagesDisplayDelegate protocol. Removed LocationMessageLayoutDelegate & MediaMessageLayoutDelegate and ๐Ÿšš moved their methods into the MessagesLayoutDelegate protocol. #363 by @SD10.