This repository has been archived by the owner on Dec 30, 2020. It is now read-only.
DSL version 2
This release focuses on further simplifying, improving and stabilising the DSL. The DSL can now be considered stable and we will avoid making as many breaking changes between releases going forward.
- #20 Added javadoc to the DSL
- #24
ignoringEvents
DSL function removed - #25 Added many unit tests for core functionality and corner cases
- #28 Added a readme documentation for lifecycle events
- #31 Allowed posting side effects conditionally
DSL improvements:
postSideEffect
andsideEffect
were merged into one. UsesideEffect { post(something) }
to post events to the side effect relay.ignoringEvents
is removed as it's unnecessarywithReducer
renamed toreduce
loopBack
,reduce
no longer terminate the flow chain.- It is now allowed to chain as many operators on a flow as you wish.
- Many changes to the naming of receiver fields to make them more consistent
- Added
TransformerReceiver
, the event observable is no longer exposed asthis
intransform
. UseeventObservable
instead. ActionState
has been removed- Current state is now available in every DSL lambda by calling
getCurrentState()
In a reducer this is guaranteed to always return the same instance, in other operators it's not. - Side effect caching is now configurable within a middleware.
Bug fixes:
- Side effect caching worked only for one subscriber