Update dependency rxdart to ^0.27.0 #8
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.26.0-nullsafety.0->^0.27.0Release Notes
ReactiveX/rxdart
v0.27.7Compare Source
Fixed
SubjectOnly call
onAddandonErrorif the subject is not closed.This ensures
BehaviorSubjectandReplaySubjectdo not update their values after they have been closed.Subject.streamnow returns a read-onlyStream.Previously,
Subject.streamwas 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
TypeErrorif attempted. UseSubject.sink/Subjectitself for adding events.Change return type of
ReplaySubject<T>.streamtoReplayStream<T>.Internal refactoring of
Subject.addStream.v0.27.6Compare Source
Rx.using/UsingStream:resourceFactorycan now return aFuture.This allows for asynchronous resource creation.
Rx.range/RangeStream: ensureRangeStreamis only listened to once.v0.27.5Compare Source
Bug fixes
Fix issue #683: Throws runtime type error when using extension
methods on a
Stream<R>but its type annotation isStream<T>,Ris 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:activeSubscriptionshould be changed to next subscription.Code refactoring
pairwisetoStream<List<T>>.v0.27.4Compare Source
Bug fixes
withLatestFromshould 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.3Compare Source
Bug fixes
flatMapnow creates innerStreams lazily.combineLatest,concat,concatEager,forkJoin,merge,race,zipiterate overIterable<Stream>s only oncewhen the stream is listened to.
autoConnect,connectandrefCounttogether, only one of them should be used.Features
AbstractConnectableStream, base class for theConnectableStreamimplementations.CompositeSubscription(thanks to @BreX900)dispose,clear, andremovemethods now return a completion future.StreamSubscription.CompositeSubscription.addwill throw aStateErrorinstead of aStringif this composite was disposed.Documentation
Connectableexamples.Flutterexample:SearchResultItem.fromJsontype error (thanks to @WenYeh)Code refactoring
takeLastimplementation.pedantictolintsandflutter_lints.BehaviorSubject,ReplaySubjectimplementations by using "Sentinel object"s instead ofValueWrappers.v0.27.2Compare Source
Bug fixes
onErrorReturnWithnow does not drop the remaining data events after the first error.ConnectableStreamSubscription.Features
delayWhenoperator.maxConcurrenttoflatMap.groupByGroupByStreamtoGroupedStream.durationSelector, which used to determine how long each group should exist.ignoreElements@deprecatedannotation (ignoreElementsshould not be marked as deprecated).Stream<Never>.Documentation
PublishSubject's docs (thanks to @AlexanderJohr).Code refactoring
Stream.multiinternally.v0.27.1Compare Source
ForkJoinStreamthrowsNull check operator used on a null valuewhen using nullable-type.delayoperatorv0.27.0Compare Source
ValueStreamExtensions.ValueStream.valueWrapperbecomesvalue.valueOrNull.hasValue.ValueStream.errorAndStackTracebecomeserror.errorOrNull.hasError.stackTrace.skipLast/SkipLastStreamTransformer(thanks @HannibalKcc).scan: changeseedto required param.StackTraceparam torecoveryFnwhen usingOnErrorResumeStreamTransformer/onErrorResume/onErrorReturnWith.ConnectableStream.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.