Skip to content

Commit

Permalink
Merge pull request #509 from nygardk/changeset-release/master
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
nygardk committed Nov 18, 2023
2 parents 8dadce6 + 285e860 commit 93b6b14
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 56 deletions.
5 changes: 0 additions & 5 deletions .changeset/angry-fireants-shop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/brave-chicken-train.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chilly-points-sip.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chilly-wolves-move.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fair-maps-thank.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fair-walls-shake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/late-chairs-learn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/many-lizards-dress.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/poor-lizards-run.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stale-peas-sip.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thirty-candles-shout.md

This file was deleted.

22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## 5.0.0

### Major Changes

- c04c694: Removed the `quote` prop from `FacebookShareButton` as it has been deprecated by Meta. See https://developers.facebook.com/support/bugs/734680371318112/?comment_id=743056360480513.
- 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](https://github.com/nygardk/react-share/issues/397).
- 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](https://gab.com). Originally implemented [here](https://github.com/nygardk/react-share/pull/425).
- 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](https://github.com/nygardk/react-share/pull/429).
- 14bbffa: Fixed `createIcon` defaultProps warning with React 18.

## 4.4.1 (Oct 16, 2022)

- Chore: upgraded build deps
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-share",
"version": "4.4.1",
"version": "5.0.0",
"description": "Social media share buttons and share counts for React.",
"type": "module",
"main": "./dist/index.cjs",
Expand Down

0 comments on commit 93b6b14

Please sign in to comment.