Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency react-share to v4 #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 18, 2020

This PR contains the following updates:

Package Type Update Change
react-share dependencies major 2.2.0 -> 4.1.0

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)

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 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.

@renovate renovate bot force-pushed the renovate/react-share-4.x branch from aaac2ea to 5cf32be Compare March 15, 2020 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant