Update dependency rxdart to ^0.27.0 - abandoned #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.16.6
->^0.27.0
Release Notes
ReactiveX/rxdart
v0.27.7
Compare Source
Fixed
Subject
Only call
onAdd
andonError
if the subject is not closed.This ensures
BehaviorSubject
andReplaySubject
do not update their values after they have been closed.Subject.stream
now returns a read-onlyStream
.Previously,
Subject.stream
was identical to theSubject
, so we could add events to it, for example:(subject.stream as Sink<T>).add(event)
.This behavior is now disallowed, and will throw a
TypeError
if attempted. UseSubject.sink
/Subject
itself for adding events.Change return type of
ReplaySubject<T>.stream
toReplayStream<T>
.Internal refactoring of
Subject.addStream
.v0.27.6
Compare Source
Rx.using
/UsingStream
:resourceFactory
can now return aFuture
.This allows for asynchronous resource creation.
Rx.range
/RangeStream
: ensureRangeStream
is only listened to once.v0.27.5
Compare Source
Bug fixes
Fix issue #683: Throws runtime type error when using extension
methods on a
Stream<R>
but its type annotation isStream<T>
,R
is a subtype ofT
(covariance issue with
StreamTransformer
).Extension methods were previously implemented via
stream.transform(streamTransformer)
, nowvia
streamTransformer.bind(stream)
to avoid this issue.Fix
concatEager
:activeSubscription
should be changed to next subscription.Code refactoring
pairwise
toStream<List<T>>
.v0.27.4
Compare Source
Bug fixes
withLatestFrom
should iterate overIterable<Stream>
only once when the stream is listened to.Dart 2.16.0
.Features
mapNotNull
/MapNotNullStreamTransformer
.whereNotNull
/WhereNotNullStreamTransformer
.Documentation
RaceStream
(thanks to @Péter Ferenc Gyarmati).v0.27.3
Compare Source
Bug fixes
flatMap
now creates innerStream
s lazily.combineLatest
,concat
,concatEager
,forkJoin
,merge
,race
,zip
iterate overIterable<Stream>
s only oncewhen the stream is listened to.
autoConnect
,connect
andrefCount
together, only one of them should be used.Features
AbstractConnectableStream
, base class for theConnectableStream
implementations.CompositeSubscription
(thanks to @BreX900)dispose
,clear
, andremove
methods now return a completion future.StreamSubscription
.CompositeSubscription.add
will throw aStateError
instead of aString
if this composite was disposed.Documentation
Connectable
examples.Flutter
example:SearchResultItem.fromJson
type error (thanks to @WenYeh)Code refactoring
takeLast
implementation.pedantic
tolints
andflutter_lints
.BehaviorSubject
,ReplaySubject
implementations by using "Sentinel object
"s instead ofValueWrapper
s.v0.27.2
Compare Source
Bug fixes
onErrorReturnWith
now does not drop the remaining data events after the first error.ConnectableStreamSubscription
.Features
delayWhen
operator.maxConcurrent
toflatMap
.groupBy
GroupByStream
toGroupedStream
.durationSelector
, which used to determine how long each group should exist.ignoreElements
@deprecated
annotation (ignoreElements
should not be marked as deprecated).Stream<Never>
.Documentation
PublishSubject
's docs (thanks to @AlexanderJohr).Code refactoring
Stream.multi
internally.v0.27.1
Compare Source
ForkJoinStream
throwsNull check operator used on a null value
when using nullable-type.delay
operatorv0.27.0
Compare Source
ValueStreamExtensions
.ValueStream.valueWrapper
becomesvalue
.valueOrNull
.hasValue
.ValueStream.errorAndStackTrace
becomeserror
.errorOrNull
.hasError
.stackTrace
.skipLast
/SkipLastStreamTransformer
(thanks @HannibalKcc).scan
: changeseed
to required param.StackTrace
param torecoveryFn
when usingOnErrorResumeStreamTransformer
/onErrorResume
/onErrorReturnWith
.ConnectableStream
.v0.26.0
Compare Source
takeLast
(thanks @ThomasKliszowski).retry
/retryWhen
:RetryError
.retry
: emits all errors if retry fails.retryWhen
: emits original error, and error from factory if they are not identical.streamFactory
now accepts non-nullableStackTrace
argument.ValueStream.requireValue
andValueStream.requireError
: throws actual error or aStateError
,instead of throwing
"Null check operator used on a null value"
error.v0.25.0
Compare Source
publishValueSeeded
.ValueStream
,ReplayStream
: exposesstackTrace
along with theerror
:ValueStream.error
toValueStream.errorAndStackTrace
.ReplayStream.errors
toReplayStream.errorAndStackTraces
.Notification.error
andNotification.stackTrace
intoNotification.errorAndStackTrace
.debounce
/debounceTime
unnecessarily kept too many elements in queue.v0.24.1
Compare Source
v0.24.0
Compare Source
v0.23.1
Compare Source
v0.23.0
Compare Source
Observable
class!Rx
class.Observable.just
, useStream.value
Observable.error
, useStream.error
ValueObservable
->ValueStream
ReplayObservable
->ReplayStream
ConnectableObservable
->ConnectableStream
ValueConnectableObservable
->ValueConnectableStream
ReplayConnectableObservable
->ReplayConnectableStream
ofType
method, usewhereType
insteadconcatMap
, use standard StreamasyncExpand
.AsObservableFuture
,MinFuture
,MaxFuture
, andWrappedFuture
asObservable
method in chainsasStream
method from the baseFuture
class instead.min
andmax
now implemented directly on the Stream classv0.22.6
Compare Source
BehaviorSubject
that starts with an Error,it emits duplicate events.
where required.
v0.22.5
Compare Source
v0.22.4
Compare Source
v0.22.3
v0.22.2
BehaviorSubject
and adding anError
,upon listening, the
BehaviorSubject
emitsnull
instead of the lastError
.switchMap
can cause aNoSuchMethodError
.Observable.withLatestFrom
is now expanded to accept 2 or moreStream
sthanks to Petrus Nguyễn Thái Học (@hoc081098)!
ofType
in favor ofwhereType
, dropTypeToken
.v0.22.1+1
Compare Source
v0.22.1
Compare Source
Fixes following issues:
BehaviorSubject
.flatMap
would cancel inner subscriptions inpause
/resume
.v0.22.0
Compare Source
This version includes refactoring for the backpressure operators:
debounce
is now split intodebounce
anddebounceTime
.sample
is now split intosample
andsampleTime
.throttle
is now split intothrottle
andthrottleTime
.v0.21.0
Compare Source
BehaviorSubject
now has a separate factory constructorseeded()
This allows you to seed this Subject with a
null
value.BehaviorSubject
will now emit anError
, if the last event was also anError
.Before, when an
Error
occurred before alisten
, the subscriber would not be notified of thatError
.To refactor, simply change all occurences of
BehaviorSubject(seedValue: value)
toBehaviorSubject.seeded(value)
groupBy
operatordoOnCancel
: will now await the cancel result, if it is aFuture
.bufferWithCount
,windowWithCount
,tween
Please use
bufferCount
andwindowCount
,tween
is removed, because it never was an official Rx spec.v0.20.0
startBufferEvery
(wasskip
previously)If you were relying on bufferCount with
skip
greater than 1 before, then you may have noticederroneous behavior.
repeat
is no longer an operator which simply repeats the last emitted event n-times,instead this is now an Observable factory method which takes a StreamFactory and a count parameter.
This will cause each repeat cycle to create a fresh Observable sequence.
mapTo
is a new operator, which works just likemap
, but instead of taking a mapper Function, it takesa single value where each event is mapped to.
bufferWithCount
,windowWithCount
,amb
,flatMapLatest
v0.19.0
onCancel
function now returnsvoid
instead ofFuture
to properly comply with theStreamController
signature.connect
method is calledpublishValue
orshareValue
publishReplay
orshareReplay
v0.18.1
retryWhen
operator. Thanks to Razvan Lung (@long1eu)! This can be used for custom retry logic.v0.18.0
retype
method, deprecated as part of Dart 2.flatMapIterable
v0.17.0
stream
property on Observable is now private.stream
property to use asuper
constructor insteadamb
/race
,combineLatest
,concat
,concat_eager
,merge
andzip
switchLatest
operatoronErrorResume
andonErrorRetryWith
operators. These allow folks to return a specific stream or value depending on the error that occurred.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.