diff --git a/.changeset/bold-quotes-post.md b/.changeset/bold-quotes-post.md deleted file mode 100644 index c278ca61..00000000 --- a/.changeset/bold-quotes-post.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': minor ---- - -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. diff --git a/.changeset/kind-mails-arrive.md b/.changeset/kind-mails-arrive.md deleted file mode 100644 index 50b829db..00000000 --- a/.changeset/kind-mails-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': minor ---- - -Add a `to` prop to `EmailShareButton` and `buildEmailShareUrl` for prefilling the recipient. It accepts one address or an array of addresses. Requested in #418. diff --git a/.changeset/open-new-tabs.md b/.changeset/open-new-tabs.md deleted file mode 100644 index 307ce8fd..00000000 --- a/.changeset/open-new-tabs.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': minor ---- - -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. diff --git a/.changeset/purple-casts-share.md b/.changeset/purple-casts-share.md deleted file mode 100644 index d45891c3..00000000 --- a/.changeset/purple-casts-share.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': minor ---- - -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. diff --git a/.changeset/quiet-posts-text.md b/.changeset/quiet-posts-text.md deleted file mode 100644 index fc79d147..00000000 --- a/.changeset/quiet-posts-text.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': minor ---- - -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. diff --git a/.changeset/warm-phones-ring.md b/.changeset/warm-phones-ring.md deleted file mode 100644 index 0fb9a2b1..00000000 --- a/.changeset/warm-phones-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': minor ---- - -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. diff --git a/CHANGELOG.md b/CHANGELOG.md index caf9af4d..cf1a8ca4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # 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 diff --git a/package.json b/package.json index f04adc93..64155e98 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-share", - "version": "6.0.0", + "version": "6.1.0", "description": "Social media share buttons for React.", "type": "module", "main": "./dist/index.cjs",