React Share Versions Save

Social media share buttons and share counts for React

v5.1.0

3 months ago

Minor Changes

  • 4e74597: Added htmlTitle prop for the share button. This prop will be passed as the native title attribute for the button element.

v5.0.4

3 months ago

Patch Changes

  • 1c50111: Fixed exports in package.json to comply with the publint and attw tools. May solve issues when your project uses CommonJS modules and Node.js v16 or newer.

v5.0.3

5 months ago

Patch Changes

  • ddcf9c8: Fixed invalid exports configuration (reference to dist/index.cjs).

v5.0.2

5 months ago

Patch Changes

  • b1da2d9: Fix Reddit logo in RedditIcon.
  • 2588f97: Fixed colors for: FacebookIcon, LinkedinIcon, OKIcon, PinterestIcon, RedditIcon, TelegramIcon, TumblrIcon, VKIcon, ViberIcon, WeiboIcon, WorkplaceIcon.
  • 6a43137: Fixed WhatsApp sharring issue on Android described here.

v5.0.1

5 months ago

Patch Changes

  • 8dd0134: @changesets/cli was accidentally added in dependencies. It is now moved to devDependencies.

v5.0.0

5 months ago

Major Changes

  • c04c694: Removed the quote prop from FacebookShareButton as it has been deprecated by Meta. See https://developers.facebook.com/support/bugs/734680371318112/?comment_id=743056360480513.
  • 043faa3: Removed default aria-label prop from ShareButtons. Before it defaulted to the name of the "network name" (e.g. "facebook" for Facebook). Issue explained here.
  • d4c192a: Compilation target is now ES2017 instead of ES5. The distributed files are built with Vite instead of TypeScript compiler.
  • 471510a: Dropped support for React 16.

Minor Changes

  • 2c0ab57: Added GabShareButton and GabIcon to share on gab.com. Originally implemented here.
  • 18f2de2: Added XIcon.
  • 77ecaa7: Share counts are now created as function components instead of class components.
  • 15fd50d: Added pinId prop for PinterestShareButton.
  • 44c672f: Share buttons are now created as function components instead of class components.

Patch Changes

  • 65b53c5: Fix HatenaShareCount to show also 0. Originally fixed here.
  • 14bbffa: Fixed createIcon defaultProps warning with React 18.

v4.4.1

1 year ago
  • Chore: upgraded build deps
  • Fix: Support React 18 in peerDependencies

v4.4.0

3 years ago
  • Fix: Support React 17 in peerDependencies (#379)
  • Fix: Updated Telegram link for shares custom URLs (#377)
  • Fix: Updated Reddit logo background colour (#366)

v4.3.0

3 years ago
  • Added: HatenaShareButton and HatenaShareCount

v4.2.1

3 years ago
  • Fix: added internal assert utility to get rid of Node.js assert dependency (MINOR BREAKING CHANGE: the error thrown is slightly different)