Releases: GetStream/stream-chat-react
Releases Β· GetStream/stream-chat-react
v4.1.0
Chore
- Upgrade
react-virtuosodependency #694- Improved support for loading unevenly sized messages when scrolling back
- Support smooth scrolling to bottom when new messages are posted (controlled through
stickToBottomScrollBehaviorproperty) - Adding reactions no longer cancels the automatic scrolling when new messages appear
- Generate minified CSS output #707
- Upgrade
stream-chatdependency #727 - Upgrade
mml-reactdependency #728 - Upgrade
emoji-martdependency #731
Feature
- Add
tabIndexto emoji picker #710 - Add
dispatchfunction fromchannelReducertoChannelContext#717 - Improve mobile support for display of the
MessageOptionscomponent #723 - Add key down a11y support for emoji picker #726
- Add
scrolledUpThresholdprop toMessageList#734
Bug
v4.0.1
v4.0.0
β οΈ BREAKING CHANGES β οΈ
-
Removed the
seamless-immutabledependency and its corresponding methods and types #687- We also removed this dependency at the
stream-chatJS client level, therefore immutable methods, such assetIn, no longer need to be run
on the returned data #602 - Responses from the Stream API will now return standard JS data structures, without the immutable wrapping
- When you upgrade to v4.0.0 of
stream-chat-react, make sure you also upgrade to v3.0.0 ofstream-chat
- We also removed this dependency at the
Feature
- Performance optimize and allow customization of the
emoji-martdependency #530 - Add custom
imageprop toChannelHeadercomponent #697
Chore
- Removed the SonarJS linting rules #693
Bug
v3.6.0
Feature
-
Added support for pinned messages #682
- Save
pinnedMessagesto ChannelContext - Create
usePinHandlercustom hook for returningcanPinvalue andhandlePinfunction - Add Pin/Unpin as optional actions in
MessageActions - Add
PinIndicatorUI component toMessageLivestreamandMessageTeam - Add optional
"pinned-message"CSS class to message UI components - Add
getPinMessageErrorNotificationandpinPermissionsasMessageListprops
- Save
-
Hide
DateSeparatorcomponent when all messages for a day are deleted #689
Chore
- Refactor example apps to use
getInstanceandconnectUser#688