Skip to content

Releases: GetStream/stream-chat-react

v4.1.2

09 Mar 20:27
Compare
Choose a tag to compare

Feature

  • Export ChannelPreview utility functions #750
  • Memoize ChannelList filters to prevent extra channel queries #752

Chore

  • Update Customizing Styles section of README #756
  • Change emoji-mart imports to support server-side rendering #764

Bug

  • Close emoji picker on emoji icon click #751
  • Hide reaction tooltip on click #753

v4.1.1

26 Feb 20:27
Compare
Choose a tag to compare

Chore

  • Upgrade stream-chat dependency to fix reaction caching issue #742

Bug

  • Fix markdown link rendering issues #742

v4.1.0

25 Feb 14:45
Compare
Choose a tag to compare

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 from channelReducer to ChannelContext #717
  • Improve mobile support for display of the MessageOptions component #723
  • Add key down a11y support for emoji picker #726
  • Add scrolledUpThreshold prop to MessageList #734

Bug

  • Fix reaction list click propagation issue #722
  • Fix reaction list non-breaking space issue #725
  • Fix URL markdown in code blocks #733

v4.0.1

11 Feb 07:19
Compare
Choose a tag to compare

Chore

  • Add usePinHandler example to docs #705
  • Remove legacy APIs in mock data used for generating the docs #704

v4.0.0

10 Feb 20:30
Compare
Choose a tag to compare

⚠️ 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 as setIn, 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 of stream-chat

Feature

  • Performance optimize and allow customization of the emoji-mart dependency #530
  • Add custom image prop to ChannelHeader component #697

Chore

  • Removed the SonarJS linting rules #693

Bug

  • Fix permissions bug with custom channel types #695
  • Fix ChannelHeader CSS alignment issue #699

v3.6.0

02 Feb 16:53
Compare
Choose a tag to compare

Feature

  • Added support for pinned messages #682

    • Save pinnedMessages to ChannelContext
    • Create usePinHandler custom hook for returning canPin value and handlePin function
    • Add Pin/Unpin as optional actions in MessageActions
    • Add PinIndicator UI component to MessageLivestream and MessageTeam
    • Add optional "pinned-message" CSS class to message UI components
    • Add getPinMessageErrorNotification and pinPermissions as MessageList props
  • Hide DateSeparator component when all messages for a day are deleted #689

Chore

  • Refactor example apps to use getInstance and connectUser #688

Fix

  • Display auto-translated message text when it exists #683
  • Add missing export for VirtualizedMessageList type #691

v3.5.3

26 Jan 08:36
Compare
Choose a tag to compare

Feature

  • ChannelList accepts an optional prop to filter/sort channels prior to render #678

v3.5.2

21 Jan 15:57
Compare
Choose a tag to compare

Fix

  • Handle emoji picker event listener race condition #675
  • Adjust style for only emoji messages #676

v3.5.1

19 Jan 16:56
Compare
Choose a tag to compare

Fix

  • Upload PSD attachments as file #67

Chore

  • Bump MML-React #674

v3.5.0

15 Jan 16:30
Compare
Choose a tag to compare

Feature

  • Support typing indicator in Thread component #662
  • Add parent ID to typing events #665
  • Allow MessageInput emoji and file upload icon customization #666
  • Add optional disableMentions prop to MessageInput and update mentions UI #669

Fix

  • Fix maxLength paste text bug #670