Releases: GetStream/stream-chat-react-native
v5.9.0
What's Changed
- feat: Override
message.new
event function by @aharwood9 in #1913 - fix: improve ChannelList performance by improving threshold calls and rerenders of Header by @khushal87 in #1919
- fix: messageAction action type by @khushal87 in #1924
- fix: selected video attachment in attachment picker isn't recognized as selected and upload issues on android by @khushal87 in #1931
- fix(TypeScriptMessaging App): android issue of multiple instances of react native gesture handler by @khushal87 in #1927
Full Changelog: v5.8.0...v5.9.0
v5.8.0
What's Changed
- feat: add resizeMode prop to the Video component and update native_handlers docs by @khushal87 in #1902
- feat: add max file upload size limit of 100MB by @khushal87 in #1888
- feat: update expo example app to expo 47 by @santhoshvai in #1892
- feat: upgrading stream-chat to v8.2.1 by @vanGalilea in #1905
- fix: commands with username must be replaced with userId by @santhoshvai in #1890
- fix: do not fixate on peer dependency versions unnecessarily by @santhoshvai in #1903
- fix: do not render images twice on markdown by @santhoshvai in #1897
- fix: avoid double commas in generated channel names by @monstaro in #1800
- fix: trimmed mentioned user text in messages when special characters used by @khushal87 in #1909
- fix(sampleApp): react-native-gesture-handler:assertNoMultipleInstances by @vanGalilea in #1915
- fix(sampleApp): crash on load due to import of devsettings module by @santhoshvai in #1891
- fix(docs): use npx as adviced by expo-cli by @santhoshvai in #1904
- docs: offline support docs for optimistic db updates by @vishalnarkhede in #1886
- chore(sampleApp): yarn installs through all packages over bootstrap-ci by @vanGalilea in #1914
New Contributors
Full Changelog: v5.7.0...v5.8.0
v5.7.0
What's Changed
- feat(SamleApp): initial unread count example by @santhoshvai in #1868
- feat(SampleApp): Add dev menu item to clear the local DB by @madsroskar in #1874
- fix: expo module version incompatibilities by @santhoshvai in #1855
- feat: allow theming the container for pinned messages by @madsroskar in #1867
- fix: always watch channel before passing to channel component by @santhoshvai in #1869
- chore: add vale linting by @jeroenleenarts in #1856
Full Changelog: v5.6.1...v5.7.0
v5.6.1
5.6.1 (2022-12-03)
Bug Fixes
- expo app crashes due to sqlite being null (#1845) (718e28d) @vishalnarkhede
- syncStatus of DBSyncManager is not updated correctly (#1842) (92be75a) @vishalnarkhede
v5.6.0
5.6.0 (2022-12-01)
Whats New?
stream-chat
dependency upgrade
stream-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 #1758
Sqlite dependency upgrade
react-native-quick-sqlite
dependency has been been upgraded to v5. This will fix issue #1773. This is not a breaking change, since both v4 and v5 ofreact-native-quick-sqlite
are supported #1758
Improve 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 optional
react-native-document-picker
has been made optional. Document/file picker functionality won't be available if this dependency is not installed. 8b1eff9 @madsroskar
Bug 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
- Added ability to style underlying
BottomSheetFlatList
withinImageGrid
, which is a image viewer in grid format. This style can be added to theme key -imageGallery.grid.container
8411df9 @allenlinsh
v5.6.0-beta.3 - Optimistic DB Updates
Whats New?
stream-chat
dependency upgrade
stream-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 #1758
Sqlite dependency upgrade
react-native-quick-sqlite
dependency has been been upgraded to v5. This will fix issue #1773. This is not a breaking change, since both v4 and v5 ofreact-native-quick-sqlite
are supported #1758
Improve 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 optional
react-native-document-picker
has been made optional. Document/file picker functionality won't be available if this dependency is not installed. 8b1eff9 @madsroskar
Bug 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
- Added ability to style underlying
BottomSheetFlatList
withinImageGrid
, which is a image viewer in grid format. This style can be added to theme key -imageGallery.grid.container
8411df9 @allenlinsh
If you have any questions or would like to report a bug, please mention it on following discussion thread: https://github.com/GetStream/stream-chat-react-native/discussions/1835
v5.6.0-beta.2 - Optimistic DB Updates
Please upgrade to latest https://github.com/GetStream/stream-chat-react-native/releases/tag/v5.6.0-beta.3
v5.6.0-beta.1 - Optimistic DB updates feature
Please upgrade to latest https://github.com/GetStream/stream-chat-react-native/releases/tag/v5.6.0-beta.3
v5.5.1
What's Changed
- fix(docs): typo in code example by @mrwatts88 in #1827
- fix: import React Dependency into Video / Sound files by @AWildmanPerchPeek in #1828
- docs: fix broken links. by @jeroenleenarts in #1826
New Contributors
- @mrwatts88 made their first contribution in #1827
- @AWildmanPerchPeek made their first contribution in #1828
- @jeroenleenarts made their first contribution in #1826
Full Changelog: v5.5.0...v5.5.1
v5.5.0
What's Changed
- feat: make the clipboard dependency optional by @madsroskar in #1781
- fix: drop unnecessary react-art dependency by @vishalnarkhede in #1806
- fix: read receipts should not be removed due to message update by @vishalnarkhede in #1808
- fix: don't allow empty cids for sync api call by @vishalnarkhede in #1814
- fix: event handlers when channels is null on channel list component by @vishalnarkhede in #1812
- fix: foreign_key constrain failure results into infinite DB lock @vishalnarkhede (1781bbc)
- chore: remove stale dependencies from package.json of the package by @khushal87 in #1821
Full Changelog: v5.4.3...v5.5.0