Skip to content

Latest commit

 

History

History
120 lines (55 loc) · 5.45 KB

CHANGELOG.md

File metadata and controls

120 lines (55 loc) · 5.45 KB

Changelog

All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.

2.2.0 (2024-10-08)

Bug Fixes

  • handle okhsl/okhsv lightness and saturation epsilon (ie. achromatic and close to white edge cases) (5c39853)

Features

Performance Improvements

2.1.1 (2024-07-09)

2.1.0 (2024-02-05)

Features

  • deprecate toRGB (for set()) and fromRGB (for fromValues) (06cc1e2), closes #21
  • rename RGBBytes to Bytes (b71c0b4), closes #22

2.0.4 (2023-08-11)

2.0.3 (2023-07-25)

2.0.2 (2023-05-22)

2.0.1 (2023-05-22)

2.0.0 (2023-05-22)

Bug Fixes

  • allow default out in color.toRGB (d9d20a1)

2.0.0-alpha.2 (2022-09-09)

Bug Fixes

2.0.0-alpha.1 (2022-07-26)

2.0.0-alpha.0 (2022-07-26)

Bug Fixes

  • handle alpha conditionally in setRGBBytes + remove wrong rounding (09a2270)
  • handle alpha in getRGBBytes (b0ee96b)
  • wrong operation order with ** operator (98f719e)

Code Refactoring

Features

  • add alpha and three-digit notation hex support to setHex (6523d53)
  • add alpha support to getHex (ff3cc3c)
  • add CIELUV (hsluv, hpluv, lchuv) (b37c7e4)
  • add css (af9387f)
  • add linear (7acaed3)
  • add okhsl and okhsv (942007b)
  • add oklab (d27d7d4)
  • change API to only fromType and getType + handle alpha (2b0eade)
  • destructure get hsl and hsv parameters and handle default alpha (bfb44b1)
  • handle alpha for xyz and lab (59619b4)
  • normalize hsluv/hpluv/lchuv and xyz (7901670)
  • normalize lab (b3f0277)
  • replace getType by toType (e1727f7)

Performance Improvements

  • extract x,y,z tristimulus values + remove intermediary let declaration (1a8df42)
  • remove intermediary const declaration in from functions (b20ffd4)

BREAKING CHANGES

  • switch to type module