This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
043faa3: Removed default aria-label prop from ShareButtons. Before it defaulted to the name of the "network name" (e.g. "facebook" for Facebook). Issue explained here.
d4c192a: Compilation target is now ES2017 instead of ES5. The distributed files are built with Vite instead of TypeScript compiler.
471510a: Dropped support for React 16.
Minor Changes
2c0ab57: Added GabShareButton and GabIcon to share on gab.com. Originally implemented here.
18f2de2: Added XIcon.
77ecaa7: Share counts are now created as function components instead of class components.
15fd50d: Added pinId prop for PinterestShareButton.
44c672f: Share buttons are now created as function components instead of class components.
Patch Changes
65b53c5: Fix HatenaShareCount to show also 0. Originally fixed here.
14bbffa: Fixed createIcon defaultProps warning with React 18.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
react-share@5.0.0
Major Changes
quote
prop fromFacebookShareButton
as it has been deprecated by Meta. See https://developers.facebook.com/support/bugs/734680371318112/?comment_id=743056360480513.aria-label
prop fromShareButtons
. Before it defaulted to the name of the "network name" (e.g. "facebook" for Facebook). Issue explained here.Minor Changes
GabShareButton
andGabIcon
to share on gab.com. Originally implemented here.XIcon
.pinId
prop forPinterestShareButton
.Patch Changes
HatenaShareCount
to show also0
. Originally fixed here.createIcon
defaultProps warning with React 18.