MessageKit(new) v0.8.0 Release Notes
-
๐ 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 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
๐ Changed
- Keyboard handling no longer adjusts the top & bottom insets for
MessagesCollectionView
. - ๐
MessageStyle
s are now applied as amask
on theMessageContainerView
๐ Deprecated
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.
๐ 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 of30 x 30
.AvatarView
's placeholder text can now auto-adjust based on available width.
- ๐ฅ Breaking Change