From 0162ce4cccea88dcdd9001ed5126ece5e6e3ecf0 Mon Sep 17 00:00:00 2001 From: AJ Alt Date: Thu, 19 Dec 2019 18:34:24 -0800 Subject: [PATCH] Release version 1.3.0 --- CHANGELOG.md | 6 ++++++ README.md | 4 ++-- gradle.properties | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 367cf1c2..d6c0a070 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog ## [Unreleased] + +## [1.3.0] - 2019-12-19 ### Added - All colors now have an `alpha` channel, defaulting to 1 (fully opaque). For colorspaces that support transparency, you can pass an alpha value into their constructors. - `ColorMath.parseCssColor()` can parse all valid HTML/CSS colors, including rgb, hsl, and named colors. @@ -8,3 +10,7 @@ ### Changed - Switch rounding methods to use `kotlin.math` rounding, which can slightly change conversion results in some cases. + +## [1.2.0] - 2018-08-19 +### Added +- Add ability to construct RGB instances from packed integers or Bytes diff --git a/README.md b/README.md index 829e2af8..099ef42a 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ HSL(270, 60, 70) ## API Documentation -API docs are [hosted on JitPack](https://jitpack.io/com/github/ajalt/colormath/1.2.0/javadoc/). +API docs are [hosted on JitPack](https://jitpack.io/com/github/ajalt/colormath/1.3.0/javadoc/). ## Installation @@ -71,7 +71,7 @@ Colormath is distributed through Maven Central, ```groovy dependencies { - compile 'com.github.ajalt:colormath:1.2.0' + compile 'com.github.ajalt:colormath:1.3.0' } ``` diff --git a/gradle.properties b/gradle.properties index 27ccd223..68349ee2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ GROUP=com.github.ajalt -VERSION_NAME=1.2.0 +VERSION_NAME=1.3.0