v0.7.0
Pre-release
Pre-release
faye_dart
0.1.1+1
Changelog
- FIX: implement Equatable on
FayeClient. With this change, if you fetch your client from anInheritedWidgetfor example,updateShouldNotifydoesn't trigger every time. - NEW: expose connexion status stream
Stream<FayeClientState>via theSubscriptionclass to check if the Faye client is unconnected, connecting, connected or disconnected, and act accordingly.
stream_feed
0.5.1
Changelog
- UPSTREAM(realtime): version bump. You can now listen to connexion status in the
Subscriptionclass. For example:
final subscription = await feed.subscribe();
final subscriptionStatus = subscription.stateStream;- NEW(realtime): you can now adjust log level when subscribing
- FIX: implement Equatable on
StreamFeedClient. With this change, if you fetch your client from anInheritedWidgetfor example,updateShouldNotifydoesn't trigger every time.
stream_feed_flutter_core
0.7.0
Changelog
- FIX:
FeedProviderinherited widget had an issue with theupdateShouldNotifybeing triggered everytime. This has been fixed via the llc, being bumped to 0.5.1. - UPSTREAM(realtime): version bump
- BREAKING:
onAddActivitysignature changed. The named parameterdatachanged fromMap<String, String>?toMap<String, Object>?. - BREAKING: Refactors all of our builder methods to return data and not be opinionated about widgets in Core package
new: Various additional code documentation added - NEW: new model and convenient extensions for the
UploadController
AnAttachmentmodel to convert aMediaUriTO aMap<String, Object?>to send as an
extraDataalong an activity or a reaction. For example:
final bloc = FeedProvider.of(context).bloc;
final uploadController = bloc.uploadController;
final extraData = uploadController.getMediaUris()?.toExtraData();
await bloc.onAddReaction( kind: 'comment', data: extraData, activity: parentActivity, feedGroup: feedGroup );The attachment model is also useful to convert FROM extraData in an activity or reaction via the toAttachments extension. For example:
final attachments = activity.extraData?.toAttachments()