diff --git a/CHANGELOG.md b/CHANGELOG.md index 888dc2b..1905f09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,19 @@ -## 0.2.7 - TODO +## 0.2.7 - Nov 21, 2022 - **single**: - Add `RxSingles.using`. + - Add `RxSingles.forkJoin3..forkJoin9` and `RxSingles.forkJoinList`. + - Deprecate `Single.fromStream`, introduce `Single.unsafeFromStream`. + +- **state_stream**: + - Internal refactoring of `StateSubject`, fix `StateSubject.addStream`. + - `ValueStreamController.sink` now processes events correctly. + +- `Subject.stream` now returns a **read-only** `Stream`. + Previously, `Subject.stream` was identical to the `Subject`, so we could add events to it, for example: `(subject.stream as Sink).add(event)`. + This behavior is now disallowed, and will throw a `TypeError` if attempted. Use `Subject.sink`/`Subject` itself for adding events. + +- Several docs and example improvements. ## 0.2.6 - Oct 26, 2022 diff --git a/README.md b/README.md index 1c9ae29..f1d7aea 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,8 @@ Single fetchUser(String id) { - Static methods provided by [RxSingles]() class - [RxSingles.zip2](https://pub.dev/documentation/rxdart_ext/latest/single/RxSingles/zip2.html) - [RxSingles.forkJoin2](https://pub.dev/documentation/rxdart_ext/latest/single/RxSingles/forkJoin2.html) + ..[RxSingles.forkJoin9](https://pub.dev/documentation/rxdart_ext/latest/single/RxSingles/forkJoin9.html) + and [RxSingles.forkJoinList](https://pub.dev/documentation/rxdart_ext/latest/single/RxSingles/forkJoinList.html) - [RxSingles.using](https://pub.dev/documentation/rxdart_ext/latest/single/RxSingles/using.html) - Convert others to Single via extensions. diff --git a/example/pubspec.lock b/example/pubspec.lock index 8881e6f..9fca5d9 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -77,7 +77,7 @@ packages: path: ".." relative: true source: path - version: "0.2.7-dev.0" + version: "0.2.7" source_span: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 5fa6d20..6c37137 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: rxdart_ext description: Some extension methods and classes built on top of RxDart - RxDart extension. -version: 0.2.7-dev.0 +version: 0.2.7 homepage: https://github.com/hoc081098/rxdart_ext.git repository: https://github.com/hoc081098/rxdart_ext.git issue_tracker: https://github.com/hoc081098/rxdart_ext/issues