Skip to content

Commit 46c8182

Browse files
authored
Merge pull request #92 from GetStream/release-0.2.2
Release 0.2.2
2 parents b67a6a2 + ee96f82 commit 46c8182

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

packages/stream_feed/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.2.2: 14/06/2021
2+
3+
- fix: RealTime message serialization issue
4+
RealtimeMessage newActivities field now of type `List<EnrichedActivity>` instead of `List<Activity>`
5+
16
## 0.2.1: 26/05/2021
27

38
- fix: missing model exports

packages/stream_feed/lib/src/core/models/realtime_message.dart

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ class RealtimeMessage extends Equatable {
4545
final List<ForeignIdTimePair> deletedForeignIds;
4646

4747
/// All activities created by this update
48+
/// Do note that new activities coming from subscription
49+
/// will only contain enrichment for these fields:
50+
///
51+
/// 1. Activity `SA`
52+
/// 2. Reaction `SR`
53+
/// 3. Object `SO`
54+
/// 4. User `SU`
55+
///
56+
/// the only thing you don’t get is the enriched reactions like `own_reaction`
57+
/// or `latest_reactions`
4858
@JsonKey(name: 'new')
4959
final List<EnrichedActivity> newActivities;
5060

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
/// Current package version
22
/// Used in [HttpClient] to build the `x-stream-client` header
3-
const String packageVersion = '0.2.1';
3+
const String packageVersion = '0.2.2';

packages/stream_feed/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: stream_feed
22
description: Stream Feed official Dart SDK. Build your own feed experience using Dart and Flutter.
3-
version: 0.2.1
3+
version: 0.2.2
44
repository: https://github.com/GetStream/stream-feed-flutter
55
issue_tracker: https://github.com/GetStream/stream-feed-flutter/issues
66
homepage: https://getstream.io/

0 commit comments

Comments
 (0)