MessageKit v2.0.0-beta.1 Release Notes

Release Date: 2018-10-14 // over 5 years ago
  • 🔄 Changed

    • 💥 Breaking Change Updated codebase to Swift 4.2 #883 by @nathantannar4

    • 🛠 Fixed the way that the Strings and UIImages are parsed in the InputTextView to prevent crashes in parseForComponents(). #791 by @nathantannar4

    ➕ Added

    • 💥 Breaking Change Added .hashtag, .mention to detect theses pattern inside the messageLabel. We also add .custom(pattern: YOUR_PATTERN) to DetectorType to manage and deal with your own regular expression. #913 by @JulienKode.

    • ➕ Added support for detection and handling of NSLinks inside of messages. #815 by @jnic

    • ➕ Added customizable accessoryView, with a new MessagesDisplayDelegate function configureAccessoryView, and corresponding size & padding properties in MessageSizeCalculator. The accessoryView is aligned to the center of the messageContainerView. #710 by @hyouuu

    • ➕ Added a tap gesture recognition to the accessoryView which calls the MessageCellDelegate function didTapAccessoryView(in:). #834 by @nathantannar4

    • ➕ Added additionalBottomInset property that allows to adjust the bottom content inset automatically set on the messages collection view by the view controller. #787 by @andreyvit

    🛠 Fixed

    • 💥 Breaking Change Fixed typo of scrollsToBottomOnKeyboardBeginsEditing to scrollsToBottomOnKeyboardBeginsEditing. #856 by @p-petrenko

    • 🛠 Fixed a bug that prevented MessageLabel from laying out properly when contained by superviews using autolayout. #889 by @marius-serban.

    • 🛠 Fixed bottom content inset adjustment when using an undocked keyboard on iPad, or when edgesForExtendedLayout does not include .top, or when a parent container view controller adds extra views at the top of the screen. #787 by @andreyvit

    • 🛠 Fixed the MessageData.emoji case to use 2x the messageLabelFont size by default. #795 by @Vortec4800.

    🛠 Fixed

    • 🛠 Fixed MessagesCollectionView to allow to use nibs with MessageReusableView. #832 by @maxxx777.

    • 🛠 Fixed multiple crashes at views, when views are being called from another XIB. #905 by @talanov.