3.0.0-alpha03
arkivanov
released this
27 Dec 23:59
·
186 commits
to master
since this release
- Renamed
handleIntent
andhandleAction
methods toexecuteIntent
andexecuteAction
respectively inExecutor
interface (#12) - Renamed
Result
toMessage
inStore
(#15) - Updated Kotlin to 1.6.10 and coroutines to 1.6.0 (#16)
Breaking changes
This release address necessary API changes towards the upcoming 3.0.0
release.
Executor interface
In the Executor
interface the following methods were renamed:
handleIntent
->executeIntent
handleAction
->executeAction
This brakes binary compatibility, but should not break source compatibility unless you have custom Executor
interface implementations (like SuspendExecutor
).
Result is renamed to Message
Now the Executor
dispatches Messages
, and not Results
. The Reducer
now also process Messages
instead of Results
. You can read about the rationale in the corresponding issue: #6. This change also breaks the binary compatibility, the source compatibility should not be broken in most of the cases. Checkout the documentation for more information and updated samples.