All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.
2.4.0 (2024-11-04)
- lib: ✨ enable copy to clipboard functionality to useCurrentPnh hook (89678bf)
- lib: ✨ optional callback can be passed to canvas.toBlob (5a96d62)
2.3.2 (2024-05-10)
- security: 🔒 dependabot alert for next (#637)
2.3.1 (2024-01-30)
- docs: 📝 Update demo links and add
useGenerateImage
to README
2.3.0 (2023-11-02)
- lib: ✨ Generate image without recharts (2dbf262)
2.2.1 (2023-01-09)
- security: 🔒 fix json5 prototype pollution vulnerability (#585)
2.2.0 (2022-07-08)
- lib: ✨ add CurrentPng for use with class component (3de2bca)
- lib: 🏷️ fix getPng return type; use tsx extension (e93058f)
2.1.0 (2022-05-27)
- Maintenance release only
- Improved development experience by utilizing npm workspaces
- Switched demo from
create-react-app
tonext.js
to reduce security vulnurabilities
2.1.0-rc.2 (2022-05-27)
- other: unify eslintrc and tsconfigs; clean up demo
2.1.0-rc.1 (2022-05-27)
- other: 🧱 change demo from cra to next (0658c49)
2.1.0-rc.0 (2022-05-27)
- other: 🏗️ convert to workspace (4dc7cad)
- deps: ➕ ensure deps and peerDeps are added to release (14e62a5)
2.0.3-rc.0 (2022-05-26)
- dist: do not publish test files
2.0.2 (2022-04-18)
- dist: 🐛 Fix build
- deps: Support React 18
2.0.1 (2022-04-05) Broken release has been deprecated in npm; use 2.0.2 instead
2.0.0 (2022-01-06)
⚠️ Removed deprecated functionuseRechartToPng
in favor ofuseCurrentPng
1.1.2 (2021-12-29)
- deps: Upgrade html2canvas to ^1.2.0; fixes #317
1.1.1 (2021-07-14)
- deps: Upgrade html2canvas to v1; remove @types/html2canvas
1.1.0 (2021-06-02)
- Add
useCurrentPng
hook; see PR #181
1.0.1 (2021-06-02)
- lib: 🐛 make options optional (d655b3f)
1.0.0 (2021-04-06)
- Verified support for recharts v2; still compatible with v1
⚠️ After being deprecated in previous releases,getPngData
has been removed- If you haven't already migrated to the
useRechartToPng
hook, check the README for usage instructions.
0.8.2 (2020-12-17)
- lib: 🏷️ update types to match current version (4c8796c)
0.8.1 (2020-12-15)
- deps: Move
react
andreact-dom
to peerDependencies