Releases: GetStream/stream-chat-react
Releases Β· GetStream/stream-chat-react
v8.0.0
8.0.0 (2022-03-17)
Bug Fixes
- improve performance of VirtualizedMessageList (d2f28af)
- maintain correct reference to values inside doMarkReadRequest (#1442) (30b79d6), closes #1324
- make scrollToLatestMessageOnFocus smarter (f37b193), closes #1415
- move UploadsPreview outside textarea wrapper (#1454) (8ebbf29)
- name from StreamChatType to StreamChatGenerics (653aef3)
- remove obsolete polyfill (2b13594), closes #1375
- remove translation warning (3d951f2)
Features
BREAKING CHANGES
- All types now accept a single generic (help article)
v7.0.0
β οΈ  BREAKING CHANGES β οΈ 
- Replace stale react-imagesdependency withreact-image-gallery, removedModalImage#1318
- Add support for accessibility through the use of semantic HTML, ARIA attributes. Updates include changing HTML elements to different types as necessary #1314 and #1294
Feature
- Add support for QuotedMessagesin aThread#1356
- Add wordReplaceprop toChatAutoCompleteto override default behavior #1347
Chore
- Fix small documentation typo #1312
- Improve compatibility with NextJS #1315
- Use the Avatarfrom theComponentContextinQuotedMessagePreview#1311
- Set ImagePreviewerto disabled if multiple uploads is not allowed #1330
- Export QuotedMessagePreviewcomponent #1339
- Add guide on how to build a custom list with channel members and have real time updates of their online status #1350
- Support URLs with encoded components #1353
- Remove UNSAFE warning from AutoCompleteTextarea#1354
- Add current text to openMentionsListmethod #1360
- Update to Window'shideOnThreadprop to handle via CSS #1363
- Upgrade stream-chat-css dependency to v2.2.1 #1365
Bug
v6.12.2
Feature
- Add closeEmojiPickerOnClickand added focus to input after Emoji or attachment selection #1292
Chore
v6.12.0
Feature
- Add ability to manually open/close mentions list #1261
- Support custom message group CSS classes #1287
- Ability to drag and drop files to the entire window #1283
- Add semantic release #1293
Chore
- Render reaction list for frozen channels #1262
- Remove unsafe props from Textareacomponent #1263
- Use context AvatarinQuotedMessageandTypingIndicator#1264
- Pass setChannelsstate hook to list UI component #1265
- Update user info in messages when subscribed to presence events #1267
- File and image attachments are now filtered according to the application settings #1291
- Check for already encoded URLs in a message #1288
- Set reset state to false in usePaginatedChannels#1289
v6.11.0
v6.10.0
Feature
- Export markdown utils functions used within renderText#1228
- Use own_capabilitiesfield onchannelto determine connected user permissions #1232
- Pass component names to custom context hooks for error tracing #1238
Chore
- Update German i18n translations #1224
- Upgrade react-virtuosofor zoom fix #1233
- Use optional activeUnreadHandlerinChannelcomponent'smarkReadfunction when provided #1237
- Replace custom context hook error throws with console warnings #1242
Bug
v6.9.1
Feature
- Add chatContainercustom CSS class name override #1216
Chore
- Add descriptive error messages to custom context consumer hooks #1207
- Pass valueprop toSuggestionItemcomponent #1207
- Update docs for custom ChannelListevent handler example #1209
- Add cooldownIntervaltoMessageInputcontext value memoization #1209
- Reduce packaged CSS bundle size #1219
Bug
- Prevent user start/stop watching events from resetting the channel state #1206
v6.9.0
Feature
- Add new virtual event example app #1189
- Memoize object values injected into context providers #1194
- Support emojis as the first character in a user name for the Avatarcomponent's fallback #1201
- Provide the option to pass additional props to the Virtuosocomponent in theVirtualizedMessageList#1202
Chore
v6.8.0
Feature
- Improve user mention experience by ignoring diacritics, adding a useMentionsTransliterationprop to install an optional transliteration dependency, and using Levenshtein distance to match similar names #1176
- Add event listener to ChannelPreviewto handlemarkAllReadfunction calls on the client #1178
- Add setTextfunction toMessageInputContext, which overrides and sets the value of theMessageInputcomponent'stextareaelement #1184
- Add activeUnreadHandlerprop toChannel, which runs when the active channel has unread messages #1185
Chore
v6.7.2
Feature
- Add optional allowNewMessagesFromUnfilteredChannelsargument touseNotificationMessageNewListeneranduseNotificationAddedToChannelListenerhooks to prevent channel from incrementing the list #1175