github felangel/bloc bloc-v7.0.0

latest releases: angular_bloc-v10.0.0-dev.4, intellij_bloc-v4.0.2, flutter_bloc_feature_brick-v0.3.2...
3 years ago
  • BREAKING: refactor: Bloc and Cubit extend BlocBase
    • refactor: void onError(Cubit cubit, Object error, StackTrace stackTrace) -> void onError(BlocBase bloc, Object error, StackTrace stackTrace)
    • refactor: void onCreate(Cubit cubit) -> void onCreate(BlocBase bloc)
    • refactor: void onClose(Cubit cubit) -> void onClose(BlocBase bloc)
  • BREAKING: refactor: Bloc and Cubit do not extend Stream and implement Sink
    • refactor: use bloc.stream or cubit.stream to access Stream<State>
      • myBloc.map(...) -> myBloc.stream.map(...)
    • refactor: deprecate bloc.listen in favor of bloc.stream.listen
  • BREAKING: refactor: CubitUnhandledErrorException -> BlocUnhandledErrorException
  • BREAKING: opt into null safety
    • feat!: upgrade Dart SDK constraints to >=2.12.0-0 <3.0.0
  • fix: transformEvents multiple subscriptions issue
  • test: improve testing for advanced transformEvents behavior
  • chore: bump to meta: ^1.3.0

Don't miss a new bloc release

NewReleases is sending notifications on new releases.