stream-chat-react 6.11.0 → 6.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/README.md +1 -1
  2. package/dist/browser.full-bundle.js +7032 -23976
  3. package/dist/browser.full-bundle.js.map +1 -1
  4. package/dist/browser.full-bundle.min.js +5 -5
  5. package/dist/browser.full-bundle.min.js.map +1 -1
  6. package/dist/components/Attachment/Audio.js +2 -2
  7. package/dist/components/Attachment/Card.d.ts.map +1 -1
  8. package/dist/components/Attachment/Card.js +1 -3
  9. package/dist/components/AutoCompleteTextarea/Item.d.ts.map +1 -1
  10. package/dist/components/AutoCompleteTextarea/Item.js +1 -1
  11. package/dist/components/AutoCompleteTextarea/List.d.ts.map +1 -1
  12. package/dist/components/AutoCompleteTextarea/List.js +0 -1
  13. package/dist/components/AutoCompleteTextarea/Textarea.d.ts +7 -6
  14. package/dist/components/AutoCompleteTextarea/Textarea.d.ts.map +1 -1
  15. package/dist/components/AutoCompleteTextarea/Textarea.js +32 -35
  16. package/dist/components/Channel/Channel.d.ts +8 -3
  17. package/dist/components/Channel/Channel.d.ts.map +1 -1
  18. package/dist/components/Channel/Channel.js +25 -10
  19. package/dist/components/Channel/hooks/useCreateChannelStateContext.d.ts.map +1 -1
  20. package/dist/components/Channel/hooks/useCreateChannelStateContext.js +6 -5
  21. package/dist/components/ChannelHeader/ChannelHeader.js +1 -1
  22. package/dist/components/ChannelList/ChannelList.d.ts.map +1 -1
  23. package/dist/components/ChannelList/ChannelList.js +4 -7
  24. package/dist/components/ChannelList/ChannelListMessenger.d.ts +2 -0
  25. package/dist/components/ChannelList/ChannelListMessenger.d.ts.map +1 -1
  26. package/dist/components/ChannelList/ChannelListMessenger.js +1 -1
  27. package/dist/components/ChannelList/hooks/useChannelUpdatedListener.d.ts.map +1 -1
  28. package/dist/components/ChannelList/hooks/useChannelUpdatedListener.js +13 -1
  29. package/dist/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -1
  30. package/dist/components/ChannelList/hooks/usePaginatedChannels.js +1 -0
  31. package/dist/components/ChannelPreview/ChannelPreviewMessenger.d.ts.map +1 -1
  32. package/dist/components/ChannelPreview/ChannelPreviewMessenger.js +1 -1
  33. package/dist/components/ChannelSearch/SearchResults.d.ts.map +1 -1
  34. package/dist/components/ChannelSearch/SearchResults.js +6 -6
  35. package/dist/components/Chat/Chat.d.ts.map +1 -1
  36. package/dist/components/Chat/Chat.js +2 -1
  37. package/dist/components/Chat/hooks/useChat.d.ts +2 -1
  38. package/dist/components/Chat/hooks/useChat.d.ts.map +1 -1
  39. package/dist/components/Chat/hooks/useChat.js +13 -6
  40. package/dist/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -1
  41. package/dist/components/Chat/hooks/useCreateChatContext.js +3 -2
  42. package/dist/components/ChatAutoComplete/ChatAutoComplete.d.ts +3 -1
  43. package/dist/components/ChatAutoComplete/ChatAutoComplete.d.ts.map +1 -1
  44. package/dist/components/ChatAutoComplete/ChatAutoComplete.js +16 -14
  45. package/dist/components/ChatDown/ChatDown.d.ts.map +1 -1
  46. package/dist/components/ChatDown/ChatDown.js +2 -2
  47. package/dist/components/EmptyStateIndicator/EmptyStateIndicator.js +1 -1
  48. package/dist/components/Gallery/Gallery.d.ts.map +1 -1
  49. package/dist/components/Gallery/Gallery.js +5 -3
  50. package/dist/components/Gallery/Image.d.ts.map +1 -1
  51. package/dist/components/Gallery/Image.js +4 -2
  52. package/dist/components/Gallery/ModalWrapper.d.ts +3 -6
  53. package/dist/components/Gallery/ModalWrapper.d.ts.map +1 -1
  54. package/dist/components/Gallery/ModalWrapper.js +4 -7
  55. package/dist/components/Gallery/index.d.ts +0 -1
  56. package/dist/components/Gallery/index.d.ts.map +1 -1
  57. package/dist/components/Gallery/index.js +0 -1
  58. package/dist/components/LoadMore/LoadMoreButton.d.ts.map +1 -1
  59. package/dist/components/LoadMore/LoadMoreButton.js +1 -1
  60. package/dist/components/Message/MessageOptions.d.ts.map +1 -1
  61. package/dist/components/Message/MessageOptions.js +4 -4
  62. package/dist/components/Message/MessageSimple.d.ts.map +1 -1
  63. package/dist/components/Message/MessageSimple.js +2 -0
  64. package/dist/components/Message/QuotedMessage.d.ts.map +1 -1
  65. package/dist/components/Message/QuotedMessage.js +4 -3
  66. package/dist/components/Message/hooks/useReactionHandler.d.ts.map +1 -1
  67. package/dist/components/Message/hooks/useReactionHandler.js +15 -12
  68. package/dist/components/Message/hooks/useUserRole.js +1 -1
  69. package/dist/components/Message/utils.d.ts.map +1 -1
  70. package/dist/components/Message/utils.js +8 -4
  71. package/dist/components/MessageActions/MessageActions.d.ts.map +1 -1
  72. package/dist/components/MessageActions/MessageActions.js +2 -1
  73. package/dist/components/MessageActions/MessageActionsBox.d.ts +1 -1
  74. package/dist/components/MessageActions/MessageActionsBox.d.ts.map +1 -1
  75. package/dist/components/MessageActions/MessageActionsBox.js +12 -19
  76. package/dist/components/MessageInput/DropzoneProvider.d.ts +5 -0
  77. package/dist/components/MessageInput/DropzoneProvider.d.ts.map +1 -0
  78. package/dist/components/MessageInput/DropzoneProvider.js +31 -0
  79. package/dist/components/MessageInput/EditMessageForm.d.ts.map +1 -1
  80. package/dist/components/MessageInput/EditMessageForm.js +2 -2
  81. package/dist/components/MessageInput/MessageInput.d.ts +5 -3
  82. package/dist/components/MessageInput/MessageInput.d.ts.map +1 -1
  83. package/dist/components/MessageInput/MessageInput.js +16 -6
  84. package/dist/components/MessageInput/MessageInputFlat.d.ts.map +1 -1
  85. package/dist/components/MessageInput/MessageInputFlat.js +4 -4
  86. package/dist/components/MessageInput/MessageInputSmall.d.ts.map +1 -1
  87. package/dist/components/MessageInput/MessageInputSmall.js +7 -5
  88. package/dist/components/MessageInput/QuotedMessagePreview.d.ts.map +1 -1
  89. package/dist/components/MessageInput/QuotedMessagePreview.js +4 -3
  90. package/dist/components/MessageInput/UploadsPreview.d.ts.map +1 -1
  91. package/dist/components/MessageInput/UploadsPreview.js +2 -1
  92. package/dist/components/MessageInput/hooks/useAttachments.d.ts +1 -1
  93. package/dist/components/MessageInput/hooks/useAttachments.d.ts.map +1 -1
  94. package/dist/components/MessageInput/hooks/useAttachments.js +3 -1
  95. package/dist/components/MessageInput/hooks/useCreateMessageInputContext.d.ts.map +1 -1
  96. package/dist/components/MessageInput/hooks/useCreateMessageInputContext.js +6 -1
  97. package/dist/components/MessageInput/hooks/useEmojiPicker.d.ts +3 -3
  98. package/dist/components/MessageInput/hooks/useEmojiPicker.d.ts.map +1 -1
  99. package/dist/components/MessageInput/hooks/useEmojiPicker.js +14 -4
  100. package/dist/components/MessageInput/hooks/useFileUploads.d.ts.map +1 -1
  101. package/dist/components/MessageInput/hooks/useFileUploads.js +29 -13
  102. package/dist/components/MessageInput/hooks/useImageUploads.d.ts.map +1 -1
  103. package/dist/components/MessageInput/hooks/useImageUploads.js +29 -13
  104. package/dist/components/MessageInput/hooks/useMessageInputState.d.ts +14 -3
  105. package/dist/components/MessageInput/hooks/useMessageInputState.d.ts.map +1 -1
  106. package/dist/components/MessageInput/hooks/useMessageInputState.js +14 -5
  107. package/dist/components/MessageInput/hooks/utils.d.ts +14 -1
  108. package/dist/components/MessageInput/hooks/utils.d.ts.map +1 -1
  109. package/dist/components/MessageInput/hooks/utils.js +54 -1
  110. package/dist/components/MessageInput/icons.js +1 -1
  111. package/dist/components/MessageInput/index.d.ts +1 -0
  112. package/dist/components/MessageInput/index.d.ts.map +1 -1
  113. package/dist/components/MessageInput/index.js +1 -0
  114. package/dist/components/MessageList/CustomNotification.d.ts.map +1 -1
  115. package/dist/components/MessageList/CustomNotification.js +1 -1
  116. package/dist/components/MessageList/MessageList.d.ts +3 -0
  117. package/dist/components/MessageList/MessageList.d.ts.map +1 -1
  118. package/dist/components/MessageList/MessageList.js +2 -1
  119. package/dist/components/MessageList/MessageNotification.d.ts.map +1 -1
  120. package/dist/components/MessageList/MessageNotification.js +1 -1
  121. package/dist/components/MessageList/VirtualizedMessageList.d.ts.map +1 -1
  122. package/dist/components/MessageList/VirtualizedMessageList.js +2 -6
  123. package/dist/components/MessageList/hooks/useEnrichedMessages.d.ts +1 -0
  124. package/dist/components/MessageList/hooks/useEnrichedMessages.d.ts.map +1 -1
  125. package/dist/components/MessageList/hooks/useEnrichedMessages.js +3 -2
  126. package/dist/components/MessageList/hooks/useMessageListElements.d.ts.map +1 -1
  127. package/dist/components/MessageList/hooks/useMessageListElements.js +1 -1
  128. package/dist/components/MessageList/index.d.ts +1 -0
  129. package/dist/components/MessageList/index.d.ts.map +1 -1
  130. package/dist/components/MessageList/index.js +1 -0
  131. package/dist/components/Modal/Modal.d.ts.map +1 -1
  132. package/dist/components/Modal/Modal.js +8 -4
  133. package/dist/components/Reactions/ReactionSelector.d.ts.map +1 -1
  134. package/dist/components/Reactions/ReactionSelector.js +7 -6
  135. package/dist/components/Reactions/ReactionsList.d.ts.map +1 -1
  136. package/dist/components/Reactions/ReactionsList.js +5 -4
  137. package/dist/components/Reactions/SimpleReactionsList.d.ts.map +1 -1
  138. package/dist/components/Reactions/SimpleReactionsList.js +1 -1
  139. package/dist/components/SafeAnchor/SafeAnchor.d.ts.map +1 -1
  140. package/dist/components/SafeAnchor/SafeAnchor.js +1 -1
  141. package/dist/components/Thread/Thread.js +1 -1
  142. package/dist/components/TypingIndicator/TypingIndicator.d.ts +3 -3
  143. package/dist/components/TypingIndicator/TypingIndicator.d.ts.map +1 -1
  144. package/dist/components/TypingIndicator/TypingIndicator.js +6 -3
  145. package/dist/components/Window/Window.d.ts +1 -1
  146. package/dist/components/Window/Window.d.ts.map +1 -1
  147. package/dist/components/Window/Window.js +1 -4
  148. package/dist/context/ChannelStateContext.d.ts +2 -1
  149. package/dist/context/ChannelStateContext.d.ts.map +1 -1
  150. package/dist/context/ChatContext.d.ts +2 -1
  151. package/dist/context/ChatContext.d.ts.map +1 -1
  152. package/dist/context/ComponentContext.d.ts +1 -1
  153. package/dist/context/ComponentContext.d.ts.map +1 -1
  154. package/dist/context/MessageInputContext.d.ts +2 -2
  155. package/dist/context/MessageInputContext.d.ts.map +1 -1
  156. package/dist/css/index.css +1 -1
  157. package/dist/i18n/Streami18n.d.ts +1 -0
  158. package/dist/i18n/Streami18n.d.ts.map +1 -1
  159. package/dist/i18n/Streami18n.js +5 -5
  160. package/dist/i18n/de.json +1 -0
  161. package/dist/i18n/en.json +1 -0
  162. package/dist/i18n/es.json +1 -0
  163. package/dist/i18n/fr.json +1 -0
  164. package/dist/i18n/hi.json +1 -0
  165. package/dist/i18n/it.json +1 -0
  166. package/dist/i18n/ja.json +1 -0
  167. package/dist/i18n/ko.json +1 -0
  168. package/dist/i18n/nl.json +1 -0
  169. package/dist/i18n/pt.json +1 -0
  170. package/dist/i18n/ru.json +1 -0
  171. package/dist/i18n/tr.json +1 -0
  172. package/dist/index.cjs.js +542 -376
  173. package/dist/index.cjs.js.map +1 -1
  174. package/dist/scss/Card.scss +10 -0
  175. package/dist/scss/ChannelListMessenger.scss +4 -0
  176. package/dist/scss/ChannelSearch.scss +4 -1
  177. package/dist/scss/EditMessageForm.scss +4 -0
  178. package/dist/scss/Gallery.scss +6 -0
  179. package/dist/scss/LoadMoreButton.scss +6 -0
  180. package/dist/scss/Message.scss +29 -5
  181. package/dist/scss/MessageActions.scss +21 -0
  182. package/dist/scss/MessageInput.scss +26 -0
  183. package/dist/scss/MessageInputFlat.scss +27 -1
  184. package/dist/scss/MessageTeam.scss +8 -0
  185. package/dist/scss/Modal.scss +11 -2
  186. package/dist/scss/ReactionList.scss +7 -0
  187. package/dist/scss/ReactionSelector.scss +7 -0
  188. package/dist/scss/SendButton.scss +5 -0
  189. package/dist/scss/SmallMessageInput.scss +12 -0
  190. package/dist/scss/Thread.scss +24 -0
  191. package/dist/scss/_base.scss +8 -2
  192. package/dist/scss/_variables.scss +6 -1
  193. package/dist/scss/index.scss +1 -1
  194. package/dist/scss/vendor/react-file-utils.scss +2 -0
  195. package/dist/scss/vendor/react-image-gallery.scss +224 -0
  196. package/dist/types/types.d.ts +1 -0
  197. package/dist/types/types.d.ts.map +1 -1
  198. package/dist/utils.d.ts.map +1 -1
  199. package/dist/utils.js +24 -3
  200. package/dist/version.d.ts +1 -1
  201. package/dist/version.js +1 -1
  202. package/package.json +16 -11
  203. package/CHANGELOG.md +0 -1633
  204. package/dist/components/Gallery/ModalImage.d.ts +0 -9
  205. package/dist/components/Gallery/ModalImage.d.ts.map +0 -1
  206. package/dist/components/Gallery/ModalImage.js +0 -6
  207. package/dist/scss/ModalImage.scss +0 -11
