- Breaking change: Added the concept of "afterware" to the library.
- Afterware are middle-ware like functions that are invoked after an
Action
has passed the reducing stage. If you need to perform a side effect after the app state has been updated in response to a givenAction
(e.g. save state to disk, dispatch other actions), afterware is the place to do it.
- Afterware are middle-ware like functions that are invoked after an
- Began using Dart versioning correctly.
- Added
FirstBuildDispatcher
, a new widget that will dispatch anAction
to an ancestorStore
the first time it's built.
- Changed
StoreProvider
to always useinheritFromWidgetOfExactType
. - Added
DispatchSubscriber
, a widget that subscribes to an ancestorStoreProvider
's dispatch function and builds widgets that can call it.
- Added
useful_blocs.dart
to hold some built-inBloc
s that devs might want to use. - Added
DebouncerBloc
, a Bloc capable of debouncing repeated actions.- Note that if an
Action
is cancelled byDebouncerBloc
, anyAction
that has been given to itsafterward
method will also be cancelled.
- Note that if an
- Added
afterward
method to theAction
class.
- First release in which I remembered to update the change log.
- Two examples in place, plus the library itself.
- Seems relatively stable.