All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
The format of this file is based on Keep a Changelog, but only releases after v1.0.3 properly adhere to it.
BlendLinearRgb
(#50)DistanceRiemersma
(#52)- Introduce a function for sorting colors (#57)
- YAML marshal/unmarshal support (#63)
- Fix bug when doing HSV/HCL blending between a gray color and non-gray color (#60)
DistanceLinearRGB
is deprecated for the nameDistanceLinearRgb
which is more in-line with the rest of the library
This is the same as the v1.1.0 tag.
- HSLuv and HPLuv color spaces (#41, #51)
- CIE LCh(uv) color space, called
LuvLCh
in code (#51) - JSON and envconfig serialization support for
HexColor
(#42) DistanceLinearRGB
(#53)
- RGB to/from XYZ conversion is more accurate (#51)
- A bug in
XYZToLuvWhiteRef
that only applied to very small values was fixed (#51) BlendHCL
output is clamped so that it's not invalid (#46)- Properly documented
DistanceCIE76
(#40) - Some small godoc fixes
- Remove SQLMock dependency
- Fixes SQLMock dependency
- Adds support for Go Modules
- API Breaking change in
MakeColor
: instead ofpanic
ing when alpha is zero, it now returns a secondary, boolean return value indicating success. See the color.Color interface section and this FAQ entry for details.
- Initial version number after having ignored versioning for a long time :)