The changelog for MessageKit
. Also see the releases on GitHub.
-
Breaking Change
.custom((MessageContainerView)->Void)
case toMessageStyle
enum. #163 by @SD10. -
Breaking Change
UIEdgeInsets
associated value to allLabelAlignment
enum cases. #166 by @SD10. -
Breaking Change
.emoji(String)
case toMessageData
enum. #222 by @SirArkimdes. -
Breaking Change
TextMessageDisplayDelegate
to handleenabledDetecors(for:at:in)
and movestextColor(for:at:in)
to this namespace. #230 by @SD10 -
LocationMessageDisplayDelegate
to customize a location messages appearance and add aMKAnnotationView
to location message snapshots. #150 by @etoledom. -
messageLabelInsets(for:indexPath:messagesCollectionView
method toMessagesLayoutDelegate
. #162 by @SD10. -
animationBlockForLocation(message:indexPath:messagesCollectionView)
method toLocationMessageDisplayDelegate
to customize the display animation of the location message's map. #210 by @etoledom. -
scrollsToBottomOnFirstLayout
property to automatically scroll to the bottom ofMessagesCollectionView
on first load. #213 by @FraDeliro. -
scrollsToBottomOnKeyboardDidBeginEditing
property to automatically scroll to the bottom ofMessagesCollectionView
when the keyboard begins editing. #217 by @SD10. -
additionalTopContentInset
property toMessagesColectionViewController
to allow users to account for extra subviews. #218 by @SD10. -
messagePadding(for:at:in)
method toMessagesLayoutDelegate
to dynamically set padding aroundMessageContainerView
. #208 by @SD10.
-
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 aMessageViewController
. This was originally patched by adding a copy to the view duringviewDidAppear(animated:)
however that led to other issues #116. A correct patch has now been applied. #178 by @nathantannar4. -
Incorrect sizing of
MessagesCollectionView
s content inset by settingextendedLayoutIncludesOpaqueBars
to true by default. #204 by @SD10. -
scrollIndicatorInsets
to match the insets of theMessagesCollectionView
. #174 by @etoledom. -
MediaMessageCell
had an offsetPlayButtonView
that was being constrained to the cell and not the message container. #239 by @SirArkimedes.
-
Breaking Change
snapshotOptionsForLocation
method is now part ofLocationMessageDisplayDelegate
. #150 by @etoledom. -
Breaking Change
setMapSnapshotImage
now includes anannotationView: MKAnnotationView?
argument. #150 by @etoledom. -
Breaking Change
messageLabelInsets
has been made into a method onMessagesLayoutDelegate
. #162 by @SD10. -
Breaking Change
messageLabelInsets
now defaults to aleft
inset of 18 for incoming messages and aright
inset of 18 for outgoing messages. #162 by @SD10. -
Breaking Change
InputTextView
'sUITextViewDelegate
is now set toself
#173 by @nathantannar4. -
Breaking Change
MessagesDisplayDelegate
messageHeaderView(for:at:in)
andmessageFooterView(for:at:in)
to return non-optionals. #229 by @SD10. -
Breaking Change
MessagesCollectionView
dequeueMessageHeaderView(withIdentifier:for:)
&dequeueMessageFooterView(widthIdentifier:for:)
have been renamed todequeueReusableHeaderView(CollectionViewReusable.Type,for:)
&dequeueReusableFooterView(CollectionViewReusable.Type,for:)
. #229 by @SD10. -
configure
method of allMessageCollectionViewCell
types to be marked asopen
. #200 by @SD10. -
MessageHeaderView
,MessageFooterView
, andMessageDateHeaderView
initializers to bepublic
. #175 by @cwalo. -
UICollectionViewDataSource
andUICollectionViewDelegate
methods ofMessagesViewController
to beopen
. #177 by @cwalo.
-
Breaking Change
cellTopLabelInsets
andcellBottomLabelInsets
fromMessagesCollectionViewFlowLayout
. #166 by @SD10. -
Breaking Change
messageToViewEdgePadding
onMessagesCollectionViewFlowLayout
in favor ofmessagePadding(for:at:in)
. #208 by @SD10.
- Support for Swift 4
- Support for Swift 3.2 and Xcode 9
This release closes the 0.8 milestone.
- Breaking Change
MessageData
now supports.photo(UIImage)
,.location(CLLocation)
,.video(file: URL, thumbnail: UIImage)
cases. - Breaking Change
MessageCollectionViewCell
is now generic over itsContentView
constrained toUIView
. - Breaking Change
TextMessageCell
subclass ofMessageCollectionViewCell
to support text messages. MediaMessageCell
subclass ofMessageCollectionViewCell
to support photo/video messages.LocationMessageCell
subclass ofMessageCollectionViewCell
to support location messages.- Adds
LocationMessageLayoutDelegate
for sizing of location messages. - Adds
MediaMessageLayoutDelegate
for sizing of media messages. AvatarView
now supportsfontMinimumScaleFactor
,placeholderFontColor
, andplaceholderFont
properties
- Keyboard handling no longer adjusts the top & bottom insets for
MessagesCollectionView
. MessageStyle
s are now applied as amask
on theMessageContainerView
MessageCollectionViewCell
'smessageLabel
has been renamed tomessageContentView
AvatarView
'ssetBackground(color: UIColor)
method has been deprecated in favor ofbackgroundColor
AvatarView
'sgetImage()
method has been deprecated in favor of a newimage
property.
- 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 of30 x 30
.AvatarView
's placeholder text can now auto-adjust based on available width.
- Fixes invalid image path for Carthage resources.
- Fixes missing asset bundle resources for Carthage installation.
- Fixes missing asset bundle resources in framework.
This release closes the 0.7 milestone
This release closes the 0.6 milestone.
This release closes the 0.5 milestone.
This release closes the 0.4 milestone.
This release closes the 0.3 milestone.
This release closes the 0.2 milestone.
This release closes the 0.1 milestone.
Initial release. 🎉