Releases: ReactiveX/rxdart
Releases · ReactiveX/rxdart
0.27.1
https://pub.dev/packages/rxdart/versions/0.27.1
- Bugfix:
ForkJoinStream
throwsNull check operator used on a null value
when using nullable-type. - Bugfix:
delay
operator- Pause and resume properly.
- Cancel all timers after it has been cancelled.
0.27.0
https://pub.dev/packages/rxdart/versions/0.27.0
- BREAKING: ValueStream
- Remove
ValueStreamExtensions
. ValueStream.valueWrapper
becomesvalue
.valueOrNull
.hasValue
.
ValueStream.errorAndStackTrace
becomeserror
.errorOrNull
.hasError
.stackTrace
.
- Remove
- Add
skipLast
/SkipLastStreamTransformer
(thanks @HannibalKcc). - Update
scan
: changeseed
to required param. - Add
StackTrace
param torecoveryFn
when usingOnErrorResumeStreamTransformer
/onErrorResume
/onErrorReturnWith
. - Internal refactoring
ConnectableStream
.
0.26.0
- Stable, null-safe release.
- Add
takeLast
(thanks @ThomasKliszowski). - Rework for
retry
/retryWhen
:- Removed
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.
- Removed
- Update
ValueStream.requireValue
andValueStream.requireError
: throws actual error or aStateError
,
instead of throwing"Null check operator used on a null value"
error.
0.26.0-nullsafety.1
- Breaking change:
ValueStream
- Add
valueWrapper
toValueStream
. - Change
value
,hasValue
,error
andhasError
to extension getters.
- Add
- Fixed some API example documentation (thanks @HannibalKcc).
throttle
/throttleTime
have been optimised for performance.- Updated Flutter example to work with the latest Flutter stable.
0.25.0
- Sync behavior when using
publishValueSeeded
. ValueStream
,ReplayStream
: exposesstackTrace
along with theerror
:- Change
ValueStream.error
toValueStream.errorAndStackTrace
. - Change
ReplayStream.errors
toReplayStream.errorAndStackTraces
. - Merge
Notification.error
andNotification.stackTrace
intoNotification.errorAndStackTrace
.
- Change
- Bugfix:
debounce
/debounceTime
unnecessarily kept too many elements in queue.
0.26.0-nullsafety.0
- Migrate this package to null safety.
- Sdk constraints:
>=2.12.0-0 <3.0.0
based on beta release guidelines.
0.25.0-beta3
- Bugfix:
switchMap
doesn't close after the last inner Stream closes. - Docs: updated URL for "Single-Subscription vs. Broadcast Streams" doc (thanks Aman Gupta).
- Add
FromCallableStream
/Rx.fromCallable
: allows you to create aStream
from a callable function. - Override
BehaviorSubject
's built-in operators to correct replaying the latest value ofBehaviorSubject
. - Bugfix: Source
StreamSubscription
doesn't cancel when cancellingrefCount
,zip
,merge
,concat
StreamSubscription. - Forward done event of upstream to
ConnectableStream
.
0.25.0-beta2
- Internal refactoring Stream Transformers.
- Fixed
RetryStream
example documentation. - Error thrown from
DeferStream
factory will now be caught and converted toStream.error
. doOnError
now have strong type signature:Stream<T> doOnError(void Function(Object, StackTrace) onError)
.- Updated
ForkJoinStream
:- When any Stream emits an error, listening still continues unless
cancelOnError: true
on the downstream. - Pause and resume Streams properly.
- When any Stream emits an error, listening still continues unless
- Added
UsingStream
. - Updated
TimerStream
: Pause and resume Timer when pausing and resuming StreamSubscription.
0.25.0-beta
- stream transformations on a ValueStream will also return a ValueStream, instead of
a standard broadcast Stream - throttle can now be both leading and trailing
- better handling of empty Lists when using operators that accept a List as input
- error & hasError added to BehaviorSubject
- various docs updates
- note that this is a beta release, mainly because the behavior of transform has been adjusted (see first bullet)
if all goes well, we'll release a proper 0.25.0 release soon