Releases: GetStream/stream-chat-swift
Releases · GetStream/stream-chat-swift
1.6.2
1.6.1
1.6.0
⚠️ Breaking Changes
- Removed hard-coded reactions. #113
- Reaction API changed: addReaction requires a reaction object instance of reaction type. #113
✅ Added
- Custom reactions. #113
- A new cumulative reaction type (like claps in Medium). #113
- Custom fields for reactions. #113
- Message actions with a context menu from iOS 13. #115
🐞 Fixed
- Error description of failed request is now human-readable #104
1.5.7
1.5.6
🔄 Changed
- Failed uploads now retry up to 3 times #85
✅ Added
- Swift Package Manager (SPM) support #38
ViewController.showAlert(title:message:actions:)
now you can override this function to decide when/how alerts should be handled #85- Allow user to go directly to iOS settings if they've disabled photo library access and trying to upload image/video #85
🐞 Fixed
1.5.5
🔄 Changed
- Handling keyboard notifications for ChatViewController in rx, robust way.
✅ Added
- Banner animation without bouncing.
- Customization for message actions.
- Added
Event.reactionUpdated
. - Opened
MessageTableViewCell
. - Opened
ChannelTableViewCell
. - More customization for a message and channel cells.
- Added
AvatarViewStyle
- Added
SeparatorStyle
- Added
Spacing
- Added
ChannelTableViewCell.VerticalTextAlignment
MessageTableViewCell.avatarViewStyle: AvatarViewStyle?
MessageTableViewCell.spacing: Spacing
MessageTableViewCell.edgeInsets: UIEdgeInsets
ChannelTableViewCell.avatarViewStyle: AvatarViewStyle?
ChannelTableViewCell.separatorStyle: SeparatorStyle
ChannelTableViewCell.nameNumberOfLines: Int
ChannelTableViewCell.messageNumberOfLines: Int
ChannelTableViewCell.height: CGFloat
ChannelTableViewCell.spacing: Spacing
ChannelTableViewCell.edgeInsets: UIEdgeInsets
ChannelTableViewCell.verticalTextAlignment: VerticalTextAlignment
- Added
- Added a customization for message actions.
🐞 Fixed
- Fixed example app memory leak.
- Fixed keyboard events replaying unexpectedly.
- Scroll the table view to the bottom safely.
- Fixed a crash when the token was expired.
- Fixed
StatusTableViewCell
layout. - Fixed video attachments are not recognized and not clickable. #56
- Fixed ComposerView going behind keyboard when an opaque TabBar is used. #64
- Fixed WebView crashing when file picker is presented in a website in iPhones. #69
- Fixed messages not being grouped correctly after one day. #72
1.5.4
💥 Breaking Changes
- The order of parameters in
Message.init
- Removed members from
ChannelResponse
. Now it's only inside the channel of the response.
🔄 Changed
- Improved Token validation.
✅ Added
- Public
Attachment.init(...)
. - Public
Reaction.init(...)
. - Public
Reaction(counts: [ReactionType: Int])
. - Public
User.unknown
. - Example app with Cocoapods.
- Example app with Carthage.
- A new authorization in the Example app.
✈️ Offline mode insideInternetConnection
.- Improved connection flow.
- Extension
Data.hex
. - Extension
String.md5
,String.url?
. Filter.description
.Sorting.description
.- A variable
JSONDecoder.default
. Now you can change the default JSON decoder. - Variables
JSONEncoder.default
andJSONEncoder.defaultGzip
. Now you can change default JSON encoders. - A channel for a direct messages will use a member avatar as default channel image by default.
- Docs for the
ClientLogger
. - Hide a channel with clearing messages history.
- Added a new event
Event.channelHidden(HiddenChannelResponse, EventType)
.
🐞 Fixed
- ComposerView position related to the keyboard with an opaque
UITabBar
. - A proper way to check if members are empty.