Skip to content

Commit

Permalink
Merge #333
Browse files Browse the repository at this point in the history
333: Version 0.7.2 r=Ogeon a=github-actions[bot]

Prepare release 0.7.2

Co-authored-by: Ogeon <Ogeon@users.noreply.github.com>
  • Loading branch information
bors[bot] and Ogeon authored May 21, 2023
2 parents 7e0a009 + ebe48b1 commit 598b267
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 10 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## Version 0.7.2 - 2023-05-21

* [#332][332]: Fix NaN values from `Okhsv` when `saturation` is > 0 and `value` == 0. Closes [#330][330].
* [#328][328]: Add the HyAB color difference metric. Closes [#318][318].
* [#326][326]: Add a `Wcag21RelativeContrast` trait and deprecate `RelativeContrast`.
* [#320][320]: Implement struct-of-arrays (SoA) utilities. Closes [#305][305].
* [#323][323]: Add saturating_add and saturating_sub for integer based colors. Closes [#322][322].
* [#321][321]: Spelling fixes.
* [#316][316]: Add `EuclideanDistance` and `Ciede2000` traits, deprecate `ColorDifference`. Closes [#288][288].

## Version 0.7.1 - 2023-04-16

* [#313][313]: Improve serializing. Closes [#130][130].
Expand Down Expand Up @@ -249,6 +259,13 @@ The first published version.
[308]: https://github.com/Ogeon/palette/pull/308
[312]: https://github.com/Ogeon/palette/pull/312
[313]: https://github.com/Ogeon/palette/pull/313
[316]: https://github.com/Ogeon/palette/pull/316
[320]: https://github.com/Ogeon/palette/pull/320
[321]: https://github.com/Ogeon/palette/pull/321
[323]: https://github.com/Ogeon/palette/pull/323
[326]: https://github.com/Ogeon/palette/pull/326
[328]: https://github.com/Ogeon/palette/pull/328
[332]: https://github.com/Ogeon/palette/pull/332
[2]: https://github.com/Ogeon/palette/issues/2
[3]: https://github.com/Ogeon/palette/issues/3
[4]: https://github.com/Ogeon/palette/issues/4
Expand Down Expand Up @@ -308,6 +325,11 @@ The first published version.
[243]: https://github.com/Ogeon/palette/issues/243
[245]: https://github.com/Ogeon/palette/issues/245
[283]: https://github.com/Ogeon/palette/issues/283
[288]: https://github.com/Ogeon/palette/issues/288
[289]: https://github.com/Ogeon/palette/issues/289
[305]: https://github.com/Ogeon/palette/issues/305
[318]: https://github.com/Ogeon/palette/issues/318
[322]: https://github.com/Ogeon/palette/issues/322
[330]: https://github.com/Ogeon/palette/issues/330
[1234]: https://github.com/Ogeon/palette/issues/1234
[4321]: https://github.com/Ogeon/palette/issues/4321
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A color management and conversion library that focuses on maintaining correctnes

## Online Documentation

[Released](https://docs.rs/palette/0.7.1/palette/)
[Released](https://docs.rs/palette/0.7.2/palette/)

[Master branch](https://ogeon.github.io/palette/palette/index.html)

Expand Down
6 changes: 3 additions & 3 deletions palette/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "palette"
version = "0.7.1" #automatically updated
version = "0.7.2" #automatically updated
authors = ["Erik Hedvall <hello@erikhedvall.nu>"]
exclude = [
"scripts/*",
Expand All @@ -16,7 +16,7 @@ exclude = [
"version.sh",
]
description = "Convert and manage colors with a focus on correctness, flexibility and ease of use."
documentation = "https://docs.rs/palette/0.7.1/palette/"
documentation = "https://docs.rs/palette/0.7.2/palette/"
repository = "https://github.com/Ogeon/palette"
readme = "README.md"
keywords = ["color", "conversion", "linear", "pixel", "rgb"]
Expand Down Expand Up @@ -44,7 +44,7 @@ name = "issue_283"
path = "regression_tests/issue_283.rs"

[dependencies]
palette_derive = { version = "0.7.1", path = "../palette_derive" }
palette_derive = { version = "0.7.2", path = "../palette_derive" }
fast-srgb8 = "1.0.0"
approx = { version = "0.5", default-features = false, optional = true }
libm = { version = "0.2.1", default-features = false, optional = true }
Expand Down
6 changes: 3 additions & 3 deletions palette/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A color management and conversion library that focuses on maintaining correctness, flexibility and ease of use. It makes use of the type system to prevent mistakes, support a wide range of color spaces (including user defined variants) and offer different ways of integrating with other libraries.

[The announcement post for 0.7.0](https://ogeon.github.io/2023/04/10/palette-0.7.0.html).
[The announcement post for 0.7.2](https://ogeon.github.io/2023/05/21/palette-0.7.2.html).

## Feature Summary

Expand All @@ -23,14 +23,14 @@ Add the following lines to your `Cargo.toml` file:

```toml
[dependencies]
palette = "0.7.1"
palette = "0.7.2"
```

or these lines if you want to opt out of `std`:

```toml
[dependencies.palette]
version = "0.7.1"
version = "0.7.2"
default-features = false
features = ["libm"] # Uses libm instead of std for floating point math
```
Expand Down
2 changes: 1 addition & 1 deletion palette/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@

// Keep the standard library when running tests, too
#![cfg_attr(all(not(feature = "std"), not(test)), no_std)]
#![doc(html_root_url = "https://docs.rs/palette/0.7.1/")]
#![doc(html_root_url = "https://docs.rs/palette/0.7.2/")]
#![warn(missing_docs)]

#[cfg(any(feature = "std", test))]
Expand Down
4 changes: 2 additions & 2 deletions palette_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "palette_derive"
version = "0.7.1" #automatically updated
version = "0.7.2" #automatically updated
authors = ["Erik Hedvall <hello@erikhedvall.nu>"]
exclude = []
description = "Automatically implement traits from the palette crate."
documentation = "https://docs.rs/palette/0.7.1/palette/"
documentation = "https://docs.rs/palette/0.7.2/palette/"
repository = "https://github.com/Ogeon/palette"
readme = "README.md"
keywords = ["palette", "derive", "macros"]
Expand Down

0 comments on commit 598b267

Please sign in to comment.