Skip to content

Upgrading bloc 3 to 4

Unknown3.0.0 → 4.0.0

Fetching 5 releases from GitHub…0 / 5
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • removed: method Bloc.transformStates(Stream<State> states): Stream<State>
  • changed: method Bloc.onError(Object error, StackTrace stacktrace): void → method Bloc.onError(Object error, StackTrace stackTrace): void
  • changed: method Bloc.transformEvents( Stream<Event> events, Stream<State> Function(Event) next, ): Stream<State> → method Bloc.transformEvents( Stream<Event> events, TransitionFunction<Event, State> transitionFn, ): Stream<Transition<Event, State>>
  • changed: method BlocDelegate.onError(Bloc bloc, Object error, StackTrace stacktrace): void → method BlocDelegate.onError(Bloc bloc, Object error, StackTrace stackTrace): void
  • added: class BlocUnhandledErrorException implements Exception
  • added: ctor BlocUnhandledErrorException(this.bloc, this.error, [this.stackTrace])
  • added: field Bloc.async*: Stream<State> get _stateStream
  • added: field BlocUnhandledErrorException.bloc: final Bloc
  • added: field BlocUnhandledErrorException.error: final Object
  • added: field BlocUnhandledErrorException.stackTrace: final StackTrace
  • added: method Bloc.transformTransitions( Stream<Transition<Event, State>> transitions, ): Stream<Transition<Event, State>>
  • added: method BlocUnhandledErrorException.toString(): String
  • added: typedef TransitionFunction<Event, State> = Stream<Transition<Event, State>> Function(Event)