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 theMessageInputBar
which froze the app during a "Select" or "Select All" long press #313 by @zhongwuzw.๐ Fixed a bug that the
placeholderLabel
subview
ofInputTextView
leads to ambiguous content size because of uncorrectAuto Layout
. #310 by @zhongwuzw.๐ Fixed a bug that the
leftStackView
ใrightStackView
subview
ofMessageInputBar
leads to ambiguousAuto Layout
issue because of typo. #311 by @zhongwuzw.
๐ Changed
- 0๏ธโฃ Changed
InputStackView
defaultalignment
from.fill
to.bottom
. #311 by @zhongwuzw.
-
v0.10.0 Changes
โ Added
โ Added
removedCachedAttributes(for:MessageType)
,removeAllCachedAttributes()
, andattributesCacheMaxSize
toMessagesCollectionViewFlowLayout
to manage the caching of layout information for messages. #263 by @SD10.Created
SeparatorLine
andInputStackView
as their own subclass ofUIView
andUIStackView
respectively. This just improves reusability. #273 by @nathantannar4.
๐ Changed
๐ฅ Breaking Change The properties
leftStackView
,rightStackView
andbottomStackView
inMessageInputBar
are now of typeInputStackView
. The propertyseparatorLine
is also now of typeSeparatorLine
inMessageInputBar
. #273 by @nathantannar4.Layout information is now being cached by
MessagesCollectionViewFlowLayout
for eachMessageType
using themessageId
property. (This means if your layout is dynamic over theIndexPath
you need to handle cache invalidation). #263 by @SD10.Layout anchors for the
MessagesCollectionView
andMessageInputBar
now include the safeAreaLayoutGuide to fix layout issues on iPhone X #280 by @nathantannar4.
๐ Fixed
๐ Fixed a bug that prevented the
textAllignment
property ofInputTextView
'splaceholderLabel
from having noticable differences when changed to.center
or.right
. #262 by @nathantannar4.Initial
contentInset.bottom
reference changed frommessageInputBar
toinputAccessoryView
to allow custominputAccessoryView
's that don't break the initial layout. #267 by @nathantannar4.Changes the
MessageInputBar
bottomUIStackView
'sbottomAnchor
tolayoutMarginsGuide.bottomAnchor
to fix issues on the iPhone X. #266 by @nathantannar4.Initial
contentInset.bottom
reference changed frommessageInputBar
toinputAccessoryView
to allow custom inpinputAccessoryView
's that don't break the initial layout #267 by @nathantannar4.
โ Removed
-
v0.9.0 Changes
โ Added
๐ฅ 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 handleenabledDetectors(for:at:in)
and movestextColor(for:at:in)
to this namespace. #230 by @SD10LocationMessageDisplayDelegate
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 toMessagesCollectionViewController
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.
๐ 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 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.0๏ธโฃ 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.
๐ Changed
๐ฅ 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.
โ Removed
-
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 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
-
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.