Skip to content

Bump react-share from 5.3.0 to 6.1.0 - #1377

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/react-share-6.1.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/react-share-6.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Bumps react-share from 5.3.0 to 6.1.0.

Release notes

Sourced from react-share's releases.

v6.1.0

Minor Changes

  • 5ebcdc2: Add a content prop to TumblrShareButton and buildTumblrShareUrl, and list the other Tumblr post types for posttype. For post types other than link, content carries the actual post data, such as the quote text. Based on #564 by @​me4502.
  • 37bf4cc: Add a to prop to EmailShareButton and buildEmailShareUrl for prefilling the recipient. It accepts one address or an array of addresses. Requested in #418.
  • a40bfc8: Add an openInNewTab prop to popup-based share buttons, and a matching newTab option for openShareWindow, to open the share page in a regular browser tab instead of a popup window. Requested in #449 and proposed in #342.
  • e15ed00: Add FarcasterShareButton, FarcasterIcon, FarcasterLegacyIcon, and buildFarcasterShareUrl for sharing to Farcaster (formerly Warpcast) through its compose intent. The shared URL is attached as an embed, and text, channelKey, and parentCastHash are supported. Requested in #558.
  • 8d087a7: Make url optional on XShareButton and buildXShareUrl so text-only posts can be shared by passing only text. At least one of url or text is still required. Requested in #570.
  • 8c76486: Add a phone prop to WhatsappShareButton and buildWhatsappShareUrl for sharing to a specific number. It takes the number in international format and removes everything except digits. It applies to both the web and the app link. Requested in #359.

v6.0.0

Major Changes

  • a811bc3: Change the default EmailShareButton separator from " " to "\n" so the shared URL appears on its own line below the email body. The new buildEmailShareUrl helper uses the same default.

    Reported in #582, where the URL was run together with the body text. Pass separator=" " to keep the previous formatting.

  • 5bb43a5: Open the share popup synchronously when beforeOnClick returns a promise, then load the share URL into it once the promise resolves. If the promise rejects, sharing is cancelled and the popup is closed.

    Previously the popup was opened only after awaiting beforeOnClick. By then the click's user activation had expired, so Safari and other browsers with strict popup blockers silently blocked the share window (#525, #506, #529). Rejections from beforeOnClick also used to surface as unhandled promise rejections.

  • e72b45e: Remove all deprecated share count exports in v6, including the underlying share count implementation and the jsonp dependency that previously powered them.

  • 2dc35f2: Remove the deprecated TwitterShareButton and TwitterIcon aliases in v6. Use XShareButton and XIcon instead.

  • 05c4997: Remove PocketShareButton, PocketIcon, PocketLegacyIcon, and buildPocketShareUrl, as well as WorkplaceShareButton, WorkplaceIcon, WorkplaceLegacyIcon, and buildWorkplaceShareUrl.

    Pocket shut down in July 2025 and Workplace from Meta shut down in June 2026, so these buttons could only open dead share pages.

  • 20570c5: Drop React 17 support in v6 and require React 18 or 19 via peerDependencies.

  • 08b5638: Remove title, summary, and source from LinkedinShareButton and make buildLinkedinShareUrl URL-only.

    This follows the long-running LinkedIn compatibility problems in #550 and #362. LinkedIn no longer provides a reliable public URL-based way to prefill those fields, so v6 stops exposing them as if they were dependable.

  • 22249a6: Split the icon exports into raw and legacy families for v6.

    The existing *Icon exports now render SVG logos that are closer to the underlying network marks. The previous badge-style icons remain available as *LegacyIcon exports with the existing round, borderRadius, bgStyle, and iconFillColor props.

    If you want to preserve the v5 visuals, rename imports such as FacebookIcon to FacebookLegacyIcon, XIcon to XLegacyIcon, and WhatsappIcon to WhatsappLegacyIcon.

    If you keep the *Icon names, note that raw icons default to size={24} instead of 64, and no longer accept round, borderRadius, bgStyle, or iconFillColor.

  • b2c18ff: Remove the deprecated hashtags, related, and via props from ThreadsShareButton in v6. Those props were ignored in v5 and were kept only for compatibility ahead of this major release.

  • 28da248: Replace the share button title prop with explicit v6 payload names:

    • text for Bluesky, Gab, Line, Telegram, Threads, and X
    • message for WhatsApp and Viber
    • shareTitle for Hatena, Instapaper, LiveJournal, Mail.ru, OK, Reddit, VK, and Weibo
    • postTitle for Tumblr

    htmlTitle remains the native button tooltip/title attribute.

Minor Changes

... (truncated)

Changelog

Sourced from react-share's changelog.

6.1.0

Minor Changes

  • 5ebcdc2: Add a content prop to TumblrShareButton and buildTumblrShareUrl, and list the other Tumblr post types for posttype. For post types other than link, content carries the actual post data, such as the quote text. Based on #564 by @​me4502.
  • 37bf4cc: Add a to prop to EmailShareButton and buildEmailShareUrl for prefilling the recipient. It accepts one address or an array of addresses. Requested in #418.
  • a40bfc8: Add an openInNewTab prop to popup-based share buttons, and a matching newTab option for openShareWindow, to open the share page in a regular browser tab instead of a popup window. Requested in #449 and proposed in #342.
  • e15ed00: Add FarcasterShareButton, FarcasterIcon, FarcasterLegacyIcon, and buildFarcasterShareUrl for sharing to Farcaster (formerly Warpcast) through its compose intent. The shared URL is attached as an embed, and text, channelKey, and parentCastHash are supported. Requested in #558.
  • 8d087a7: Make url optional on XShareButton and buildXShareUrl so text-only posts can be shared by passing only text. At least one of url or text is still required. Requested in #570.
  • 8c76486: Add a phone prop to WhatsappShareButton and buildWhatsappShareUrl for sharing to a specific number. It takes the number in international format and removes everything except digits. It applies to both the web and the app link. Requested in #359.

