All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Nothing yet
Components related to uploading files have been moved to the separate
react-file-utils
library.
These components are not exported anymore from this library for clarity and
consistency. Following is the list of components that have been moved to
react-file-utils
:
FileIcon
FilePreviewer
FileUploadButton
IconButton
ImageDropzone
ImagePreviewer
ImageUploadButton
LoadingIndicator
Thumbnail
ThumbnailPlaceholder
What you need to change:
- If you imported any of these components directly from
react-activity-feed
you should now import them fromreact-file-utils
. - If you've overridden the styles for these components you will need to modify
it to change the class prefix from
raf-
torfu-
.
DropdownPanenl
/NotificationDropdown
: Correct some styling issues
- Fix build warnings
StatusUpdateForm
: Pass response of adding the activity toonSuccess
callback
- Don't override styling on body
- Export the Paginator components
- Fix a bug where pagination would be messed up when marking all notification groups as seen/read.
- Support marking all notifications as read/seen by using
true
as an argument toonMarkAsRead
/onMarkAsSeen
onClickUser
handler forNotification
is now forwarded to the embeddedAvatarGroup
as well.
- Support reading comments from oldest to newest
- Support for displaying comments in revered order, i.e. the load more button at the top.
AvatarGroup
now takes a list ofUserResponse
in it'suser
argument instead of a list ofUserData
.
- Support marking notification groups as read and seen through the
onMarkAsSeen
andonMarkAsRead
handlers. - The default
Notification
item has onClickUser
handler forAvatarGroup
- Calling
onRemoveActivity
on a notification feed now updates the state correctly.
- Improved detection of mentions and hashtags
- Detection of mentions, hashtags and urls in comments
- Click handlers for mentions and hashtags in comments
- An XSS issue is fixed in this release. Please upgrade! You're affected by the
issue if you use the default
Activity
and/or theVideo
component.
onToggleReaction
andonAddReaction
arguments have changed.
// old
onAddReaction(kind, activity, { data, targetFeeds, trackAnalytics });
// new
onAddReaction(kind, activity, data, { targetFeeds, trackAnalytics });
session
is replaced withclient
everywhere- Update
getstream
library to v4.0.7, if you it directly check out it's CHANGELOG for info on its breaking changes there.
RepostButton
now actually reposts an activity to another feed.
- Support for liking of comments. See the
StatusUpdateForm
section of the docs for an example of this.