NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #262 most downloaded on pub.dev
A predictable state management library that helps implement the BLoC (Business Logic Component) design pattern.
Last release 4 months ago
12 May 2026
Ships fairly regularly
a new release about every 4 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
115 releases · first in 2018
- Upgrade to rxdart ^0.23.0
rxdart ^0.23.0Allow blocs to finish processing pending events on close
close (#639)Bugfix: Exceptions thrown in onTransition are passed to onError and should not break bloc functionality
One column per quarter.
onTransition are passed to onError and should not break bloc functionality (#641)- dispatch and dispose removed - Documentation Updates
dispatch and dispose removed- Minor Documentation Updates
dispatch deprecated in favor of add
Renamed transform to transformEvents
Additional Dependency and Documentation Updates.
Additional Dependency and Documentation Updates.
Dependency and Documentation Updates.
Dependency and Documentation Updates.
- Deprecated Bloc event Stream (#326) - Documentation Updates
event Stream (#326)Internal BlocDelegate update and Documentation Updates.
Internal BlocDelegate update and Documentation Updates.
BlocDelegate initialization improvements and Documentation Updates.
BlocDelegate initialization improvements and Documentation Updates.
BlocSupervisor().delegate = ... is now BlocSupervisor.delegate = ... (#304).Bloc and BlocDelegate Improvements, new Features, and Documentation Updates.
Bloc and BlocDelegate Improvements, new Features, and Documentation Updates.
dispose to ignore pending events (#257).event stream on Bloc similar to state stream to expose a Stream of dispatched events (#259).rxdart version ^0.22.0 (#265).BlocDelegate methods include a reference to the Bloc instance (#259).onEvent to Bloc and BlocDelegate (#259).Updated transform to enable advanced event filtering and processing and Documentation Updates.
Updated transform to enable advanced event filtering and processing and Documentation Updates.
Added BlocDelegate onError and onTransition mustCallSuper and Documentation Updates
Added BlocDelegate onError and onTransition mustCallSuper and Documentation Updates
Added dispose mustCallSuper and Documentation Updates
Added dispose mustCallSuper and Documentation Updates
Update mapEventToState to remove unnecessary argument for currentState
Update mapEventToState to remove unnecessary argument for currentState
Stream<S> mapEventToState(S currentState, E event) -> Stream<S> mapEventToState(E event)Updated to rxdart ^0.21.0 and Documentation Updates
Updated to rxdart ^0.21.0 and Documentation Updates
Minor Enhancements to Code Style and Documentation.
Minor Enhancements to Code Style and Documentation.
Calls to dispatch after dispose has been called trigger onError in the Bloc and BlocDelegate.
Calls to dispatch after dispose has been called trigger onError in the Bloc and BlocDelegate.
Restrict rxdart to ">=0.18.1 <0.21.0" due to breaking changes.
Restrict rxdart to ">=0.18.1 <0.21.0" due to breaking changes.
Additional Minor Updates to Documentation
Additional Minor Updates to Documentation
Minor Updates to Documentation
Minor Updates to Documentation
Bloc and BlocDelegate Error Handling
Bloc and BlocDelegate Error Handling
onError to Bloc for local error handling.onError to BlocDelegate for global error handling.Blocs handle exceptions thrown in mapEventToState and documentation updates.
Blocs handle exceptions thrown in mapEventToState and documentation updates.
Minor Internal Improvements and Documentation Updates
Minor Internal Improvements and Documentation Updates
Additional Minor Updates to Documentation
Additional Minor Updates to Documentation
Minor Updates to Documentation
Minor Updates to Documentation
Blocs ignore duplicate states
Blocs ignore duplicate states
Additional Minor Updates to Documentation
Additional Minor Updates to Documentation
Additional Minor Updates to Documentation
Additional Minor Updates to Documentation
Minor Updates to Documentation
Minor Updates to Documentation
Exposed currentState in Bloc - Updates to Documentation.
Exposed currentState in Bloc
Updated mapEventToState parameter name
Updated mapEventToState parameter name
Stream<S> mapEventToState(S state, E event) -> Stream<S> mapEventToState(S currentState, E event)Minor Updates to Documentation
Minor Updates to Documentation
Bloc with mapEventToState which returns multiple states per event will now correctly report the Transitions.
Transition Fix
Bloc with mapEventToState which returns multiple states per event will now correctly report the Transitions.Improvements to Bloc usage in pure Dart applications.
Improvements to Bloc usage in pure Dart applications.
Bloc state is seeded with initialState automaticallyAdded BlocSupervisor and BlocDelegate.
Added BlocSupervisor and BlocDelegate.
BlocSupervisor notifies BlocDelegate of TransitionsBlocDelegate exposes onTransition which is invoked for all Bloc Transitions.Transitions and initialState updates.
Transitions and initialState updates.
Transitions and onTransitioninitialState requiredAdditional minor Updates to Documentation.
Additional minor Updates to Documentation.
Minor Updates to Documentation
Minor Updates to Documentation
Moved Flutter Widgets to flutter_bloc package
Moved Flutter Widgets to flutter_bloc package
Additional minor Updates to Documentation.
Additional minor Updates to Documentation.
Minor Updates to Documentation.
Minor Updates to Documentation.
chore(deps): upgrade to mason ^0.1.0
mason ^0.1.0dart ^3.5.4Added BlocProvider.
BlocProvider.of(context)feat: add support for sealed events using Dart 3
sealed events using Dart 3Updated mapEventToState to take current state as an argument.
Stream<S> mapEventToState(E event) -> Stream<S> mapEventToState(S state, E event)Additional Minor Updates to Documentation.
Additional Minor Updates to Documentation.
Additional Minor Updates to Documentation.
Additional Minor Updates to Documentation.
Additional Minor Updates to Documentation.
Additional Minor Updates to Documentation.
Additional Minor Updates to Documentation.
Additional Minor Updates to Documentation.
Minor Updates to Documentation.
Minor Updates to Documentation.
feat: add support for equatable
equatablefreezedAdded Support for Stream Transformation
Stream<E> transform(Stream<E> events)- docs: minor README update
refactor: upgrade to shorthand lambda syntax (mason >= 0.1.0-dev.15)
mason >= 0.1.0-dev.15)feat: initial release with support for basic bloc generation
Initial Version of the library.
Bloc class.Bloc by using the BlocBuilder Widget.Your coding agent can read these notes before it upgrades. Set up the MCP server →