Skip to content

Add requested options and networks after v6 - #589

Merged
nygardk merged 7 commits into
masterfrom
post-v6-fixes
Oct 12, 2026
Merged

nygardk merged 7 commits into
masterfrom
post-v6-fixes

Conversation

@nygardk

@nygardk nygardk commented Oct 12, 2026 •

Copy link
Copy Markdown
Owner

Follow-up to v6 that implements small, frequently requested features from the issue and PR backlog. Each commit is self-contained and has its own changeset (all minor).

Changes

Notes for review

Once this is released I'll close #564, #342, #336, #256, #216, and #150 with links to the new docs and options.

nygardk and others added 7 commits October 12, 2026 14:50
X's intent endpoint accepts a post with only text, but XShareButton and
buildXShareUrl required a url. Allow the url to be omitted as long as
text is set.

Requested in #570.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Allow prefilling the recipient of the mailto link with one address or an
array of addresses, in EmailShareButton and buildEmailShareUrl. This
matches the existing `to` prop on FacebookMessengerShareButton.

Requested in #418.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Allow addressing the share to a specific number by passing a phone in
international format. Non-digit characters are stripped, and the number is
added to both the web (api.whatsapp.com) and the app (whatsapp://) links.

Requested in #359.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
For post types other than `link`, Tumblr reads the actual post data, such
as the quote text, from `content`. Add it to TumblrShareButton and
buildTumblrShareUrl, and list the documented post types for `posttype`.

Re-implements #564 on top of the v6 prop names, since the original no
longer applied after `title` became `postTitle`.

Co-Authored-By: Maddy Miller <git@madelinemiller.dev>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Some apps prefer a regular browser tab over a sized popup window. Add
`openInNewTab` to popup-based share buttons and a matching `newTab`
option to `openShareWindow`. It also works with an async `beforeOnClick`,
where the blank tab is opened synchronously and loaded afterwards.

Proposed in #342 and requested in #449.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Farcaster (formerly Warpcast) documents a compose intent at
farcaster.xyz/~/compose that takes text, embeds, channelKey and
parentCastHash. Add a share button that attaches the shared URL as an
embed, along with raw and legacy icons (glyph from Simple Icons, CC0),
the build helper, demo entry and docs.

Requested in #558.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Two recurring requests are not covered by the share buttons: sharing to a
network the library has no button for, and preparing the share URL
(such as a short link) after the click. Document how to do both with
openShareWindow and the build*ShareUrl helpers.

Related to #150, #216, #256 and #336.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Oct 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 07af86b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
react-share Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@nygardk
nygardk merged commit d4679b8 into master Oct 12, 2026
4 checks passed
@nygardk
nygardk deleted the post-v6-fixes branch October 12, 2026 13:10
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