Skip to content

Releases: ReactiveX/rxdart

0.27.1

30 May 08:14
b77ce50
Compare
Choose a tag to compare

https://pub.dev/packages/rxdart/versions/0.27.1

  • Bugfix: ForkJoinStream throws Null 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

07 May 07:58
6151299
Compare
Choose a tag to compare

https://pub.dev/packages/rxdart/versions/0.27.0

  • BREAKING: ValueStream
    • Remove ValueStreamExtensions.
    • ValueStream.valueWrapper becomes
      • value.
      • valueOrNull.
      • hasValue.
    • ValueStream.errorAndStackTrace becomes
      • error.
      • errorOrNull.
      • hasError.
      • stackTrace.
  • Add skipLast/SkipLastStreamTransformer (thanks @HannibalKcc).
  • Update scan: change seed to required param.
  • Add StackTrace param to recoveryFn when using OnErrorResumeStreamTransformer/onErrorResume/onErrorReturnWith.
  • Internal refactoring ConnectableStream.

0.26.0

27 Feb 18:40
Compare
Choose a tag to compare
  • 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-nullable StackTrace argument.
  • Update ValueStream.requireValue and ValueStream.requireError: throws actual error or a StateError,
    instead of throwing "Null check operator used on a null value" error.

0.26.0-nullsafety.1

08 Jan 03:56
Compare
Choose a tag to compare
0.26.0-nullsafety.1 Pre-release
Pre-release
  • Breaking change: ValueStream
    • Add valueWrapper to ValueStream.
    • Change value, hasValue, error and hasError to extension getters.
  • 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

06 Dec 13:50
16b2ce4
Compare
Choose a tag to compare
  • Sync behavior when using publishValueSeeded.
  • ValueStream, ReplayStream: exposes stackTrace along with the error:
    • Change ValueStream.error to ValueStream.errorAndStackTrace.
    • Change ReplayStream.errors to ReplayStream.errorAndStackTraces.
    • Merge Notification.error and Notification.stackTrace into Notification.errorAndStackTrace.
  • Bugfix: debounce/debounceTime unnecessarily kept too many elements in queue.

0.26.0-nullsafety.0

24 Nov 06:08
Compare
Choose a tag to compare
0.26.0-nullsafety.0 Pre-release
Pre-release
  • Migrate this package to null safety.
  • Sdk constraints: >=2.12.0-0 <3.0.0 based on beta release guidelines.

0.25.0-beta3

16 Oct 01:10
6c4bda8
Compare
Choose a tag to compare
0.25.0-beta3 Pre-release
Pre-release
  • 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 a Stream from a callable function.
  • Override BehaviorSubject's built-in operators to correct replaying the latest value of BehaviorSubject.
  • Bugfix: Source StreamSubscription doesn't cancel when cancelling refCount, zip, merge, concat StreamSubscription.
  • Forward done event of upstream to ConnectableStream.

0.25.0-beta2

24 Sep 06:56
c546006
Compare
Choose a tag to compare
0.25.0-beta2 Pre-release
Pre-release
  • Internal refactoring Stream Transformers.
  • Fixed RetryStream example documentation.
  • Error thrown from DeferStream factory will now be caught and converted to Stream.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.
  • Added UsingStream.
  • Updated TimerStream: Pause and resume Timer when pausing and resuming StreamSubscription.

0.25.0-beta

02 Aug 09:35
Compare
Choose a tag to compare
0.25.0-beta Pre-release
Pre-release
  • 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

0.24.1

15 May 18:45
Compare
Choose a tag to compare
  • Fix for BehaviorSubject, no longer emits null when using addStream and expecting an Error as first event (thanks yuvalr1)
  • min/max have been optimised for performance
  • Further refactors on our Transformers