All Versions
47
Latest Version
Avg Release Cycle
61 days
Latest Release
-

Changelog History
Page 3

  • v0.13.5 Changes

    April 26, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed MessageLabel touch location offset calculation. #664 by @austinwright.
  • v0.13.4 Changes

    April 11, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed bubbleTailOutline invalidation of message bubble. #633 by @zhongwuzw.

    • ๐Ÿ›  Fixed boundingRect(with:options:attributes:context) wrong size calculation when use some font, e.g. custom font. #645 by @zhongwuzw.

  • v0.13.3 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed font invalidation of attributedString in MessageLabel. #623 by @zhongwuzw.
  • v0.13.2 Changes

    โž• Added

    • โž• Added shouldManageSendButtonEnabledState to MessageInputBar to disable automatically managing MessageInputBar.sendButton's isEnabled state when text changes. (Default value is true). #530 by @clayellis.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed wrong separated components in messageInputBar. #577 by @zhongwuzw.
  • v0.13.1 Changes

    ๐Ÿ›  Fixed

    • โšก๏ธ Optimize collectionView scroll behavior when abruptly stops scrolling. #470 by @zhongwuzw.

    • ๐Ÿ›  Fixed messageInputBar sendButton not disabled in some situations. #475 by @zhongwuzw.

    • ๐Ÿ›  Fixed message bubble tail orientation invalidation in iOS9. #469 by @zhongwuzw.

  • v0.13.0 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed message rendering when MessagesViewController sliding back. #454 by @zhongwuzw.

    • ๐Ÿ›  Fixed iPhoneX MessageInputBar transparent bottom area when keyboardDismissMode is interactive. #425 by @zhongwuzw.

    • ๐Ÿ›  Fixed wrong contentInset calculation when navigationBar is hidden #444 by @zhongwuzw.

    โž• Added

    • โž• Added configureAvatarView(_ avatarView: AvatarView, for message: MessageType, at indexPath: IndexPath, in messagesCollectionView: MessagesCollectionView) method in MessagesDisplayDelegate protocol to configure avatarView. #416 by @zhongwuzw.

    • โž• Added copy support for image, text, and emoji messages. #418 by @zhongwuzw.

    • โž• Added UIImage paste support to the InputTextView. Images can easily be accessed using the InputTextView.images property. โšก๏ธ See the example project for an updated use case.
      #423 by @nathantannar4.

    โœ‚ Removed

    • ๐Ÿ’ฅ Breaking Change Removed avatar(for message: MessageType, at indexPath: IndexPath, in messagesCollectionView: MessagesCollectionView) method of MessagesDataSource, use configureAvatarView(_ avatarView: AvatarView, for message: MessageType, at indexPath: IndexPath, in messagesCollectionView: MessagesCollectionView) instead. #416 by @zhongwuzw.

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ Breaking Change Moved the handleTapGesture(_ gesture: UIGestureRecognizer) method from MessagesCollectionViewCell to MessagesCollectionView. #417 by @zhongwuzw.

    • ๐Ÿ’ฅ Breaking Change Changed AvatarView from type UIView to type UIImageView. #417 by @zhongwuzw.

  • v0.12.1 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed LocationMessageCell reuse bug, to avoid inconsistency when get capture image asynchronously. #428 by @zhongwuzw.

    • ๐Ÿ›  Fixed MessageLabel detector attributes not being applied due to early exit. #429 by @antoinelamy.

  • v0.12.0 Changes

    โž• Added

    • โž• Added reloadDataAndKeepOffset() method to MessagesCollectionView to maintain the current position when reloading data. #284 by @azurechen.

    • โž• Added maintainPositionOnKeyboardFrameChanged: Bool property to maintain the current position of the MessagesCollectionView when the height of the MessageInputBar changes. #340 by @KEN-chan.

    • โž• Added detectorAttributes(for:and:at:) method to MessagesDisplayDelegate allowing DetectorType attributes to be set outside of the cell. #397 by @SD10.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed indexPathForLastItem bug when numberOfSections equal to 1. #395 by @zhongwuzw.

    • ๐Ÿ›  Fixed scrollToBottom(animated:) not work in some situations. #395 by @zhongwuzw.

    • ๐Ÿ›  Fixed .attributedText(NSAttributedString) messages that were not using the textColor from the MessagesDisplayDelegate method. #414 by @SD10.

    • ๐Ÿ›  Fixed a bug where new messages using .attributedText(NSAttributedString) have the incorrect font. #412 by @SD10.

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ Breaking Change The MessageLabel properties addressAttributes, dateAttributes, phoneNumberAttributes, and urlAttributes are now read only. Please use setAttributes(_:detector:) to set these properties. #397 by @SD10.

    • ๐Ÿ’ฅ Breaking Change Removed the generic constraint <ContentView: UIView> from MessageCollectionViewCell. #391 by @SD10.

    • ๐Ÿ’ฅ Breaking Change The contentView property has been renamed to imageView for LocationMessageCell and MediaMessageCell and messageLabel for TextMessageCell. #391 by @SD10.

    • ๐Ÿ’ฅ Breaking Change Changed the name of MessageInputBar's property maxHeight to maxTextViewHeight as the property is the max height the InputTextView can have, not the MessageInputBar itself. #380 by @nathantannar4.

    • ๐Ÿ’ฅ Breaking Change Adds a new view contentView of type UIView to the MessageInputBar to hold the main subviews of the MessageInputBar. Reduces complexity of constraints for easier testing/debugging. #384 by @nathantannar4.

    โœ‚ Removed

    • ๐Ÿ’ฅ Breaking Change Removed scrollsToBottomOnFirstLayout flag of MessagesViewController. #395 by @zhongwuzw.
  • v0.11.0 Changes

    โž• 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.

  • v0.10.2 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed contentInset.top adjustment of the MessagesCollectionView on iOS versions less than 11 where it was found that messages appeared under the navigation var #334 by @nathantannar4.

    • ๐Ÿ›  Fixed cellbottomLabel origin X for the .messageLeading alignment and origin Y so that the cellBottomLabel is always under the MessageContainerView. #326 by @SD10.

    • ๐Ÿ›  Fixed pixelation of AvatarView's placeholder text initials. #343 by @johnnyoin.

    • ๐Ÿ›  Fixed MessageLabel address detection handler. #341 by @zhongwuzw

    • ๐Ÿ›  Fixed crash for escaping block in InputBarItemโ€™s setSize(newValue:animated) method. #342 by @zhongwuzw.