Releases: GetStream/stream-chat-react
Releases Β· GetStream/stream-chat-react
v4.1.2
v4.1.1
v4.1.0
Chore
- Upgrade
react-virtuoso
dependency #694- Improved support for loading unevenly sized messages when scrolling back
- Support smooth scrolling to bottom when new messages are posted (controlled through
stickToBottomScrollBehavior
property) - Adding reactions no longer cancels the automatic scrolling when new messages appear
- Generate minified CSS output #707
- Upgrade
stream-chat
dependency #727 - Upgrade
mml-react
dependency #728 - Upgrade
emoji-mart
dependency #731
Feature
- Add
tabIndex
to emoji picker #710 - Add
dispatch
function fromchannelReducer
toChannelContext
#717 - Improve mobile support for display of the
MessageOptions
component #723 - Add key down a11y support for emoji picker #726
- Add
scrolledUpThreshold
prop toMessageList
#734
Bug
v4.0.1
v4.0.0
β οΈ BREAKING CHANGES β οΈ
-
Removed the
seamless-immutable
dependency and its corresponding methods and types #687- We also removed this dependency at the
stream-chat
JS 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-mart
dependency #530 - Add custom
image
prop toChannelHeader
component #697
Chore
- Removed the SonarJS linting rules #693
Bug
v3.6.0
Feature
-
Added support for pinned messages #682
- Save
pinnedMessages
to ChannelContext - Create
usePinHandler
custom hook for returningcanPin
value andhandlePin
function - Add Pin/Unpin as optional actions in
MessageActions
- Add
PinIndicator
UI component toMessageLivestream
andMessageTeam
- Add optional
"pinned-message"
CSS class to message UI components - Add
getPinMessageErrorNotification
andpinPermissions
asMessageList
props
- Save
-
Hide
DateSeparator
component when all messages for a day are deleted #689
Chore
- Refactor example apps to use
getInstance
andconnectUser
#688