Skip to content

v2.0.0

Choose a tag to compare

@zupat zupat released this 17 Dec 00:36
· 89 commits to main since this release
647fb0b

What's Changed

Breaking Changes

  • Remove synchronous subscriptions on DerivedBeacon: Only available for Writable and BufferedBeacons.

  • Chaining methods are now asynchronous: ie: map, filter, debounce, throttle, buffer, and bufferTime now operate asynchronously

  • Immutable chained beacons: The beacons returned from chaining methods are now immutable.

  • Stream access change: anyBeacon.toStream() is now anyBeacon.stream

  • Filter allowFirst parameter: The lazyBypass parameter in FilteredBeacon was replaced with allowFirst (set to false by default)

  • Debounce allowFirst parameter: Added allowFirst parameter to lazyDebounced and debounce chain method (set to false by default)

Full Changelog: https://github.com/jinyus/dart_beacon/blob/647fb0bdb664533fdefdfae106255652c6ad18b9/packages/state_beacon/CHANGELOG.md