From ae418b5d831b499dad11edabbfdd69afffcff217 Mon Sep 17 00:00:00 2001 From: Kgothatso Ngako Date: Fri, 20 Nov 2026 14:53:56 +0200 Subject: [PATCH] build: Compose 1.12.2, material3 1.12.0-alpha03, navigation 2.10.0, coil 3.6.3, qrose 1.3.1, Hot Reload 1.3.0 (dependency-update, Phase 3) Compose 1.13.0 is still rc01, so this takes 1.12.2 and the material3 built against 1.12. The pinned material3 1.10.0-alpha05 had been built against Compose 1.9.3. coil and qrose are here because they need Compose 1.12. Adaptive stays at 1.2.0, which the new navigation suite still asks for. On Android, Google's material3 moves to 1.5.0-alpha22 underneath. Co-Authored-By: Claude Opus 5.5 --- docs/dependency-update.md | 1 + gradle/libs.versions.toml | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/dependency-update.md b/docs/dependency-update.md index 5d9d8873..e9a5f4ba 100644 --- a/docs/dependency-update.md +++ b/docs/dependency-update.md @@ -35,6 +35,7 @@ records what it turned out to be in the results table below. | 2a | built. serialization 1.13.0, kermit 2.2.0, okio 3.18.2. The graph diff is those three families and nothing else; serialization moved 1.12.0 → 1.13.0, since quartz had already lifted it past the declared 1.11.0. kermit 2.2.0 publishes one `kermit-android` where 2.1.0 had `kermit-android-debug`. `jvmTest` 1,407 run, 0 failed, once the `IdentitySwitchJvmTest` 5 s timeout seen under the first full run (the one [giza-wallet-removal.md](./giza-wallet-removal.md) Phase 3 records) passed three times alone and in a second full run | | 2b | built, as ktor 3.6.1 alone: coil went to Phase 3 (every coil 3.6.x needs Compose 1.12.0), and so did qrose (2d; 1.2.0 on is built for Compose 1.12). ktor 3.6's `ktor-serialization-kotlinx` now depends on `ktor-openapi-schema`, which brings kaml 0.79.0, snakeyaml-engine-kmp 3.1.1 and urlencoder-lib 1.6.0 onto every runtime classpath, and asks for `kotlinx-datetime:0.8.0-0.6.x-compat`, which Gradle ranks above the app's 0.8.0 and picks. The compat build is 0.8.0 plus the old `kotlinx.datetime.Instant` and `Clock`, so it is a superset, and the app compiles unchanged. It is recorded here because it is a change of artifact, not just of version. `IdentitySwitchJvmTest`'s 5 s wait failed in the first runs, and with the build cache off it fails 1 run in 4 at the Phase 1 baseline and 1 in 4 on ktor 3.6.1: a flake that predates this plan. (The cache had been replaying one failing result as if it were three.) `check` otherwise green | | 2c | built. room3 3.0.3, sqlite 2.7.1, DataStore 1.3.0, KSP 2.3.14. sqlite was already resolving 2.7.1 through room3, so only the declaration moved. Room's KSP run regenerated nothing under `composeApp/schemas`. DataStore 1.3.0 brings `androidx.tracing` 2.0.1 (from 1.2.0) and atomicfu 0.28.0 onto the Android classpath. KSP 2.3.14's notes (2.3.7–2.3.14) add language support behind an opt-in and deprecate the bare `ksp(...)` configuration in KMP, which `composeApp` already avoids with `kspAndroid`, `kspJvm` and the iOS pair. `jvmTest` 1,407 run, 0 failed; `testDebugUnitTest` 529, 0 failed; `check` green. C1's proof on real files is Phase 8.1 | +| 3 | built, on **1.12.2 with material3 1.12.0-alpha03** (D3): 1.13.0 was still `rc01` when the phase started. Also navigation-compose 2.10.0, Hot Reload 1.3.0, coil 3.6.3 and qrose 1.3.1. It compiled and passed on the first build: `jvmTest` 1,407 run, 0 failed, with `StringCatalogueJvmTest`, `ColorSchemeContrastTest` and the `readableContent()` test among them; `testDebugUnitTest` 529, 0 failed; `m3-audit` adaptive 12/12, navigation 2/2, every budget 0. `QRCodeView.kt` needed no change for qrose's moved declarations. One new deprecation in the app's code: the no-argument `rememberModalBottomSheetState()` at `HomeScreen.kt:105` ("Use rememberBottomSheetState with Hidden initial value"). It is left, like the five `LocalClipboardManager` deprecations already there, because it is UI work and not a version. One "condition is always true" warning went away. Where the plan was wrong: on Android, JetBrains' material3 is a redirect to Google's, so the Android classpath carries `androidx.compose.material3:material3` and `-adaptive-navigation-suite` **1.5.0-alpha22** (from 1.5.0-alpha08). Google's suite did not leave; it moved with the rest. `material3-window-size-class` does not arrive at runtime. Seven legacy androidx libraries (`documentfile`, `legacy-support-core-utils`, `loader`, `print`, `transition` and two more) left the Android classpath. Adaptive stays 1.2.0 on both platforms. **Not done here:** looking at the app (3.5) and scanning QR codes (2d). Both are in Phase 8 | | phase | what it is | rough size | |---|---|---| diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8f65b65e..affcfe6c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,9 +5,9 @@ android-minSdk = "26" android-targetSdk = "37" androidx-activity = "1.13.0" androidx-lifecycle = "2.11.0" -coilCompose = "3.5.0" -composeHotReload = "1.2.0" -composeMultiplatform = "1.11.1" +coilCompose = "3.6.3" +composeHotReload = "1.3.0" +composeMultiplatform = "1.12.2" # SHA, HMAC, HKDF, AES, ChaCha20, X25519, Ed25519 and RandomInstance # (vitorpamplona/crypto-kmp). It arrives transitively under quartz, mls-kmp and marmot-kmp, and is # declared because the app's source names it in 27 places: the two curves the KeyPackage fixtures @@ -36,7 +36,7 @@ marmot = { strictly = "2.3.0" } # which engine reads the group state on every device. 1.4.0 is tagged but not released # (docs/quartz-mls-marmot-update.md, Phase 0). mls = { strictly = "1.3.1" } -material3 = "1.10.0-alpha05" +material3 = "1.12.0-alpha03" # The version material3 1.10.0-alpha05 itself resolves: its # material3-adaptive-navigation-suite pom asks for adaptive 1.2.0. Picking the newer # 1.3.0-beta02 would drag window-core 1.5.0 in beside the 1.4.0 the pinned material3 @@ -45,9 +45,9 @@ material3 = "1.10.0-alpha05" material3Adaptive = "1.2.0" materialIconsCore = "1.7.3" materialIconsExtended = "1.7.3" -navigationCompose = "2.9.2" +navigationCompose = "2.10.0" okio = "3.18.2" -qrose = "1.1.2" +qrose = "1.3.1" # One patch past the 2.20.0 marmot 2.3.0 was compiled and tested against. A quartz that moved # an API marmot-kmp calls gives a NoSuchMethodError at run time rather than a compile error, so # each step past marmot's pin is its own change with its own evidence: 2.20.1 changes only two