Skip to content

Releases: sersoft-gmbh/color-components

v1.12.0

12 Mar 09:57
289c825
Compare
Choose a tag to compare
  • Add Swift 5.10 support

Full Changelog: 1.11.0...1.12.0

v1.11.0

02 Oct 08:14
ff58602
Compare
Choose a tag to compare

What's Changed

  • Add CIE.XYZ components by @ffried in #97
  • Add support for Swift 5.9, drop support for older Swift versions

Full Changelog: 1.10.0...1.11.0

v1.10.0

21 May 14:04
e981513
Compare
Choose a tag to compare

What's Changed

  • Add HSL / HSLA color components.
  • Add HSV / HSVA aliases for HSB / HSBA.

Full Changelog: 1.9.0...1.10.0

v1.9.0

09 Apr 12:38
d397410
Compare
Choose a tag to compare

What's Changed

  • Add Swift 5.8 support.

Full Changelog: 1.8.0...1.9.0

v1.8.0

14 Sep 09:28
Compare
Choose a tag to compare

What's Changed

  • Add support for Swift 5.7
  • Build and run tests on watchOS

Full Changelog: 1.7.0...1.8.0

v1.7.0

18 Mar 11:37
e665fe0
Compare
Choose a tag to compare

What's Changed

  • Add support for Swift 5.6
  • Drop support for Swift pre 5.5
  • Improve performance of single most prominent color calculation

Full Changelog: 1.6.0...1.7.0

v1.5.0

27 Apr 15:03
Compare
Choose a tag to compare
  • Add Swift 5.4 support

v1.4.0

14 Jan 19:23
Compare
Choose a tag to compare
  • Add overloads to use hex values (init(hexString:), init(hex:), hexString() and hexValue()) also with floating point types on RGB/A
  • Add hexValue on RGB/A that returns the hex value as an integer (e.g. RGB<UInt8>(red: 0xAB, green: 0x34, blue: 0xD3).hexValue(as: UInt64) returns 0xAB34D3 as UInt64)

v1.3.0

14 Jan 08:33
Compare
Choose a tag to compare
  • Add feature to color calculations for calculating prominentColors (as well as an accessor for the mostProminentColor).

v1.2.0

06 Jan 14:20
Compare
Choose a tag to compare
  • Add more convenience conversions between floating point and integer components.
  • Add hex string initializer for RGB.
  • Add overload of hex initializer with differently sized integer, e.g. to allow RGBA<UInt8> to be created from hex (w/o overflowing).