Skip to content

Commit 192bcb2

Browse files
authored
Update changelog (#29)
1 parent dcff78b commit 192bcb2

File tree

1 file changed

+141
-2
lines changed

1 file changed

+141
-2
lines changed

packages/stream_feed/CHANGELOG.md

Lines changed: 141 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,142 @@
1-
## 0.1.0
1+
## 0.7.0
2+
- [Breaking] Rewrote the SDK for feeds V3.
23

3-
* Initial release.
4+
## 0.6.0+2: 27/05/2022
5+
- bumb version in sdk header
6+
7+
## 0.6.0: 27/05/2022
8+
9+
- new: aggregatedFeed.`getEnrichedActivityDetail` and aggregatedFeed.`getPaginatedActivities`
10+
- new: `PaginatedActivitiesGroup` model
11+
- fix: `setUser` now take the data field of `User` if provided
12+
- enhancement/breaking: make the constructor parameters of `PaginatedReactions` named
13+
14+
## 0.5.2: 30/03/2022
15+
16+
- fix(serverside llc): `issueJwtHS256` wasn't using the `expiresAt` field and remove the default "exp" value.
17+
- new: pagination support for flat feed activities. For example:
18+
```dart
19+
final paginated = await flatFeed.getPaginatedEnrichedActivities();
20+
final nextParams = parseNext(paginated.next!);
21+
// parse next page
22+
await flatFeed.getPaginatedEnrichedActivities(limit: nextParams.limit,filter: nextParams.idLT);
23+
```
24+
25+
## 0.5.1+1: 24/03/2022
26+
27+
- fix: the `JsonConverter<DateTime,String>` implemented in 0.4.0+1 that was supposed to handle utc dates parsing wasn't working properly. Now that it is actually fixed you can convert dates in the user's local timezone.
28+
- depedencies bumps
29+
30+
## 0.5.1: 12/01/2022
31+
32+
- upstream(realtime): version bump. You can now listen to connexion status in the `Subscription` class. For example:
33+
34+
```dart
35+
final subscription = await feed.subscribe();
36+
final subscriptionStatus = subscription.stateStream;
37+
```
38+
- new(realtime): you can now adjust log level when subscribing
39+
- fix: implement Equatable on `StreamFeedClient`. With this change, if you fetch your client from an `InheritedWidget` for example, `updateShouldNotify` doesn't trigger every time.
40+
41+
42+
## 0.5.0: 12/01/2022
43+
44+
- BREAKING: we no longer accept a token in the constructor. This change is inspired by Stream Chat, and allows for use cases like multi account management. It allows to instantiate `StreamFeedClient` at the top of your widget tree for example, and connecting the user later.
45+
46+
```diff
47+
- client = StreamFeedClient(apiKey, token: frontendToken);
48+
+ client = StreamFeedClient(apiKey);
49+
+
50+
+ await client.setUser(
51+
+ const User(
52+
+ data: {
53+
+ 'name': 'John Doe',
54+
+ 'occupation': 'Software Engineer',
55+
+ 'gender': 'male'
56+
+ },
57+
+ ),
58+
+ frontendToken,
59+
+ );
60+
```
61+
62+
63+
## 0.4.0+3: 27/12/2021
64+
65+
- fix: call profile in setUser, so that currentUser data is not null
66+
67+
68+
## 0.4.0+2: 22/12/2021
69+
70+
- fix: export image_storage_client.dart
71+
72+
73+
## 0.4.0+1: 07/12/2021
74+
75+
- fix: support null values `extraData`'s map
76+
- fix: utc date parsing with a `JsonConverter<DateTime,String>` and `intl`
77+
- fix: unread/unseen count in `NotificationFeedMeta` model
78+
79+
80+
## 0.4.0: 29/10/2021
81+
82+
- breaking: `StreamFeedClient.connect` is now `StreamFeedClient` for better user session handling.
83+
The connect verb was confusing, and made you think that it will perform the connection immediately. Also it doesn't infer the id anymore from the token anymore. You can now have to call `setUser` down the tree or before `runApp`
84+
- breaking: `setUser` now takes a `User` (must contain id) and a token. Passing the userToken in client constructor was making the whole instance depend on a single user.
85+
- new: we support generics
86+
`EnrichedActivity` is now `GenericEnrichedActivity<A,Ob,T,Or>` in order to have a more flexible API surface. Those generic parameters can be as follows:
87+
A = [actor]: can be an User, String
88+
Ob = [object] can a String, or a CollectionEntry
89+
T = [target] can be a String or an Activity
90+
Or = [origin] can be a String or a Reaction or an User
91+
- breaking: along with these changes we removed `EnrichableField` field from `EnrichedActivity`
92+
- new: there is a type definition `EnrichedActivity` to handle most use cases of `GenericEnrichedActivity` (User,String,String,String)
93+
- fix: a time drift issue in token generation when using the low level client sever-side
94+
- bump: dart sdk package constraints to 2.14 to make use of typedefs for non function types
95+
96+
97+
## 0.3.0: 06/09/2021
98+
99+
- improvements:
100+
- docs
101+
- better error handling and expose exeception type
102+
- const constructors when possible
103+
- breaking: `UserClient user(String userId)` is now `StreamUser user(String userId)` for easier state management
104+
- breaking: change type of `Reaction` model field `user` from `Map<String,dynamic>` to `User`
105+
- new: serverside methods for CRUD operations on User(getUser, createUser, updateUser, deleteUser)
106+
- new: `CancelToken`, `OnSendProgress` named parameters to support cancelling an upload and tracking its progress
107+
- new: logger options to allow choosing the Logger level
108+
- fix: missing field `ownChildren` in `Reaction` model
109+
- new: allow sending enrichment flags in `filter` mehod
110+
- new: createReactionReference
111+
112+
## 0.2.3: 03/08/2021
113+
114+
- remove dead links in Readmes
115+
116+
## 0.2.2: 14/06/2021
117+
118+
- fix: RealTime message serialization issue
119+
RealtimeMessage newActivities field now of type `List<EnrichedActivity>` instead of `List<Activity>`
120+
121+
## 0.2.1: 26/05/2021
122+
123+
- fix: missing model exports
124+
125+
## 0.2.0: 21/05/2021
126+
127+
- fix: Follow model
128+
- new: FollowRelation
129+
- breaking: un/followMany batch methods now accept `Iterable<FollowRelation>` parameter instead of `Iterable<Follow>`
130+
131+
## 0.1.3: 17/05/2021
132+
133+
- fix: EnrichedActivity Not Returning Reactions
134+
- update links in readme
135+
136+
## 0.1.2: 07/05/2021
137+
138+
- update dependencies
139+
140+
## 0.1.1: 07/05/2021
141+
142+
- first beta version

0 commit comments

Comments
 (0)