0.27.3
https://pub.dev/packages/rxdart/versions/0.27.3
Bug fixes
flatMap
now creates innerStream
s lazily.combineLatest
,concat
,concatEager
,forkJoin
,merge
,race
,zip
iterate overIterable<Stream>
s only once
when the stream is listened to.- Disallow mixing
autoConnect
,connect
andrefCount
together, only one of them should be used.
Features
- Introduce
AbstractConnectableStream
, base class for theConnectableStream
implementations. - Improve
CompositeSubscription
(thanks to @BreX900)- CompositeSubscription's
dispose
,clear
, andremove
methods now return a completion future. - Fixed an issue where a stream not present in CompositeSubscription was canceled.
- Added the ability not to cancel the stream when it is removed from CompositeSubscription.
- CompositeSubscription implements
StreamSubscription
. CompositeSubscription.add
will throw aStateError
instead of aString
if this composite was disposed.
- CompositeSubscription's
Documentation
- Fix
Connectable
examples. - Update Web example to null safety.
- Fix
Flutter
example:SearchResultItem.fromJson
type error (thanks to @WenYeh)
Code refactoring
- Simplify
takeLast
implementation. - Migrate from
pedantic
tolints
andflutter_lints
. - Refactor
BehaviorSubject
,ReplaySubject
implementations by using "Sentinel object
"s instead ofValueWrapper
s.
New Contributors
- @wayne900204 made their first contribution in #627
- @BreX900 made their first contribution in #633
Full Changelog: 0.27.2...0.27.3