Skip to content

Releases: ambassify/react-avatar

3.9.2

04 Mar 14:03
a9c05b5
Compare
Choose a tag to compare

This release updates documentation and fixes size parameters sent to external services.

  • [docs] update README text size ratio example, thanks @rjmacarthy (#195)
  • [size] fix relative size breaking some external image requests, thanks @GertSallaerts (#197)

More info: https://github.com/Sitebase/react-avatar/milestone/37?closed=1

3.9.1

17 Feb 23:33
4eddea5
Compare
Choose a tag to compare

This release fixes TypeScript definitions and moves initials casing to initials generator function.

  • [typescript] Add instagramId to ReactAvatarProps type, thanks @fantapop (#188)
  • [typescript][cache] add better definitions (#190)
  • [initials] replace uppercase CSS by JS uppercase (#191)

More info: https://github.com/Sitebase/react-avatar/milestone/36?closed=1

3.9.0

27 Dec 22:45
98e982d
Compare
Choose a tag to compare

This release fixes the broken support for Avatars based on a user's googleId.

  • [sources][google] Re-introduce Google (#184)

More info: https://github.com/Sitebase/react-avatar/milestone/35?closed=1

3.8.0

27 Dec 21:03
93f7757
Compare
Choose a tag to compare

This release introduces the title attribute and updates dependencies.

  • [title] Introduce the title attribute on Avatar component, thanks @one89 (#176, #183)
  • [deps] update package dependencies (#182)

More info: https://github.com/Sitebase/react-avatar/milestone/34?closed=1

3.7.0

15 Sep 00:53
73b6b13
Compare
Choose a tag to compare

This release fixes some bugs, allows for smaller bundle size and prepares react-avatar for React 17 by removing usage of deprecated componentWillReceiveProps.

  • [img] Add support for custom alt attribute (#165)
  • [react] Drop usage of deprecated componentWillReceiveProps (#172)
  • [build] Add option to reduce bundle size (#173)
  • [avatar] Resize initials when size is changed (#174)

More info: https://github.com/Sitebase/react-avatar/milestone/33?closed=1

3.6.0

09 Mar 16:41
8fb8e52
Compare
Choose a tag to compare

This release introduces a more tuneable cache implementation

  • [cache] Allow caching behaviour to be configurable (#162)

More info: https://github.com/Sitebase/react-avatar/milestone/32?closed=1

3.5.1

06 Mar 22:28
cd2f493
Compare
Choose a tag to compare

This release fixes an issue when applying text-scaling to hidden avatars.

  • [text scaling] fix scaling issue on hidden avatars (#160)

More info: https://github.com/Sitebase/react-avatar/milestone/31?closed=1

3.5.0

18 Dec 10:57
f967f8f
Compare
Choose a tag to compare

This release fixes issues related to font-scaling, vkontakte and cache

  • [vkontakte] use avatar redirect for Vkontakte (#149)
  • improve font-size consistency with textMarginRatio property, thanks @GertSallaerts (#134)
  • [text scaling] resolves scaling issue in IE11 (#150)
  • [GitHub] Add Github Handle fetch support, thanks @aniketnk (#145)
  • improve the get cache function to handle errors, thanks @tjmabey (#148)

More info: https://github.com/Sitebase/react-avatar/milestone/30?closed=1

3.4.6

18 Dec 10:51
695a60a
Compare
Choose a tag to compare

This release fixes an issue with babel transpilation

  • [compat] Disable transpilation of node_modules

More info: https://github.com/Sitebase/react-avatar/milestone/29?closed=1

3.4.5

18 Dec 10:49
dfeccf5
Compare
Choose a tag to compare

This release adds polyfills

  • [browsers] Allow babel to inject polyfills

More info: https://github.com/Sitebase/react-avatar/milestone/28?closed=1