stream_core 0.3.0 copy "stream_core: ^0.3.0" to clipboard
stream_core: ^0.3.0 copied to clipboard

unlisted

Internal sdk with low-level utilities for the stream SDKs

0.3.0 #

πŸ’₯ BREAKING CHANGES #

  • FilterField now requires a value getter function Object? Function(T)
  • Filter classes renamed (e.g., EqualOperator β†’ Equal, AndOperator β†’ And)
  • Filter signature changed to Filter<T extends Object>

✨ Features #

  • Added matches(T other) method for client-side filtering with PostgreSQL-like semantics
  • Added utility functions for deep equality, subset containment, and type-safe comparisons
  • Enhanced Sort comparator to handle incompatible types safely

0.2.0 #

πŸ’₯ BREAKING CHANGES #

  • Renamed AppLifecycleStateProvider to LifecycleStateProvider and AppLifecycleState to LifecycleState

✨ Features #

  • Added keepConnectionAliveInBackground option to ConnectionRecoveryHandler
  • Added unknown state to NetworkState and LifecycleState enums

πŸ› Bug Fixes #

  • Fixed onClose() not being called when disconnecting during connecting state
  • Fixed unnecessary reconnection attempts when network is offline
  • Fixed existing connections not being closed before opening new ones

0.1.0 #

  • Initial release