Skip to content

Commit 49a2133

Browse files
committed
prepare for release
1 parent 356489e commit 49a2133

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

packages/stream_feed_flutter_core/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## 0.6.0: 12/01/2022
2+
3+
- BREAKING: bumped llc to 0.5.0, which is a breaking change. 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.
4+
5+
```diff
6+
- client = StreamFeedClient(apiKey, token: frontendToken);
7+
+ client = StreamFeedClient(apiKey);
8+
+
9+
+ await client.setUser(
10+
+ const User(
11+
+ data: {
12+
+ 'name': 'John Doe',
13+
+ 'occupation': 'Software Engineer',
14+
+ 'gender': 'male'
15+
+ },
16+
+ ),
17+
+ frontendToken,
18+
+ );
19+
```
20+
121
## 0.5.0: 27/12/2021
222

323
- fix: the convenient typedefs on generic classes we provided was breaking autocomplete

packages/stream_feed_flutter_core/pubspec.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: stream_feed_flutter_core
22
description: Stream Feed official Flutter SDK Core. Build your own feed experience using Dart and Flutter.
3-
version: 0.5.0
3+
version: 0.6.0
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/
@@ -14,9 +14,7 @@ dependencies:
1414
flutter:
1515
sdk: flutter
1616
rxdart: ^0.27.1
17-
stream_feed:
18-
path: ../stream_feed
19-
# stream_feed: ^0.4.0+3
17+
stream_feed: ^0.5.0
2018

2119
dev_dependencies:
2220
flutter_test:

0 commit comments

Comments
 (0)