mono_bloc 1.2.1
mono_bloc: ^1.2.1 copied to clipboard
Simplify Flutter Bloc with code generation. Define events as methods, get automatic concurrency control, actions for side effects, and async state management.
1.2.1 #
- Fixed
MonoStackTrace.filteredto no longer strip every frame when theexcludefilename is empty; an empty exclude now means "no path filtering" (core/bloc/flutterframe filtering still applies). - Expanded unit-test coverage for the runtime utilities (
MonoStackTrace, the async emitters, transformers, andMonoAsyncValue).
1.2.0 #
- A bloc's generated
actionsstream is now strongly typed and emits public, bloc-name-prefixed action classes (see mono_bloc_generator 1.2.0), so actions can be matched by type in tests and app code.
1.1.0 #
- Added support for side-effect
@eventmethods that returnvoidorFuture<void>without an emitter (run logic without changing state) - Fixed
MonoAsyncValueto support a presentnull/nullable success value:withData(null), thedatagetter, andwhen()no longer throw - Fixed
MonoAsyncValueequality:==/hashCodeno longer include the captured stack trace, so equal error states no longer trigger redundant rebuilds - Fixed actions emitted before the first listener subscribes (e.g. in
@onInitor a constructor) being dropped — they are now buffered and delivered to the first listener - Additional code-generation correctness fixes (type preservation, error-handler routing, emitter detection) — see mono_bloc_generator 1.1.0
- Documentation fixes; added unit tests for
MonoAsyncValueand the action stream
1.0.7 #
- Update generation
- Update documentation
1.0.6 #
- Rewrite @onInit handling and sequential emitter generation
1.0.5 #
- Documentation updates
1.0.4 #
- Added shared action mixins support
1.0.3 #
- Documentation updates, generation fixes
1.0.2 #
- Documentation updates
1.0.1 #
- Documentation updates
1.0.0 #
- Initial release of the project.