Skip to content

Releases: Aiving/material-colors

0.3.3

25 May 21:02
Compare
Choose a tag to compare

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 in struct:MaterialDynamicColors

  • fixed: Fix func:critical_plane_below and func:critical_plane_above in struct:HctSolver

  • fixed: Fix clippy:doc_lazy_continuation lint in mod:hct/solver and mod:palette/tonal

Full Changelog: 0.3.2...0.3.3

Release 0.3.2

08 May 05:46
Compare
Choose a tag to compare

What's Changed

  • added: Add tests for mod:color
  • changed: Change type of arg:max_colors in trait:Quantizer's func:quantize from i32 to usize;
  • changed: Rewrite struct:QuantierWsmeans in mod:quantize/quantizer_wsmeans;
  • changed: Rewrite struct:QuantierWu in mod:quantize/quantizer_wu;
  • fixed: Fix color extraction from images (FULLY)

Full Changelog: 0.3.1...0.3.2

0.3.1

04 May 15:14
Compare
Choose a tag to compare

What's Changed

  • fixed: Fix color extraction from images (PARTIALLY)

Full Changelog: 0.3.0...0.3.1

0.3.0

01 May 10:40
Compare
Choose a tag to compare

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

14 Mar 00:46
Compare
Choose a tag to compare

What's Changed

  • fix(dynamic_color): secondary container color by @allan2 in #6
  • feat: optional serde feature by @allan2 in #8
  • chore(deps): update all deps by @allan2 in #7

New Contributors

Full Changelog: 0.1.6...0.2.1

Release 0.1.6

02 Feb 16:25
Compare
Choose a tag to compare

What's Changed

  • added: Implement trait:IntoIterator for the struct:Scheme
  • fixed: Fix incorrect proportion calcuation in mod:score
  • fixed: Update the description of struct:Random in mod:utils/random

Full Changelog: 0.1.5...0.1.6

Release 0.1.5

02 Feb 13:58
Compare
Choose a tag to compare

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 and mod: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

30 Jan 15:57
Compare
Choose a tag to compare

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 in struct: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: Replacestruct:HashMap with struct:IndexMap
  • fixed: Fix different palettes for the same image

Full Changelog: 0.1.3...0.1.4

0.1.3

25 Jan 09:46
Compare
Choose a tag to compare

What's changed

  • fixed: Fix func:sanitize_degrees_int in mod:utils/math

Full Changelog: 0.1.2...0.1.3

0.1.2

25 Jan 09:43
Compare
Choose a tag to compare

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 and mod:score

Full Changelog: 0.1.1...0.1.2