Releases: GetStream/react-activity-feed
Releases · GetStream/react-activity-feed
v1.0.1
v1.0.0
Version 1.x is a major revamp of the SDK and comes with some breaking changes. This release also comes with lots of small bug fixes, using react Context API and hooks, and full typescript support. Some dependencies has been replaced or removed due to their lack of support.
Features
- Typescript support
- Bundle size reduced by 40%
- SCSS support
- Node v16 support
⚠️ BREAKING CHANGES ⚠️
- Node v10 support is dropped.
- Flow support has been removed in favor of Typescript.
dist/index.es.css
is deleted in favor ofdist/index.css
.InfiniteScroll
component no longer supportsgetScrollParent
property, scroll parent is now calculated within this component whenuseWindow
property is set tofalse
.Gallery
component replacedreact-images
withreact-image-lightbox
.- Text render uses
linkifyjs
instead ofanchorme
for better future support. B2BTimeline
,B2BActivity
,Modal
components andStreamApp.Consumer
are removed.EmojiPicker
component ships with a lighter set of emojis to reduce bundle size.StatusUpdateForm
andCommentField
accepts a custom propemojiData
that allows extending default emoji list.FlatFeed
,NotificationDropdown
,NotificationFeed
no longer pass down theFeedManager
props to activities.CommentList
,CommentField
,LikeButton
,ReactionList
use context values and no longer accepts feed manager props.
Fix
- Full browser build