diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b522402..61bfe86d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 2.0.0 (unreleased) +## 2.0.0 2.0 builds the pickers on a color model of its own, following CSS Color 4, publishes them as Material 3 components over a foundation any design system can draw, and removes 1.x's color classes, sliders and planes. [Migrating from 1.x](README.md#-migrating-from-1x) maps each removed declaration to its replacement. @@ -72,7 +72,7 @@ Built with Kotlin 2.4.20 and Compose Multiplatform 1.12.1, up from 1.2.0's 2.4.1 - **`codes.side:color`:** Compose's `runtime-annotation` alone, for its stability annotations. - **`codes.side:color-compose`:** Compose UI graphics. - **`codes.side:colorpicker-foundation`:** Compose runtime, foundation and UI, and kotlinx-coroutines 1.11.0. -- **`codes.side:colorpicker-material3`:** Material 3 1.9.0, at runtime only, so it stays off an app's compile classpath. +- **`codes.side:colorpicker-material3`:** Material 3 1.9.0, as an implementation dependency, so on Android and desktop it stays off an app's compile classpath. ## 1.2.1 (never published) diff --git a/README.md b/README.md index 0c86f52d..97bcfd24 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Kotlin Multiplatform color picker library for Android, iOS, Desktop (JVM), and Web (Wasm), built with Compose Multiplatform: ready-made Material 3 pickers, and the same pickers without Material for a design system of your own. -> **This README describes 2.0, which is not released yet.** For published versions and their documentation, see [releases](https://github.com/side-codes/anyColorPicker/releases). [Migrating from 1.x](#-migrating-from-1x) maps one API onto the other. +> **This README describes 2.0.** 1.x is documented at the [v1.2.0 tag](https://github.com/side-codes/anyColorPicker/tree/v1.2.0#readme), and [Migrating from 1.x](#-migrating-from-1x) maps one API onto the other. ## ✨ Features @@ -63,8 +63,6 @@ Built with Kotlin 2.4.20, Compose Multiplatform 1.12.1 and Material 3 1.9.0. And `minSdk` 24 and is built against `compileSdk` 37; the desktop jars are Java 17 bytecode. Building the repository itself needs JDK 21. -Until 2.0.0 is published, `./gradlew publishToMavenLocal` puts `2.0.0-SNAPSHOT` in `mavenLocal()`. - The 1.x `codes.side:colorpicker` artifact cannot share a classpath with 2.x: both ship `codes.side.colorpicker.state.ColorPickerState`. diff --git a/docs/index.md b/docs/index.md index 3f619c3d..0d37e93b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,7 +4,7 @@ Kotlin Multiplatform color picker library for Android, iOS, Desktop (JVM), and Web (Wasm), built with Compose Multiplatform: ready-made Material 3 pickers, and the same pickers without Material for a design system of your own. -> **This README describes 2.0, which is not released yet.** For published versions and their documentation, see [releases](https://github.com/side-codes/anyColorPicker/releases). [Migrating from 1.x](#-migrating-from-1x) maps one API onto the other. +> **This README describes 2.0.** 1.x is documented at the [v1.2.0 tag](https://github.com/side-codes/anyColorPicker/tree/v1.2.0#readme), and [Migrating from 1.x](#-migrating-from-1x) maps one API onto the other. ## ✨ Features @@ -63,8 +63,6 @@ Built with Kotlin 2.4.20, Compose Multiplatform 1.12.1 and Material 3 1.9.0. And `minSdk` 24 and is built against `compileSdk` 37; the desktop jars are Java 17 bytecode. Building the repository itself needs JDK 21. -Until 2.0.0 is published, `./gradlew publishToMavenLocal` puts `2.0.0-SNAPSHOT` in `mavenLocal()`. - The 1.x `codes.side:colorpicker` artifact cannot share a classpath with 2.x: both ship `codes.side.colorpicker.state.ColorPickerState`. diff --git a/gradle.properties b/gradle.properties index 270172e4..82dbd9f9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,7 +10,7 @@ org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled # Published version. Single source of truth: the release workflow checks the git tag # against this and fails if they disagree, so a tag can never publish a different # version. Maven Central is immutable, which makes that mistake unrecoverable. -VERSION_NAME=2.0.0-SNAPSHOT +VERSION_NAME=2.0.0 # Required by com.android.compose.screenshot (Compose Preview Screenshot Testing). android.experimental.enableScreenshotTest=true