From 278584ae6a97bf8f44f302a19303eadb01b174e1 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 13 Apr 2021 12:10:55 +0600 Subject: [PATCH 1/3] start 0.4.34 --- CHANGELOG.md | 2 ++ gradle.properties | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f39632956be..ce0bafa0975 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +## 0.4.34 + ## 0.4.33 * `Versions`: diff --git a/gradle.properties b/gradle.properties index a99d8f64d50..1cb22800aa6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -44,5 +44,5 @@ dokka_version=1.4.30 # Project data group=dev.inmo -version=0.4.33 -android_code_version=37 +version=0.4.34 +android_code_version=38 From 6ac4149aa1c704ce391b9d16d5f9acecec266192 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 13 Apr 2021 12:20:24 +0600 Subject: [PATCH 2/3] fixes in crud repos --- CHANGELOG.md | 4 ++++ .../micro_utils/repos/crud/AbstractMutableAndroidCRUDRepo.kt | 3 ++- .../micro_utils/repos/exposed/AbstractExposedCRUDRepo.kt | 5 ++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce0bafa0975..9683d29a5c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 0.4.34 +* `Repos`: + * `AbstractExposedCRUDRepo` now implements `StandardCRUDRepo` + * `AbstractMutableAndroidCRUDRepo` now implements `StandardCRUDRepo` + ## 0.4.33 * `Versions`: diff --git a/repos/common/src/main/kotlin/dev/inmo/micro_utils/repos/crud/AbstractMutableAndroidCRUDRepo.kt b/repos/common/src/main/kotlin/dev/inmo/micro_utils/repos/crud/AbstractMutableAndroidCRUDRepo.kt index b433ecf9da5..ba5861aaad6 100644 --- a/repos/common/src/main/kotlin/dev/inmo/micro_utils/repos/crud/AbstractMutableAndroidCRUDRepo.kt +++ b/repos/common/src/main/kotlin/dev/inmo/micro_utils/repos/crud/AbstractMutableAndroidCRUDRepo.kt @@ -8,7 +8,8 @@ import kotlinx.coroutines.flow.* abstract class AbstractMutableAndroidCRUDRepo( helper: StandardSQLHelper ) : WriteStandardCRUDRepo, - AbstractAndroidCRUDRepo(helper) { + AbstractAndroidCRUDRepo(helper), + StandardCRUDRepo { protected val newObjectsChannel = MutableSharedFlow(64) protected val updateObjectsChannel = MutableSharedFlow(64) protected val deleteObjectsIdsChannel = MutableSharedFlow(64) diff --git a/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/AbstractExposedCRUDRepo.kt b/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/AbstractExposedCRUDRepo.kt index a48d95d7199..636a645fd0c 100644 --- a/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/AbstractExposedCRUDRepo.kt +++ b/repos/exposed/src/jvmMain/kotlin/dev/inmo/micro_utils/repos/exposed/AbstractExposedCRUDRepo.kt @@ -1,5 +1,7 @@ package dev.inmo.micro_utils.repos.exposed +import dev.inmo.micro_utils.repos.StandardCRUDRepo + abstract class AbstractExposedCRUDRepo( flowsChannelsSize: Int = 0, tableName: String = "" @@ -8,4 +10,5 @@ abstract class AbstractExposedCRUDRepo( flowsChannelsSize, tableName ), - ExposedCRUDRepo + ExposedCRUDRepo, + StandardCRUDRepo From 837758aebefb8e7aca42e95b8c7c3f83b503f7f2 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 13 Apr 2021 12:22:04 +0600 Subject: [PATCH 3/3] update uuid --- CHANGELOG.md | 2 ++ gradle.properties | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9683d29a5c7..dd291332caf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 0.4.34 +* `Versions`: + * `uuid`: `0.2.3` -> `0.2.4` * `Repos`: * `AbstractExposedCRUDRepo` now implements `StandardCRUDRepo` * `AbstractMutableAndroidCRUDRepo` now implements `StandardCRUDRepo` diff --git a/gradle.properties b/gradle.properties index 1cb22800aa6..63ac75bd490 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,7 +17,7 @@ klockVersion=2.0.7 github_release_plugin_version=2.2.12 -uuidVersion=0.2.3 +uuidVersion=0.2.4 # ANDROID