Skip to content

Commit 7e446ea

Browse files
authored
Merge pull request #375 from Ogeon/prepare_0.7.4
Version 0.7.4
2 parents 4b17a15 + a1dbdab commit 7e446ea

File tree

6 files changed

+27
-10
lines changed

6 files changed

+27
-10
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## Version 0.7.4 - 2024-01-28
4+
5+
* [#373][373]: Add an "alloc" feature and make tests work with any feature combination. Closes [#366][366].
6+
* [#374][374]: Fix typo about max range of u8. Closes [#1234][1234], [#4321][4321].
7+
* [#369][369]: Fix potential `NaN` from converting to `Okhsl` when the input is white or black. Closes [#368][368].
8+
* [#355][355]: Add traits for delta E and the improved formulas from Huang et al.
9+
* [#351][351]: Improve some documentation for beginners.
10+
* [#347][347]: Implements Rgba::from_str().
11+
312
## Version 0.7.3 - 2023-08-10
413

514
* [#345][345]: Add `ArraysAs`, `AsArrays`, and corresponding traits for components and uints.
@@ -277,6 +286,12 @@ The first published version.
277286
[343]: https://github.com/Ogeon/palette/pull/343
278287
[344]: https://github.com/Ogeon/palette/pull/344
279288
[345]: https://github.com/Ogeon/palette/pull/345
289+
[347]: https://github.com/Ogeon/palette/pull/347
290+
[351]: https://github.com/Ogeon/palette/pull/351
291+
[355]: https://github.com/Ogeon/palette/pull/355
292+
[369]: https://github.com/Ogeon/palette/pull/369
293+
[373]: https://github.com/Ogeon/palette/pull/373
294+
[374]: https://github.com/Ogeon/palette/pull/374
280295
[2]: https://github.com/Ogeon/palette/issues/2
281296
[3]: https://github.com/Ogeon/palette/issues/3
282297
[4]: https://github.com/Ogeon/palette/issues/4
@@ -342,5 +357,7 @@ The first published version.
342357
[318]: https://github.com/Ogeon/palette/issues/318
343358
[322]: https://github.com/Ogeon/palette/issues/322
344359
[330]: https://github.com/Ogeon/palette/issues/330
360+
[366]: https://github.com/Ogeon/palette/issues/366
361+
[368]: https://github.com/Ogeon/palette/issues/368
345362
[1234]: https://github.com/Ogeon/palette/issues/1234
346363
[4321]: https://github.com/Ogeon/palette/issues/4321

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A color management and conversion library that focuses on maintaining correctnes
99

1010
## Online Documentation
1111

12-
[Released](https://docs.rs/palette/0.7.3/palette/)
12+
[Released](https://docs.rs/palette/0.7.4/palette/)
1313

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

palette/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "palette"
3-
version = "0.7.3" #automatically updated
3+
version = "0.7.4" #automatically updated
44
authors = ["Erik Hedvall <hello@erikhedvall.nu>"]
55
exclude = [
66
"scripts/*",
@@ -16,7 +16,7 @@ exclude = [
1616
"version.sh",
1717
]
1818
description = "Convert and manage colors with a focus on correctness, flexibility and ease of use."
19-
documentation = "https://docs.rs/palette/0.7.3/palette/"
19+
documentation = "https://docs.rs/palette/0.7.4/palette/"
2020
repository = "https://github.com/Ogeon/palette"
2121
readme = "README.md"
2222
keywords = ["color", "conversion", "linear", "pixel", "rgb"]
@@ -41,7 +41,7 @@ alloc = []
4141
bench = false
4242

4343
[dependencies]
44-
palette_derive = { version = "0.7.3", path = "../palette_derive" }
44+
palette_derive = { version = "0.7.4", path = "../palette_derive" }
4545
fast-srgb8 = "1.0.0"
4646
approx = { version = "0.5", default-features = false, optional = true }
4747
libm = { version = "0.2.1", default-features = false, optional = true }

palette/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
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.
44

5-
[The announcement post for 0.7.3](https://ogeon.github.io/2023/08/10/palette-0.7.3.html).
5+
[The announcement post for 0.7.4](https://ogeon.github.io/2024/01/28/palette-0.7.4.html).
66

77
## Feature Summary
88

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

2424
```toml
2525
[dependencies]
26-
palette = "0.7.3"
26+
palette = "0.7.4"
2727
```
2828

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

3131
```toml
3232
[dependencies.palette]
33-
version = "0.7.3"
33+
version = "0.7.4"
3434
default-features = false
3535
features = ["libm"] # Uses libm instead of std for floating point math
3636
```

palette/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
251251
// Keep the standard library when running tests, too
252252
#![cfg_attr(all(not(feature = "std"), not(test)), no_std)]
253-
#![doc(html_root_url = "https://docs.rs/palette/0.7.3/")]
253+
#![doc(html_root_url = "https://docs.rs/palette/0.7.4/")]
254254
#![warn(missing_docs)]
255255

256256
#[cfg(feature = "alloc")]

palette_derive/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "palette_derive"
3-
version = "0.7.3" #automatically updated
3+
version = "0.7.4" #automatically updated
44
authors = ["Erik Hedvall <hello@erikhedvall.nu>"]
55
exclude = []
66
description = "Automatically implement traits from the palette crate."
7-
documentation = "https://docs.rs/palette/0.7.3/palette/"
7+
documentation = "https://docs.rs/palette/0.7.4/palette/"
88
repository = "https://github.com/Ogeon/palette"
99
readme = "README.md"
1010
keywords = ["palette", "derive", "macros"]

0 commit comments

Comments
 (0)