From 8638d7afcef53081a65a601f542fa752e08e9cb5 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 16 Feb 2024 18:50:35 +0600 Subject: [PATCH 1/3] start 0.20.35 --- CHANGELOG.md | 2 ++ gradle.properties | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e22adc6e720..ed0383408d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +## 0.20.35 + ## 0.20.34 * `Repos`: diff --git a/gradle.properties b/gradle.properties index c57242f2d36..1de0e004732 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,5 +15,5 @@ crypto_js_version=4.1.1 # Project data group=dev.inmo -version=0.20.34 -android_code_version=240 +version=0.20.35 +android_code_version=241 From f9dfd09628472fb2812523f7b3d87d992bb4d69f Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 16 Feb 2024 19:01:46 +0600 Subject: [PATCH 2/3] update dependencies --- CHANGELOG.md | 4 ++ .../api/micro_utils.android.alerts.common.api | 22 ++++++++ .../micro_utils.android.smalltextfield.api | 4 ++ gradle/libs.versions.toml | 4 +- koin/api/android/micro_utils.koin.api | 51 +++++++++++++++++++ 5 files changed, 83 insertions(+), 2 deletions(-) create mode 100644 android/alerts/common/api/micro_utils.android.alerts.common.api create mode 100644 android/smalltextfield/api/android/micro_utils.android.smalltextfield.api create mode 100644 koin/api/android/micro_utils.koin.api diff --git a/CHANGELOG.md b/CHANGELOG.md index ed0383408d7..54a7e09baf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 0.20.35 +* `Versions`: + * `Coroutines`: `1.7.3` -> `1.8.0` + * `Material3`: `1.1.2` -> `1.2.0` + ## 0.20.34 * `Repos`: diff --git a/android/alerts/common/api/micro_utils.android.alerts.common.api b/android/alerts/common/api/micro_utils.android.alerts.common.api new file mode 100644 index 00000000000..c1619c9164a --- /dev/null +++ b/android/alerts/common/api/micro_utils.android.alerts.common.api @@ -0,0 +1,22 @@ +public final class dev/inmo/micro_utils/android/alerts/common/AlertDialogKt { + public static final fun createAlertDialogTemplate (Landroid/content/Context;Ljava/lang/String;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;)Landroid/app/AlertDialog$Builder; + public static synthetic fun createAlertDialogTemplate$default (Landroid/content/Context;Ljava/lang/String;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ILjava/lang/Object;)Landroid/app/AlertDialog$Builder; + public static final fun createAlertDialogTemplateWithResources (Landroid/content/Context;Ljava/lang/Integer;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;)Landroid/app/AlertDialog$Builder; + public static synthetic fun createAlertDialogTemplateWithResources$default (Landroid/content/Context;Ljava/lang/Integer;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ILjava/lang/Object;)Landroid/app/AlertDialog$Builder; + public static final fun setDismissChecker (Landroid/app/AlertDialog;Lkotlin/jvm/functions/Function0;)Landroid/app/AlertDialog; +} + +public final class dev/inmo/micro_utils/android/alerts/common/CustomAlertDialogKt { + public static final fun createCustomViewAlertDialog (Landroid/content/Context;Ljava/lang/String;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ZLkotlin/jvm/functions/Function1;)Landroid/app/AlertDialog; + public static synthetic fun createCustomViewAlertDialog$default (Landroid/content/Context;Ljava/lang/String;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Landroid/app/AlertDialog; + public static final fun createCustomViewAlertDialogWithResources (Landroid/content/Context;Ljava/lang/Integer;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ZLkotlin/jvm/functions/Function1;)Landroid/app/AlertDialog; + public static synthetic fun createCustomViewAlertDialogWithResources$default (Landroid/content/Context;Ljava/lang/Integer;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Landroid/app/AlertDialog; +} + +public final class dev/inmo/micro_utils/android/alerts/common/SimpleTextAlertKt { + public static final fun createSimpleTextAlertDialog (Landroid/content/Context;ILjava/lang/Integer;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;Z)Landroid/app/AlertDialog; + public static final fun createSimpleTextAlertDialog (Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;Z)Landroid/app/AlertDialog; + public static synthetic fun createSimpleTextAlertDialog$default (Landroid/content/Context;ILjava/lang/Integer;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ZILjava/lang/Object;)Landroid/app/AlertDialog; + public static synthetic fun createSimpleTextAlertDialog$default (Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ZILjava/lang/Object;)Landroid/app/AlertDialog; +} + diff --git a/android/smalltextfield/api/android/micro_utils.android.smalltextfield.api b/android/smalltextfield/api/android/micro_utils.android.smalltextfield.api new file mode 100644 index 00000000000..20ccd950b11 --- /dev/null +++ b/android/smalltextfield/api/android/micro_utils.android.smalltextfield.api @@ -0,0 +1,4 @@ +public final class dev/inmo/micro_utils/android/smalltextfield/SmallTextFieldKt { + public static final fun SmallTextField-pd-hi0k (Ljava/lang/String;Lkotlin/jvm/functions/Function1;Landroidx/compose/ui/Modifier;ZZLandroidx/compose/ui/text/TextStyle;JLandroidx/compose/ui/text/input/VisualTransformation;Landroidx/compose/foundation/text/KeyboardOptions;Landroidx/compose/foundation/text/KeyboardActions;ZIILandroidx/compose/foundation/interaction/MutableInteractionSource;Landroidx/compose/runtime/Composer;III)V +} + diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5818b8f5c5e..aea2c2dbccc 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,7 +2,7 @@ kt = "1.9.22" kt-serialization = "1.6.2" -kt-coroutines = "1.7.3" +kt-coroutines = "1.8.0" kslog = "1.3.2" @@ -35,7 +35,7 @@ android-appCompat = "1.6.1" android-fragment = "1.6.2" android-espresso = "3.5.1" android-test = "1.1.5" -android-compose-material3 = "1.1.2" +android-compose-material3 = "1.2.0" android-props-minSdk = "21" android-props-compileSdk = "34" diff --git a/koin/api/android/micro_utils.koin.api b/koin/api/android/micro_utils.koin.api new file mode 100644 index 00000000000..fa0f933c8cf --- /dev/null +++ b/koin/api/android/micro_utils.koin.api @@ -0,0 +1,51 @@ +public final class dev/inmo/micro_utils/koin/GetWithDefinitionKt { + public static final fun get (Lorg/koin/core/Koin;Lorg/koin/core/definition/BeanDefinition;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; + public static final fun get (Lorg/koin/core/Koin;Lorg/koin/core/definition/KoinDefinition;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; + public static final fun get (Lorg/koin/core/Koin;Lorg/koin/core/instance/InstanceFactory;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; + public static final fun get (Lorg/koin/core/scope/Scope;Lorg/koin/core/definition/BeanDefinition;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; + public static final fun get (Lorg/koin/core/scope/Scope;Lorg/koin/core/definition/KoinDefinition;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; + public static final fun get (Lorg/koin/core/scope/Scope;Lorg/koin/core/instance/InstanceFactory;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; + public static synthetic fun get$default (Lorg/koin/core/Koin;Lorg/koin/core/definition/BeanDefinition;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun get$default (Lorg/koin/core/Koin;Lorg/koin/core/definition/KoinDefinition;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun get$default (Lorg/koin/core/Koin;Lorg/koin/core/instance/InstanceFactory;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun get$default (Lorg/koin/core/scope/Scope;Lorg/koin/core/definition/BeanDefinition;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun get$default (Lorg/koin/core/scope/Scope;Lorg/koin/core/definition/KoinDefinition;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; + public static synthetic fun get$default (Lorg/koin/core/scope/Scope;Lorg/koin/core/instance/InstanceFactory;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; +} + +public final class dev/inmo/micro_utils/koin/LazyInjectKt { + public static final fun lazyInject (Lkotlin/jvm/functions/Function0;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; + public static final fun lazyInject (Lkotlin/reflect/KClass;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; + public static synthetic fun lazyInject$default (Lkotlin/jvm/functions/Function0;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy; + public static synthetic fun lazyInject$default (Lkotlin/reflect/KClass;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy; +} + +public final class dev/inmo/micro_utils/koin/RandomQualifierKt { + public static final fun RandomQualifier (Lkotlin/jvm/functions/Function0;)Lorg/koin/core/qualifier/StringQualifier; + public static synthetic fun RandomQualifier$default (Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lorg/koin/core/qualifier/StringQualifier; +} + +public abstract interface annotation class dev/inmo/micro_utils/koin/annotations/GenerateGenericKoinDefinition : java/lang/annotation/Annotation { + public abstract fun generateFactory ()Z + public abstract fun generateSingle ()Z + public abstract fun name ()Ljava/lang/String; + public abstract fun nullable ()Z +} + +public abstract interface annotation class dev/inmo/micro_utils/koin/annotations/GenerateGenericKoinDefinition$Container : java/lang/annotation/Annotation { + public abstract fun value ()[Ldev/inmo/micro_utils/koin/annotations/GenerateGenericKoinDefinition; +} + +public abstract interface annotation class dev/inmo/micro_utils/koin/annotations/GenerateKoinDefinition : java/lang/annotation/Annotation { + public abstract fun generateFactory ()Z + public abstract fun generateSingle ()Z + public abstract fun name ()Ljava/lang/String; + public abstract fun nullable ()Z + public abstract fun type ()Ljava/lang/Class; + public abstract fun typeArgs ()[Ljava/lang/Class; +} + +public abstract interface annotation class dev/inmo/micro_utils/koin/annotations/GenerateKoinDefinition$Container : java/lang/annotation/Annotation { + public abstract fun value ()[Ldev/inmo/micro_utils/koin/annotations/GenerateKoinDefinition; +} + From 0a4465de3339ccfbd749647ff1c7418bc1e8b810 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 16 Feb 2024 19:09:55 +0600 Subject: [PATCH 3/3] remove API dumps --- .../api/micro_utils.android.alerts.common.api | 22 -------- .../micro_utils.android.smalltextfield.api | 4 -- koin/api/android/micro_utils.koin.api | 51 ------------------- 3 files changed, 77 deletions(-) delete mode 100644 android/alerts/common/api/micro_utils.android.alerts.common.api delete mode 100644 android/smalltextfield/api/android/micro_utils.android.smalltextfield.api delete mode 100644 koin/api/android/micro_utils.koin.api diff --git a/android/alerts/common/api/micro_utils.android.alerts.common.api b/android/alerts/common/api/micro_utils.android.alerts.common.api deleted file mode 100644 index c1619c9164a..00000000000 --- a/android/alerts/common/api/micro_utils.android.alerts.common.api +++ /dev/null @@ -1,22 +0,0 @@ -public final class dev/inmo/micro_utils/android/alerts/common/AlertDialogKt { - public static final fun createAlertDialogTemplate (Landroid/content/Context;Ljava/lang/String;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;)Landroid/app/AlertDialog$Builder; - public static synthetic fun createAlertDialogTemplate$default (Landroid/content/Context;Ljava/lang/String;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ILjava/lang/Object;)Landroid/app/AlertDialog$Builder; - public static final fun createAlertDialogTemplateWithResources (Landroid/content/Context;Ljava/lang/Integer;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;)Landroid/app/AlertDialog$Builder; - public static synthetic fun createAlertDialogTemplateWithResources$default (Landroid/content/Context;Ljava/lang/Integer;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ILjava/lang/Object;)Landroid/app/AlertDialog$Builder; - public static final fun setDismissChecker (Landroid/app/AlertDialog;Lkotlin/jvm/functions/Function0;)Landroid/app/AlertDialog; -} - -public final class dev/inmo/micro_utils/android/alerts/common/CustomAlertDialogKt { - public static final fun createCustomViewAlertDialog (Landroid/content/Context;Ljava/lang/String;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ZLkotlin/jvm/functions/Function1;)Landroid/app/AlertDialog; - public static synthetic fun createCustomViewAlertDialog$default (Landroid/content/Context;Ljava/lang/String;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Landroid/app/AlertDialog; - public static final fun createCustomViewAlertDialogWithResources (Landroid/content/Context;Ljava/lang/Integer;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ZLkotlin/jvm/functions/Function1;)Landroid/app/AlertDialog; - public static synthetic fun createCustomViewAlertDialogWithResources$default (Landroid/content/Context;Ljava/lang/Integer;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Landroid/app/AlertDialog; -} - -public final class dev/inmo/micro_utils/android/alerts/common/SimpleTextAlertKt { - public static final fun createSimpleTextAlertDialog (Landroid/content/Context;ILjava/lang/Integer;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;Z)Landroid/app/AlertDialog; - public static final fun createSimpleTextAlertDialog (Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;Z)Landroid/app/AlertDialog; - public static synthetic fun createSimpleTextAlertDialog$default (Landroid/content/Context;ILjava/lang/Integer;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ZILjava/lang/Object;)Landroid/app/AlertDialog; - public static synthetic fun createSimpleTextAlertDialog$default (Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lkotlin/Pair;Lkotlin/Pair;Lkotlin/Pair;ZILjava/lang/Object;)Landroid/app/AlertDialog; -} - diff --git a/android/smalltextfield/api/android/micro_utils.android.smalltextfield.api b/android/smalltextfield/api/android/micro_utils.android.smalltextfield.api deleted file mode 100644 index 20ccd950b11..00000000000 --- a/android/smalltextfield/api/android/micro_utils.android.smalltextfield.api +++ /dev/null @@ -1,4 +0,0 @@ -public final class dev/inmo/micro_utils/android/smalltextfield/SmallTextFieldKt { - public static final fun SmallTextField-pd-hi0k (Ljava/lang/String;Lkotlin/jvm/functions/Function1;Landroidx/compose/ui/Modifier;ZZLandroidx/compose/ui/text/TextStyle;JLandroidx/compose/ui/text/input/VisualTransformation;Landroidx/compose/foundation/text/KeyboardOptions;Landroidx/compose/foundation/text/KeyboardActions;ZIILandroidx/compose/foundation/interaction/MutableInteractionSource;Landroidx/compose/runtime/Composer;III)V -} - diff --git a/koin/api/android/micro_utils.koin.api b/koin/api/android/micro_utils.koin.api deleted file mode 100644 index fa0f933c8cf..00000000000 --- a/koin/api/android/micro_utils.koin.api +++ /dev/null @@ -1,51 +0,0 @@ -public final class dev/inmo/micro_utils/koin/GetWithDefinitionKt { - public static final fun get (Lorg/koin/core/Koin;Lorg/koin/core/definition/BeanDefinition;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; - public static final fun get (Lorg/koin/core/Koin;Lorg/koin/core/definition/KoinDefinition;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; - public static final fun get (Lorg/koin/core/Koin;Lorg/koin/core/instance/InstanceFactory;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; - public static final fun get (Lorg/koin/core/scope/Scope;Lorg/koin/core/definition/BeanDefinition;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; - public static final fun get (Lorg/koin/core/scope/Scope;Lorg/koin/core/definition/KoinDefinition;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; - public static final fun get (Lorg/koin/core/scope/Scope;Lorg/koin/core/instance/InstanceFactory;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; - public static synthetic fun get$default (Lorg/koin/core/Koin;Lorg/koin/core/definition/BeanDefinition;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun get$default (Lorg/koin/core/Koin;Lorg/koin/core/definition/KoinDefinition;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun get$default (Lorg/koin/core/Koin;Lorg/koin/core/instance/InstanceFactory;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun get$default (Lorg/koin/core/scope/Scope;Lorg/koin/core/definition/BeanDefinition;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun get$default (Lorg/koin/core/scope/Scope;Lorg/koin/core/definition/KoinDefinition;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; - public static synthetic fun get$default (Lorg/koin/core/scope/Scope;Lorg/koin/core/instance/InstanceFactory;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; -} - -public final class dev/inmo/micro_utils/koin/LazyInjectKt { - public static final fun lazyInject (Lkotlin/jvm/functions/Function0;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; - public static final fun lazyInject (Lkotlin/reflect/KClass;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy; - public static synthetic fun lazyInject$default (Lkotlin/jvm/functions/Function0;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy; - public static synthetic fun lazyInject$default (Lkotlin/reflect/KClass;Lorg/koin/core/qualifier/Qualifier;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lkotlin/Lazy; -} - -public final class dev/inmo/micro_utils/koin/RandomQualifierKt { - public static final fun RandomQualifier (Lkotlin/jvm/functions/Function0;)Lorg/koin/core/qualifier/StringQualifier; - public static synthetic fun RandomQualifier$default (Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Lorg/koin/core/qualifier/StringQualifier; -} - -public abstract interface annotation class dev/inmo/micro_utils/koin/annotations/GenerateGenericKoinDefinition : java/lang/annotation/Annotation { - public abstract fun generateFactory ()Z - public abstract fun generateSingle ()Z - public abstract fun name ()Ljava/lang/String; - public abstract fun nullable ()Z -} - -public abstract interface annotation class dev/inmo/micro_utils/koin/annotations/GenerateGenericKoinDefinition$Container : java/lang/annotation/Annotation { - public abstract fun value ()[Ldev/inmo/micro_utils/koin/annotations/GenerateGenericKoinDefinition; -} - -public abstract interface annotation class dev/inmo/micro_utils/koin/annotations/GenerateKoinDefinition : java/lang/annotation/Annotation { - public abstract fun generateFactory ()Z - public abstract fun generateSingle ()Z - public abstract fun name ()Ljava/lang/String; - public abstract fun nullable ()Z - public abstract fun type ()Ljava/lang/Class; - public abstract fun typeArgs ()[Ljava/lang/Class; -} - -public abstract interface annotation class dev/inmo/micro_utils/koin/annotations/GenerateKoinDefinition$Container : java/lang/annotation/Annotation { - public abstract fun value ()[Ldev/inmo/micro_utils/koin/annotations/GenerateKoinDefinition; -} -