Skip to content

1.2.0-alpha01: Multiplatform API + some API changes

Pre-release
Pre-release
Compare
Choose a tag to compare
@Nek-12 Nek-12 released this 04 Apr 08:03
· 752 commits to master since this release
481d68c

This release contains some breaking changes:

  • Renamed MVIStore's initialState -> initial to achieve parity with other builders
  • Reducer renamed to Reduce because Reducer is now a fun interface that can be used to compose reducing logic in the future
  • Made ReducerScope implement CoroutineScope instead of having a scope property for cleaner coroutine launching
  • MVIViewModel no longer implements ReducerScope for less error-prone API.

Other changes:

  • Added a FlowMVIDSL annotation for cleaner autocompletion from the IDE.
  • Added a StoreProvider abstract class to have a place where to put the business logic when code is framework-independent. This change will allow users of the library to implement multiplatform stores using an OOP-based approach (i.e. inheritance and classes)
  • Updated Sample App to feature the new StoreProvider, and written a Koin DSL

This release is experimental for now until the API is tested properly

What's Changed

  • 1.2.0: Implemented an API to make business logic Multiplatform / Framework-independent by @Nek-12 in #15
    Full Changelog: 1.1.4...1.2.0