MessageKit v3.0.0-beta Release Notes

Release Date: 2019-04-06 // almost 5 years ago
  • 3.0.0

    Dependency Changes

    • ๐Ÿ’ฅ Breaking Change The dependency MessageInputBar was replaced with InputBarAccessoryView. As MessageInputBar was previously a fork this means no functionality has been lost but improvements and bug fixes will be present. InputBarAccessoryView has more of a following outside of MessageKit making its development faster than MessageInputBar. Maintaining two versions only increased the workload. You can find the changelog for InputBarAccessoryView here.

    ๐Ÿ”„ Changed

    ๐Ÿ’ฅ Breaking Change Deprecated the Sender struct in favor of the SenderType protocol.
    #909 by @nathantannar4

    ๐Ÿ’ฅ Breaking Change Add support for audio messages. Added new protocols AudioControllerDelegate, AudioItem a new cell AudioMessageCell and a new controller BasicAudioController.
    #892 by @moldovaniosif.

    ๐Ÿ’ฅ Breaking Change Moved handleTapGesture method to MessageCollectionViewCell
    #950 by @nathantannar4

    ๐Ÿ’ฅ Breaking Change Renamed function layoutBottomLabel(with:) to layoutMessageBottomLabel(with:) in MessageContentCell class.
    #920 by @maxxx777

    โž• Added

    ๐Ÿ’ฅ Breaking Change Add support for share contact. #1013 by @moldovaniosif

    โž• Added typing indicator support, func setTypingIndicatorViewHidden(_ isHidden: Bool, animated: Bool, whilePerforming updates: (() -> Void)? = nil, completion: ((Bool) -> Void)? = nil). Return a custom typing view by conforming to MessagesDisplayDelegate or use the default appearance. Customize the size with MessagesLayoutDelegate .
    #989 by @nathantannar4

    โž• Added AccessoryPosition class.
    #989 by @subdiox

    โž• Added incomingAccessoryViewPosition and outgoingAccessoryViewPosition variables to MessageSizeCalculator class.
    #989 by @subdiox

    Added setMessageIncomingAccessoryViewPosition(_:) and setMessageOutgoingAccessoryViewPosition(_:) functions to MessagesCollectionViewFlowLayout class.
    #989 by @subdiox

    ๐Ÿ’ฅ Breaking Change Added avatarLeadingTrailingPadding as a property of CellSizeCalculator and MessagesCollectionViewLayoutAttributes to inset the AvatarView layout
    #944 by @nathantannar4

    ๐Ÿ’ฅ Breaking Change Added didTapBackground(in:) function to MessageCellDelegate protocol.
    #922 by @kpennacchia

    ๐Ÿ’ฅ Breaking Change Added didTapCellBottomLabel(in:) function to MessageCellDelegate protocol.
    #920 by @maxxx777

    ๐Ÿ’ฅ Breaking Change Added cellBottomLabelAttributedText(for:, at:) function to MessagesDataSource protocol.
    #920 by @maxxx777

    ๐Ÿ’ฅ Breaking Change Added cellBottomLabelHeight(for:, at:, in messagesCollectionView:) function to MessagesLayoutDelegate protocol.
    #920 by @maxxx777

    โž• Added cellBottomLabel to MessageContentCell.
    #920 by @maxxx777

    โž• Added layoutCellBottomLabel(with:) function to MessageContentCell class.
    #920 by @maxxx777

    Added setMessageIncomingCellBottomLabelAlignment(_:) and setMessageOutgoingCellBottomLabelAlignment(_:) functions to MessagesCollectionViewFlowLayout class.
    #920 by @maxxx777

    โž• Added cellBottomLabelAlignment and cellBottomLabelSize variables to MessagesCollectionViewLayoutAttributes class.
    #920 by @maxxx777

    โž• Added incomingCellBottomLabelAlignment and outgoingCellBottomLabelAlignment variables to MessageSizeCalculator class.
    #920 by @maxxx777

    โž• Added cellBottomLabelSize(for:, at:) and cellBottomLabelAlignment(for:) functions to MessageSizeCalculator class.
    #920 by @maxxx777