Skip to content

Commit

Permalink
prepare for release 0.1.1 (#21)
Browse files Browse the repository at this point in the history
* prepare to release 0.1.1

* prepare to release 0.1.1
  • Loading branch information
hoc081098 authored Jul 8, 2021
1 parent 5a1a574 commit 293064c
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 34 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.1.1 - Jul 8, 2021

- Stable release: see change logs of `0.1.1-dev.x` versions.
- **Add `Single` type.**
- Operators refactoring.

## 0.1.1-dev.3 - Jul 7, 2021

- Add `Single.asVoid`.
Expand Down
62 changes: 31 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Some extension methods and classes built on top of `RxDart` - `RxDart` extension

## API

### [Single](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/Single-class.html)
### [Single](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/Single-class.html)

A Stream which emits single event, either data or error, and then close with a done-event.

Expand Down Expand Up @@ -43,47 +43,47 @@ Single<User> fetchUser(String id) {

- Create Single
- Factory constructors.
- [Single.fromStream](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/Single/Single.fromStream.html)
- [Single.value](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/Single/Single.value.html)
- [Single.error](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/Single/Single.error.html)
- [Single.fromFuture](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/Single/Single.fromFuture.html)
- [Single.fromCallable](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/Single/Single.fromCallable.html)
- [Single.timer](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/Single/Single.timer.html)
- [Single.defer](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/Single/Single.defer.html)
- [Single.fromStream](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/Single/Single.fromStream.html)
- [Single.value](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/Single/Single.value.html)
- [Single.error](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/Single/Single.error.html)
- [Single.fromFuture](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/Single/Single.fromFuture.html)
- [Single.fromCallable](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/Single/Single.fromCallable.html)
- [Single.timer](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/Single/Single.timer.html)
- [Single.defer](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/Single/Single.defer.html)

- Static methods provided by [RxSingles]() class
- [RxSingles.zip2](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/RxSingles/zip2.html)
- [RxSingles.forkJoin2](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/RxSingles/forkJoin2.html)
- [RxSingles.zip2](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/RxSingles/zip2.html)
- [RxSingles.forkJoin2](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/RxSingles/forkJoin2.html)

- Convert others to Single via extensions.
- [Stream.singleOrError](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/SingleOrErrorStreamExtension/singleOrError.html)
- [Future.asSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/AsSingleFutureExtension/asSingle.html)
- [`(FutureOr<T> Function())`.asSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/AsSingleFunctionExtension/asSingle.html)
- [Stream.singleOrError](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/SingleOrErrorStreamExtension/singleOrError.html)
- [Future.asSingle](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/AsSingleFutureExtension/asSingle.html)
- [`(FutureOr<T> Function())`.asSingle](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/AsSingleFunctionExtension/asSingle.html)

- Operators for Single (returns a Single instead of Stream)
- [flatMapSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/FlatMapSingleExtension/flatMapSingle.html)
- [asyncExpandSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/AsyncExpandSingleExtension/asyncExpandSingle.html)
- [switchMapSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/SwitchMapSingleExtension/switchMapSingle.html)
- [exhaustMapSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/ExhaustMapSingleExtension/exhaustMapSingle.html)
- [debug](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/DebugSingleExtension/debug.html)
- [delay](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/DelaySingleExtension/delay.html)
- [doOnCancel](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/DoSingleExtensions/doOnCancel.html)
- [doOnData](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/DoSingleExtensions/doOnData.html)
- [doOnError](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/DoSingleExtensions/doOnError.html)
- [doOnListen](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/DoSingleExtensions/doOnListen.html)
- [onErrorReturn](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/OnErrorResumeSingleExtensions/onErrorReturn.html)
- [onErrorReturnWith](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/OnErrorResumeSingleExtensions/onErrorReturnWith.html)
- [onErrorResumeSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/OnErrorResumeSingleExtensions/onErrorResumeSingle.html)
- [onErrorResumeNextSingle](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/OnErrorResumeSingleExtensions/onErrorResumeNextSingle.html)
- [mapTo](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/MapToSingleExtension/mapTo.html)
- [asVoid](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/AsVoidSingleExtension/asVoid.html)
- [flatMapSingle](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/FlatMapSingleExtension/flatMapSingle.html)
- [asyncExpandSingle](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/AsyncExpandSingleExtension/asyncExpandSingle.html)
- [switchMapSingle](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/SwitchMapSingleExtension/switchMapSingle.html)
- [exhaustMapSingle](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/ExhaustMapSingleExtension/exhaustMapSingle.html)
- [debug](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/DebugSingleExtension/debug.html)
- [delay](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/DelaySingleExtension/delay.html)
- [doOnCancel](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/DoSingleExtensions/doOnCancel.html)
- [doOnData](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/DoSingleExtensions/doOnData.html)
- [doOnError](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/DoSingleExtensions/doOnError.html)
- [doOnListen](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/DoSingleExtensions/doOnListen.html)
- [onErrorReturn](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/OnErrorResumeSingleExtensions/onErrorReturn.html)
- [onErrorReturnWith](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/OnErrorResumeSingleExtensions/onErrorReturnWith.html)
- [onErrorResumeSingle](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/OnErrorResumeSingleExtensions/onErrorResumeSingle.html)
- [onErrorResumeNextSingle](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/OnErrorResumeSingleExtensions/onErrorResumeNextSingle.html)
- [mapTo](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/MapToSingleExtension/mapTo.html)
- [asVoid](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/AsVoidSingleExtension/asVoid.html)

### Operators for Stream

- [debug](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/DebugStreamExtension/debug.html), [collect](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/CollectStreamExtension/collect.html)
- [ForwardingSinkMixin](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/ForwardingSinkMixin-mixin.html)
- [BaseEventSink](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/BaseEventSink-class.html)
- [forwardSingleWithSink](https://pub.dev/documentation/rxdart_ext/0.1.1-dev.3/rxdart_ext/ForwardSingleExtension/forwardSingleWithSink.html)
- [BaseEventSink](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/BaseEventSink-class.html)
- [forwardSingleWithSink](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/ForwardSingleExtension/forwardSingleWithSink.html)
- [distinctUniqueBy](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/DistinctUniqueByStreamExtension/distinctUniqueBy.html)
- [distinctBy](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/DistinctByExtension/distinctBy.html)
- [ignoreElements](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/IgnoreElementStreamExtension/ignoreElements.html), [ignoreErrors](https://pub.dev/documentation/rxdart_ext/latest/rxdart_ext/IgnoreErrorsStreamExtension/ignoreErrors.html)
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: rxdart_ext
description: Some extension methods and classes built on top of RxDart - RxDart extension.
version: 0.1.1-dev.3
version: 0.1.1
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
Expand All @@ -9,14 +9,14 @@ environment:
sdk: '>=2.12.0 <3.0.0'

dependencies:
rxdart: ^0.27.0
rxdart: ^0.27.1
meta: ^1.3.0
stack_trace: ^1.10.0
path: ^1.8.0

dev_dependencies:
pedantic: ^1.11.0
test: ^1.17.4
test: ^1.17.9
collection: ^1.15.0
mockito: ^5.0.7
build_runner: ^2.0.2
Expand Down

0 comments on commit 293064c

Please sign in to comment.