You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16-7Lines changed: 16 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ the `MessageData.location` case.
32
32
classes that are responsible for sizing the `MessagesCollectionViewCell` types provided by MessageKit.
33
33
[#579](https://github.com/MessageKit/MessageKit/pull/579) by [@SD10](https://github.com/sd10).
34
34
35
-
- Added two new methods `cellTopLabelHeight(for:at:in)`and `cellBottomLabelHeight(for:at:in)` to `MessagesLayoutDelegate`
35
+
- Added three new methods `cellTopLabelHeight(for:at:in)`, `messageTopLabelHeight(for:at:in)`, and `messageBottomLabelHeight(for:at:in)` to `MessagesLayoutDelegate`.
36
36
[#580](https://github.com/MessageKit/MessageKit/pull/580) by [@SD10](https://github.com/sd10).
37
37
38
38
- Added new class `InsetLabel`.
@@ -62,12 +62,6 @@ by removing the `MessageType` and `IndexPath` parameters and replacing them with
62
62
changed to match their class name exactly.
63
63
[#615](https://github.com/MessageKit/MessageKit/pull/615) by [@SD10](https://github.com/sd10).
64
64
65
-
-**Breaking Change** Changed the superclass of `MessageDateHeaderView` from `MessageHeaderView` to `MessageReusableView`.
66
-
[#615](https://github.com/MessageKit/MessageKit/pull/615) by [@SD10](https://github.com/sd10).
67
-
68
-
-**Breaking Change** Change `NSLayoutConstraintSet` class from `public` to `internal`.
69
-
[#607](https://github.com/MessageKit/MessageKit/pull/607) by [@zhongwuzw](https://github.com/zhongwuzw).
70
-
71
65
-**Breaking Change**`MessageHeaderView` and `MessageFooterView` now subclass `MessageReusableView` class.
72
66
[#596](https://github.com/MessageKit/MessageKit/pull/596) by [@SD10](https://github.com/sd10).
73
67
@@ -82,6 +76,15 @@ The `MessageCollectionViewCell` class is now a bare bones subclass.
82
76
-**Breaking Change** The type of `cellTopLabel` and `cellBottomLabel` has been changed to `InsetLabel`.
83
77
[#580](https://github.com/MessageKit/MessageKit/pull/580) by [@SD10](https://github.com/sd10).
84
78
79
+
-**Breaking Change** Renamed `cellTopLabel` to `messageTopLabel` and renamed `cellBottomLabel` to `messageBottomLabel`.
80
+
[#659](https://github.com/MessageKit/MessageKit/pull/659) by [@SD10](https://github.com/sd10).
81
+
82
+
-**Breaking Change** Renamed the `didTapTopLabel` and `didTapBottomLabel` methods of `MessageCellDelegate` to `didTapMessageTopLabel` and `didTapMessageBottomLabel`.
83
+
[#659](https://github.com/MessageKit/MessageKit/pull/659) by [@SD10](https://github.com/sd10).
84
+
85
+
-**Breaking Change** Renamed `cellBottomLabelAttributedText` method of `MessagesDataSource` to `messageBottomLabelAttributedText`.
86
+
[#659](https://github.com/MessageKit/MessageKit/pull/659) by [@zhongwuzw](https://github.com/zhongwuzw).
87
+
85
88
- The `MessageData.emoji` case no longer uses a default font of 2x the `messageLabelFont` size.
86
89
You must now set this font explicitly through the `emojiMessageSizeCalculator` on `MessagesCollectionViewFlowLayout`.
87
90
[#530](https://github.com/MessageKit/MessageKit/pull/579) by [@SD10](https://github.com/sd10).
@@ -94,6 +97,9 @@ You must now set this font explicitly through the `emojiMessageSizeCalculator` o
94
97
95
98
### Removed
96
99
100
+
-**Breaking Change** Removed `NSLayoutConstraintSet` by changing access control from `public` to `internal`.
101
+
[#607](https://github.com/MessageKit/MessageKit/pull/607) by [@zhongwuzw](https://github.com/zhongwuzw).
102
+
97
103
-**Breaking Change** Removed the `showsDateHeaderAfterTimeInterval` property of `MessagesCollectionView`.
98
104
[#615](https://github.com/MessageKit/MessageKit/pull/615) by [@SD10](https://github.com/sd10).
99
105
@@ -114,6 +120,9 @@ You must now set this font explicitly through the `emojiMessageSizeCalculator` o
114
120
You can now set this property through `textMessageSizeCalculator` property.
115
121
[#579](https://github.com/MessageKit/MessageKit/pull/579) by [@SD10](https://github.com/sd10).
116
122
123
+
-**Breaking Change** Removed `MessageDateHeaderView` class in favor of using `cellTopLabel`.
124
+
[#659](https://github.com/MessageKit/MessageKit/pull/659) by [@zhongwuzw](https://github.com/zhongwuzw).
125
+
117
126
### Fixed
118
127
119
128
- Fixed equality checking on `MessagesCollectionViewLayoutAttributes`.
0 commit comments