Skip to content

Releases: GetStream/stream-chat-react

v8.0.0

17 Mar 18:28
2033017

Choose a tag to compare

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

  • onBlur prop for ChatAutoComplete (c9897f4), closes #1345
  • support choosing a giphy version (0d97fc6)

BREAKING CHANGES

v7.0.0

10 Feb 19:03

Choose a tag to compare

⚠️ BREAKING CHANGES ⚠️

  • Replace stale react-images dependency with react-image-gallery, removed ModalImage #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 QuotedMessages in a Thread #1356
  • Add wordReplace prop to ChatAutoComplete to override default behavior #1347

Chore

  • Fix small documentation typo #1312
  • Improve compatibility with NextJS #1315
  • Use the Avatar from the ComponentContext in QuotedMessagePreview #1311
  • Set ImagePreviewer to disabled if multiple uploads is not allowed #1330
  • Export QuotedMessagePreview component #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 openMentionsList method #1360
  • Update to Window's hideOnThread prop to handle via CSS #1363
  • Upgrade stream-chat-css dependency to v2.2.1 #1365

Bug

  • Fix the logic for the VirtualizedMessageList's firstOfGroup prop #1338
  • Fix bug where on channel.updated event own_capabilities and hidden values are lost #1346
  • Add a fix so quotes (aka replies) are not still available in message options when quotes are disabled in configuration #1364

v6.12.2

09 Dec 18:38

Choose a tag to compare

Feature

  • Add closeEmojiPickerOnClick and added focus to input after Emoji or attachment selection #1292

Chore

  • Update Japanese and Korean translations #1296
  • Fix broken documentation links #1300
  • Add updated scoped CSS dependency stream-chat-css NPM package #1301
  • Upgrade stream-chat-css dependency to v1.1.3 #1306
  • Upgrade react-virtuoso to improve stability #1304
  • Upgrade stream-chat dependency to v4.0.0

v6.12.0

22 Nov 19:47

Choose a tag to compare

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 Textarea component #1263
  • Use context Avatar in QuotedMessage and TypingIndicator #1264
  • Pass setChannels state 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

28 Oct 17:34

Choose a tag to compare

Feature

  • Support custom notifications in the VirtualizedMessageList component #1245

Chore

  • Update type definitions for emoji-mart and moment dependencies #1254
  • Add Vite app to examples directory #1255
  • Upgrade react-virtuoso to fix Safari v15 edge case #1257
  • Deprecate the theme prop on the Chat component #1258
  • Upgrade mml-react dependency #1260

v6.10.0

13 Oct 17:07

Choose a tag to compare

Feature

  • Export markdown utils functions used within renderText #1228
  • Use own_capabilities field on channel to determine connected user permissions #1232
  • Pass component names to custom context hooks for error tracing #1238

Chore

  • Update German i18n translations #1224
  • Upgrade react-virtuoso for zoom fix #1233
  • Use optional activeUnreadHandler in Channel component's markRead function when provided #1237
  • Replace custom context hook error throws with console warnings #1242

Bug

  • Fix UI header bug for Levenshtein autocomplete mention search #1235
  • Ensure channelConfig is updated when Channel mounts an unwatched channel #1239

v6.9.1

01 Oct 16:32

Choose a tag to compare

Feature

  • Add chatContainer custom CSS class name override #1216

Chore

  • Add descriptive error messages to custom context consumer hooks #1207
  • Pass value prop to SuggestionItem component #1207
  • Update docs for custom ChannelList event handler example #1209
  • Add cooldownInterval to MessageInput context 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

24 Sep 16:49

Choose a tag to compare

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 Avatar component's fallback #1201
  • Provide the option to pass additional props to the Virtuoso component in the VirtualizedMessageList #1202

Chore

  • Improve documentation around approved attachment types #1190
  • Upgrade react-virtuoso dependency #1194
  • Refactor ChannelList pagination offset logic to handle channels being added/removed from the list #1200

v6.8.0

17 Sep 16:34

Choose a tag to compare

Feature

  • 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
  • Add event listener to ChannelPreview to handle markAllRead function calls on the client #1178
  • Add setText function to MessageInputContext, which overrides and sets the value of the MessageInput component's textarea element #1184
  • Add activeUnreadHandler prop to Channel, which runs when the active channel has unread messages #1185

Chore

  • 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
  • Upgrade stream-chat and react-file-utils dependencies #1178

v6.7.2

15 Sep 22:16

Choose a tag to compare

Feature

  • Add optional allowNewMessagesFromUnfilteredChannels argument to useNotificationMessageNewListener and useNotificationAddedToChannelListener hooks to prevent channel from incrementing the list #1175

Bug

  • Fix issue with autocomplete mentions displaying muted users #1171
  • Prevent user mention edge case crash #1172
  • Fix reaction handler edge case on mobile web use case #1173
  • Add missing default value for publishTypingEvent MessageInput prop #1174