v5.6.0 #1840
vishalnarkhede
started this conversation in
General
v5.6.0
#1840
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Whats New?
stream-chat
dependency upgradestream-chat
dependency has been upgraded to v8.1.2. Please check the changelog ofstream-chat
for details - https://github.com/GetStream/stream-chat-js/releases feat: optimistic DB and UI updates for reactions and messages #1758Sqlite dependency upgrade
react-native-quick-sqlite
dependency has been been upgraded to v5. This will fix issue react-native-quick-sqlite issue for offline support #1773. This is not a breaking change, since both v4 and v5 ofreact-native-quick-sqlite
are supported feat: optimistic DB and UI updates for reactions and messages #1758Improve reactions UX
When user adds a reaction to message, SDK didn't update the UI until websocket event corresponding to that reaction wasn't received. This created a bad user experience (especially for slow networks), since user will need to wait for sendReaction api call to be completed and also will need to wait for websocket event for reaction.
This has been resolved, by optimistically adding the reaction to local database and local state of the UI. In case of bad network or failed api call, corresponding api call will be deferred till network is recovered. This works for both adding/updating/removing reaction. #1758 @vishalnarkhede
Improve new message UX
When the application is offline, user couldn't send a message which includes image/file attachments. The reason being, we need to wait for image/file attachments to be uploaded to CDN first, before attaching their CDN urls to message and sending a message.
This UX has been improved by allowing message to be added to message list irrespective of attachment upload status. Message related api call will be only made after uploading the attachment, but user won't have to wait for it to finish before pressing send button. #1758 @vishalnarkhede
react-native-document-picker
dependency made optionalreact-native-document-picker
has been made optional. Document/file picker functionality won't be available if this dependency is not installed. 8b1eff9 @madsroskarBug Fixes
This issue is specific to apps which has auto translation feature enabled. When you have a channel active on your screen, and one of the messages get deleted by either current user or some other user, then that
particular message won't be replaced with "Message Deleted" text. This issue has been fixed now in commit 6b722dc
appSettings was ignored in offline mode, since we never stored appSettings object in local database. This issue has been fixed now in commit 92decc8
Miscellaneous Changes
BottomSheetFlatList
withinImageGrid
, which is a image viewer in grid format. This style can be added to theme key -imageGallery.grid.container
8411df9 @allenlinshThis discussion was created from the release v5.6.0.
Beta Was this translation helpful? Give feedback.
All reactions