diff --git a/CHANGELOG.md b/CHANGELOG.md index 5521a6b9..1b3a0220 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ The changelog for `MessageKit`. Also see the [releases](https://github.com/Messa ## Upcoming release +### Fixed + +- Fixed `indexPathForLastItem` bug when `numberOfSections` equal to 1. +[#395](https://github.com/MessageKit/MessageKit/issues/395) by [@zhongwuzw](https://github.com/zhongwuzw). + +- Fixed `scrollToBottom(animated:)` not work in some situations. +[#395](https://github.com/MessageKit/MessageKit/issues/395) by [@zhongwuzw](https://github.com/zhongwuzw). + ### Changed - **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. @@ -14,6 +22,11 @@ The changelog for `MessageKit`. Also see the [releases](https://github.com/Messa - **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](https://github.com/MessageKit/MessageKit/pull/384) by [@nathantannar4](https://github.com/nathantannar4). +### Removed + +- **Breaking Change** Removed `scrollsToBottomOnFirstLayout` flag of `MessagesViewController`. +[#395](https://github.com/MessageKit/MessageKit/pull/395) by [@zhongwuzw](https://github.com/zhongwuzw). + ## [[Prerelease] 0.11.0](https://github.com/MessageKit/MessageKit/releases/tag/0.11.0) ### Added