Skip to content

v4.0.0

Compare
Choose a tag to compare
@laurentpayot laurentpayot released this 02 Jun 12:44
· 35 commits to main since this release

New features

  • 10 times less collisions
  • SVG string generation is almost twice faster
  • Slightly decreased minified and compressed sizes

Breaking Changes

  • New algorithm to get a lot more different identicons. For the same username seed the shape and color will change compared to previous versions.

  • More vivid default colors. The default saturation is now 95%, and the default lightness is now 45%. The number of different colors was also reduced from 12 to 9 for easier distinction.

  • Identicon function

    • call minidenticon() instead of identicon()
  • Custom element

    • import minidenticonSvg instead of minidenticonSvg
    • use tag minidenticon-svg instead of identicon-svg