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