From b8fa4bef06e507bf4c40aa233ebf29f40df84f62 Mon Sep 17 00:00:00 2001 From: SYtor Date: Mon, 27 May 2024 15:21:36 +0300 Subject: [PATCH] Update app data database version to 10, app version to 2.0.5 --- buildSrc/src/main/kotlin/AppVersion.kt | 4 ++-- .../src/main/kotlin/PrepareKanjiDojoAssetsTask.kt | 4 ++-- .../kanji/presentation/screen/VersionChangeDialog.kt | 11 +++++++++++ fastlane/metadata/android/en-US/changelog/2050.txt | 5 +++++ 4 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelog/2050.txt diff --git a/buildSrc/src/main/kotlin/AppVersion.kt b/buildSrc/src/main/kotlin/AppVersion.kt index a3d229eb..48e9c420 100644 --- a/buildSrc/src/main/kotlin/AppVersion.kt +++ b/buildSrc/src/main/kotlin/AppVersion.kt @@ -1,8 +1,8 @@ object AppVersion { - const val versionCode = 2040 + const val versionCode = 2050 - const val versionName = "2.0.4" + const val versionName = "2.0.5" // Requires 3 numbers const val desktopAppVersion = versionName diff --git a/buildSrc/src/main/kotlin/PrepareKanjiDojoAssetsTask.kt b/buildSrc/src/main/kotlin/PrepareKanjiDojoAssetsTask.kt index ae11efb4..2d83c4c8 100644 --- a/buildSrc/src/main/kotlin/PrepareKanjiDojoAssetsTask.kt +++ b/buildSrc/src/main/kotlin/PrepareKanjiDojoAssetsTask.kt @@ -16,7 +16,7 @@ data class KanjiDojoAssetLocation( open class PrepareKanjiDojoAssetsTask : DefaultTask() { companion object { - const val AppDataDatabaseVersion = 9 + const val AppDataDatabaseVersion = 10 const val AppDataAssetFileName = "kanji-dojo-data-base-v$AppDataDatabaseVersion.sql" const val KanaVoice1AndroidFileName = "ja-JP-Neural2-B.opus" const val KanaVoice1JvmFileName = "ja-JP-Neural2-B.wav" @@ -26,7 +26,7 @@ open class PrepareKanjiDojoAssetsTask : DefaultTask() { expectedAssets = listOf( Asset( fileName = AppDataAssetFileName, - url = "https://github.com/syt0r/Kanji-Dojo-Data/releases/download/v9.0/kanji-dojo-data-base-v9.sql" + url = "https://github.com/syt0r/Kanji-Dojo-Data/releases/download/v10.0/kanji-dojo-data-base-v10.sql" ) ) ) diff --git a/core/src/commonMain/kotlin/ua/syt0r/kanji/presentation/screen/VersionChangeDialog.kt b/core/src/commonMain/kotlin/ua/syt0r/kanji/presentation/screen/VersionChangeDialog.kt index e69d651b..f7f9fb5b 100644 --- a/core/src/commonMain/kotlin/ua/syt0r/kanji/presentation/screen/VersionChangeDialog.kt +++ b/core/src/commonMain/kotlin/ua/syt0r/kanji/presentation/screen/VersionChangeDialog.kt @@ -42,6 +42,17 @@ fun VersionChangeDialog( LazyColumn( modifier = Modifier.weight(1f).fillMaxWidth() ) { + version("2.0.5", LocalDate(2024, 5, 28)) { + append( + """ + - Added vocab practice, only predefined decks and reading picker mode for now + - Clickable radicals on kanji details screen + - Small updated to expressions ranking and reading priorities + - Fix kana sound autoplay not saved on reading practice + - Fix crash when pressing buttons on writing practice screen during animation + """.trimIndent() + ) + } version("2.0.4", LocalDate(2024, 5, 3)) { append( """ diff --git a/fastlane/metadata/android/en-US/changelog/2050.txt b/fastlane/metadata/android/en-US/changelog/2050.txt new file mode 100644 index 00000000..b8fae220 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelog/2050.txt @@ -0,0 +1,5 @@ +- Added vocab practice, only predefined decks and reading picker mode for now +- Clickable radicals on kanji details screen +- Small updated to expressions ranking and reading priorities +- Fix kana sound autoplay not saved on reading practice +- Fix crash when pressing buttons on writing practice screen during animation \ No newline at end of file