Skip to content

Commit 7f0884e

Browse files
committed
2.3.0
1 parent e313524 commit 7f0884e

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.3.0 - May 10, 2021
2+
3+
- Update `distinct_value_connectable_stream` to `1.3.0`.
4+
- Update `rxdart` to `0.27.0`.
5+
16
## 2.2.0 - May 1, 2021
27

38
- Stable release for null safety.

lib/src/store.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ extension GetStateExtension<A, S> on RxReduxStore<A, S> {
224224
/// return LoginWidget(state); // build widget based on state.
225225
/// },
226226
/// );
227-
S get state => stateStream.requireValue;
227+
S get state => stateStream.value;
228228
}
229229

230230
/// Dispatch this action to [store].

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: rx_redux
22
description: Redux implementation based on Dart Stream, with the power of RxDart. Reactive redux store for Dart & Flutter.
3-
version: 2.2.0
3+
version: 2.3.0
44
author: Petrus Nguyen Thai Hoc <[email protected]>
55
homepage: https://github.com/hoc081098/rx_redux.git
66
repository: https://github.com/hoc081098/rx_redux.git
@@ -11,12 +11,12 @@ environment:
1111

1212
dependencies:
1313
meta: ^1.3.0
14-
distinct_value_connectable_stream: ^1.2.0
14+
distinct_value_connectable_stream: ^1.3.0
1515
disposebag: ^1.5.0
1616

1717
dev_dependencies:
1818
pedantic: ^1.11.0
1919
test: ^1.17.3
20-
rxdart: ^0.26.0
20+
rxdart: ^0.27.0
2121
built_collection: ^5.0.0
2222
tuple: ^2.0.0

test/store_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ void main() {
551551
prev == next,
552552
);
553553

554-
expect(filtered.requireValue, <String>[].build());
554+
expect(filtered.value, <String>[].build());
555555
final future = expectLater(
556556
filtered,
557557
emitsInOrder(<Object>[
@@ -651,7 +651,7 @@ void main() {
651651
equals3: (int prev, int next) => prev == next,
652652
);
653653

654-
expect(filtered.requireValue, <String>[].build());
654+
expect(filtered.value, <String>[].build());
655655
final future = expectLater(
656656
filtered,
657657
emitsInOrder(<Object>[
@@ -1752,7 +1752,7 @@ void main() {
17521752
},
17531753
);
17541754

1755-
expect(filtered.requireValue, <String>[].build());
1755+
expect(filtered.value, <String>[].build());
17561756
final future = expectLater(
17571757
filtered,
17581758
emitsInOrder(<Object>[
@@ -1859,7 +1859,7 @@ void main() {
18591859
},
18601860
);
18611861

1862-
expect(filtered.requireValue, <String>[].build());
1862+
expect(filtered.value, <String>[].build());
18631863
final future = expectLater(
18641864
filtered,
18651865
emitsInOrder(<Object>[

0 commit comments

Comments
 (0)