Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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)

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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`.

Expand Down
4 changes: 1 addition & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading