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

Changelog History
Page 4

  • v0.10.1 Changes

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug that caused a race condition to be met when invalidating the intrinsicContentSize of the MessageInputBar which froze the app during a "Select" or "Select All" long press #313 by @zhongwuzw.

    • ๐Ÿ›  Fixed a bug that the placeholderLabel subview of InputTextView leads to ambiguous content size because of uncorrect Auto Layout. #310 by @zhongwuzw.

    • ๐Ÿ›  Fixed a bug that the leftStackViewใ€rightStackView subview of MessageInputBar leads to ambiguous Auto Layout issue because of typo. #311 by @zhongwuzw.

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ Changed InputStackView default alignment from .fill to .bottom. #311 by @zhongwuzw.
  • v0.10.0 Changes

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

    โž• Added

    • ๐Ÿ’ฅ Breaking Change .custom((MessageContainerView)->Void) case to MessageStyle enum. #163 by @SD10.

    • ๐Ÿ’ฅ Breaking Change UIEdgeInsets associated value to all LabelAlignment enum cases. #166 by @SD10.

    • ๐Ÿ’ฅ Breaking Change .emoji(String) case to MessageData enum. #222 by @SirArkimdes.

    • ๐Ÿ’ฅ Breaking Change TextMessageDisplayDelegate to handle enabledDetectors(for:at:in) and moves textColor(for:at:in) to this namespace. #230 by @SD10

    • LocationMessageDisplayDelegate to customize a location messages appearance and add a MKAnnotationView to location message snapshots. #150 by @etoledom.

    • messageLabelInsets(for:indexPath:messagesCollectionView method to MessagesLayoutDelegate. #162 by @SD10.

    • animationBlockForLocation(message:indexPath:messagesCollectionView) method to LocationMessageDisplayDelegate to customize the display animation of the location message's map. #210 by @etoledom.

    • scrollsToBottomOnFirstLayout property to automatically scroll to the bottom of MessagesCollectionView on first load. #213 by @FraDeliro.

    • scrollsToBottomOnKeyboardDidBeginEditing property to automatically scroll to the bottom of MessagesCollectionView when the keyboard begins editing. #217 by @SD10.

    • additionalTopContentInset property to MessagesCollectionViewController to allow users to account for extra subviews. #218 by @SD10.

    • messagePadding(for:at:in) method to MessagesLayoutDelegate to dynamically set padding around MessageContainerView. #208 by @SD10.

    ๐Ÿ›  Fixed

    • MessageInputBar now correctly sizes itself when breaking its max height or pasting in large amounts of text #173 by @nathantannar4.

    • MessageInputBar faced a rendering issue on subsequent presentations of a MessageViewController. This was originally patched by adding a copy to the view during viewDidAppear(animated:) however that led to other issues #116. A correct patch has now been applied. #178 by @nathantannar4.

    • 0๏ธโƒฃ Incorrect sizing of MessagesCollectionViews content inset by setting extendedLayoutIncludesOpaqueBars to true by default. #204 by @SD10.

    • scrollIndicatorInsets to match the insets of the MessagesCollectionView. #174 by @etoledom.

    • MediaMessageCell had an offset PlayButtonView that was being constrained to the cell and not the message container. #239 by @SirArkimedes.

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ Breaking Change snapshotOptionsForLocation method is now part of LocationMessageDisplayDelegate. #150 by @etoledom.

    • ๐Ÿ’ฅ Breaking Change setMapSnapshotImage now includes an annotationView: MKAnnotationView? argument. #150 by @etoledom.

    • ๐Ÿ’ฅ Breaking Change messageLabelInsets has been made into a method on MessagesLayoutDelegate. #162 by @SD10.

    • ๐Ÿ’ฅ Breaking Change messageLabelInsets now defaults to a left inset of 18 for incoming messages and a right inset of 18 for outgoing messages. #162 by @SD10.

    • ๐Ÿ’ฅ Breaking Change InputTextView's UITextViewDelegate is now set to self #173 by @nathantannar4.

    • ๐Ÿ’ฅ Breaking Change MessagesDisplayDelegate messageHeaderView(for:at:in) and messageFooterView(for:at:in) to return non-optionals. #229 by @SD10.

    • ๐Ÿ’ฅ Breaking Change MessagesCollectionView dequeueMessageHeaderView(withIdentifier:for:) & dequeueMessageFooterView(widthIdentifier:for:) have been renamed to dequeueReusableHeaderView(CollectionViewReusable.Type,for:) & dequeueReusableFooterView(CollectionViewReusable.Type,for:). #229 by @SD10.

    • ๐Ÿ”ง configure method of all MessageCollectionViewCell types to be marked as open. #200 by @SD10.

    • MessageHeaderView, MessageFooterView, and MessageDateHeaderView initializers to be public. #175 by @cwalo.

    • UICollectionViewDataSource and UICollectionViewDelegate methods of MessagesViewController to be open. #177 by @cwalo.

    โœ‚ Removed

    • ๐Ÿ’ฅ Breaking Change cellTopLabelInsets and cellBottomLabelInsets from MessagesCollectionViewFlowLayout. #166 by @SD10.

    • ๐Ÿ’ฅ Breaking Change messageToViewEdgePadding on MessagesCollectionViewFlowLayout in favor of messagePadding(for:at:in). #208 by @SD10.

  • v0.8.2 Changes

    โž• Added

    • ๐Ÿ‘Œ Support for Swift 4
  • v0.8.1 Changes

    โž• Added

    • ๐Ÿ‘Œ Support for Swift 3.2 and Xcode 9
  • v0.8.0 Changes

    ๐Ÿš€ 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.
  • v0.7.4 Changes

    • ๐Ÿ›  Fixes invalid image path for Carthage resources.
  • v0.7.3 Changes

    • ๐Ÿ›  Fixes missing asset bundle resources for Carthage installation.
  • v0.7.2

  • v0.7.1 Changes

    • ๐Ÿ›  Fixes missing asset bundle resources in framework.