kinora_flow 1.3.1+1
kinora_flow: ^1.3.1+1 copied to clipboard
Kinora Flow Event Driven State Management
1.0.0 #
- Renaming members for better intuitivity
- Adding scoped
Scope, so features can be scoped and disposed when theScopeis disposed
1.0.1 #
- Improving logging: support for external logging and simpler log messages
1.0.2 #
- Fixed logging on component changes
1.0.3 #
- Fixed wrong class name (FlowFeatureDisposalLogic)
1.0.4 #
- Fixed bug in FlowScope getComponent
- Added getComponentOrNull
1.1.0 #
- Added support for
disposein all types of Logic (it will be called once aFlowFeatureis disposed) This allows, for example, to get aStreamSubscription<T>and then close it when it is no longer needed.
1.1.1 #
- Fixed the order of logic disposal and potentially duplicate
disposecalls
1.2.0 #
- Added support for listening on state changes inside
FlowLogic - All components have now a
disposemethod
1.3.0 #
- Added
FlowEventLogic<T>for immutable, data-carrying events- Events can now carry typed data instead of relying on mutable state
- New
flow.dispatch(event)method for triggering immutable events - Type-safe event handling with
react(T event)method - Optional event filtering with
reactsIf(T event) - Fully backward compatible with existing
FlowEventpattern
1.3.1 #
- Fixed incorrect
@protectedannotation onFlowManager.dispatch- dispatch should be public - Removed unnecessary use of dynamic types in event handling
- Improved type safety throughout the event system
1.3.1+1 #
- Bug fix: Event dispatcher should consider parent scopes