6.0.0

Major Changes

  • a811bc3: Change the default EmailShareButton separator from " " to "\n" so the shared URL appears on its own line below the email body. The new buildEmailShareUrl helper uses the same default.

    Reported in #582, where the URL was run together with the body text. Pass separator=" " to keep the previous formatting.

  • 5bb43a5: Open the share popup synchronously when beforeOnClick returns a promise, then load the share URL into it once the promise resolves. If the promise rejects, sharing is cancelled and the popup is closed.

    Previously the popup was opened only after awaiting beforeOnClick. By then the click's user activation had expired, so Safari and other browsers with strict popup blockers silently blocked the share window (#525, #506, #529). Rejections from beforeOnClick also used to surface as unhandled promise rejections.

  • e72b45e: Remove all deprecated share count exports in v6, including the underlying share count implementation and the jsonp dependency that previously powered them.

  • 2dc35f2: Remove the deprecated TwitterShareButton and TwitterIcon aliases in v6. Use XShareButton and XIcon instead.

  • 05c4997: Remove PocketShareButton, PocketIcon, PocketLegacyIcon, and buildPocketShareUrl, as well as WorkplaceShareButton, WorkplaceIcon, WorkplaceLegacyIcon, and buildWorkplaceShareUrl.

    Pocket shut down in July 2025 and Workplace from Meta shut down in June 2026, so these buttons could only open dead share pages.

  • 20570c5: Drop React 17 support in v6 and require React 18 or 19 via peerDependencies.

  • 08b5638: Remove title, summary, and source from LinkedinShareButton and make buildLinkedinShareUrl URL-only.

    This follows the long-running LinkedIn compatibility problems in #550 and #362. LinkedIn no longer provides a reliable public URL-based way to prefill those fields, so v6 stops exposing them as if they were dependable.

  • 22249a6: Split the icon exports into raw and legacy families for v6.

    The existing *Icon exports now render SVG logos that are closer to the underlying network marks. The previous badge-style icons remain available as *LegacyIcon exports with the existing round, borderRadius, bgStyle, and iconFillColor props.

    If you want to preserve the v5 visuals, rename imports such as FacebookIcon to FacebookLegacyIcon, XIcon to XLegacyIcon, and WhatsappIcon to WhatsappLegacyIcon.

    If you keep the *Icon names, note that raw icons default to size={24} instead of 64, and no longer accept round, borderRadius, bgStyle, or iconFillColor.

  • b2c18ff: Remove the deprecated hashtags, related, and via props from ThreadsShareButton in v6. Those props were ignored in v5 and were kept only for compatibility ahead of this major release.

  • 28da248: Replace the share button title prop with explicit v6 payload names:

    • text for Bluesky, Gab, Line, Telegram, Threads, and X
    • message for WhatsApp and Viber
    • shareTitle for Hatena, Instapaper, LiveJournal, Mail.ru, OK, Reddit, VK, and Weibo
    • postTitle for Tumblr

    htmlTitle remains the native button tooltip/title attribute.

... (truncated)

Commits
  • a581b83 Merge pull request #590 from nygardk/changeset-release/master
  • a48bf59 Version Packages
  • d4679b8 Merge pull request #589 from nygardk/post-v6-fixes
  • 07af86b docs(readme): show how to build custom networks and async share links
  • e15ed00 feat(farcaster): add FarcasterShareButton and icons
  • a40bfc8 feat(share-buttons): add an openInNewTab option
  • 5ebcdc2 feat(tumblr): add a content field and list the post types
  • 8c76486 feat(whatsapp): add a phone recipient prop
  • 37bf4cc feat(email): add a to recipient prop
  • 8d087a7 feat(x): make url optional for text-only posts
  • Additional commits viewable in compare view

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 15, 2026
@netlify

netlify Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for ubiquitous-salmiakki-0afd8b failed.

Name Link
🔨 Latest commit 18fe13f
🔍 Latest deploy log https://app.netlify.com/projects/ubiquitous-salmiakki-0afd8b/deploys/6aecd7a447d02d3f618547a7

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/react-share-6.1.0 branch 5 times, most recently from ed8f5ef to b3ddc41 Compare October 26, 2026 16:18
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/react-share-6.1.0 branch 2 times, most recently from 70a244b to 5b1db5b Compare November 5, 2026 19:15
Bumps [react-share](https://github.com/nygardk/react-share) from 5.3.0 to 6.1.0.
- [Release notes](https://github.com/nygardk/react-share/releases)
- [Changelog](https://github.com/nygardk/react-share/blob/master/CHANGELOG.md)
- [Commits](nygardk/react-share@v5.3.0...v6.1.0)

---
updated-dependencies:
- dependency-name: react-share
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/react-share-6.1.0 branch from 5b1db5b to 18fe13f Compare November 5, 2026 19:23
@mergify

mergify Bot commented Nov 16, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.

  • Queue this pull request

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants