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:
FileIconFilePreviewerFileUploadButtonIconButtonImageDropzoneImagePreviewerImageUploadButtonLoadingIndicatorThumbnailThumbnailPlaceholder
What you need to change:
- If you imported any of these components directly from
react-activity-feedyou 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 toonSuccesscallback
- 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
trueas an argument toonMarkAsRead/onMarkAsSeen
onClickUserhandler forNotificationis now forwarded to the embeddedAvatarGroupas well.
- Support reading comments from oldest to newest
- Support for displaying comments in revered order, i.e. the load more button at the top.
AvatarGroupnow takes a list ofUserResponsein it'suserargument instead of a list ofUserData.
- Support marking notification groups as read and seen through the
onMarkAsSeenandonMarkAsReadhandlers. - The default
Notificationitem has onClickUserhandler forAvatarGroup
- Calling
onRemoveActivityon 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
Activityand/or theVideocomponent.
onToggleReactionandonAddReactionarguments have changed.
// old
onAddReaction(kind, activity, { data, targetFeeds, trackAnalytics });
// new
onAddReaction(kind, activity, data, { targetFeeds, trackAnalytics });sessionis replaced withclienteverywhere- Update
getstreamlibrary to v4.0.7, if you it directly check out it's CHANGELOG for info on its breaking changes there.
RepostButtonnow actually reposts an activity to another feed.
- Support for liking of comments. See the
StatusUpdateFormsection of the docs for an example of this.