Skip to content

Releases: revolut-mobile/kompot

0.0.3

27 Mar 19:11
b0da9ef
Compare
Choose a tag to compare
0.0.3 Pre-release
Pre-release
  • Introduce ViewController as the new base class for all the screens and flows. The new API removes the necessity to subclass BaseScreen/BaseFlow to create a controller. Instead, you can plugin UI + Domain state management or flow logic to the ViewController using delegation instead of inheritance.
  • ControllerModelExtension holds reusable logic to delegate ControllerModel work and reuse it in the other models.
  • Added ControllerDescriptor to resolve controller instances without injecting extra dependencies to the screen or flow.
  • Added NavigationRequest to resolve navigation destinations asynchronously through the FeatureGateway.
  • New ViewController-based API brings support for the modals saved state restoration. Opening modals through FlowCoordinator or ModalCoordinator will make modals compatible with the saved state
  • Internal refactoring and bug fixes.

(WIP) Documentation update for the new changes is in progres

0.0.2

09 Nov 20:28
5eef523
Compare
Choose a tag to compare
0.0.2 Pre-release
Pre-release
  • Feature declaration simplified. FeatureHandlerDelegate replaced by a FeatureGateway that requires less boilerplate
  • Use stable API to work with insets. Added fitNavigationBar param to controllers and controller containers to configure how the app consumes bottom and IME insets
  • kompot-coroutines module for coroutine utils. CustomContextWrapper from this module can be used to create coroutine scopes that replace dispatchers automatically in tests. TestDispatcherExtension can be applied to tests to replace dispatchers.
  • api configuration is used for all dependencies that can be accessed in a transitive way
  • Added assertions that prevents launching multiple navigation commands simultaneously
  • Removed deprecated coroutines API usages

0.0.1

19 Jun 18:39
Compare
Choose a tag to compare
0.0.1 Pre-release
Pre-release

Initial release