From b3d1455b6c055df9676ad5055122db61dcd23bfc Mon Sep 17 00:00:00 2001 From: Dmitriy Gorbunov Date: Mon, 5 Feb 2024 01:42:03 +0300 Subject: [PATCH] Release version 1.0.0-alpha.13. --- CHANGELOG.md | 13 +++++++++++++ plugins/src/main/kotlin/me/dmdev/premo/Premo.kt | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 793eb05..4a81cb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +# 1.0.0-alpha.13 / 04.02.2024 +- Published new module for PM testing: `premo-test`. Use `runPmTest` to test a presentation and navigation logic. +- Added new methods to send PM messages: `sendToTarget` and `sendToChildren`. Added sender tag to `PmMessage` (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<*>.attachWindowLifecycle` for desktop. +- Added `DialogNavigator`. +- Added `SingleStatePresentationModel`. +- Used `Dispatchers.Main.immediate` for PM scopes now. +- Added `PmStateHandler.setSaved`. +- Fixed compatibility with java 1.8. + # 1.0.0-alpha.12 / 15.01.2024 - Removed `PmDescription` and `PmParams`. Instead, use `PmArgs` to pass serializable arguments to the `PresentationModel`. - Added `NoPmStateSaver` and `NoPmStateSaverFactory`. diff --git a/plugins/src/main/kotlin/me/dmdev/premo/Premo.kt b/plugins/src/main/kotlin/me/dmdev/premo/Premo.kt index 45d93fe..75bee0b 100644 --- a/plugins/src/main/kotlin/me/dmdev/premo/Premo.kt +++ b/plugins/src/main/kotlin/me/dmdev/premo/Premo.kt @@ -27,7 +27,7 @@ package me.dmdev.premo object Premo { const val groupId = "me.dmdev.premo" - const val version = "1.0.0-alpha.12" + const val version = "1.0.0-alpha.13" const val description = "Premo helps to implement the presentation layer and share it on Android, iOS, Desktop and Web." const val url = "https://github.com/dmdevgo/Premo"