Skip to content

Commit

Permalink
Release version 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed Apr 17, 2024
1 parent 0b478a8 commit 4a0cc97
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## Unreleased

## 3.5.0
### Added
- Publish artifacts for the `JS` and `wasmJs` targets for the jetpack-compose extensions.
- Added support to `formatCssString` and `Color.parse` for color spaces added in recent updates to the CSS color spec: `oklab`, `oklch`, `srgb-linear`, `xyz-d50` and `xyz-d65`.
Expand Down
17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,24 @@ println(lab50.formatCssString())

The full documentation can be found on [the website](https://ajalt.github.io/colormath).

There are also some online examples:

- [Color space converter](https://ajalt.github.io/colormath/converter/)
- [Gradient generator](https://ajalt.github.io/colormath/gradient/)
You can also [try it online](https://ajalt.github.io/colormath/tryit/)

## Installation

Colormath is distributed through [Maven Central](https://search.maven.org/artifact/com.github.ajalt.colormath/colormath/).

```groovy
dependencies {
implementation("com.github.ajalt.colormath:colormath:3.4.0")
implementation("com.github.ajalt.colormath:colormath:3.5.0")
// optional extensions for interop with other platforms
//
// android.graphics.Color
implementation("com.github.ajalt.colormath:colormath-ext-android-color:3.4.0")
implementation("com.github.ajalt.colormath:colormath-ext-android-color:3.5.0")
// androidx.annotation.ColorInt
implementation("com.github.ajalt.colormath:colormath-ext-android-colorint:3.4.0")
implementation("com.github.ajalt.colormath:colormath-ext-android-colorint:3.5.0")
// androidx.compose.ui.graphics.Color
implementation("com.github.ajalt.colormath:colormath-ext-jetpack-compose:3.4.0")
implementation("com.github.ajalt.colormath:colormath-ext-jetpack-compose:3.5.0")
}
```

Expand All @@ -71,9 +68,7 @@ dependencies {

Colormath publishes artifacts for all
[Tier 1 and Tier 2](https://kotlinlang.org/docs/native-target-support.html)
targets, as well as `mingwX64` and `wasm`.

`wasm` and the `arm64` targets are not tested on CI.
targets, as well as `mingwX64` and `wasmJs`.

#### Snapshots

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=3.4.0
VERSION_NAME=3.5.0
kotlin.mpp.stability.nowarn=true
android.useAndroidX=true

Expand Down

0 comments on commit 4a0cc97

Please sign in to comment.