Releases: GetStream/stream-chat-swift
Releases · GetStream/stream-chat-swift
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: SpacingMessageTableViewCell.edgeInsets: UIEdgeInsetsChannelTableViewCell.avatarViewStyle: AvatarViewStyle?ChannelTableViewCell.separatorStyle: SeparatorStyleChannelTableViewCell.nameNumberOfLines: IntChannelTableViewCell.messageNumberOfLines: IntChannelTableViewCell.height: CGFloatChannelTableViewCell.spacing: SpacingChannelTableViewCell.edgeInsets: UIEdgeInsetsChannelTableViewCell.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
StatusTableViewCelllayout. - 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.defaultandJSONEncoder.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.
1.5.3
1.5.2
1.5.1
1.5.0
Added
-
Added levels for
ClientLogger.- Error Level:
ClientLogger.Options.requestsErrorClientLogger.Options.webSocketErrorClientLogger.Options.notificationsErrorClientLogger.Options.error— all errors
- Debug Level:
ClientLogger.Options.requestsClientLogger.Options.webSocketClientLogger.Options.notificationsClientLogger.Options.debug— all debug
- Info Level:
ClientLogger.Options.requestsInfoClientLogger.Options.webSocketInfoClientLogger.Options.notificationsInfoClientLogger.Options.info— all info
- Error Level:
-
MessageViewStyle.showTimeThresholdto show additional time for messages from the same user at different times.
. . . AdditionalDateStyle.messageAndDate . . . . AdditionalDateStyle.userNameAndDate . . .
-
Optimized MessageTableViewCell rendering.
-
Channel name. If it's empty:
- for 2 members: the 2nd member name
- for more than 2 members: member name + N others.
- channel
id.
-
Channel.isDirectMessage— checks if only 2 members in the channel and the channel name was generated. -
Improved work with
ExtraData. -
A custom
ChannelType.custom(String)
Changed
- Removed a
channelTypeparameter inChannelsPresenter.init. - Renamed
ExtraData.data->ExtraData.object Channel.currentUnreadCountupdate.
Fixed
- Detecting and highlighting URL's in messages.
- Skip empty messages.
ChatFooterViewwith a white circle.- A user avatar missing.

