Skip to content

Releases: Qix-/color

4.2.3

05 Apr 09:14
Compare
Choose a tag to compare

Patch Release 4.2.3

  • 957531f mention .hex() is lossy (#244)
  • d00bd1a Correct the limits on XYZ model
  • 4ac1315 mark the package as side-effects free (#189)
  • f34a0ba use correct WCAG luminance constant (fixes #248)
  • 9dcc3b7 update YIQ formula constants (fixes #107, ref chartjs#2)
  • 5696221 remove numeric separators
    • Not sure why I had such a strong stance on this. I see now how annoying and terrible they are. Apologies to everyone who was affected, this was a bad decision on my part.
  • b26040e remove bitchy issue template

Thanks to @csandman, @zdenekkostal, @technobuddha, and @maranomynet for their contributions!

4.2.2

05 Apr 08:34
Compare
Choose a tag to compare

Patch Release 4.2.2

  • 406d384 contast ratio level AAA is above 7:1
  • c7b8e75 fix linting issues
  • 5df6f50 don't compute valpha based on faulty argument counts (fixes #250)

Thanks to @shfshanyue for their contribution!

4.2.1

11 Feb 16:19
Compare
Choose a tag to compare

Patch Release 4.2.1

NOTE: This is a metadata patch that changes no functionality of the library itself.

  • Restrict node version to ">=12.5.0" #236

Thank you @wtho for their contribution!

4.2.0

11 Jan 09:32
Compare
Choose a tag to compare

Minor Release 4.2.0

  • Add .hexa() method (#237)

Thanks to @n0rush for their contribution!

4.1.0

03 Dec 16:42
Compare
Choose a tag to compare

Minor Release 4.1.0

  • Update color-string to 1.9.0

4.0.2

26 Nov 08:15
Compare
Choose a tag to compare

Patch Release 4.0.2

  • Bump color-string to ~1.7.4

4.0.1

04 Aug 19:52
Compare
Choose a tag to compare

Patch Release 4.0.1

  • Remove no-op in integer constructor (#208)
  • Fixed var to const in readme

3.2.1 (Hotfix)

18 Jul 09:43
Compare
Choose a tag to compare

Patch Release 3.2.1

  • Revert color-convert back down to <2 since v2 introduced ES6 syntax.

If you need color-convert@>=2 then you'll need to have ES6 support. It's 2021, embrace it. 🙂

4.0.0

17 Jul 06:55
Compare
Choose a tag to compare

Major Release 4.0.0

NOTE: "Major" here used loosely. This release is an interim major release that introduces ES6 syntax into the package without changing the import method (require()). There will be a follow-up major release that switches entirely to ESM and will set the appropriate engine key in package.json. This was just a necessary first step to allow those who don't (yet) use ESModules a sane place to upgrade and pin to.

  • Move ES6 syntax (i.e. const/let, still using require)

3.2.0

17 Jul 06:53
Compare
Choose a tag to compare

Minor Release 3.2.0

NOTE: This is the final release of color that uses ES5 syntax. For those following along, 4.0.0 was just released that switches to ES6 (const/let) syntax, which will (at some point) be followed by another major release that further switches to ES Modules entirely. This will be a sweeping change across the color package suite (color, color-string, color-convert). Keep a look out if these issues have been bothering you.

  • Bumps color convert to latest (fixes some issues with HCG)
  • Bumps mocha to latest