2.5.0-alpha12
Pre-release
Pre-release
github-actions
released this
01 May 17:59
·
147 commits
to master
since this release
Breaking Changes
- Verify each method of store plugin builder is only called once, reduce lambda allocations. The plugin builder will now throw if you attempt to invoke a given callback multiple times. For example,
onStart { } ; onStart { }
- Disallowed nested invocation of plugin builder callbacks. Previously it was possible to call
onStart { onStart { } }
. Now such usages will fail at compilation time because the second invocation will never be executed.
New Features
- Add lazy thread-safety mode to lazy store builder functions
- Make
UnrecoverableException
open - Warn about possible component context leak when using essenty DSL.
- Implement StateKeeper integration for essenty. You can now invoke
keepState
orinstall(keepStatePlugin())
to persist the state using EssentyStateKeeper
- Implement subscription DSL for components in the essenty integration. You can now subscribe in the components.
- Add dsl to create retained stores using container factory
Docs:
- Update decompose sample feature to follow the new essenty api
Bug Fixes
- fix await subscribers condition for completing the wait period
- fix storeBuilder vararg plugin installation order
Other
- Change sample code theme to Atom One