Releases: revolut-mobile/kompot
Releases · revolut-mobile/kompot
0.0.3
- 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 theViewController
using delegation instead of inheritance. ControllerModelExtension
holds reusable logic to delegateControllerModel
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 theFeatureGateway
. - New
ViewController
-based API brings support for the modals saved state restoration. Opening modals throughFlowCoordinator
orModalCoordinator
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
- Feature declaration simplified.
FeatureHandlerDelegate
replaced by aFeatureGateway
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
Initial release