package/CHANGELOG.md DELETED
@@ -1,1633 +0,0 @@
1
- # Changelog
2
-
3
- ## [6.11.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.11.0) 2021-10-28
4
-
5
- ### Feature
6
-
7
- - Support custom notifications in the `VirtualizedMessageList` component [#1245](https://github.com/GetStream/stream-chat-react/pull/1245)
8
-
9
- ### Chore
10
-
11
- - Update type definitions for `emoji-mart` and `moment` dependencies [#1254](https://github.com/GetStream/stream-chat-react/pull/1254)
12
- - Add Vite app to examples directory [#1255](https://github.com/GetStream/stream-chat-react/pull/1255)
13
- - Upgrade `react-virtuoso` to fix Safari v15 edge case [#1257](https://github.com/GetStream/stream-chat-react/pull/1257)
14
- - Deprecate the `theme` prop on the `Chat` component [#1258](https://github.com/GetStream/stream-chat-react/pull/1258)
15
- - Upgrade `mml-react` dependency [#1260](https://github.com/GetStream/stream-chat-react/pull/1260)
16
-
17
- ## [6.10.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.10.0) 2021-10-13
18
-
19
- ### Feature
20
-
21
- - Export markdown utils functions used within `renderText` [#1228](https://github.com/GetStream/stream-chat-react/pull/1228)
22
- - Use `own_capabilities` field on `channel` to determine connected user permissions [#1232](https://github.com/GetStream/stream-chat-react/pull/1232)
23
- - Pass component names to custom context hooks for error tracing [#1238](https://github.com/GetStream/stream-chat-react/pull/1238)
24
-
25
- ### Chore
26
-
27
- - Update German i18n translations [#1224](https://github.com/GetStream/stream-chat-react/pull/1224)
28
- - Upgrade `react-virtuoso` for zoom fix [#1233](https://github.com/GetStream/stream-chat-react/pull/1233)
29
- - Use optional `activeUnreadHandler` in `Channel` component's `markRead` function when provided [#1237](https://github.com/GetStream/stream-chat-react/pull/1237)
30
- - Replace custom context hook error throws with console warnings [#1242](https://github.com/GetStream/stream-chat-react/pull/1242)
31
-
32
- ### Bug
33
-
34
- - Fix UI header bug for Levenshtein autocomplete mention search [#1235](https://github.com/GetStream/stream-chat-react/pull/1235)
35
- - Ensure `channelConfig` is updated when `Channel` mounts an unwatched channel [#1239](https://github.com/GetStream/stream-chat-react/pull/1239)
36
-
37
- ## [6.9.1](https://github.com/GetStream/stream-chat-react/releases/tag/v6.9.1) 2021-10-01
38
-
39
- ### Feature
40
-
41
- - Add `chatContainer` custom CSS class name override [#1216](https://github.com/GetStream/stream-chat-react/pull/1216)
42
-
43
- ### Chore
44
-
45
- - Add descriptive error messages to custom context consumer hooks [#1207](https://github.com/GetStream/stream-chat-react/pull/1207)
46
- - Pass `value` prop to `SuggestionItem` component [#1207](https://github.com/GetStream/stream-chat-react/pull/1207)
47
- - Update docs for custom `ChannelList` event handler example [#1209](https://github.com/GetStream/stream-chat-react/pull/1209)
48
- - Add `cooldownInterval` to `MessageInput` context value memoization [#1209](https://github.com/GetStream/stream-chat-react/pull/1209)
49
- - Reduce packaged CSS bundle size [#1219](https://github.com/GetStream/stream-chat-react/pull/1219)
50
-
51
- ### Bug
52
-
53
- - Prevent user start/stop watching events from resetting the channel state [#1206](https://github.com/GetStream/stream-chat-react/pull/1206)
54
-
55
- ## [6.9.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.9.0) 2021-09-24
56
-
57
- ### Feature
58
-
59
- - Add new virtual event example app [#1189](https://github.com/GetStream/stream-chat-react/pull/1189)
60
- - Memoize object values injected into context providers [#1194](https://github.com/GetStream/stream-chat-react/pull/1194)
61
- - Support emojis as the first character in a user name for the `Avatar` component's fallback [#1201](https://github.com/GetStream/stream-chat-react/pull/1201)
62
- - Provide the option to pass additional props to the `Virtuoso` component in the `VirtualizedMessageList` [#1202](https://github.com/GetStream/stream-chat-react/pull/1202)
63
-
64
- ### Chore
65
- - Improve documentation around approved attachment types [#1190](https://github.com/GetStream/stream-chat-react/pull/1190)
66
- - Upgrade `react-virtuoso` dependency [#1194](https://github.com/GetStream/stream-chat-react/pull/1194)
67
- - Refactor `ChannelList` pagination offset logic to handle channels being added/removed from the list [#1200](https://github.com/GetStream/stream-chat-react/pull/1200)
68
-
69
- ## [6.8.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.8.0) 2021-09-17
70
-
71
- ### Feature
72
-
73
- - Improve user mention experience by ignoring diacritics, adding a `useMentionsTransliteration` prop to install an optional transliteration dependency, and using Levenshtein distance to match similar names [#1176](https://github.com/GetStream/stream-chat-react/pull/1176)
74
- - Add event listener to `ChannelPreview` to handle `markAllRead` function calls on the client [#1178](https://github.com/GetStream/stream-chat-react/pull/1178)
75
- - Add `setText` function to `MessageInputContext`, which overrides and sets the value of the `MessageInput` component's `textarea` element [#1184](https://github.com/GetStream/stream-chat-react/pull/1184)
76
- - Add `activeUnreadHandler` prop to `Channel`, which runs when the active channel has unread messages [#1185](https://github.com/GetStream/stream-chat-react/pull/1185)
77
-
78
- ### Chore
79
- - Remove all SCSS files and import library styles from `stream-chat-css` dependency. This is non-breaking as the build process injects the external styles into the exact distributed directory as before. [#1168](https://github.com/GetStream/stream-chat-react/pull/1168)
80
- - Upgrade `stream-chat` and `react-file-utils` dependencies [#1178](https://github.com/GetStream/stream-chat-react/pull/1178)
81
-
82
- ## [6.7.2](https://github.com/GetStream/stream-chat-react/releases/tag/v6.7.2) 2021-09-15
83
-
84
- ### Feature
85
-
86
- - Add optional `allowNewMessagesFromUnfilteredChannels` argument to `useNotificationMessageNewListener` and `useNotificationAddedToChannelListener` hooks to prevent channel from incrementing the list [#1175](https://github.com/GetStream/stream-chat-react/pull/1175)
87
-
88
- ### Bug
89
-
90
- - Fix issue with autocomplete mentions displaying muted users [#1171](https://github.com/GetStream/stream-chat-react/pull/1171)
91
- - Prevent user mention edge case crash [#1172](https://github.com/GetStream/stream-chat-react/pull/1172)
92
- - Fix reaction handler edge case on mobile web use case [#1173](https://github.com/GetStream/stream-chat-react/pull/1173)
93
- - Add missing default value for `publishTypingEvent` `MessageInput` prop [#1174](https://github.com/GetStream/stream-chat-react/pull/1174)
94
-
95
- ## [6.7.1](https://github.com/GetStream/stream-chat-react/releases/tag/v6.7.1) 2021-09-14
96
-
97
- ### Bug
98
-
99
- - Prevent custom message data from being deleted on edit message request [#1169](https://github.com/GetStream/stream-chat-react/pull/1169)
100
- - Fix issue with autocomplete mentions displaying muted users [#1170](https://github.com/GetStream/stream-chat-react/pull/1170)
101
-
102
- ## [6.7.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.7.0) 2021-09-10
103
-
104
- ### Feature
105
-
106
- - Add ability to override high-level, CSS container classes via the `customClasses` prop on `Chat` [#1159](https://github.com/GetStream/stream-chat-react/pull/1159). See the [docs](https://getstream.io/chat/docs/sdk/react/customization/css_and_theming/#custom-container-classes) for more information.
107
- - Allow custom message actions in the `VirtualizedMessageList` [#1166](https://github.com/GetStream/stream-chat-react/pull/1166)
108
- - While using the `MessageSimple` UI component, allow message grouping in the `VirtualizedMessageList` via the `shouldGroupByUser` prop [#1166](https://github.com/GetStream/stream-chat-react/pull/1166)
109
- - Add ability to customize the svg icons in the `MessageOptions` component [#1159](https://github.com/GetStream/stream-chat-react/pull/1159)
110
- - Create a Capacitor sample app to test run the library natively [#1158](https://github.com/GetStream/stream-chat-react/pull/1158)
111
-
112
- ### Bug
113
-
114
- - Fix edge case around custom message actions not showing up when default actions are disabled [#1161](https://github.com/GetStream/stream-chat-react/pull/1161)
115
-
116
- ## [6.6.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.6.0) 2021-08-30
117
-
118
- ### Feature
119
-
120
- - Add optimistic response to pin message request [#1149](https://github.com/GetStream/stream-chat-react/pull/1149)
121
- - Add option to close `ReactionSelector` component on reaction pick [#1150](https://github.com/GetStream/stream-chat-react/pull/1150)
122
-
123
- ### Chore
124
-
125
- - Improve `ChannelSearch` types for channel and user filters [#1141](https://github.com/GetStream/stream-chat-react/pull/1141)
126
- - Remove unnecessary `useMessageInputState` props [#1145](https://github.com/GetStream/stream-chat-react/pull/1145)
127
- - Upgrade `react-virtuoso` dependency [#1148](https://github.com/GetStream/stream-chat-react/pull/1148)
128
- - Add Rollup image plugin and upgrade `react-file-utils` [#1151](https://github.com/GetStream/stream-chat-react/pull/1151)
129
-
130
- ### Bug
131
-
132
- - Hide URL link overflow in `MessageSimple` [#1147](https://github.com/GetStream/stream-chat-react/pull/1147)
133
-
134
- ## [6.5.1](https://github.com/GetStream/stream-chat-react/releases/tag/v6.5.1) 2021-08-13
135
-
136
- ### Feature
137
-
138
- - Add option to pass `customMessageData` to the `ChannelActionContext` `sendMessage` function [#1123](https://github.com/GetStream/stream-chat-react/pull/1123)
139
-
140
- ### Chore
141
-
142
- - Add support to quote a message with an attachment [#1118](https://github.com/GetStream/stream-chat-react/pull/1118)
143
- - Upgrade `stream-chat` to major version 4 [#1120](https://github.com/GetStream/stream-chat-react/pull/1120)
144
-
145
- ### Bug
146
-
147
- - Skip `MessageInput` slow mode cooldown for admin and moderator user roles [#1116](https://github.com/GetStream/stream-chat-react/pull/1116)
148
-
149
- ## [6.5.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.5.0) 2021-08-11
150
-
151
- ### Feature
152
-
153
- - Add `defaultItemHeight` prop to `VirtualizedMessageList` to smooth rendering of long and differently sized lists. Also, prevent new message notification icon from flashing when switching channels. [#1112](https://github.com/GetStream/stream-chat-react/pull/1112)
154
-
155
- ### Chore
156
-
157
- - Improve `EmojiContext` types and documentation [#1107](https://github.com/GetStream/stream-chat-react/pull/1107)
158
- - Adjust `Attachment` component rendering in Message UI components for cases with no attachment array length [#1115](https://github.com/GetStream/stream-chat-react/pull/1115)
159
-
160
- ## [6.4.11](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.11) 2021-08-06
161
-
162
- ### Chore
163
-
164
- - Upgrade `react-virtuoso` for tall last message edge case [#1102](https://github.com/GetStream/stream-chat-react/pull/1102)
165
- - Upgrade `stream-chat` and example app dependencies [#1103](https://github.com/GetStream/stream-chat-react/pull/1103)
166
-
167
- ## [6.4.10](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.10) 2021-08-05
168
-
169
- ### Feature
170
-
171
- - Clear message input text prior to successful message response and revert to original text if request fails [#1097](https://github.com/GetStream/stream-chat-react/pull/1097)
172
-
173
- ### Chore
174
-
175
- - Update Japanese and Korean translations [#1091](https://github.com/GetStream/stream-chat-react/pull/1091) and [#1099](https://github.com/GetStream/stream-chat-react/pull/1099)
176
- - Prevent `Avatar` component from being able to render its name as a number [#1097](https://github.com/GetStream/stream-chat-react/pull/1097)
177
-
178
- ### Bug
179
-
180
- - Fix logic to show input send button on breakpoint change to mobile/tablet views [#1095](https://github.com/GetStream/stream-chat-react/pull/1095)
181
-
182
- ## [6.4.9](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.9) 2021-08-02
183
-
184
- ### Feature
185
-
186
- - Add `defaultLanguage` prop to `Chat` component to specify fallback language for translation of UI components [#1086](https://github.com/GetStream/stream-chat-react/pull/1086)
187
-
188
- ### Chore
189
- - Optimize `VirtualizedMessageList` message grouping and rendering logic [#1088](https://github.com/GetStream/stream-chat-react/pull/1088)
190
-
191
- ## [6.4.8](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.8) 2021-07-30
192
-
193
- ### Feature
194
-
195
- - Add `SearchInput` UI prop to `ChannelSearch` component to override/extend default HTML `input` element [#1079](https://github.com/GetStream/stream-chat-react/pull/1079)
196
- - Detect connected user's preferred language for translation when language not set by `Streami18n` instance [#1082](https://github.com/GetStream/stream-chat-react/pull/1082)
197
- - Add Japanese and Korean to list of supported languages for auto translation [#1085](https://github.com/GetStream/stream-chat-react/pull/1085)
198
-
199
- ## [6.4.7](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.7) 2021-07-27
200
-
201
- ### Feature
202
-
203
- - Add the ability to open/close list of available commands on click [#1072](https://github.com/GetStream/stream-chat-react/pull/1072)
204
- - Add the ability to set custom active channel on mount even if it's not returned in the initial `queryChannels` response [#1078](https://github.com/GetStream/stream-chat-react/pull/1078)
205
-
206
- ### Chore
207
-
208
- - Replace `replaceAll` method with `replace` and add global flag for older browser support [#1074](https://github.com/GetStream/stream-chat-react/pull/1074)
209
- - Adjust `VirtualizedMessageList` CSS to support `MessageSimple` [#1075](https://github.com/GetStream/stream-chat-react/pull/1075)
210
-
211
- ## [6.4.6](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.6) 2021-07-23
212
-
213
- ### Chore
214
-
215
- - Add error handling to `MessageInput` submit handler functions [#1068](https://github.com/GetStream/stream-chat-react/pull/1068)
216
- - Upgrade `react-images` dependency for React 17 support [#1069](https://github.com/GetStream/stream-chat-react/pull/1069)
217
-
218
- ## [6.4.5](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.5) 2021-07-21
219
-
220
- ### Feature
221
-
222
- - Provide option to use `VirtualizedMessageList` in `Thread` component via the `virtualized` boolean prop [#1065](https://github.com/GetStream/stream-chat-react/pull/1065)
223
-
224
- ### Chore
225
-
226
- - Pass `message` object override prop to `MessageText` component [#1063](https://github.com/GetStream/stream-chat-react/pull/1063)
227
- - Add fallback `name` for specific rendered `Avatar` components [#1066](https://github.com/GetStream/stream-chat-react/pull/1066)
228
-
229
- ## [6.4.4](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.4) 2021-07-20
230
-
231
- ### Bug
232
-
233
- - Fix bundle issues with dependency CSS imports [#1061](https://github.com/GetStream/stream-chat-react/pull/1061)
234
-
235
- ## [6.4.3](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.3) 2021-07-20
236
-
237
- ### Feature
238
-
239
- - Reload `ChannelList` component when `sort` prop changes [#1054](https://github.com/GetStream/stream-chat-react/pull/1054)
240
-
241
- ### Chore
242
-
243
- - Add repo info to NPM page [#1051](https://github.com/GetStream/stream-chat-react/pull/1051)
244
- - Export `MML` component [#1053](https://github.com/GetStream/stream-chat-react/pull/1053)
245
- - Upgrade `react-virtuoso` dependency [#1057](https://github.com/GetStream/stream-chat-react/pull/1057)
246
- - Revert removal of `EmptyStateIndicator` component for threads [#1058](https://github.com/GetStream/stream-chat-react/pull/1058)
247
- - Move `mml-react` (optional dependency) CSS import to `MML` component [#1059](https://github.com/GetStream/stream-chat-react/pull/1059)
248
-
249
- ## [6.4.2](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.2) 2021-07-14
250
-
251
- ### Feature
252
-
253
- - In the `VirtualizedMessageList`, add option to view the Giphy preview above the `MessageInput` (not as a message in the list) using the `separateGiphyPreview` prop [#1045](https://github.com/GetStream/stream-chat-react/pull/1045)
254
- - Add optimistic response for sending reactions [#1048](https://github.com/GetStream/stream-chat-react/pull/1048)
255
-
256
- ### Chore
257
-
258
- - Upgrade `typescript` and `stream-chat` dependencies [#1049](https://github.com/GetStream/stream-chat-react/pull/1049)
259
-
260
- ## [6.4.1](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.1) 2021-07-09
261
-
262
- ### Chore
263
-
264
- - Upgrade `react-file-utils` to fix NextJS support [#1043](https://github.com/GetStream/stream-chat-react/pull/1043)
265
-
266
- ### Bug
267
-
268
- - Fix `offset` increment issue for unwatched channels [#1038](https://github.com/GetStream/stream-chat-react/pull/1038)
269
-
270
- ## [6.4.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.0) 2021-07-07
271
-
272
- ### ⚠️ BREAKING CHANGES ⚠️ - The following values have been moved to the newly created [`EmojiContext`](https://getstream.io/chat/docs/sdk/react/contexts/emoji_context/):
273
-
274
- - `Emoji` - moved from `ComponentContext`
275
- - `emojiConfig` - moved from `ChannelStateContext`
276
- - `EmojiIndex` - moved from `ComponentContext`
277
- - `EmojiPicker` - moved from `ComponentContext`
278
-
279
- ### Feature
280
-
281
- - Lazy load the `emoji-mart` dependency [#1037](https://github.com/GetStream/stream-chat-react/pull/1037)
282
-
283
- ### Chore
284
-
285
- - Remove unused CSS [#1035](https://github.com/GetStream/stream-chat-react/pull/1035)
286
-
287
- ## [6.3.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.3.0) 2021-07-02
288
-
289
- ### ⚠️ BREAKING CHANGES ⚠️ - We've removed the following deprecated UI components [#1031](https://github.com/GetStream/stream-chat-react/pull/1031):
290
-
291
- - `ChannelListTeam`
292
- - `ChannelPreviewCompact`
293
- - `ChannelPreviewCountOnly`
294
- - `ChannelPreviewLastMessage`
295
- - `MessageInputLarge`
296
- - `MessageInputSimple`
297
-
298
- ### Feature
299
-
300
- - Added option to view read states on all messages [#1014](https://github.com/GetStream/stream-chat-react/pull/1014)
301
- - Added markdown rendering support for `ChannelPreview` component [#1021](https://github.com/GetStream/stream-chat-react/pull/1021)
302
- - Added `sendChannelsToList` prop to `ChannelList` to pass `loadedChannels` to the `List` UI component [#1028](https://github.com/GetStream/stream-chat-react/pull/1028)
303
- - Pass entire user object to `Avatar` component for custom component usage [#1030](https://github.com/GetStream/stream-chat-react/pull/1030)
304
- - Send error notification to channel via `addNotification` method when file/image upload fails [#1032](https://github.com/GetStream/stream-chat-react/pull/1032)
305
- - Conditionally render `SendButton` when attachments have been uploaded but no input text exists [#1033](https://github.com/GetStream/stream-chat-react/pull/1033)
306
-
307
- ### Chore
308
-
309
- - Update `MessageInput` emoji icons [#1020](https://github.com/GetStream/stream-chat-react/pull/1020) and [#1029](https://github.com/GetStream/stream-chat-react/pull/1029)
310
- - Upgrade `react-file-utils` dependency [#1027](https://github.com/GetStream/stream-chat-react/pull/1027)
311
-
312
- ## [6.2.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.2.0) 2021-06-24
313
-
314
- ### 🎉 CSS VARIABLES THEMING! 🎉
315
-
316
- - We've replaced much of the library's hardcoded CSS with customizable variables [#927](https://github.com/GetStream/stream-chat-react/pull/927)
317
- - Variable support has been added for fonts, colors, border radius, padding, and margin
318
- - The `Chat` component now accepts a `customStyles` prop, an object type of CSS variables and value overrides
319
- - See the [CSS and Theming](https://getstream.io/chat/docs/sdk/react/customization/css_and_theming/) section of our docs
320
- for an example of how to implement
321
-
322
- ### Feature
323
-
324
- - Added error notification handling for failed deleted messages [#1002](https://github.com/GetStream/stream-chat-react/pull/1002)
325
- - Added UI component override prop for `MessageListNotifications` [#996](https://github.com/GetStream/stream-chat-react/pull/996)
326
-
327
- ### Chore
328
-
329
- - Refactor typing of `Attachment` components [#995](https://github.com/GetStream/stream-chat-react/pull/995)
330
-
331
- ## [6.1.2](https://github.com/GetStream/stream-chat-react/releases/tag/v6.1.2) 2021-06-21
332
-
333
- ### Feature
334
-
335
- - Refactor message permissions so they respect channel config [#986](https://github.com/GetStream/stream-chat-react/pull/986)
336
- - Add limit option to default user mention behavior [#988](https://github.com/GetStream/stream-chat-react/pull/988)
337
- - Add additional customization for `ChannelSearch` component [#989](https://github.com/GetStream/stream-chat-react/pull/989)
338
- - Add `formatDate` prop override potential `DateSeparator` component [#992](https://github.com/GetStream/stream-chat-react/pull/992)
339
-
340
- ### Chore
341
-
342
- - Refactor typing of `Attachment` component [#991](https://github.com/GetStream/stream-chat-react/pull/991)
343
-
344
- ## [6.1.1](https://github.com/GetStream/stream-chat-react/releases/tag/v6.1.1) 2021-06-16
345
-
346
- ### Chore
347
-
348
- - Upgrade TypeScript dependencies [#982](https://github.com/GetStream/stream-chat-react/pull/982)
349
-
350
- ### Bug
351
-
352
- - Add missing `onlySenderCanEdit` prop to `Message` component [#982](https://github.com/GetStream/stream-chat-react/pull/982)
353
-
354
- ## [6.1.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.1.0) 2021-06-15
355
-
356
- ### 🎉 UPDATED DOCS! 🎉
357
-
358
- - We have completely re-written our [SDK docs](https://getstream.io/chat/docs/sdk/react/)
359
- - Component/props/context references are all complete
360
- - We'll continually add to the Custom Code Examples section for easier customization
361
- - The new docs are found on the [website](https://getstream.io/chat/docs/sdk/react/)
362
-
363
- ### Feature
364
-
365
- - Refine edit message privileges and add `onlySenderCanEdit` prop to `MessageList` [#975](https://github.com/GetStream/stream-chat-react/pull/975)
366
-
367
- ### Chore
368
-
369
- - Change attachment type for video messages [#976](https://github.com/GetStream/stream-chat-react/pull/976)
370
- - Adjust mouse event listener options [#980](https://github.com/GetStream/stream-chat-react/pull/980)
371
-
372
- ### Bug
373
-
374
- - Prevent `EmptyStateIndicator` from showing up in `Thread` [#977](https://github.com/GetStream/stream-chat-react/pull/977)
375
-
376
- ## [6.0.7](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.7) 2021-06-14
377
-
378
- ### Feature
379
-
380
- - Add support for custom reactions [#968](https://github.com/GetStream/stream-chat-react/pull/968)
381
-
382
- ### Chore
383
-
384
- - Upgrade `stream-chat` dependency
385
-
386
- ### Bug
387
-
388
- - Fix UI component conditional rendering in `Attachment` [#972](https://github.com/GetStream/stream-chat-react/pull/972)
389
- - Add needed params to `ChannelSearch` search function prop [#973](https://github.com/GetStream/stream-chat-react/pull/973)
390
-
391
- ## [6.0.6](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.6) 2021-06-02
392
-
393
- ### Chore
394
-
395
- - Throttle send/remove message reaction functions [#953](https://github.com/GetStream/stream-chat-react/pull/953)
396
- and [#955](https://github.com/GetStream/stream-chat-react/pull/955)
397
-
398
- ### Bug
399
-
400
- - Restore override props on `ChatAutoComplete` component [#952](https://github.com/GetStream/stream-chat-react/pull/952)
401
-
402
- ## [6.0.5](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.5) 2021-05-28
403
-
404
- ### Feature
405
-
406
- - Add optional prop to override default `loadMore` function in `VirtualizedMessageList` [#950](https://github.com/GetStream/stream-chat-react/pull/950)
407
-
408
- ### Bug
409
-
410
- - Prevent unnecessary members query when `disableMentions` is enabled on `MessageInput` [#949](https://github.com/GetStream/stream-chat-react/pull/949)
411
-
412
- ## [6.0.4](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.4) 2021-05-25
413
-
414
- ### Bug
415
-
416
- - Add missing `Input` prop to `ComponentContext` value [#942](https://github.com/GetStream/stream-chat-react/pull/942)
417
-
418
- ## [6.0.3](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.3) 2021-05-25
419
-
420
- ### Chore
421
-
422
- - Export browser bundle as `StreamChatReact` namespace [#940](https://github.com/GetStream/stream-chat-react/pull/940)
423
- - Use asset path scss variable [#939](https://github.com/GetStream/stream-chat-react/pull/939)
424
-
425
- ## [6.0.2](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.2) 2021-05-21
426
-
427
- ### Feature
428
-
429
- - Add German auto translation support [#935](https://github.com/GetStream/stream-chat-react/pull/935)
430
-
431
- ### Chore
432
-
433
- - Upgrade `react-file-utils` dependency for reduced bundle size [#933](https://github.com/GetStream/stream-chat-react/pull/933)
434
-
435
- ### Bug
436
-
437
- - Prevent tree shaking from removing distributed CSS [#936](https://github.com/GetStream/stream-chat-react/pull/936)
438
-
439
- ## [6.0.1](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.1) 2021-05-19
440
-
441
- ### Feature
442
-
443
- - Expose the `MessageContext` to the `VirtualizedMessageList`'s `Message` UI component [#924](https://github.com/GetStream/stream-chat-react/pull/924)
444
-
445
- ### Chore
446
-
447
- - Reorganize component documentation for v6 [#926](https://github.com/GetStream/stream-chat-react/pull/926)
448
-
449
- ### Bug
450
-
451
- - Prevent crash when navigate away from, and then back to, an empty channel [#931](https://github.com/GetStream/stream-chat-react/pull/931)
452
-
453
- ## [6.0.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.0) 2021-05-17
454
-
455
- ### ⚠️ BREAKING CHANGES ⚠️ - Please review our v6 [implementation guide](https://github.com/GetStream/stream-chat-react/wiki) prior to upgrading.
456
-
457
- With this release, we've completely refactored how we share data in the component library. We've segmented our former `ChannelContext` into the following four sub-contexts:
458
-
459
- - `ChannelActionContext` - provides the functions needed to operate a `Channel`
460
- - `ChannelStateContext` - provides the stateful data needed to operate a `Channel`
461
- - `ComponentContext` - provides the UI component overrides for all child components of a `Channel`
462
- - `TypingContext` - provides an object of users currently typing in the `Channel`
463
-
464
- **NOTE:** The `ChannelContext` no longer exists, so all old references to `useChannelContext()` or `useContext(ChannelContext)` need to be replaced with the relevant context above. A list of all data found within each new context can be found [here](https://github.com/GetStream/stream-chat-react/wiki/Context-Overview-(v6.0.0)).
465
-
466
- ### Feature
467
-
468
- - We've added a handful of new features in this release, check out this [wiki](https://github.com/GetStream/stream-chat-react/wiki/New-Features-(v.6.0.0)) for more details. New features include:
469
- - custom message actions
470
- - custom triggers
471
- - channel search
472
- - quoted messages
473
- - cooldown timer / slow mode UI
474
- - submit key override
475
- - The `Message` component now provides the `MessageContext` to its children. Reference this [guide](https://github.com/GetStream/stream-chat-react/wiki/How-to-Guide-for-Building-a-Custom-Message-(v.6.0.0)) for instructions on creating a custom message UI component.
476
- - The `MessageInput` component now provides the `MessageInputContext` to its children. Reference this [guide](https://github.com/GetStream/stream-chat-react/wiki/How-to-Guide-for-Building-a-Custom-MessageInput-and-Customizing-the-Default-MessageInput-(v.6.0.0)) for instructions on creating a custom input UI component.
477
-
478
- ## [5.4.0](https://github.com/GetStream/stream-chat-react/releases/tag/v5.4.0) 2021-05-13
479
-
480
- ### Feature
481
-
482
- - Scroll to bottom of `MessageList` when the last message receives a reaction or reply [#916](https://github.com/GetStream/stream-chat-react/pull/916)
483
-
484
- ### Chore
485
-
486
- - Preserve modules during build to optimize tree shaking potential [#919](https://github.com/GetStream/stream-chat-react/pull/919)
487
- - Support `'next-images'` dependency in NextJS sample app [#920](https://github.com/GetStream/stream-chat-react/pull/920)
488
-
489
- ## [5.3.2](https://github.com/GetStream/stream-chat-react/releases/tag/v5.3.2) 2021-05-03
490
-
491
- ### Feature
492
-
493
- - Add `scrollToLatestMessageOnFocus` prop to `VirtualizedMessageList` to handle focus changes on browser tab switching [#892](https://github.com/GetStream/stream-chat-react/pull/892)
494
- - Add `MessageNotification` prop to `MessageList` components to allow customization of the new messages notification popup [#894](https://github.com/GetStream/stream-chat-react/pull/894)
495
-
496
- ### Bug
497
-
498
- - Adjust URL parsing for duplicate entries [#893](https://github.com/GetStream/stream-chat-react/pull/893)
499
-
500
- ## [5.3.1](https://github.com/GetStream/stream-chat-react/releases/tag/v5.3.1) 2021-04-30
501
-
502
- ### Bug
503
-
504
- - Add message memoization case for read states [#888](https://github.com/GetStream/stream-chat-react/pull/888)
505
- - Fix regex trigger for multiple mentions [#889](https://github.com/GetStream/stream-chat-react/pull/889)
506
- - Add message memoization case for muted user array [#891](https://github.com/GetStream/stream-chat-react/pull/891)
507
-
508
- ## [5.3.0](https://github.com/GetStream/stream-chat-react/releases/tag/v5.3.0) 2021-04-29
509
-
510
- ### Feature
511
-
512
- - Added support for `user.deleted` and `user.updated` event handling [#884](https://github.com/GetStream/stream-chat-react/pull/884)
513
- - Requires `stream-chat >= 3.8.0`
514
- - In case of `user.deleted` event, messages from corresponding user will be marked as deleted
515
- - In case of `user.updated` event, user property on messages from corresponding user will be updated.
516
-
517
- ## [5.2.1](https://github.com/GetStream/stream-chat-react/releases/tag/v5.2.1) 2021-04-28
518
-
519
- ### Chore
520
-
521
- - Adjust processed messages logic [#876](https://github.com/GetStream/stream-chat-react/pull/876)
522
- - Make `mml-react` an optional dependency and lazy load [#881](https://github.com/GetStream/stream-chat-react/pull/881)
523
-
524
- ### Bug
525
-
526
- - Copy missing translations from built types [#879](https://github.com/GetStream/stream-chat-react/pull/879)
527
-
528
- ## [5.2.0](https://github.com/GetStream/stream-chat-react/releases/tag/v5.2.0) 2021-04-26
529
-
530
- ### Feature
531
-
532
- - Add Spanish and Portuguese auto translation support [#874](https://github.com/GetStream/stream-chat-react/pull/874)
533
-
534
- ### Chore
535
-
536
- - Adjust processed messages conditional logic for `VirtualizedMessageList` [#875](https://github.com/GetStream/stream-chat-react/pull/875)
537
-
538
- ## [5.1.8](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.8) 2021-04-21
539
-
540
- ### Chore
541
-
542
- - Update message group styling defaults in message UI components [#860](https://github.com/GetStream/stream-chat-react/pull/860)
543
- - Refine pin message permission checking [#866](https://github.com/GetStream/stream-chat-react/pull/866)
544
-
545
- ### Bug
546
-
547
- - Update `MessageActions` event listener types [#855](https://github.com/GetStream/stream-chat-react/pull/855)
548
- - Fix suggestion list command conditional check [#865](https://github.com/GetStream/stream-chat-react/pull/865)
549
-
550
- ## [5.1.7](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.7) 2021-04-13
551
-
552
- ### Feature
553
-
554
- - Remove channel creator's ability to edit/delete other users' messages [#853](https://github.com/GetStream/stream-chat-react/pull/853)
555
-
556
- ### Chore
557
-
558
- - Generalize event types to allow for greater action handler flexibility [#850](https://github.com/GetStream/stream-chat-react/pull/850)
559
-
560
- ## [5.1.6](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.6) 2021-04-10
561
-
562
- ### Feature
563
-
564
- - Adjust message memoization for custom UI components [#849](https://github.com/GetStream/stream-chat-react/pull/849)
565
-
566
- ### Bug
567
-
568
- - Fix CSS display issue for messages with reactions [#849](https://github.com/GetStream/stream-chat-react/pull/849)
569
-
570
- ## [5.1.5](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.5) 2021-04-09
571
-
572
- ### Chore
573
-
574
- - Adjust submit handler types [#847](https://github.com/GetStream/stream-chat-react/pull/847)
575
-
576
- ### Bug
577
-
578
- - Remove old CSS leading to Gatsby error [#846](https://github.com/GetStream/stream-chat-react/pull/846)
579
-
580
- ## [5.1.4](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.4) 2021-04-07
581
-
582
- ### Bug
583
-
584
- - Filter falsey emoji search results [#843](https://github.com/GetStream/stream-chat-react/pull/843)
585
-
586
- ### Chore
587
-
588
- - Adjust submit handler types [#844](https://github.com/GetStream/stream-chat-react/pull/844)
589
-
590
- ## [5.1.3](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.3) 2021-04-06
591
-
592
- ### Feature
593
-
594
- - Optimize message list components by limiting excess `loadMore` calls [#841](https://github.com/GetStream/stream-chat-react/pull/841)
595
-
596
- ### Bug
597
-
598
- - Fix `AutoCompleteTextarea` trigger highlighting bug [#839](https://github.com/GetStream/stream-chat-react/pull/839)
599
-
600
- ## [5.1.2](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.2) 2021-04-05
601
-
602
- ### Feature
603
-
604
- - Provide option to hide `DateSeparator` component for new messages with the `hideNewMessageSeparator` prop on `MessageList` and `VirtualizedMessageList` components [#837](https://github.com/GetStream/stream-chat-react/pull/837)
605
-
606
- ### Bug
607
-
608
- - Fix bad conditional in `useMentionsHandlers` custom hook [#836](https://github.com/GetStream/stream-chat-react/pull/836)
609
-
610
- ## [5.1.1](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.1) 2021-04-02
611
-
612
- ### Feature
613
-
614
- - Show formatted date separator for new messages [#818](https://github.com/GetStream/stream-chat-react/pull/818)
615
- - Provide option to display flag emojis as images on Windows via `useImageFlagEmojisOnWindows` prop [#821](https://github.com/GetStream/stream-chat-react/pull/821)
616
- - Hide reaction icon when a message has reactions [#826](https://github.com/GetStream/stream-chat-react/pull/826)
617
-
618
- ### Chore
619
-
620
- - Update types on `Chat` component [#825](https://github.com/GetStream/stream-chat-react/pull/825)
621
- - Update Prettier settings [#831](https://github.com/GetStream/stream-chat-react/pull/831)
622
-
623
- ### Bug
624
-
625
- - Escape characters that break emoji regex [#823](https://github.com/GetStream/stream-chat-react/pull/823)
626
- - Fix autocomplete textarea text replace algorithm [#827](https://github.com/GetStream/stream-chat-react/pull/827)
627
- - Force close suggestions list on submit [#828](https://github.com/GetStream/stream-chat-react/pull/828)
628
-
629
- ## [5.1.0](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.0) 2021-03-30
630
-
631
- ### Feature
632
-
633
- - Add type support for Moment.js date objects [#809](https://github.com/GetStream/stream-chat-react/pull/809)
634
- - Add i18n translation support for `ChannelPreview` [#810](https://github.com/GetStream/stream-chat-react/pull/810)
635
- - Allow `addNotification` function to be called anywhere within `Channel` [#811](https://github.com/GetStream/stream-chat-react/pull/811)
636
- - Hide `MessageActions` if no actions exist [#816](https://github.com/GetStream/stream-chat-react/pull/816)
637
-
638
- ### Chore
639
-
640
- - Refactor failed message UI component [#811](https://github.com/GetStream/stream-chat-react/pull/811)
641
- - Remove extra `watchers` query [#817](https://github.com/GetStream/stream-chat-react/pull/817)
642
- - Prevent `queryUsers` from searching a null value [#817](https://github.com/GetStream/stream-chat-react/pull/817)
643
-
644
- ## [5.0.3](https://github.com/GetStream/stream-chat-react/releases/tag/v5.0.3) 2021-03-24
645
-
646
- ### Feature
647
-
648
- - Add customization options for `renderText` function [#807](https://github.com/GetStream/stream-chat-react/pull/807)
649
-
650
- ## [5.0.2](https://github.com/GetStream/stream-chat-react/releases/tag/v5.0.2) 2021-03-23
651
-
652
- ### Bug
653
-
654
- - Fix optimistic UI for mentions [#800](https://github.com/GetStream/stream-chat-react/pull/800)
655
-
656
- ## [5.0.1](https://github.com/GetStream/stream-chat-react/releases/tag/v5.0.1) 2021-03-23
657
-
658
- ### Chore
659
-
660
- - Upgrade `react-file-utils` to v1.0.2
661
-
662
- ## [5.0.0](https://github.com/GetStream/stream-chat-react/releases/tag/v5.0.0) 2021-03-22
663
-
664
- ### 🎉 TYPESCRIPT 🎉
665
-
666
- - The entire component library has been converted to TypeScript
667
- - Despite the major tag, this release is non-breaking
668
- - Read our [TypeScript Support](https://github.com/GetStream/stream-chat-react/wiki/Typescript-Support) wiki for guidance on instantiating a `StreamChat` client with your custom types via generics
669
-
670
- ### Feature
671
-
672
- - Conversion to TypeScript [#797](https://github.com/GetStream/stream-chat-react/pull/797)
673
-
674
- ## [4.1.3](https://github.com/GetStream/stream-chat-react/releases/tag/v4.1.3) 2021-03-12
675
-
676
- ### Chore
677
-
678
- - Remove legacy example apps [#766](https://github.com/GetStream/stream-chat-react/pull/766)
679
- - Handle soft deleted messages in `VirtualizedMessageList` [#773](https://github.com/GetStream/stream-chat-react/pull/773)
680
-
681
- ### Bug
682
-
683
- - Add missing ChannelPreview helpers to exports [#775](https://github.com/GetStream/stream-chat-react/pull/775)
684
-
685
- ## [4.1.2](https://github.com/GetStream/stream-chat-react/releases/tag/v4.1.2) 2021-03-09
686
-
687
- ### Feature
688
-
689
- - Export `ChannelPreview` utility functions [#750](https://github.com/GetStream/stream-chat-react/pull/750)
690
- - Memoize `ChannelList` `filters` to prevent extra channel queries [#752](https://github.com/GetStream/stream-chat-react/pull/752)
691
-
692
- ### Chore
693
-
694
- - Update Customizing Styles section of README [#756](https://github.com/GetStream/stream-chat-react/pull/756)
695
- - Change `emoji-mart` imports to support server-side rendering [#764](https://github.com/GetStream/stream-chat-react/pull/764)
696
-
697
- ### Bug
698
-
699
- - Close emoji picker on emoji icon click [#751](https://github.com/GetStream/stream-chat-react/pull/751)
700
- - Hide reaction tooltip on click [#753](https://github.com/GetStream/stream-chat-react/pull/753)
701
-
702
- ## [4.1.1](https://github.com/GetStream/stream-chat-react/releases/tag/v4.1.1) 2021-02-26
703
-
704
- ### Chore
705
-
706
- - Upgrade `stream-chat` dependency to fix reaction caching issue [#742](https://github.com/GetStream/stream-chat-react/pull/742)
707
-
708
- ### Bug
709
-
710
- - Fix markdown link rendering issues [#742](https://github.com/GetStream/stream-chat-react/pull/742)
711
-
712
- ## [4.1.0](https://github.com/GetStream/stream-chat-react/releases/tag/v4.1.0) 2021-02-25
713
-
714
- ### Chore
715
-
716
- - Upgrade `react-virtuoso` dependency [#694](https://github.com/GetStream/stream-chat-react/pull/694)
717
- - Improved support for loading unevenly sized messages when scrolling back
718
- - Support smooth scrolling to bottom when new messages are posted (controlled through `stickToBottomScrollBehavior` property)
719
- - Adding reactions no longer cancels the automatic scrolling when new messages appear
720
- - Generate minified CSS output [#707](https://github.com/GetStream/stream-chat-react/pull/707)
721
- - Upgrade `stream-chat` dependency [#727](https://github.com/GetStream/stream-chat-react/pull/727)
722
- - Upgrade `mml-react` dependency [#728](https://github.com/GetStream/stream-chat-react/pull/728)
723
- - Upgrade `emoji-mart` dependency [#731](https://github.com/GetStream/stream-chat-react/pull/731)
724
-
725
- ### Feature
726
-
727
- - Add `tabIndex` to emoji picker [#710](https://github.com/GetStream/stream-chat-react/pull/710)
728
- - Add `dispatch` function from `channelReducer` to `ChannelContext` [#717](https://github.com/GetStream/stream-chat-react/pull/717)
729
- - Improve mobile support for display of the `MessageOptions` component [#723](https://github.com/GetStream/stream-chat-react/pull/723)
730
- - Add key down a11y support for emoji picker [#726](https://github.com/GetStream/stream-chat-react/pull/726)
731
- - Add `scrolledUpThreshold` prop to `MessageList` [#734](https://github.com/GetStream/stream-chat-react/pull/734)
732
-
733
- ### Bug
734
-
735
- - Fix reaction list click propagation issue [#722](https://github.com/GetStream/stream-chat-react/pull/722)
736
- - Fix reaction list non-breaking space issue [#725](https://github.com/GetStream/stream-chat-react/pull/725)
737
- - Fix URL markdown in code blocks [#733](https://github.com/GetStream/stream-chat-react/pull/733)
738
-
739
- ## [4.0.1](https://github.com/GetStream/stream-chat-react/releases/tag/v4.0.1) 2021-02-11
740
-
741
- ### Chore
742
-
743
- - Add `usePinHandler` example to docs [#705](https://github.com/GetStream/stream-chat-react/pull/705)
744
- - Remove legacy APIs in mock data used for generating the docs [#704](https://github.com/GetStream/stream-chat-react/pull/704)
745
-
746
- ## [4.0.0](https://github.com/GetStream/stream-chat-react/releases/tag/v4.0.0) 2021-02-10
747
-
748
- ### ⚠️ BREAKING CHANGES ⚠️
749
-
750
- - Removed the `seamless-immutable` dependency and its corresponding methods and types [#687](https://github.com/GetStream/stream-chat-react/pull/687)
751
-
752
- - We also removed this dependency at the `stream-chat` JS client level, therefore immutable methods, such as `setIn`, no longer need to be run
753
- on the returned data [#602](https://github.com/GetStream/stream-chat-js/pull/602)
754
- - Responses from the Stream API will now return standard JS data structures, without the immutable wrapping
755
- - **When you upgrade to v4.0.0 of `stream-chat-react`, make sure you also upgrade to v3.0.0 of `stream-chat`**
756
-
757
- ### Feature
758
-
759
- - Performance optimize and allow customization of the `emoji-mart` dependency [#530](https://github.com/GetStream/stream-chat-react/pull/530)
760
- - Add custom `image` prop to `ChannelHeader` component [#697](https://github.com/GetStream/stream-chat-react/pull/697)
761
-
762
- ### Chore
763
-
764
- - Removed the SonarJS linting rules [#693](https://github.com/GetStream/stream-chat-react/pull/693)
765
-
766
- ### Bug
767
-
768
- - Fix permissions bug with custom channel types [#695](https://github.com/GetStream/stream-chat-react/pull/695)
769
- - Fix `ChannelHeader` CSS alignment issue [#699](https://github.com/GetStream/stream-chat-react/pull/699)
770
-
771
- ## [3.6.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.6.0) 2021-02-02
772
-
773
- ### Feature
774
-
775
- - Added support for pinned messages [#682](https://github.com/GetStream/stream-chat-react/pull/682)
776
-
777
- - Save `pinnedMessages` to ChannelContext
778
- - Create `usePinHandler` custom hook for returning `canPin` value and `handlePin` function
779
- - Add Pin/Unpin as optional actions in `MessageActions`
780
- - Add `PinIndicator` UI component to `MessageLivestream` and `MessageTeam`
781
- - Add optional `"pinned-message"` CSS class to message UI components
782
- - Add `getPinMessageErrorNotification` and `pinPermissions` as `MessageList` props
783
-
784
- - Hide `DateSeparator` component when all messages for a day are deleted [#689](https://github.com/GetStream/stream-chat-react/pull/689)
785
-
786
- ### Chore
787
-
788
- - Refactor example apps to use `getInstance` and `connectUser` [#688](https://github.com/GetStream/stream-chat-react/pull/688)
789
-
790
- ### Bug
791
-
792
- - Display auto-translated message text when it exists [#683](https://github.com/GetStream/stream-chat-react/pull/683)
793
- - Add missing export for `VirtualizedMessageList` type [#691](https://github.com/GetStream/stream-chat-react/pull/691)
794
-
795
- ## [3.5.3](https://github.com/GetStream/stream-chat-react/releases/tag/v3.5.3) 2021-01-26
796
-
797
- ### Feature
798
-
799
- - `ChannelList` accepts an optional prop to filter/sort channels prior to render [#678](https://github.com/GetStream/stream-chat-react/pull/678)
800
-
801
- ## [3.5.2](https://github.com/GetStream/stream-chat-react/releases/tag/v3.5.2) 2021-01-21
802
-
803
- ### Fix
804
-
805
- - Handle emoji picker event listener race condition [#675](https://github.com/GetStream/stream-chat-react/pull/675)
806
- - Adjust style for only emoji messages [#676](https://github.com/GetStream/stream-chat-react/pull/676)
807
-
808
- ## [3.5.1](https://github.com/GetStream/stream-chat-react/releases/tag/v3.5.1) 2021-01-19
809
-
810
- ### Fix
811
-
812
- - Upload PSD attachments as file [#673](https://github.com/GetStream/stream-chat-react/pull/673)
813
-
814
- ### Chore
815
-
816
- - Bump MML-React [#674](https://github.com/GetStream/stream-chat-react/pull/674)
817
-
818
- ## [3.5.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.5.0) 2021-01-15
819
-
820
- ## Feature
821
-
822
- - Support typing indicator in Thread component [#662](https://github.com/GetStream/stream-chat-react/pull/662)
823
- - Add parent ID to typing events [#665](https://github.com/GetStream/stream-chat-react/pull/665)
824
- - Allow MessageInput emoji and file upload icon customization [#666](https://github.com/GetStream/stream-chat-react/pull/666)
825
- - Add optional `disableMentions` prop to MessageInput and update mentions UI [#669](https://github.com/GetStream/stream-chat-react/pull/669)
826
-
827
- ## Fix
828
-
829
- - Fix maxLength paste text bug [#670](https://github.com/GetStream/stream-chat-react/pull/670)
830
-
831
- ## [3.4.6](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.6) 2021-01-08
832
-
833
- ## Feature
834
-
835
- - Add SuggestionList as MessageInput prop to override default List and Item component to display trigger suggestions [#655](https://github.com/GetStream/stream-chat-react/pull/655)
836
- - Add allowNewMessagesFromUnfilteredChannels prop to ChannelList [#663](https://github.com/GetStream/stream-chat-react/pull/663)
837
-
838
- ## Fix
839
-
840
- - Fix type for mentions handler [#660](https://github.com/GetStream/stream-chat-react/pull/660)
841
-
842
- ## Chore
843
-
844
- - Convert Thread to functional component [#650](https://github.com/GetStream/stream-chat-react/pull/650)
845
- - Convert messaging sample app to functional component [#661](https://github.com/GetStream/stream-chat-react/pull/661)
846
-
847
- ## [3.4.5](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.5) 2021-01-07
848
-
849
- ## Feature
850
-
851
- - Message components accept custom EditMessageInput component [#656](https://github.com/GetStream/stream-chat-react/pull/656)
852
-
853
- ## Fix
854
-
855
- - Message actions default options doc [#654](https://github.com/GetStream/stream-chat-react/pull/654)
856
- - MessageList unread TypeError [#654](https://github.com/GetStream/stream-chat-react/pull/654)
857
- - ChannelHeader button css padding [#648](https://github.com/GetStream/stream-chat-react/pull/648)
858
-
859
- ## Chore
860
-
861
- - Bump dependencies [#657](https://github.com/GetStream/stream-chat-react/pull/657) [#659](https://github.com/GetStream/stream-chat-react/pull/659)
862
-
863
- ## [3.4.4](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.4) 2020-12-23
864
-
865
- ## Addition
866
-
867
- - Export the UploadsPreview component. [#647](https://github.com/GetStream/stream-chat-react/pull/647)
868
-
869
- ## [3.4.3](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.3) 2020-12-16
870
-
871
- ## Fix
872
-
873
- - Browser bundle undefined variable
874
-
875
- ## [3.4.2](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.2) 2020-12-16
876
-
877
- ## Adjustment
878
-
879
- - Changes default smiley face icon for reaction selector. [#645](https://github.com/GetStream/stream-chat-react/pull/645)
880
-
881
- ## [3.4.1](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.1) 2020-12-15
882
-
883
- ## Feature
884
-
885
- - Adds custom UI component prop `ThreadHeader` to `Thread` to override the default header. [#642](https://github.com/GetStream/stream-chat-react/pull/642)
886
-
887
- ## [3.4.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.0) 2020-12-14
888
-
889
- ## Feature
890
-
891
- - MML is supported by default in all Message components except `MessageLiveStream`. [#562](https://github.com/GetStream/stream-chat-react/pull/562)
892
-
893
- For more detail about how to use MML please refer to [mml-react](https://getstream.github.io/mml-react/) docs.
894
-
895
- ## [3.3.2](https://github.com/GetStream/stream-chat-react/releases/tag/v3.3.2) 2020-12-11
896
-
897
- ## Fix
898
-
899
- - Add error handling for `loadMoreThread` API request [#627](https://github.com/GetStream/stream-chat-react/pull/627)
900
-
901
- ## [3.3.1](https://github.com/GetStream/stream-chat-react/releases/tag/v3.3.1) 2020-12-9
902
-
903
- ## Fix
904
-
905
- - Add additional user role check for `isModerator` boolean [#625](https://github.com/GetStream/stream-chat-react/pull/625)
906
-
907
- ## [3.3.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.3.0) 2020-12-3
908
-
909
- ## Feature
910
-
911
- - Allow all instances of Avatar to be overridden with a custom component via props [#610](https://github.com/GetStream/stream-chat-react/pull/610)
912
-
913
- ## [3.2.4](https://github.com/GetStream/stream-chat-react/releases/tag/v3.2.4) 2020-11-19
914
-
915
- ## Fix
916
-
917
- - Prevent firing LoadMore requests when browser is offline [#614](https://github.com/GetStream/stream-chat-react/pull/614)
918
- - Support muted channels in ChannelPreview [#608](https://github.com/GetStream/stream-chat-react/pull/608)
919
- - `ChannelContext.sendMessage` type accepts missing text [#613](https://github.com/GetStream/stream-chat-react/pull/613)
920
-
921
- ## [3.2.3](https://github.com/GetStream/stream-chat-react/releases/tag/v3.2.3) 2020-11-13
922
-
923
- ## Fix
924
-
925
- - Email links are clickable [#607](https://github.com/GetStream/stream-chat-react/pull/607)
926
- - `message.own_reactions` passed into Reaction components [#604](https://github.com/GetStream/stream-chat-react/pull/604)
927
-
928
- ## [3.2.2](https://github.com/GetStream/stream-chat-react/releases/tag/v3.2.2) 2020-11-05
929
-
930
- ## Fix
931
-
932
- - `VirtualizedMessageList` breaking the list for falsy messages [#602](https://github.com/GetStream/stream-chat-react/pull/602)
933
- - `FixedHeightMessage` action box not opening in React@17 [#602](https://github.com/GetStream/stream-chat-react/pull/602)
934
- - Missing custom hooks type [#601](https://github.com/GetStream/stream-chat-react/pull/601)
935
-
936
- ## [3.2.1](https://github.com/GetStream/stream-chat-react/releases/tag/v3.2.1) 2020-11-04
937
-
938
- ## Fix
939
-
940
- - `VirtualizedMessageList` stick to bottom [#597](https://github.com/GetStream/stream-chat-react/pull/597)
941
-
942
- ## [3.2.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.2.0) 2020-11-04
943
-
944
- ## Chore
945
-
946
- - Support React v17 [#588](https://github.com/GetStream/stream-chat-react/pull/588)
947
-
948
- ## [3.1.7](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.7) 2020-10-29
949
-
950
- ## Fix
951
-
952
- - Improved errorHandling on failed uploads. [#596](https://github.com/GetStream/stream-chat-react/pull/596)
953
- - Escape special characters in mentioned_users names [#591](https://github.com/GetStream/stream-chat-react/pull/591)
954
- - Improve handling max files(10) in MessageInput [#593](https://github.com/GetStream/stream-chat-react/pull/593)
955
-
956
- ## [3.1.6](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.6) 2020-10-21
957
-
958
- ## Fix
959
-
960
- - `displayActions` prop is respected in `MessageOptions` component [#587](https://github.com/GetStream/stream-chat-react/pull/587)
961
-
962
- ## Chore
963
-
964
- - `stream-chat-js` required version bumped to `2.7.x` [#582](https://github.com/GetStream/stream-chat-react/pull/582)
965
-
966
- ## [3.1.5](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.5) 2020-10-19
967
-
968
- ## Feature
969
-
970
- - Disable upload dropzone and input button in Input components based on channel config [#585](https://github.com/GetStream/stream-chat-react/pull/585)
971
-
972
- ## Fix
973
-
974
- - Disable the upload dropzone and input button when the maximum number of allowed attachments is reached [#577](https://github.com/GetStream/stream-chat-react/pull/577)
975
-
976
- ## [3.1.4](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.4) 2020-10-19
977
-
978
- ## Fix
979
-
980
- - Fixed a bug with ChannelList pagination with low limits or high thresholds [#583](https://github.com/GetStream/stream-chat-react/pull/583)
981
-
982
- ## Added
983
-
984
- - Disable reactions based on channel config [#581](https://github.com/GetStream/stream-chat-react/pull/581)
985
- - Disable Thread based on channel config [#580](https://github.com/GetStream/stream-chat-react/pull/580)
986
- - Disable TypingIndicator based on channel config [#579](https://github.com/GetStream/stream-chat-react/pull/579)
987
-
988
- ## [3.1.3](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.3) 2020-10-15
989
-
990
- ## Fix
991
-
992
- - Better handling of offsets during loadMore [#578](https://github.com/GetStream/stream-chat-react/pull/578)
993
-
994
- ## [3.1.2](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.2) 2020-10-14
995
-
996
- # Fix
997
-
998
- Event handler for `message.new` by default moves the channel to top of the list. But it didn't handle the case where channel was not already present in list. `useMessageNewHandler` has been updated to handle this case. [c563252](https://github.com/GetStream/stream-chat-react/commit/c5632521566fe8ad8c3a05a6648b4cdc3c4daafe)
999
-
1000
- ## [3.1.1](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.1) 2020-10-14
1001
-
1002
- ## Fix
1003
-
1004
- - FixedHeightMessage text overflow [#573](https://github.com/GetStream/stream-chat-react/pull/573)
1005
- - Prevent state updates on unmounted Channel component [#566](https://github.com/GetStream/stream-chat-react/pull/566)
1006
-
1007
- ## [3.1.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.0) 2020-10-14
1008
-
1009
- ## Feature
1010
-
1011
- - VirtualizedMessageList supports message grouping [#571](https://github.com/GetStream/stream-chat-react/pull/571)
1012
-
1013
- ```js
1014
- <VirtualizedMessageList shouldGroupByUser />
1015
- ```
1016
-
1017
- ## Fix
1018
-
1019
- - VirtualizedMessageList TypingIndicator is disabled by default [#571](https://github.com/GetStream/stream-chat-react/pull/571)
1020
-
1021
- ## [3.0.3](https://github.com/GetStream/stream-chat-react/releases/tag/v3.0.3) 2020-10-13
1022
-
1023
- ## Fix
1024
-
1025
- - Security [issue](https://github.com/GetStream/stream-chat-react/issues/569) due to missing `rel="noopener noreferrer"` in rendered links [#570](https://github.com/GetStream/stream-chat-react/pull/570)
1026
-
1027
- ## [3.0.2](https://github.com/GetStream/stream-chat-react/releases/tag/v3.0.2) 2020-10-12
1028
-
1029
- - Bump stream-chat to v2.6.0 [#568](https://github.com/GetStream/stream-chat-react/pull/568)
1030
-
1031
- ## [3.0.1](https://github.com/GetStream/stream-chat-react/releases/tag/v3.0.1) 2020-10-05
1032
-
1033
- - Bumped dependencies [#558](https://github.com/GetStream/stream-chat-react/pull/558)
1034
-
1035
- ## Fix
1036
-
1037
- - Fixed issues on docs [#556](https://github.com/GetStream/stream-chat-react/pull/556)
1038
- - Fix type issues [#557](https://github.com/GetStream/stream-chat-react/pull/557)
1039
- - Keep channel.members in sync [#561](https://github.com/GetStream/stream-chat-react/pull/561)
1040
-
1041
- ## Added
1042
-
1043
- - Export EmojiPicker [#560](https://github.com/GetStream/stream-chat-react/pull/560)
1044
-
1045
- ## [3.0.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.0.0) 2020-09-30
1046
-
1047
- ### BREAKING CHANGES
1048
-
1049
- - Image component renamed to ImageComponent [#554](https://github.com/GetStream/stream-chat-react/pull/554)
1050
-
1051
- ## [2.6.2](https://github.com/GetStream/stream-chat-react/releases/tag/v2.6.2) 2020-09-29
1052
-
1053
- ### Fix
1054
-
1055
- - Fixed several type issues [#552](https://github.com/GetStream/stream-chat-react/pull/552)
1056
-
1057
- ## [2.6.1](https://github.com/GetStream/stream-chat-react/releases/tag/v2.6.1) 2020-09-29
1058
-
1059
- ### Fix
1060
-
1061
- - Fixed an issue with MessageLivestream where mutes and flags were not happening [#551](https://github.com/GetStream/stream-chat-react/pull/551)
1062
-
1063
- ## [2.6.0](https://github.com/GetStream/stream-chat-react/releases/tag/v2.6.0) 2020-09-29
1064
-
1065
- ### Feature
1066
-
1067
- - New messages date indicator in MessageList and VritualizedMessageList [#548](https://github.com/GetStream/stream-chat-react/pull/548)
1068
- - Reply/Reactions are available in messageActions [#547](https://github.com/GetStream/stream-chat-react/pull/547)
1069
-
1070
- ### Fix
1071
-
1072
- - Fix opacity on emoji in EditMessageForm [#540](https://github.com/GetStream/stream-chat-react/pull/540)
1073
- - Sanitize URL image sources in Image component [#543](https://github.com/GetStream/stream-chat-react/pull/543)
1074
- - Add first letter of display name to avatar [#545](https://github.com/GetStream/stream-chat-react/pull/545)
1075
-
1076
- ## [2.5.0](https://github.com/GetStream/stream-chat-react/releases/tag/v2.5.0) 2020-09-24
1077
-
1078
- ### Feature
1079
-
1080
- - TypingIndicator component is added by default to both MessageList and VirtualizedMessageList components. This component can also be used by its own. [#535](https://github.com/GetStream/stream-chat-react/pull/535)
1081
-
1082
- ## [2.4.0](https://github.com/GetStream/stream-chat-react/releases/tag/v2.4.0) 2020-09-17
1083
-
1084
- ### Feature
1085
-
1086
- - [VirtualizedMessageList](https://github.com/GetStream/stream-chat-react/blob/master/src/docs/VirtualizedMessageList.md) is a new component that can handle thousands of messages in a channel. It uses a virtualized list under the hood. #487
1087
-
1088
- ### Fix
1089
-
1090
- - Typescript generics of stream chat js are ABC adjusted #521
1091
-
1092
- ## [2.3.3](https://github.com/GetStream/stream-chat-react/releases/tag/v2.3.3) 2020-09-15
1093
-
1094
- - Refactored Attachment component to now also accept a Gallery prop that will handle when the attachments array contains multiple images.
1095
- - Upgraded react-file-utils which fixes image previews not displaying on the EditMessageForm
1096
- - Fix PropType errors
1097
- - Fix an issue with the infinite scroll on the MessageList when the client is offline
1098
-
1099
- ## [2.3.2](https://github.com/GetStream/stream-chat-react/releases/tag/v2.3.2) 2020-09-10
1100
-
1101
- - Upgrading stream-chat to 2.2.2
1102
-
1103
- ## [2.3.1](https://github.com/GetStream/stream-chat-react/releases/tag/v2.3.1) 2020-09-10
1104
-
1105
- - Upgrading stream-chat to 2.2.1
1106
-
1107
- ## [2.3.0](https://github.com/GetStream/stream-chat-react/releases/tag/v2.3.0) 2020-09-10
1108
-
1109
- - Upgraded `stream-chat` package to `v2.2.0`
1110
-
1111
- - `stream-chat` package has been migrated to complete typescript in 2.x.x. There were no breaking change with underlying
1112
- javascript api and also typescript except for [Event type](https://github.com/GetStream/stream-chat-js/blob/master/CHANGELOG.md#august-26-2020---200). We recommend you to check the changelog for stream-chat-js repository as well for more details
1113
- if you are planning to upgrade from `stream-chat-react@2.2.x` to `stream-chat-react@2.3.x`
1114
- - This PR which contains typescript related changes in stream-chat-react for given upgrade - https://github.com/GetStream/stream-chat-react/pull/499/files
1115
-
1116
- ## [2.2.2](https://github.com/GetStream/stream-chat-react/releases/tag/v2.2.2) 2020-08-21
1117
-
1118
- - Separated ConnectionStatus component from MessageList [82c8927](https://github.com/GetStream/stream-chat-react/commit/82c892773cd4aebed275259c93829ba6cb34b0be)
1119
- - Bug fix: When Channel component is standalone used (without ChannelList), mentions feature wouldn't work [4f64abc](https://github.com/GetStream/stream-chat-react/commit/4f64abcda95c77344a973b2972965a70b0cd8295)
1120
-
1121
- ## [2.2.1](https://github.com/GetStream/stream-chat-react/releases/tag/v2.2.1) 2020-07-31
1122
-
1123
- - Added listener for channel.hidden event and prop to override the default behaviour onChannelHidden [643af50](https://github.com/GetStream/stream-chat-react/commit/33739bd730f61da62e6fbe305a2807575643af50)
1124
- - Added listener for channel.visible event and prop to override the default behaviour onChannelVisible [56e1208](https://github.com/GetStream/stream-chat-react/commit/5066052d0948310582c74476d3981965b56e1208)
1125
-
1126
- ## [2.2.0](https://github.com/GetStream/stream-chat-react/releases/tag/v2.2.0) 2020-07-31
1127
-
1128
- - Added doMarkReadRequest prop to Channel component, to override markRead api calls [49a058b8](https://github.com/GetStream/stream-chat-react/commit/49a058b8489699fb3de4fc5f7041a4d09d9acd39)
1129
-
1130
- ## [2.1.3](https://github.com/GetStream/stream-chat-react/releases/tag/v2.1.3) 2020-07-27
1131
-
1132
- - Fix empty reaction showing bubble [#473](https://github.com/GetStream/stream-chat-react/pull/473)
1133
-
1134
- ## [2.1.2](https://github.com/GetStream/stream-chat-react/releases/tag/v2.1.2) 2020-07-27
1135
-
1136
- - Add formatDate to docs [#469](https://github.com/GetStream/stream-chat-react/pull/469)
1137
- - Allow reaction override in Message components [#470](https://github.com/GetStream/stream-chat-react/pull/470)
1138
- - Fix runtime require in browser bundle [#472](https://github.com/GetStream/stream-chat-react/pull/472)
1139
-
1140
- ## [2.1.1](https://github.com/GetStream/stream-chat-react/releases/tag/v2.1.1) 2020-07-22
1141
-
1142
- - Bumped `react-file-utils` to `0.3.15` which includes an upgraded version of `blueimp-load-image` which makes it easier to use this library in SSR apps.
1143
-
1144
- ## [2.1.0](https://github.com/GetStream/stream-chat-react/releases/tag/v2.1.0) 2020-07-22
1145
-
1146
- - Rename exported component `File` to `FileAttachment` to avoid overriding `window.File` in bundled release
1147
-
1148
- ## [2.0.4](https://github.com/GetStream/stream-chat-react/releases/tag/v2.0.4) 2020-07-21
1149
-
1150
- - Fixed type issues
1151
- - Fixed an issue with the mobile navigation
1152
- - Added the ability to customize the datetime stamp on Message components using the `formatDate` prop
1153
-
1154
- ## [2.0.3](https://github.com/GetStream/stream-chat-react/releases/tag/v2.0.3) 2020-07-20
1155
-
1156
- - All components using mutes get them using the useContext hook.
1157
- - Performance updates
1158
- - Fix for document.title when read_events are disabled
1159
- - Added docs on using included hooks
1160
-
1161
- ## [2.0.2](https://github.com/GetStream/stream-chat-react/releases/tag/v2.0.2) 2020-07-16
1162
-
1163
- - Fixed some issues with editing messages
1164
- - Fixed some issues with muting/unmuting messages
1165
-
1166
- ## [2.0.1](https://github.com/GetStream/stream-chat-react/releases/tag/v2.0.1) 2020-07-15
1167
-
1168
- We’re bumping `stream-chat-react` to version 2.0.1 because over the past three months we’ve been doing a major refactor of our codebase. The foundational work includes:
1169
-
1170
- - Major refactor and code cleanup
1171
- - Components have been rewritten to use React Hooks
1172
- - Added tests for all components
1173
- - Performance improvements on MessageList
1174
- - Upgraded dependencies
1175
-
1176
- ### Breaking changes
1177
-
1178
- - Drop node 11, 13
1179
- - Deprecating context HOC’s
1180
- Since we moved our library to rely on React Hooks moved the following HOC’s to use `useContext` :
1181
- - `withChannelContext`
1182
- - `withChatContext`
1183
- - `withTranslationContext`
1184
- This means we now directly use the context values from the context and they’re not passed down from the props anymore.
1185
- - The `updateMessage` on the channel context does not support extraState anymore.
1186
- - There no longer is a ref inside a ref in ReactionsList. Instead, the ref of the container div is directly forwarded by the component.
1187
-
1188
- ### Addidtions
1189
-
1190
- - Triggers on MessageInput can now be overwritten using the autocompleteTriggers prop on `MessageInput`
1191
-
1192
- ### Fixes
1193
-
1194
- - Fixed styling on autocomplete suggestions
1195
- - Fixed YouTube video rendering in messages
1196
- - Fixed an issue that allowed you to send empty messages
1197
- - Bugfix in groupStyles calculations
1198
-
1199
- ## [1.2.5](https://github.com/GetStream/stream-chat-react/releases/tag/v1.2.5) 2020-06-30
1200
-
1201
- - Added `LoadingIndicator` prop to MessageList
1202
- - Fixed some minor styling issues with SafeAnchor
1203
-
1204
- ## [1.2.4](https://github.com/GetStream/stream-chat-react/releases/tag/v1.2.4) 2020-06-30
1205
-
1206
- - Refactor and improvements to the Gallery Modal component
1207
-
1208
- ## [1.2.3](https://github.com/GetStream/stream-chat-react/releases/tag/v1.2.3) 2020-06-30
1209
-
1210
- - Fixing types
1211
-
1212
- ## [1.2.2](https://github.com/GetStream/stream-chat-react/releases/tag/v1.2.2) 2020-06-22
1213
-
1214
- - Fixing types
1215
-
1216
- ## [1.2.1](https://github.com/GetStream/stream-chat-react/releases/tag/v1.2.1) 2020-06-17
1217
-
1218
- - Fixed an issue with our type definitions introduced in `1.2.0`
1219
-
1220
- ## [1.2.0](https://github.com/GetStream/stream-chat-react/releases/tag/v1.2.0) 2020-06-16
1221
-
1222
- - @mentions now use the queryMembers endpoint enabling mentions in channels of more that 100 members
1223
- - Fix for .mov videos
1224
- - Refactors and a lot of new tests
1225
- - Some small bug fixes
1226
-
1227
- ## [1.1.2](https://github.com/GetStream/stream-chat-react/releases/tag/v1.1.2) 2020-06-11
1228
-
1229
- - Fixes issue with File uploads on MessageInputLarge
1230
- - Make sure to only render videos if the browser supports it
1231
-
1232
- ## [1.1.1](https://github.com/GetStream/stream-chat-react/releases/tag/v1.1.1) 2020-06-09
1233
-
1234
- - Fixes links when written as markdown
1235
- - Allows app:// protocol in markdown links
1236
-
1237
- ## [1.1.0](https://github.com/GetStream/stream-chat-react/releases/tag/v1.1.0) 2020-06-08
1238
-
1239
- **Breaking Change**
1240
-
1241
- - Migrated ChannelList component to functional component.
1242
-
1243
- `ChannelList` component comes with some default handlers for following events.
1244
-
1245
- 1. notification.message_new
1246
- 2. notification.added_to_channel
1247
- 3. notification.removed_from_channel
1248
- 4. channel.updated
1249
- 5. channel.deleted
1250
- 6. channel.truncated
1251
-
1252
- But these default event handlers can be overriden by providing corresponding
1253
- prop functions for handling the event. For example, to override `notification.message_new` event,
1254
- you can provide prop function - `onMessageNew`, to ChannelList component.
1255
-
1256
- Until now, ChannelList component was class based, so function prop (e.g., `onMessageNew`) used to accept
1257
- following 2 parameters:
1258
-
1259
- 1. thisArg - `this` reference of component. You could use this to update the state of the
1260
- component as well. e.g., `thisArg.setState({ ... })`
1261
- 2. event - Event object
1262
-
1263
- In this release, we have migrated ChannelList component to functional component and thus
1264
- `thisArg` is no longer accessible. Instead we provide the setter (from `useState` hook) for channels.
1265
- So updated params to these custom event handlers (prop functions) is as follow:
1266
-
1267
- 1. setChannels {function} Setter for channels.
1268
- 2. event {object} Event object
1269
-
1270
- And same applies to all the rest of the custom event handlers:
1271
-
1272
- - onMessageNew
1273
- - onAddedToChannel
1274
- - onRemovedFromChannel
1275
- - onChannelUpdated
1276
- - onChannelTruncated
1277
- - onChannelDeleted
1278
-
1279
- **Fixes:**
1280
-
1281
- - Correctly set attachment type based on mime type
1282
- - Fixes to audio component
1283
- - Mentions: filter out no-longer-mentioned users on submit
1284
-
1285
- **Other:**
1286
-
1287
- - Type fixes
1288
- - Tests
1289
- - Refactors
1290
-
1291
- ## [1.0.0](https://github.com/GetStream/stream-chat-react/releases/tag/v1.0.0) 2020-05-15
1292
-
1293
- We've already been on a v1 release for a while but never updated our versioning. Right now we're in the process of rewriting our components to be more future proof and we started using hooks, hence the v1.0.0 today.
1294
-
1295
- **Breaking change:** `stream-chat-react` now relies on hooks and will need at least `v16.8.x` of `react` to work.
1296
-
1297
- - Fixed some issues with mutes
1298
- - Fixed issues with attachments
1299
- - Added tests
1300
-
1301
- ## [0.12.1](https://github.com/GetStream/stream-chat-react/releases/tag/v0.12.1) 2020-05-12
1302
-
1303
- - Render video uploads as videos, not files
1304
- - Added tooltip to emoji and attachment buttons
1305
- - Fix file/image upload preview layout
1306
- - Added tests
1307
-
1308
- ## [0.12.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.12.0) 2020-05-08
1309
-
1310
- - Refactor
1311
- - First message in thread doesn't have a fixed position anymore
1312
- - Upon if the active channel get's deleted, we now set the active channel to be empty
1313
- - Removed some unused css
1314
- - Fix for read indicators
1315
-
1316
- ## [0.11.18](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.18) 2020-05-06
1317
-
1318
- - Better fallback avatar in ReactionSelector
1319
- - Better scrolling after assets finish loading
1320
- - Disabled truncation of email links
1321
- - New props `onUserClick` and `onUserHover` on `Message` components
1322
-
1323
- ## [0.11.17](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.17) 2020-05-04
1324
-
1325
- - Added prop MessageDeleted on Message components to override the default component displayed for deleted messages.
1326
-
1327
- ## [0.11.16](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.16) 2020-05-01
1328
-
1329
- - Fixed an where read state indicators dissapeared
1330
-
1331
- ## [0.11.15](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.15) 2020-04-30
1332
-
1333
- - Fixed an issue where the read by tooltip said: "x, x, and 0 more"
1334
- - Fixed an issue where app might crash due to faulty read state
1335
- - Fixed an issue where file attachments didn't get uploaded when also uploading images
1336
-
1337
- ## [0.11.14](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.14) 2020-04-29
1338
-
1339
- - Adding direct messaging support for channel preview [b394079](https://github.com/GetStream/stream-chat-react/commit/b39407960fa908dc55b8ea48625f3c7095c37b56)
1340
- - Fixed typescript for ChannelList component [576f5c8](https://github.com/GetStream/stream-chat-react/commit/576f5c85919bccf21fc803e917581e373dd241d5)
1341
- - Fixed french translation file [308fcab](https://github.com/GetStream/stream-chat-react/commit/308fcab5fa891aad527cf94aeed8353a99d7dcb8)
1342
- - Adding extra check for channel connection to avoid failing markRead call [317fb1f](https://github.com/GetStream/stream-chat-react/commit/317fb1fe31e21e253cdce95bfb5d19932f098e2b)
1343
-
1344
- ## [0.11.13](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.13) 2020-04-20
1345
-
1346
- - Add check to fix optional activeChannel in ChannelPreview.
1347
-
1348
- ## [0.11.12](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.12) 2020-04-17
1349
-
1350
- - Fixing typescript issue with `MessageInput` component prop - `additionalTextAreaProps` [92f2ae2](https://github.com/GetStream/stream-chat-react/commit/92f2ae29a3c66a683ea2b1ebd1c85854cfa41446)
1351
-
1352
- ## [0.11.11](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.11) 2020-04-15
1353
-
1354
- - Adding missing translation key `{{ imageCount }} more` in Gallery component [5cea938](https://github.com/GetStream/stream-chat-react/commit/5cea938c5e80e781ae815f461e833f0b61b1a110)
1355
-
1356
- ## [0.11.10](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.10) 2020-04-09
1357
-
1358
- - Fix crashing app when there's no active channel
1359
-
1360
- ## [0.11.9](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.9) 2020-04-09
1361
-
1362
- - Fix issue with DateSeparator
1363
- - added type definition for setActiveChannelOnMount
1364
-
1365
- ## [0.11.8](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.8) 2020-04-08
1366
-
1367
- - Fix bug in ChannelHeader caused in version `0.11.4`
1368
-
1369
- ## [0.11.6](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.6) 2020-04-04
1370
-
1371
- **NOTE** Please make sure to use `stream-chat@^1.7.0`
1372
-
1373
- - Fixing moderator, owner, admin checks for message actions [71b3309](https://github.com/GetStream/stream-chat-react/commit/71b3309f53edd03a9eded293b3d77093be6359d5)
1374
-
1375
- ## [0.11.5](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.5) 2020-04-03
1376
-
1377
- - Open url attachments in new tab [e6436fe](https://github.com/GetStream/stream-chat-react/commit/e6436fe2c8c09bba42ec3677771191e5acbf5d93)
1378
-
1379
- ## [0.11.4](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.4) 2020-04-02
1380
-
1381
- - Reworked the mobile nav behaviour to be more flexible
1382
-
1383
- ## [0.11.3](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.3) 2020-04-02
1384
-
1385
- - Have the mute action respect channel settings
1386
- - Add supported markdown to docs
1387
-
1388
- ## [0.11.1](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.1) 2020-03-27
1389
-
1390
- - Reverting optimistic reaction UI related changes
1391
-
1392
- Reverted commits:
1393
-
1394
- - [36f8fd0](https://github.com/GetStream/stream-chat-react/commit/36f8fd025f1f8f5bf8c825ba86c141893d69b662)
1395
- - [393c3a5](https://github.com/GetStream/stream-chat-react/commit/393c3a5fb6d31bd5abf24af69b522a85f573e77f)
1396
-
1397
- Reason: Please check the changelog for [v1.6.1](https://github.com/GetStream/stream-chat-js/blob/master/CHANGELOG.md#march-27-2020---161) stream-chat-js
1398
-
1399
- ## [0.11.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.0) 2020-03-27
1400
-
1401
- - Improvements to reaction UX: Updating UI optimistically instead of waiting for reaction api
1402
- call to succeed
1403
- - [36f8fd0](https://github.com/GetStream/stream-chat-react/commit/36f8fd025f1f8f5bf8c825ba86c141893d69b662)
1404
- - [393c3a5](https://github.com/GetStream/stream-chat-react/commit/393c3a5fb6d31bd5abf24af69b522a85f573e77f)
1405
- - Fix for a bug: Flagging a message results in "`t is not a function`" error in console
1406
- - commit [d537e78](https://github.com/GetStream/stream-chat-react/commit/d537e787b624b11f8f97f90075afe6f824be025e)
1407
- - fixes issue [#181](https://github.com/GetStream/stream-chat-react/issues/181#issuecomment-604283175)
1408
- - Adding support for `additionalTextareaProps` prop in MessageInput component
1409
- - [5346f54](https://github.com/GetStream/stream-chat-react/commit/5346f548f9080d2b178b7ad215425361d433f95f)
1410
- - [a6719bb](https://github.com/GetStream/stream-chat-react/commit/a6719bb8dc0b9209c45653c5b6fe6fe0e5e8bf32)
1411
- - Filter out buggy emojis and updating emoji-mart [333ed77](https://github.com/GetStream/stream-chat-react/commit/333ed77ad7d4ebe5dbb2a80052ac3292eeb5e3ee)
1412
- - Displaying DateSeperator before deleted messages. So far we didn't show it [8ed3ca5](https://github.com/GetStream/stream-chat-react/commit/8ed3ca508cdb3561d645455c7529d9ea7dceea9f)
1413
- - Updating `stream-chat` version to 1.6.0 [d4b7c14](https://github.com/GetStream/stream-chat-react/commit/d4b7c143ae7e4d36fe8e76d1cf9fde78c1a1dc39)
1414
-
1415
- ## [0.10.2](https://github.com/GetStream/stream-chat-react/releases/tag/v0.10.2) 2020-03-26
1416
-
1417
- - Bug fix - making sure translators are ready before rendering Chat component [1b0c07a65b88075d14b038977d42138ec7fdaa21](https://github.com/GetStream/stream-chat-react/commit/1b0c07a65b88075d14b038977d42138ec7fdaa21) Fixes [#181](https://github.com/GetStream/stream-chat-react/issues/181)
1418
- - Fixing small styling issues with MessageInput
1419
- - [a17300e](https://github.com/GetStream/stream-chat-react/commit/a17300e5a9b8cdcf6ba03c6260679dda3269c812)
1420
- - [0f0bf0a](https://github.com/GetStream/stream-chat-react/commit/0f0bf0a304fdcea498878c9ab501dc18e63340d4)
1421
-
1422
- ## [0.10.1](https://github.com/GetStream/stream-chat-react/releases/tag/v0.10.1) 2020-03-25
1423
-
1424
- - Added missing i18next dependency to dependency list [c7cf11f](https://github.com/GetStream/stream-chat-react/commit/c7cf11f32b5a0346889534387adcb99e06f5d90d)
1425
-
1426
- ## [0.10.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.10.0) 2020-03-24
1427
-
1428
- - i18n support for library. Documentatio - https://getstream.github.io/stream-chat-react/#section-streami18n
1429
-
1430
- ## [0.9.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.9.0) 2020-03-21
1431
-
1432
- - 20% bundle size reduction (use day.js instead of moment.js)
1433
-
1434
- ## [0.8.8](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.8) 2020-03-20
1435
-
1436
- - Changing mute success notification to show name of user instead of id - [e5bab26](https://github.com/GetStream/stream-chat-react/commit/e5bab26958e9d3ff5ad53491ed5d964d02f95dab)
1437
- - Bug fix: Cancel button on giphy command in thread failed to remove message - [e592a4e](https://github.com/GetStream/stream-chat-react/commit/e592a4e8c8738cd61549b14a40dc317934777ce5)
1438
- - Fixing typing indicator to now show up when current user is typing - [c24dc7a](https://github.com/GetStream/stream-chat-react/commit/c24dc7a1ed0ec2b1dada780b32f899b00d59165a)
1439
- - Fixing moderator role check function in Message.js - [311fab9](https://github.com/GetStream/stream-chat-react/commit/311fab9efb5bd8ebd90b86c8ed1c2a86db62d6f7)
1440
-
1441
- ## [0.8.7](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.7) 2020-03-19
1442
-
1443
- - Fixed a bug where attachments got duplicated upon submitting an edited message [cb93b92](https://github.com/GetStream/stream-chat-react/commit/cb93b9274c94b1d813c2d061869251cc04f5f610)
1444
-
1445
- ## [0.8.6](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.6) 2020-03-17
1446
-
1447
- - Allow `~~test~~` double tilde for strikethrough in messages - [6870194](https://github.com/GetStream/stream-chat-react/commit/6870194a778f95b3c896d76fa4d4b39e3114c692)
1448
- - Fix issue where attachments got duplicated when editing messages - [eea7f61](https://github.com/GetStream/stream-chat-react/commit/eea7f61763359ca8b4dfb13feff294668455643d)
1449
-
1450
- ## [0.8.4](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.4) 2020-02-11
1451
-
1452
- - Fixing `EmptyStateIndicator` prop for ChannelList component - [20d1672](https://github.com/GetStream/stream-chat-react/commit/20d1672969f030bc8f948aea5955706c6dcf757a)
1453
-
1454
- ## [0.8.3](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.3) 2020-02-11
1455
-
1456
- - Fixing `LoadingIndicator` prop for InfiniteScrollPaginator component - [fb81d68](https://github.com/GetStream/stream-chat-react/commit/fb81d68deb2822b9cf2f0414a3d430b86277f024)
1457
-
1458
- ## [0.8.2](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.2) 2020-02-10
1459
-
1460
- - Fixing `LoadingIndicator` prop for ChannelList component - [e6e2e9f](https://github.com/GetStream/stream-chat-react/commit/e6e2e9fdd280d183b4378996c926e4540e467c17)
1461
- - Adding `LoadingErrorIndicator` prop for ChannelList component - [e6e2e9f](https://github.com/GetStream/stream-chat-react/commit/e6e2e9fdd280d183b4378996c926e4540e467c17)
1462
-
1463
- ## [0.8.1](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.1) 2020-02-07
1464
-
1465
- - Fixing broken typescript file [cc86f6f](https://github.com/GetStream/stream-chat-react/commit/cc86f6fea998e8581121c7da42870b0c5d316d8c)
1466
-
1467
- ## [0.8.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.0) 2020-02-07
1468
-
1469
- - Updated dependencies [dfe466d](https://github.com/GetStream/stream-chat-react/commit/dfe466d43e75b7213857fdf9a6e007ecfc3d4614)
1470
- - Exported all the components and updated typescript types - [41e478f](https://github.com/GetStream/stream-chat-react/commit/41e478fc1d37aad8994b9b1075ce9a576a1497f0)
1471
-
1472
- ## [0.7.20](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.20) 2020-01-14
1473
-
1474
- - When you change the filters prop on the ChannelList component this now we will refresh the channels with the new query
1475
-
1476
- ## [0.7.17](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.17) 2020-01-02
1477
-
1478
- - Added `maxRows` props to MessageInput component
1479
-
1480
- ## [0.7.16](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.16) 2020-01-02
1481
-
1482
- - Removed inline styles from multiple locations
1483
- - Exporting new component `ChatAutoComplete` (Advanced usage only)
1484
-
1485
- ## [0.7.15](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.15) 2019-12-30
1486
-
1487
- - Added the following props on the `Thread` component so the underlying MessageList, MessageInput and Message components can be customized using props:
1488
- - `additionalParentMessageProps`
1489
- - `additionalMessageListProps`
1490
- - `additionalMessageInputProps`
1491
- - Added the following props to the `Channel` component:
1492
- - `doUpdateMessageRequest` to override the update(edit) message request (Advanced usage only)
1493
- - `doSendMessageRequest` to override the send message request (Advanced usage only)
1494
-
1495
- ## [0.7.13](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.13) 2019-12-03
1496
-
1497
- - Handling and updating channel list on `channel.truncated` and `channel.deleted` event.
1498
-
1499
- ## [0.7.12](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.12) 2019-11-22
1500
-
1501
- - Adding prop `MessageSystem` to customize system messages
1502
-
1503
- ## [0.7.11](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.11) 2019-11-05
1504
-
1505
- - Fixed z-index issue on MessageInputLarge component https://github.com/GetStream/stream-chat-react/commit/f78b0bf6566fe587da62a8162ab5f1b3d799a10e
1506
-
1507
- ## [0.7.10](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.10) 2019-10-16
1508
-
1509
- - Added `customActiveChannel` prop on `ChannelList` to specify a custom channel to be moved to the top and set to active upon mounting.
1510
-
1511
- ## [0.7.9](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.9) 2019-10-16
1512
-
1513
- - Changing prop name for MessageSimple from openThread to handleOpenThread.
1514
- - Fixing scroll issue on messagelist. Related to issue [#67](https://github.com/GetStream/stream-chat-react/issues/67)
1515
-
1516
- ## [0.7.8](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.8) 2019-10-11
1517
-
1518
- - Bug fix with dateseperator in messagelist
1519
-
1520
- ## [0.7.7](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.7) 2019-10-11
1521
-
1522
- - Adding intro message to messagelist
1523
-
1524
- ## [0.7.6](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.6) 2019-10-08
1525
-
1526
- - Fixed unbinding of visibility listener
1527
-
1528
- ## [0.7.5](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.5) 2019-10-07
1529
-
1530
- - Updated js-client with fix for failing fileuploads
1531
-
1532
- ## [0.7.4](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.4) 2019-10-07
1533
-
1534
- - Fixed styling issues for SendButton
1535
-
1536
- ## [0.7.3](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.3) 2019-10-02
1537
-
1538
- - Added SendButton prop to MessageInput. This only shows on mobile to make sure you're able to submit the form without having a return button.
1539
-
1540
- ## [0.7.2](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.2) 2019-09-30
1541
-
1542
- - Updating js-client version
1543
-
1544
- ## [0.7.1](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.1) 2019-09-30
1545
-
1546
- - Fix - Adding typescript declaration files in production build
1547
-
1548
- ## [0.7.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.0) 2019-09-27
1549
-
1550
- - Adding typescript declaration file
1551
-
1552
- ## [0.6.27](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.27) 2019-09-20
1553
-
1554
- - Added `EmptyStateIndicator` prop to [ChannelList](https://getstream.github.io/stream-chat-react/#!/ChannelList) and [MessageList](https://getstream.github.io/stream-chat-react/#!/MessageList)
1555
- - Added `watchers` prop to [ChannelList](https://getstream.github.io/stream-chat-react/#!/ChannelList) to specify [watchers pagination query](https://getstream.io/chat/docs/#channel_pagination) on `setActiveChannel`, including this makes one extra query on selecting a channel from the ChannelList
1556
- - Updated react-images to version `1.0.0`
1557
-
1558
- ## [0.6.26](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.26) 2019-09-10
1559
-
1560
- - Add IE 11 support for MessageInput
1561
- - Fixing pagination issue when oldest message is not received yet
1562
- - Fixing issue that didn't display unread count correctly on initial load
1563
-
1564
- ## [0.6.25](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.25) 2019-09-05
1565
-
1566
- - The built in MessageInput components now use native emoji to create consistent rendering between the picker and the message
1567
-
1568
- ## [0.6.22](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.22) 2019-08-15
1569
-
1570
- - Adding support for loading error indicator
1571
- - Adding fallback as thumb_url for image attachments
1572
-
1573
- ## [0.6.21](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.21) 2019-08-05
1574
-
1575
- - Syncing and improvements in styleguide
1576
-
1577
- ## [0.6.19](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.19) 2019-07-31
1578
-
1579
- - Fix issue raised in 0.6.17
1580
-
1581
- ## [0.6.18](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.18) 2019-07-31
1582
-
1583
- - Improve message options UX in messaging theme
1584
-
1585
- ## [0.6.17](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.17) 2019-07-30
1586
-
1587
- - Export LoadingChannels component
1588
- - Fix connectivity issue with threads
1589
- - Better check for user roles
1590
-
1591
- ## [0.6.16](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.16) 2019-07-29
1592
-
1593
- - Adding visual response (notification) for flag message and mute user functionality
1594
- - Fixing broken mute user functionality
1595
-
1596
- ## [0.6.15](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.15) 2019-07-23
1597
-
1598
- - Fixing Message actions for livestream and team chat.
1599
- - Fixing flag/mute functionality. Earlier only admins were allowed to flag or mute the message. This was wrong. Every user should be able to
1600
- flag or mute any message (other than his own message)
1601
-
1602
- ## [0.6.14](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.14) 2019-07-20
1603
-
1604
- - Adding prop `messageActions` to MessageList
1605
-
1606
- ## [0.6.13](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.13) 2019-07-18
1607
-
1608
- - Adding prop function `onChannelUpdated` as callback for event `channel.updated`
1609
- - Bug fix - Channel list component doesn't update when custom data on channel is updated.
1610
-
1611
- ## [0.6.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.0) 2019-05-13
1612
-
1613
- - Added Pagination to ChannelList
1614
- - Standard pagination with Load More button (`LoadMorePaginator`)
1615
- - Also includes a infinte scroll paginator (`InfiniteScrollPaginator`)
1616
- - **Important** Because of this change we moved the channelquery logic to `ChannelList` this means you need to pass your `filters`, `sort`, and `options`.
1617
-
1618
- ## [0.3.11](https://github.com/GetStream/stream-chat-react/releases/tag/v0.3.11) - 2019-04-23
1619
-
1620
- ### Added
1621
-
1622
- - `MessageInput` and `Channel` now accept the following props
1623
- - `multipleUploads={false}`
1624
- - `acceptedFiles={['image/*']}`
1625
- - `maxNumberOfFiles={1}`
1626
-
1627
- ## [0.3.10](https://github.com/GetStream/stream-chat-react/releases/tag/v0.3.10) - 2019-04-19
1628
-
1629
- ### Added
1630
-
1631
- - Support for @mentions for @mention interactions `Channel` now accepts the following props
1632
- - `onMentionsHover={(event, user) => console.log(event, user)}`
1633
- - `onMentionsClick={(event, user) => console.log(event, user)}`