Releases: Aiving/material-colors
Releases · Aiving/material-colors
0.3.3
What's Changed
-
added: Add tests for:
mod:blend
mod:contrast
mod:dislike
mod:dynamic_color/dynamic_scheme
mod:dynamic_color
mod:hct/cam16
mod:hct
mod:hct/viewing_conditions
mod:palette/core
mod:palette/tonal
mod:quantize/quantizer_celebi
mod:quantize/quantizer_wsmeans
mod:quantize/quantizer_wu
mod:scheme/content
mod:utils/math
-
changed: Allow
clippy:while_float
lint -
fixed: Fix stack overflow in
struct:QuantizerWu
creation -
fixed: Fix
func:on_secondary_container
instruct:MaterialDynamicColors
-
fixed: Fix
func:critical_plane_below
andfunc:critical_plane_above
instruct:HctSolver
-
fixed: Fix
clippy:doc_lazy_continuation
lint inmod:hct/solver
andmod:palette/tonal
Full Changelog: 0.3.2...0.3.3
Release 0.3.2
What's Changed
- added: Add tests for
mod:color
- changed: Change type of
arg:max_colors
intrait:Quantizer
'sfunc:quantize
fromi32
tousize
; - changed: Rewrite
struct:QuantierWsmeans
inmod:quantize/quantizer_wsmeans
; - changed: Rewrite
struct:QuantierWu
inmod:quantize/quantizer_wu
; - fixed: Fix color extraction from images (FULLY)
Full Changelog: 0.3.1...0.3.2
0.3.1
0.3.0
What's Changed
- feat(api)!: rename color functions by @allan2 in #11
- fix: Serialize for colour types by @allan2 in #9
- docs: update for renamed color functions by @allan2 in #12
- feat: enhance Clippy linting directives by @allan2 in #15
- feat: enhance
ThemeBuilder
API by @allan2 in #27 - test: add C++ scheme tests by @allan2 in #28
Full Changelog: 0.2.1...0.3.0
0.2.1
Release 0.1.6
What's Changed
- added: Implement
trait:IntoIterator
for thestruct:Scheme
- fixed: Fix incorrect proportion calcuation in
mod:score
- fixed: Update the description of
struct:Random
inmod:utils/random
Full Changelog: 0.1.5...0.1.6
Release 0.1.5
What's changed
- added: Add partial LCG algorithm implementation in
mod:utils/random
- changed: Remove small F.A.Q. from
README
- changed: Now functions in
mod:utils/color
andmod:utils/string
require only references to colors - fixed: Fix how cluster indicies fill in
struct:QuantizerWu
- fixed: Fix sorting of scored colors in
mod:score
Full Changelog: 0.1.4...0.1.5
Release 0.1.4
What's changed
- added: Add a test for the image color extraction
- changed: Cleanup code in quantizers
- changed: Remove random color filling from
struct:QuantizerWsmeans
- changed: Update constants in
struct:QuantizerWu
- changed: Update
func:get_index
instruct:QuantizerWu
- changed: Add a warning for the image color extraction example in
README
- fixed: Update broken example of extracting colors from image in
README
- fixed: Replace
struct:HashMap
withstruct:IndexMap
- fixed: Fix different palettes for the same image
Full Changelog: 0.1.3...0.1.4
0.1.3
0.1.2
What's changed
- breaking:
func:source_color_from_image
now accepts an ARGB color array instead of a byte array - fixed: Change visibility in
struct:QuantizerWsmeans
- fixed: Fix some issues with integers in
struct:QuantizerWu
andmod:score
Full Changelog: 0.1.1...0.1.2