- Added a React component, this does not currently support non-Gravatar fallbacks when using Gravatar.
- Added
primarySource
setting to provide a default to be used unless missing. - Added offset support to Initials.
- Added custom sizing to Initials.
- Updated types with descriptions from JSDoc.
- Move from nyc to c8 for coverage.
- BREAKING CHANGE: Updated the following setting keys:
initial_fg => color
initial_bg => background
initial_size => fontSize
initial_weight => fontWeight
initial_font_family => fontFamily
allowGravatarFallback => useGravatarFallback
github_id => github_id
- 9 years old 🎂!
- Simplify GitHub Avatar URL
- Convert fallback data URI to raw SVG to save ~400 bytes
- Update dependencies
- Fix types for #44
- 7 years old 🎂!
- Update dependencies (none, just for dev).
- Support for ESM via
import
, CJS viarequire
, and IIFE for browsers. - Make
initialAvatar
a static method - Clean up issues from age
- Add support for
setSourceCallback
, called when image source is set. Useful to cache avatar sources provided by third parties such as Gravatar. PR 20
- Update dependencies.
- Use Babel 7 with
@babel/preset-env
targeting"last 2 versions", "ie 11"
- Use Object Spread instead of
Object.assign
- Remove Leakages tests
- Add
module
andjsnext:main
to thepackage.json
- Remove Code Climate
- Update dependencies.
- Rebuild browser build (not in npm).
- Update dependencies.
- Rebuild browser build (not in npm).
- Remove jQuery Support.
- Node build.
- Browser build (not in npm).
- Move from Istanbul/Mocha/PhantomJS to ava/nyc.
- Use md5 package.
- Update to ES6 from CoffeeScript.
- More test coverage.
- Code Coverage 100%
- Static methods if you only need URL generation.
- Fix NPM bundling.
- Update to fix hidden images without a size.
- Added many more tests.
- Added Travis CI Integration
- Added Code Coverage
- Added GitHub Support
- Added Avatars.io Support
- Add main files to
main
property ofbower.json
.
- First release.