Skip to content

Commit

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

Prepare release 0.7.3

Co-authored-by: Ogeon <[email protected]>
Co-authored-by: Erik Hedvall <[email protected]>
  • Loading branch information
3 people authored Aug 10, 2023
2 parents 201943f + 965b3be commit 176b9ac
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 10 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## Version 0.7.3 - 2023-08-10

* [#345][345]: Add `ArraysAs`, `AsArrays`, and corresponding traits for components and uints.
* [#344][344]: Fix Oklab from Oklch hue conversion. Closes [#1234][1234], [#4321][4321].
* [#343][343]: Spelling fixes.
* [#338][338]: Add traits for casting collections of colors to and from other data types.

## Version 0.7.2 - 2023-05-21

* [#332][332]: Fix NaN values from `Okhsv` when `saturation` is > 0 and `value` == 0. Closes [#330][330].
Expand Down Expand Up @@ -266,6 +273,10 @@ The first published version.
[326]: https://github.com/Ogeon/palette/pull/326
[328]: https://github.com/Ogeon/palette/pull/328
[332]: https://github.com/Ogeon/palette/pull/332
[338]: https://github.com/Ogeon/palette/pull/338
[343]: https://github.com/Ogeon/palette/pull/343
[344]: https://github.com/Ogeon/palette/pull/344
[345]: https://github.com/Ogeon/palette/pull/345
[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
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.2/palette/)
[Released](https://docs.rs/palette/0.7.3/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.2" #automatically updated
version = "0.7.3" #automatically updated
authors = ["Erik Hedvall <[email protected]>"]
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.2/palette/"
documentation = "https://docs.rs/palette/0.7.3/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.2", path = "../palette_derive" }
palette_derive = { version = "0.7.3", 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.2](https://ogeon.github.io/2023/05/21/palette-0.7.2.html).
[The announcement post for 0.7.3](https://ogeon.github.io/2023/08/10/palette-0.7.3.html).

## Feature Summary

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

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

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

```toml
[dependencies.palette]
version = "0.7.2"
version = "0.7.3"
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.2/")]
#![doc(html_root_url = "https://docs.rs/palette/0.7.3/")]
#![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.2" #automatically updated
version = "0.7.3" #automatically updated
authors = ["Erik Hedvall <[email protected]>"]
exclude = []
description = "Automatically implement traits from the palette crate."
documentation = "https://docs.rs/palette/0.7.2/palette/"
documentation = "https://docs.rs/palette/0.7.3/palette/"
repository = "https://github.com/Ogeon/palette"
readme = "README.md"
keywords = ["palette", "derive", "macros"]
Expand Down

0 comments on commit 176b9ac

Please sign in to comment.