- BREAKING: refactor:
Bloc
andCubit
extendBlocBase
- 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)
- refactor:
- BREAKING: refactor:
Bloc
andCubit
do not extendStream
and implementSink
- refactor: use
bloc.stream
orcubit.stream
to accessStream<State>
myBloc.map(...)
->myBloc.stream.map(...)
- refactor: deprecate
bloc.listen
in favor ofbloc.stream.listen
- refactor: use
- BREAKING: refactor:
CubitUnhandledErrorException
->BlocUnhandledErrorException
- BREAKING: opt into null safety
- feat!: upgrade Dart SDK constraints to
>=2.12.0-0 <3.0.0
- feat!: upgrade Dart SDK constraints to
- fix:
transformEvents
multiple subscriptions issue - test: improve testing for advanced
transformEvents
behavior - chore: bump to
meta: ^1.3.0