Skip to content

0.27.3

Compare
Choose a tag to compare
@hoc081098 hoc081098 released this 21 Nov 06:12
· 83 commits to master since this release
b8076e6

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

Bug fixes

  • flatMap now creates inner Streams lazily.
  • combineLatest, concat, concatEager, forkJoin, merge, race, zip iterate over Iterable<Stream>s only once
    when the stream is listened to.
  • Disallow mixing autoConnect, connect and refCount together, only one of them should be used.

Features

  • Introduce AbstractConnectableStream, base class for the ConnectableStream implementations.
  • Improve CompositeSubscription (thanks to @BreX900)
    • CompositeSubscription's dispose, clear, and remove methods now return a completion future.
    • Fixed an issue where a stream not present in CompositeSubscription was canceled.
    • Added the ability not to cancel the stream when it is removed from CompositeSubscription.
    • CompositeSubscription implements StreamSubscription.
    • CompositeSubscription.add will throw a StateError instead of a String if this composite was disposed.

Documentation

  • Fix Connectable examples.
  • Update Web example to null safety.
  • Fix Flutter example: SearchResultItem.fromJson type error (thanks to @WenYeh)

Code refactoring

  • Simplify takeLast implementation.
  • Migrate from pedantic to lints and flutter_lints.
  • Refactor BehaviorSubject, ReplaySubject implementations by using "Sentinel object"s instead of ValueWrappers.

New Contributors

Full Changelog: 0.27.2...0.27.3