Skip to content

v0.4.1: TypeScript support, legacy builds

Compare
Choose a tag to compare
@LeaVerou LeaVerou released this 28 Oct 20:40
· 427 commits to main since this release

The main new feature of this release is Typescript support, added in this Herculean PR by @MysteryBlokHed and reviewed by @jgerigmeyer.

Other new features and changes:

  • deltaPhi contrast method now supported, thanks to a PR by @Myndex
  • Node v12 and somewhat older browsers are now supported, through separate .legacy builds, thanks to a PR by @jgerigmeyer
  • The premultiplied option is now supported in mix(), thanks to a PR by @redneb
  • Support both number and percent in (ok)lab and (ok)lch lightness. Serialize as number, per spec.
  • Lab-D65 is now serialized as lab-d65() and not lab().

All merged pull requests

New Contributors

Full Changelog: v0.4.0...v0.4.1