Skip to content

Update dependency react-share to v4

Warren Gifford requested to merge renovate/react-share-4.x into master

Created by: renovate[bot]

This PR contains the following updates:

Package Type Update New value References Sourcegraph
react-share dependencies major ^4.1.0 source code search for "react-share"

Release Notes

nygardk/react-share

v4.1.0

Compare Source

  • Fix: TwitterShareButton won't have hashtags as empty string (#​284, #​293)
  • Fix: OKShareCount now supports multiple different share counts per page (#​289)
  • Fix: share buttons won't pass link options as props (#​286)
  • Fix: EmailShareButton now has default separator correctly as `` #​287)
  • Fix: WhatsappShareButton now has default separator correctly as ``
  • Fix: TumblrShareButton now has default posttype correctly as link
  • Feature: TwitterShareButton now supports "related" array (#​281)

v4.0.1

Compare Source

v4.0.0

Compare Source

  • React 16.3.0 or newer is now required
  • Refactored to TypeScript, type definitions are now included
  • Added: FacebookMessengerShareButton and FacebookMessengerShareCount
  • Added: WeiboIcon
  • Fixed: VKShareButton
  • Fixed: LinkedinShareButton
  • Fixed: MailruShareButton
  • Fixed: TumblrShareCount
  • Fixed: FacebookShareCount
  • Breaking changes:
    • default classNames have been changed
    • all { ...rest } props are spread to the root element for share buttons and share counts
    • share counts are now rendered in span element instead of div
    • icons have svg as root element instead of div
    • icon props were renamed: iconBgStyle -> bgStyle, logoFillColor -> iconFillColor

v3.0.1

Compare Source

  • Forward ref on to the share buttons
  • use componentDidUpdate instead of componentWillUpdate

v3.0.0

Compare Source

  • Added <PocketShareButton>
  • Added <InstapaperShareButton>
  • Added borderRadius prop for icons
  • A default aria-label is generated for the share buttons. It is based on the network name. Use additionalProps to override.
  • Removed support for Google+.
  • Removed support for <LinkedInShareCount/>. LinkedIn no longer provides an API to fetch share counts.
  • Removed title and description from <LinkedInShareButtons/>.
  • Fix: <EmailShareButton/> includes body before url.
  • Fix: <EmailShareButton/> and <ViberShareButton/> allow customization of separator.
  • Fix: <WeiboShareButton/> no longer requires image prop
  • Fix: <WeiboShareButton/> includes url correctly when shared
  • Fix: <WeiboShareButton/> and <OKShareButton/> open in screen center to prevent window from jumping after opening
  • Thanks @​finppp, @​madkoding, @​andrewl913, @​jwrubel, @​sinchang and @​sergioribeiro!

v2.4.0

Compare Source

  • Added <LineShareButton /> and <WeiboShareButton />

v2.3.1

Compare Source

  • tabIndex prop can now also be a number

v2.3.0

Compare Source

  • Added <WorkplaceShareButton /> (Facebook Workplace)

v2.2.0

Compare Source

  • Added <ViberShareButton />
  • Support name prop in share buttons
  • Fix minor accessibility issue (#​156)

Renovate configuration

📅 Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

Merge request reports

Loading