diff --git a/.changeset/blue-chefs-care.md b/.changeset/blue-chefs-care.md deleted file mode 100644 index b88ae26a..00000000 --- a/.changeset/blue-chefs-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': minor ---- - -Mark all share count exports as deprecated in the public types and README, noting that they will be removed in v6 while remaining available as best-effort compatibility in v5. diff --git a/.changeset/chubby-radios-bow.md b/.changeset/chubby-radios-bow.md deleted file mode 100644 index 101d9e44..00000000 --- a/.changeset/chubby-radios-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': patch ---- - -Apply native disabled button behavior to share buttons so disabled buttons are actually non-interactive, matching the behavior requested in issue #533. diff --git a/.changeset/dirty-planes-heal.md b/.changeset/dirty-planes-heal.md deleted file mode 100644 index 20414b3a..00000000 --- a/.changeset/dirty-planes-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': patch ---- - -Use `api.whatsapp.com` for generated WhatsApp share links, following the behavior proposed in PR #459 and requested again in issue #575. diff --git a/.changeset/fair-cougars-rule.md b/.changeset/fair-cougars-rule.md deleted file mode 100644 index a98e60d3..00000000 --- a/.changeset/fair-cougars-rule.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': patch ---- - -Refresh several share icon brand colors to match current platform branding in the v5 badge set. diff --git a/.changeset/fuzzy-buses-battle.md b/.changeset/fuzzy-buses-battle.md deleted file mode 100644 index d0b4ab8a..00000000 --- a/.changeset/fuzzy-buses-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': patch ---- - -Render reset share buttons as `inline-flex` so icon-only buttons do not include extra bottom space from the inline baseline gap, and match the button focus outline radius to round and rounded bundled icons with a `2px` outline offset. diff --git a/.changeset/sharp-rivers-joke.md b/.changeset/sharp-rivers-joke.md deleted file mode 100644 index 6999dbb1..00000000 --- a/.changeset/sharp-rivers-joke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': minor ---- - -Clarify the share button API surface in v5 by documenting `htmlTitle` as the native button `title` attribute and marking the legacy `ThreadsShareButton` `hashtags`, `related`, and `via` props as deprecated no-ops ahead of their planned v6 removal. diff --git a/.changeset/sixty-ants-love.md b/.changeset/sixty-ants-love.md deleted file mode 100644 index 107942f5..00000000 --- a/.changeset/sixty-ants-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': patch ---- - -Fix Reddit sharing to use the current `/submit` endpoint instead of `/web/submit`, which was causing "Page not found" failures reported in issues like #571 and addressed in PR #572. diff --git a/.changeset/tidy-taxis-nod.md b/.changeset/tidy-taxis-nod.md deleted file mode 100644 index 153e2a73..00000000 --- a/.changeset/tidy-taxis-nod.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-share': minor ---- - -Add `XShareButton` as the canonical X sharing export while keeping `TwitterShareButton` available as a deprecated backwards-compatibility alias. diff --git a/CHANGELOG.md b/CHANGELOG.md index f9cd260e..9af58bf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## 5.3.0 + +### Minor Changes + +- 1625ede: Mark all share count exports as deprecated in the public types and README, noting that they will be removed in v6 while remaining available as best-effort compatibility in v5. +- d040ae7: Clarify the share button API surface in v5 by documenting `htmlTitle` as the native button `title` attribute and marking the legacy `ThreadsShareButton` `hashtags`, `related`, and `via` props as deprecated no-ops ahead of their planned v6 removal. +- 08358c8: Add `XShareButton` as the canonical X sharing export while keeping `TwitterShareButton` available as a deprecated backwards-compatibility alias. + +### Patch Changes + +- af3a338: Apply native disabled button behavior to share buttons so disabled buttons are actually non-interactive, matching the behavior requested in issue #533. +- 8cc7a38: Use `api.whatsapp.com` for generated WhatsApp share links, following the behavior proposed in PR #459 and requested again in issue #575. +- 0f5af18: Refresh several share icon brand colors to match current platform branding in the v5 badge set. +- c17f650: Render reset share buttons as `inline-flex` so icon-only buttons do not include extra bottom space from the inline baseline gap, and match the button focus outline radius to round and rounded bundled icons with a `2px` outline offset. +- 2afa235: Fix Reddit sharing to use the current `/submit` endpoint instead of `/web/submit`, which was causing "Page not found" failures reported in issues like #571 and addressed in PR #572. + ## 5.2.2 ### Patch Changes diff --git a/package.json b/package.json index 83b44b13..1a6fd7b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-share", - "version": "5.2.2", + "version": "5.3.0", "description": "Social media share buttons and share counts for React.", "type": "module", "main": "./dist/index.cjs",