Skip to content

4.0.0 Beta 2 - The King is dead, long live the King

Pre-release
Pre-release

Choose a tag to compare

@martinpucik martinpucik released this 16 May 15:43
· 167 commits to main since this release
77695e1

4.0.0 Beta 2

4.0.0 Beta 1

iOS 12 has been around for a while, but with upcoming WWDC, we are ready to let this version go and rest in peace forever. The same could be said about CocoaPods - what used to be the major and most important thing on iOS for developing apps with 3rd party libraries - has been replaced by natively supported way called Swift Package Manager.

Sit tibi terra levis.


See MIGRATION_GUIDE.md for migration to the new V4.

Changed

  • Breaking change: Dropped CocoaPods support
  • Breaking change: Dropped support for iOS 12 2bd234b by @martinpucik
  • Breaking change: Moved messageInputBar from inputAccessoryView to a subview in MessagesViewController #1704 by @martinpucik
  • Deprecation: Deprecated maintainPositionOnKeyboardFrameChangedMoved in favor of maintainPositionOnInputBarHeightChanged which better describes the intended use of this property #1704 by @martinpucik
  • Breaking change: Added an argument to messageContainerMaxWidth cd4f75b by @martinpucik
    MessageSizeCalculator.messageContainerMaxWidth(for message: MessageType) -> CGFloat
    now has IndexPath argument
    MessageSizeCalculator.messageContainerMaxWidth(for message: MessageType, at indexPath: IndexPath) -> CGFloat
  • Breaking change: Added an argument to messageContainerSize cd4f75b by @martinpucik
    MessageSizeCalculator.messageContainerSize(for message: MessageType) -> CGSize
    now has IndexPath argument
    MessageSizeCalculator.messageContainerSize(for message: MessageType, at indexPath: IndexPath) -> CGSize

Fixed

Added

  • New method in MessagesLayoutDelegate for setting message avatar size ddfc814 by @martinpucik
  • MessageInputBarKind enum for customizing messageInputBar inside inputContainerView #1707 by @martinpucik

Removed