Debian Codegraph @

CHANGELOG.md

raw symbols SCIP
1 # Changelog
2
3 ## [Unreleased](https://github.com/mazznoer/csscolorparser-rs/compare/v0.8.1...HEAD)
4
5 ## [0.8.2]
6
7 ### Changed
8
9 - Parse `none` value in absolute color format.
10 - Changed `impl Display` for `Color` to hex color format.
11 - Remove unnecessary allocations.
12
13 ## [0.8.1](https://github.com/mazznoer/csscolorparser-rs/compare/v0.8.0...v0.8.1)
14
15 ### Changed
16
17 - Improvements in parser code.
18 - improvements of `calc()` parser for relative color format.
19
20 ### Fixed
21
22 - Require `phf` only if needed.
23
24 ## [0.8.0](https://github.com/mazznoer/csscolorparser-rs/compare/v0.7.2...v0.8.0)
25
26 ### Added
27
28 - Support `no_std`.
29 - Support parsing relative color format.
30
31 ### Changed
32
33 - Support for parsing lab format is always enabled now. Remove the `lab` cargo feature.
34 - Using `phf::OrderedMap` and `uncased` to store named colors.
35
36 ## [0.7.2](https://github.com/mazznoer/csscolorparser-rs/compare/v0.7.1...v0.7.2)
37
38 ### Added
39
40 - `Color::to_oklcha()`
41 - `Color::to_css_hex()`
42 - `Color::to_css_rgb()`
43 - `Color::to_css_hsl()`
44 - `Color::to_css_hwb()`
45 - `Color::to_css_lab()`
46 - `Color::to_css_lch()`
47 - `Color::to_css_oklab()`
48 - `Color::to_css_oklch()`
49
50 ### Changed
51
52 - Deprecate `Color::to_hex_string()` and `Color::to_rgb_string()`
53
54 ## [0.7.1](https://github.com/mazznoer/csscolorparser-rs/compare/v0.7.0...v0.7.1)
55
56 ### Changed
57
58 - Remove some unnecessary allocations on parser code.
59
60 ## [0.7.0](https://github.com/mazznoer/csscolorparser-rs/compare/v0.6.2...v0.7.0)
61
62 ### Added
63
64 - `Color::from_oklcha()`
65 - Support parsing `oklab()` and `oklch()` color format.
66 - `Color::{from,to}_{laba,lcha}()`
67
68 ### Changed
69
70 - `f64` -> `f32`
71 - Return type for `Color::to_{hsva,hsla,hwba,lab,lch,oklaba,linear_rgba}()` changed from tuple to array.
72 - Deprecate `Color::{from,to}_{lab,lch}()`, use `Color::{from,to}_{laba,lcha}()` instead.
73 - `NAMED_COLORS` is now public
74
75 ### Removed
76
77 ### Fixed
78
79 - Fix parsing `lab()` and `lch()` color format.
80 - Update `oklab` formula.
81