Releases: dmdevgo/Premo
Releases · dmdevgo/Premo
1.0.0-alpha.15
- Added
wasmtarget. - Added
INITIALIZEDstate forPmLifecycle. - Update libraries:
- Kotlin 1.9.23
- Compose Multiplatform 1.6.1
- kotlinx-coroutines 1.8.0
- kotlinx-serialization 1.6.3
1.0.0-alpha.14
- Fixed
DialogGroupNavigatorandDialogGroupNavigationHost. - Removed sender tag from
PmMessage.PmMessageis the interface again.
1.0.0-alpha.13
- Published new module for PM testing:
premo-test. UserunPmTestto test a presentation and navigation logic. - Added new methods to send PM messages:
sendToTargetandsendToChildren. Added sender tag toPmMessage(now it is abstract class). - Added navigation hosts interfaces:
StackNavigationMost,SetNavigationHost,DialogGroupNavigationHost,DialogNavigationHost,MasterDetailNavigationHost. - Added new extensions for
PmLifecycle:doOnCreate,doOnForeground,doOnBackground,doOnDestroy. - Added errors handler for delegates
onSaveOrRestoreStateError. - Added extension
JvmPmDelegate<*>.attachWindowLifecyclefor desktop. - Added
DialogNavigator. - Added
SingleStatePresentationModel. - Used
Dispatchers.Main.immediatefor PM scopes now. - Added
PmStateHandler.setSaved. - Fixed compatibility with java 1.8.
1.0.0-alpha.12
- Removed
PmDescriptionandPmParams. Instead, usePmArgsto pass serializable arguments to thePresentationModel. - Added
NoPmStateSaverandNoPmStateSaverFactory. - Added
oldStateparameter toPmLifecycle.Observer - Kotlin is updated to 1.9.21.
1.0.0-alpha.11
- Published new module:
premo-navigation-compose. - Removed
showForResultfromDialogNavigatorbecause this way of waiting the result is not persistent. - Removed
sendResultfromDialogNavigator. The right way to send a result is using PM messages. - Kotlin is updated to 1.9.0.
1.0.0-alpha.10
- Published new module:
premo-saver-json. - Implemented
DialogGroupNavigationfor showing a group of dialogs. - Implemented new PM delegates:
IosPmDelegate,JvmPmDelegate,JsPmDelegate,AndroidPmDelegate. - Removed
PmActivityDelegateandPremo. UseAndroidPmDelegatedirectly in the Activity. - Removed
PmLifecycle.Event. - Lots of improvements in navigators and state savers.
1.0.0-alpha.09
PmActivityis interface now. You need to callPremo.init()in the Android app'sonCreate.- Added list of removed PMs to
BackStackChange. - Added a method to replace values for
SetNavigator. - Fixed: Detach a dialog's PM after sending result.
- Kotlin is updated to 1.8.20.
- Added React Sample.
- Added Compose Sample for iOS and Web.
1.0.0-alpha.08
- Add
iosSimulatorArm64target. - Implemented
DialogNavigator. - Fixed
currentTopFlowproperty ofStackNavigator. - Added default back handling for
SetNavigator. - A bit of refactoring: improved extensions for navigators.
1.0.0-alpha.07
- Kotlin is updated to 1.7.20.
- Fixed the desktop sample.
- Removed
SystemBackMessage. UseBackMessageinstead. - A bit of refactoring: renaming and using SAM interface.
1.0.0-alpha.06
Added commands for StackNavigator:
- popToRoot
- popUntil
- replaceTop
- replaceAll