- 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
.
- Update
rxdart
to0.27.0
.
- Update dependencies.
- Add
DistinctValueSubject
. - Add extensions for
DistinctValueStream
:asDistinctValueConnectableStream
,asBroadcastDistinctValueStream
.
- Update dependencies.
- Remove generic type of
DistinctValueStream.defaultEquals
.
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
.
- 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.
- Update README.md.
- Migrate this package to null safety.
- Sdk constraints: >=2.12.0-0 <3.0.0 based on beta release guidelines.
- Depends on rxdart_ext.
- Updated
rxdart: ^0.25.0
.
-
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.
- Minor updates.
- Breaking change: support for
rxdart
0.24.x.
- Fix analysis
- Fix README.md
- Fix README.md
- Fix README.md
- Publish