distinct_value_connectable_stream 2.0.0 distinct_value_connectable_stream: ^2.0.0 copied to clipboard
Distinct value connectable stream for RxDart, useful for BLoC pattern
2.0.0 - Sep 13, 2021 #
- DEPRECATED. This package is now merged into rxdart_ext package. Please use rxdart_ext package for the same purpose, thanks.
DistinctValueSubject
->StateSubject
.DistinctValueConnectableStream
->StateConnectableStream
.publishValueDistinct
->publishState
.shareValueDistinct
->shareState
.distinctValue
->toStateStream
.
1.3.0 - May 9, 2021 #
- Update
rxdart
to0.27.0
.
1.2.0 - Mar 27, 2021 #
- Update dependencies.
- Add
DistinctValueSubject
. - Add extensions for
DistinctValueStream
:asDistinctValueConnectableStream
,asBroadcastDistinctValueStream
.
1.2.0-nullsafety.5 - Feb 8, 2021 #
- Update dependencies.
1.2.0-nullsafety.4 - Feb 7, 2021 #
- Remove generic type of
DistinctValueStream.defaultEquals
.
1.2.0-nullsafety.3 - Feb 1, 2021 #
DistinctValueStream
: change return type ofNull get errorAndStackTrace
(previous isNever
).- Add
DistinctValueStreamExtensions
: easily access value and error. - Add
distinctValue
extension method: convert aStream
to a single-subscriptionDistinctValueStream
.
1.2.0-nullsafety.2 - Jan 9, 2021 #
- Breaking change: Any errors from upstream and from
equals
callback will be not added to Stream. They are considered unhandled, and will be passed to the currentZone
's error handler. By default, unhandled async errors are treated as if they were uncaught top-level errors.
1.2.0-nullsafety.1 - Jan 8, 2021 #
- Update README.md.
1.2.0-nullsafety.0 - Jan 8, 2021 #
- Migrate this package to null safety.
- Sdk constraints: >=2.12.0-0 <3.0.0 based on beta release guidelines.
- Depends on rxdart_ext.
1.2.0-beta02 - Dec 7, 2020 #
- Updated
rxdart: ^0.25.0
.
1.2.0-beta01 - Oct 18, 2020 #
-
Introduce
ValueSubject
same asPublishSubject
, with the ability to capture the latest item has been added to the controller. -
Rewrite
DistinctValueConnectableStream
: now will not replay the latest data or error,value
getter instead. This is more consistent toStreamBuilder.initialData
inFlutter
. -
Extension methods
: removedpublishValueSeededDistinct
andshareValueSeededDistinct
. Add topublishValueDistinct
andshareValueDistinct
a required parameterT seedValue
. This is more consistent toStreamBuilder.initialData
inFlutter
. -
Added
DistinctValueStream
: It's alsoValueStream
but emphasizes that two consecutive values are not equal (Equality is determined byequals
method). -
Note that this is a beta release, mainly because the behavior of
DistinctValueConnectableStream
has been adjusted. If all goes well, we'll release a proper 1.2.0 release soon.
1.1.1 - Apr 27, 2020 #
- Minor updates.
1.1.0 - Apr 23, 2020 #
- Breaking change: support for
rxdart
0.24.x.
1.0.3+1 - Jan 14, 2020 #
- Fix analysis
1.0.3 - Dec 15, 2019 #
- Fix README.md
1.0.2 - Dec 15, 2019 #
- Fix README.md
1.0.1 - Dec 15, 2019 #
- Fix README.md
1.0.0 - Dec 15, 2019 #
- Publish