Skip to content

Version 0.12.0#415

Merged
SD10 merged 108 commits intomasterfrom
development
Dec 18, 2017
Merged

Version 0.12.0#415
SD10 merged 108 commits intomasterfrom
development

Conversation

@SD10
Copy link
Copy Markdown
Member

@SD10 SD10 commented Dec 18, 2017

TODO:

  • Update Podspec
  • Update CHANGELOG

[Prerelease] 0.12.0

Added

  • Added reloadDataAndKeepOffset() method to MessagesCollectionView to maintain the current position
    when reloading data.
    #284 by @azurechen.

  • Added maintainPositionOnKeyboardFrameChanged: Bool property to maintain the current position of the
    MessagesCollectionView when the height of the MessageInputBar changes.
    #340 by @KEN-chan.

  • Added detectorAttributes(for:and:at:) method to MessagesDisplayDelegate allowing DetectorType
    attributes to be set outside of the cell.
    #397 by @SD10.

Fixed

  • Fixed indexPathForLastItem bug when numberOfSections equal to 1.
    #395 by @zhongwuzw.

  • Fixed scrollToBottom(animated:) not work in some situations.
    #395 by @zhongwuzw.

  • Fixed .attributedText(NSAttributedString) messages that were not using the textColor from the
    MessagesDisplayDelegate method.
    #414 by @SD10.

  • Fixed a bug where new messages using .attributedText(NSAttributedString) have the incorrect font.
    #412 by @SD10.

Changed

  • Breaking Change The MessageLabel properties addressAttributes, dateAttributes, phoneNumberAttributes,
    and urlAttributes are now read only. Please use setAttributes(_:detector:) to set these properties.
    #397 by @SD10.

  • Breaking Change Removed the generic constraint <ContentView: UIView> from MessageCollectionViewCell.
    #391 by @SD10.

  • Breaking Change The contentView property has been renamed to imageView for LocationMessageCell and MediaMessageCell
    and messageLabel for TextMessageCell.
    #391 by @SD10.

  • Breaking Change Changed the name of MessageInputBar's property maxHeight to maxTextViewHeight as the property is the max height the InputTextView can have, not the MessageInputBar itself.
    #380 by @nathantannar4.

  • Breaking Change Adds a new view contentView of type UIView to the MessageInputBar to hold the main subviews of the MessageInputBar. Reduces complexity of constraints for easier testing/debugging.
    #384 by @nathantannar4.

Removed

  • Breaking Change Removed scrollsToBottomOnFirstLayout flag of MessagesViewController.
    #395 by @zhongwuzw.

azurechen and others added 30 commits October 26, 2017 01:15
Update swiftlint conf to exclude unneeded sorces
update Example podfile :path value
Moving the test suite to Quick/Nimble
zhongwuzw and others added 29 commits December 14, 2017 20:47
Allow detector attributes to be set outside of cell
Resize imageMask instead of reapplying style
Fix scroll to bottom instead of scroll to bottom bubble
Revert change that attempts to sync MessageLabel properties
Fix to scroll when the height of the keyboard has changed
…-and-maintain-scroll-position

Enhancement/load more messages and maintain scroll position
Fix attributedText messageLabelFont bug
Revert to old cell configure API and fix #407
@SD10 SD10 merged commit 70244ba into master Dec 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants