github dmester/jdenticon 2.1.0
Version 2.1.0

latest releases: 3.3.0, 3.2.0, 3.1.1...
6 years ago

Changes:

  • Setting jdenticon_config.saturation directly is now deprecated. Use jdenticon_config.saturation.color instead.

Improvements:

  • New jdenticon_config style options: saturation.color, saturation.grayscale and hues.
  • New jdenticon_config option replaceMode which has the following values:
    • "once" - icons are replaced once upon page load. This is the default value and how Jdenticon has always behaved.
    • "never" - no icons are replaced automatically. Good for folks who have written their own components for triggering icon updates.
    • "observe" - icons are replaced upon page load, and the DOM is then monitored for new identicons. This mode is useful in applications where new icons are inserted dynamically into the page, e.g. by using React or Angular.
  • Source maps are now provided for jdenticon.min.js.

Bug fixes:

  • No icon was rendered when a falsy value was passed to jdenticon.update.
  • Smaller circles were rendered very badly to PNG in smaller sizes (changes in the dependency canvas-renderer).
  • Padding is now rounded instead of truncated to nearest integer to avoid floating point rounding errors.

Don't miss a new jdenticon release

NewReleases is sending notifications on new releases.