Skip to content

3.0.0-alpha03

Compare
Choose a tag to compare
@arkivanov arkivanov released this 27 Dec 23:59
· 186 commits to master since this release
3076579
  • Renamed handleIntent and handleAction methods to executeIntent and executeAction respectively in Executor interface (#12)
  • Renamed Result to Message in Store (#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.