fix(deps): update dependency rxdart to ^0.28.0 #2172
Merged
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.27.4
->^0.28.0
^0.27.0
->^0.28.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
ReactiveX/rxdart (rxdart)
v0.28.0
Compare Source
New
ValueStream:
lastEventOrNull
getter toValueStream
,which returns the last emitted event (either data/value or error event), or
null
.isLastEventValue
,isLastEventError
anderrorAndStackTraceOrNull
extension getters to
ValueStream
, to check the kind of the last emitted event is data/value or error.ReplayStream:
errorAndStackTraces
toReplayStream
, which returns a list of emittedErrorAndStackTrace
s.Rename
Notification
andKind
to better reflect their purpose,and to avoid confusion with Flutter's Notification class.
Notification
toStreamNotification
Notification.onData
toStreamNotification.data
.Notification.onDone
toStreamNotification.done
.Notification.onError
toStreamNotification.error
.Kind
toNotificationKind
Kind.onData
toNotificationKind.data
.Kind.onError
toNotificationKind.error
.Kind.onDone
toNotificationKind.done
.DataNotification
,ErrorNotification
andDoneNotification
as the subclasses ofStreamNotification
.isOnData
,isOnError
,isOnDone
,requireData
to extension getters onStreamNotification
,they are now named
isData
,isError
,isDone
andrequireDataValue
.StreamNotification
:dataValueOrNull
,requireErrorAndStackTrace
,errorAndStackTraceOrNull
getters andwhen
method.Changed
Accept Dart SDK versions above 3.0.
switchMap
: when cancelling the previous inner subscription,switchMap
will pause the outer subscription and and wait for the inner subscription to be completely canceled.It will then resume the outer subscription, and listen to the next inner Stream.
Any errors from canceling the previous inner subscription will now be forwarded to the resulting Stream.
Breaking: Rename
ForkJoinStream.combine2
..combine9
toForkJoinStream.join2
..join9
.Breaking:
Rx.using
/UsingStream
disposer
is now called after the future returned fromStreamSubscription.cancel
completes.Documentation
v0.27.7
Compare Source
https://pub.dev/packages/rxdart/versions/0.27.7
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
.What's Changed
onAdd
andonError
if the subject is not closed by @hoc081098 in https://github.com/ReactiveX/rxdart/pull/698Subject.stream
now returns a read-onlyStream
by @hoc081098 in https://github.com/ReactiveX/rxdart/pull/699Full Changelog: ReactiveX/rxdart@0.27.6...0.27.7
v0.27.6
Compare Source
https://pub.dev/packages/rxdart/versions/0.27.6
Rx.using
/UsingStream
:resourceFactory
can now return aFuture
.This allows for asynchronous resource creation.
Rx.range
/RangeStream
: ensureRangeStream
is only listened to once.What's Changed
RangeStream
can only be listened to once by @hoc081098 in https://github.com/ReactiveX/rxdart/pull/690resourceFactory
can return a Future by @hoc081098 in https://github.com/ReactiveX/rxdart/pull/696Full Changelog: ReactiveX/rxdart@0.27.5...0.27.6
v0.27.5
Compare Source
https://pub.dev/packages/rxdart/versions/0.27.5
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>>
.What's Changed
New Contributors
Full Changelog: ReactiveX/rxdart@0.27.4...0.27.5
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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.