Skip to content

Commit

Permalink
Release version 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed Dec 20, 2019
1 parent 675c577 commit 0162ce4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# 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.
- `ColorMath.cssKeywordColors` is a map of HTML/CSS color names to RGB the colors they represent.

### 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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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'
}
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
GROUP=com.github.ajalt
VERSION_NAME=1.2.0
VERSION_NAME=1.3.0

0 comments on commit 0162ce4

Please sign in to comment.