diff --git a/CHANGELOG.md b/CHANGELOG.md index 49d5aaa4..970710f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ All notable changes to this project will be documented in this file. +### 3.11.0 — 2026-12-03 + +The library builds against Compose Multiplatform 1.13.0 and stable Material 3. No API change. + +- Changed: Compose Multiplatform 1.12.0 → 1.13.0 and Material 3 1.12.0-alpha03 → 1.13.0. Consuming projects need + Compose Multiplatform 1.13.0 or newer. +- Changed: Android projects need `compileSdk` 37.1, which Compose Multiplatform 1.13.0 requires: + `compileSdk { version = release(37) { minorApiLevel = 1 } }`. + +Compare: [v3.10.1...v3.11.0](https://github.com/White-Wind-LLC/table/compare/v3.10.1...v3.11.0) + ### 3.10.1 — 2026-12-02 A sorted table no longer crashes an Android app when its screen goes into the back stack. diff --git a/README.md b/README.md index 0e43e7cf..4bdbe94d 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,10 @@ Add the modules you need from Maven Central: ```kotlin dependencies { - implementation("ua.wwind.table-kmp:table-core:3.10.1") + implementation("ua.wwind.table-kmp:table-core:3.11.0") // optional - implementation("ua.wwind.table-kmp:table-format:3.10.1") - implementation("ua.wwind.table-kmp:table-paging:3.10.1") + implementation("ua.wwind.table-kmp:table-format:3.11.0") + implementation("ua.wwind.table-kmp:table-paging:3.11.0") } ``` diff --git a/build-logic/src/main/kotlin/ua/wwind/convention/kmp/android-app.gradle.kts b/build-logic/src/main/kotlin/ua/wwind/convention/kmp/android-app.gradle.kts index 96b9c4c0..ff7d0c7d 100644 --- a/build-logic/src/main/kotlin/ua/wwind/convention/kmp/android-app.gradle.kts +++ b/build-logic/src/main/kotlin/ua/wwind/convention/kmp/android-app.gradle.kts @@ -18,12 +18,23 @@ val androidApplicationId: String = providers.gradleProperty("androidApplicationI android { // SDK versions from version catalog - compileSdk = - libs - .findVersion("android-compileSdk") - .get() - .requiredVersion - .toInt() + compileSdk { + version = + release( + libs + .findVersion("android-compileSdk") + .get() + .requiredVersion + .toInt(), + ) { + minorApiLevel = + libs + .findVersion("android-compileSdkMinor") + .get() + .requiredVersion + .toInt() + } + } // Namespace derived or provided explicitly via -PandroidNamespace or -PbaseNamespace val androidNamespace: String = diff --git a/build-logic/src/main/kotlin/ua/wwind/convention/kmp/target/android.gradle.kts b/build-logic/src/main/kotlin/ua/wwind/convention/kmp/target/android.gradle.kts index a2382e7e..7ff68dde 100644 --- a/build-logic/src/main/kotlin/ua/wwind/convention/kmp/target/android.gradle.kts +++ b/build-logic/src/main/kotlin/ua/wwind/convention/kmp/target/android.gradle.kts @@ -19,12 +19,23 @@ kotlin { basePropertyName = "baseNamespace", subjectLabel = "Android namespace", ) - compileSdk = - libs - .findVersion("android-compileSdk") - .get() - .requiredVersion - .toInt() + compileSdk { + version = + release( + libs + .findVersion("android-compileSdk") + .get() + .requiredVersion + .toInt(), + ) { + minorApiLevel = + libs + .findVersion("android-compileSdkMinor") + .get() + .requiredVersion + .toInt() + } + } minSdk = libs .findVersion("android-minSdk") diff --git a/docs/content/getting-started/compatibility.md b/docs/content/getting-started/compatibility.md index de787dde..30df5ce9 100644 --- a/docs/content/getting-started/compatibility.md +++ b/docs/content/getting-started/compatibility.md @@ -4,6 +4,7 @@ The following table lists compatibility information for released library version | Version | Kotlin | Compose Multiplatform | |---------|-------:|----------------------:| +| 3.11.0 | 2.4.20 | 1.13.0 | | 3.10.1 | 2.4.20 | 1.12.0 | | 3.10.0 | 2.4.20 | 1.12.0 | | 3.9.0 | 2.4.20 | 1.12.0 | diff --git a/docs/content/getting-started/installation.md b/docs/content/getting-started/installation.md index 39b2b2b1..d5711d68 100644 --- a/docs/content/getting-started/installation.md +++ b/docs/content/getting-started/installation.md @@ -4,10 +4,10 @@ Add repository (usually `mavenCentral`) and include the modules you need: ```kotlin dependencies { - implementation("ua.wwind.table-kmp:table-core:3.10.1") + implementation("ua.wwind.table-kmp:table-core:3.11.0") // optional - implementation("ua.wwind.table-kmp:table-format:3.10.1") - implementation("ua.wwind.table-kmp:table-paging:3.10.1") + implementation("ua.wwind.table-kmp:table-format:3.11.0") + implementation("ua.wwind.table-kmp:table-paging:3.11.0") } ``` diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index e8644f7e..85cfa8e1 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,19 +1,20 @@ [versions] # --- Project metadata --- -version-name = "3.10.1" -version-date = "02.12.2026" -android-version-code = "65" +version-name = "3.11.0" +version-date = "03.12.2026" +android-version-code = "66" # --- Android SDK & AGP --- android-compileSdk = "37" +android-compileSdkMinor = "1" android-minSdk = "24" android-targetSdk = "37" agp = "9.4.1" # --- Kotlin Toolchain & Compose --- kotlin = "2.4.20" -compose-multiplatform = "1.12.0" -compose-material3 = "1.12.0-alpha03" +compose-multiplatform = "1.13.0" +compose-material3 = "1.13.0" # --- Core AndroidX --- androidx-core = "1.19.0" diff --git a/table-core/src/commonMain/kotlin/ua/wwind/table/filter/component/FilterDropdownAnyField.kt b/table-core/src/commonMain/kotlin/ua/wwind/table/filter/component/FilterDropdownAnyField.kt index 07a48f9f..7ac2e7a6 100644 --- a/table-core/src/commonMain/kotlin/ua/wwind/table/filter/component/FilterDropdownAnyField.kt +++ b/table-core/src/commonMain/kotlin/ua/wwind/table/filter/component/FilterDropdownAnyField.kt @@ -8,6 +8,7 @@ import androidx.compose.foundation.layout.padding import androidx.compose.material3.Checkbox import androidx.compose.material3.DropdownMenuItem import androidx.compose.material3.ExperimentalMaterial3Api +import androidx.compose.material3.ExposedDropdownMenu import androidx.compose.material3.ExposedDropdownMenuAnchorType import androidx.compose.material3.ExposedDropdownMenuBox import androidx.compose.material3.MaterialTheme diff --git a/table-core/src/commonMain/kotlin/ua/wwind/table/filter/component/FilterDropdownField.kt b/table-core/src/commonMain/kotlin/ua/wwind/table/filter/component/FilterDropdownField.kt index a8b82ed0..c56445dc 100644 --- a/table-core/src/commonMain/kotlin/ua/wwind/table/filter/component/FilterDropdownField.kt +++ b/table-core/src/commonMain/kotlin/ua/wwind/table/filter/component/FilterDropdownField.kt @@ -5,6 +5,7 @@ import androidx.compose.foundation.layout.Row import androidx.compose.material3.Checkbox import androidx.compose.material3.DropdownMenuItem import androidx.compose.material3.ExperimentalMaterial3Api +import androidx.compose.material3.ExposedDropdownMenu import androidx.compose.material3.ExposedDropdownMenuAnchorType import androidx.compose.material3.ExposedDropdownMenuBox import androidx.compose.material3.Text diff --git a/table-format/src/commonMain/kotlin/ua/wwind/table/format/component/FormatDropdownField.kt b/table-format/src/commonMain/kotlin/ua/wwind/table/format/component/FormatDropdownField.kt index d2a111ee..b0322771 100644 --- a/table-format/src/commonMain/kotlin/ua/wwind/table/format/component/FormatDropdownField.kt +++ b/table-format/src/commonMain/kotlin/ua/wwind/table/format/component/FormatDropdownField.kt @@ -12,6 +12,7 @@ import androidx.compose.foundation.verticalScroll import androidx.compose.material3.Checkbox import androidx.compose.material3.DropdownMenuItem import androidx.compose.material3.ExperimentalMaterial3Api +import androidx.compose.material3.ExposedDropdownMenu import androidx.compose.material3.ExposedDropdownMenuBox import androidx.compose.material3.Icon import androidx.compose.material3.IconButton diff --git a/table-sample/src/commonMain/kotlin/ua/wwind/table/sample/column/TableColumns.kt b/table-sample/src/commonMain/kotlin/ua/wwind/table/sample/column/TableColumns.kt index 6cfdac9a..ee07e7ee 100644 --- a/table-sample/src/commonMain/kotlin/ua/wwind/table/sample/column/TableColumns.kt +++ b/table-sample/src/commonMain/kotlin/ua/wwind/table/sample/column/TableColumns.kt @@ -11,6 +11,7 @@ import androidx.compose.foundation.text.KeyboardOptions import androidx.compose.material3.Checkbox import androidx.compose.material3.DropdownMenuItem import androidx.compose.material3.ExperimentalMaterial3Api +import androidx.compose.material3.ExposedDropdownMenu import androidx.compose.material3.ExposedDropdownMenuAnchorType import androidx.compose.material3.ExposedDropdownMenuBox import androidx.compose.material3.ExposedDropdownMenuDefaults