Skip to content

Commit

Permalink
Merge pull request #397 from Ogeon/prepare_0.7.6
Browse files Browse the repository at this point in the history
Version 0.7.6
  • Loading branch information
Ogeon authored Apr 28, 2024
2 parents 52bebbd + bd08f74 commit 43ff0a6
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 10 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## Version 0.7.6 - 2024-04-28

* [#390][390]: Add `From` implementations for changing `Rgb` component types between `u8`, `f32` and `f64`.
* [#342][342]: Implement CAM16. Closes [#199][199].
* [#386][386]: Fix angle conversion from `f32` to `u8`. Closes [#385][385].
* [#384][384]: Add traits for color schemes from traditional color theory.

## Version 0.7.5 - 2024-02-25

* [#380][380]: Avoid recursive trait resolution for `IntoIterator`. Closes [#283][283].
Expand Down Expand Up @@ -287,6 +294,7 @@ The first published version.
[328]: https://github.com/Ogeon/palette/pull/328
[332]: https://github.com/Ogeon/palette/pull/332
[338]: https://github.com/Ogeon/palette/pull/338
[342]: https://github.com/Ogeon/palette/pull/342
[343]: https://github.com/Ogeon/palette/pull/343
[344]: https://github.com/Ogeon/palette/pull/344
[345]: https://github.com/Ogeon/palette/pull/345
Expand All @@ -297,6 +305,9 @@ The first published version.
[373]: https://github.com/Ogeon/palette/pull/373
[374]: https://github.com/Ogeon/palette/pull/374
[380]: https://github.com/Ogeon/palette/pull/380
[384]: https://github.com/Ogeon/palette/pull/384
[386]: https://github.com/Ogeon/palette/pull/386
[390]: https://github.com/Ogeon/palette/pull/390
[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 @@ -349,6 +360,7 @@ The first published version.
[177]: https://github.com/Ogeon/palette/issues/177
[187]: https://github.com/Ogeon/palette/issues/187
[194]: https://github.com/Ogeon/palette/issues/194
[199]: https://github.com/Ogeon/palette/issues/199
[206]: https://github.com/Ogeon/palette/issues/206
[209]: https://github.com/Ogeon/palette/issues/209
[215]: https://github.com/Ogeon/palette/issues/215
Expand All @@ -364,5 +376,6 @@ The first published version.
[330]: https://github.com/Ogeon/palette/issues/330
[366]: https://github.com/Ogeon/palette/issues/366
[368]: https://github.com/Ogeon/palette/issues/368
[385]: https://github.com/Ogeon/palette/issues/385
[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.5/palette/)
[Released](https://docs.rs/palette/0.7.6/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.5" #automatically updated
version = "0.7.6" #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.5/palette/"
documentation = "https://docs.rs/palette/0.7.6/palette/"
repository = "https://github.com/Ogeon/palette"
readme = "README.md"
keywords = ["color", "conversion", "linear", "pixel", "rgb"]
Expand All @@ -41,7 +41,7 @@ alloc = []
bench = false

[dependencies]
palette_derive = { version = "0.7.5", path = "../palette_derive" }
palette_derive = { version = "0.7.6", 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.5](https://ogeon.github.io/2024/02/25/palette-0.7.5.html).
[The announcement post for 0.7.6](https://ogeon.github.io/2024/04/28/palette-0.7.6.html).

## Feature Summary

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

```toml
[dependencies]
palette = "0.7.5"
palette = "0.7.6"
```

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

```toml
[dependencies.palette]
version = "0.7.5"
version = "0.7.6"
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 @@ -250,7 +250,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.5/")]
#![doc(html_root_url = "https://docs.rs/palette/0.7.6/")]
#![warn(missing_docs)]

#[cfg(feature = "alloc")]
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.5" #automatically updated
version = "0.7.6" #automatically updated
authors = ["Erik Hedvall <[email protected]>"]
exclude = []
description = "Automatically implement traits from the palette crate."
documentation = "https://docs.rs/palette/0.7.5/palette/"
documentation = "https://docs.rs/palette/0.7.6/palette/"
repository = "https://github.com/Ogeon/palette"
readme = "README.md"
keywords = ["palette", "derive", "macros"]
Expand Down

0 comments on commit 43ff0a6

Please sign in to comment.