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