You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SDK now relies on message.reaction_groups field which allows ordering existing reactions based on first_reaction_at field (for example in the below screenshot the first reaction is 😮 because it was the first type of reaction a user added to the message)
The SDK utilizes the new queryReactions endpoint which means the SDK can now retrieve all reactions of a message, not just the last 1200.
The release is non-breaking, but the following fields are now deprecated, so you can make your customization future-proof by updating them:
If you use the stream-message-reactions component in a custom component do the following:
Remove the messageReactionCounts input, and use the messageReactionGroups instead
Remove the latestReactions input, the component no longer uses it
If you have a custom customReactionClickHandler you should use the messageReactionsService.queryReactions method to fetch reactions (this endpoint uses pagination as opposed to channelService.getMessageReactions() which only gets the last 1200 reactions). If you want to use some ready-made-components for the pagination, you can checkout the stream-user-list and stream-paginated-list components