Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 10, 2022

This PR contains the following updates:

Package Change Age Confidence
recharts 2.1.16 -> 2.15.4 age confidence

Release Notes

recharts/recharts (recharts)

v2.15.4

Compare Source

What's Changed

Last 2.x patch - releasing since the @babel/runtime vulnerability is showing up in some security scans. Hoping to release 3.0 on 6/22 🚀

Fix
  • X/YAxis: fix issue where recharts class names did not get passed to custom tick components by @​MyungAe in #​5840
  • Bar: allow minPointSize function to receive null and undefined values by @​eino in #​5947
  • TypeScript: fix issue which caused build errors when allowSyntheticDefaultImports: false by @​tfaller in #​5810
Security
  • resolve @​babel/runtime ReDoS vulnerability (SNYK-JS-BABELRUNTIME-10044504) by @​moehaje in #​5969
    • recharts isn't vulnerable to this per-se, but it does show up in security tooling like snyk

New Contributors

Full Changelog: recharts/recharts@v2.15.3...v2.15.4

v2.15.3

Compare Source

Last patch release before 3.0 🚀

What's Changed

Fix
  • XAxis: fix padding calculation for padding="gap" and padding="no-gap" when XAxis is type number by @​jackfletch in #​5759

Full Changelog: recharts/recharts@v2.15.2...v2.15.3

v2.15.2

Compare Source

What's Changed

Few bugfixes and bug fix backports for 2.x

Fix
  • Bar/Rectangle: add index back to Bar Rectangle key to prevent duplicate key issues by @​ckifer in #​5561
  • Dot: re-include points object in dotProps by @​brodriguezmilla in #​5657
  • Tooltip: add SVGProps to Tooltip payload type to account for svg properties such as opacity passed by the user by @​ally1002 in #​5712
  • Tooltip/Bar: fix activeBar prop not working when tooltip shared={false} by @​nizans in #​5718
  • General: allow data-* props to be spread on svg elements and not be filtered out by @​prtmwrkr in #​5666

New Contributors

Full Changelog: recharts/recharts@v2.15.1...v2.15.2

v2.15.1

Compare Source

What's Changed

Quick patch release, nothing crazy going on here.

In the meantime please help us test recharts 3.0 alpha #​5445 🚀

Fix
Chore

New Contributors

Full Changelog: recharts/recharts@v2.15.0...v2.15.1

v2.15.0

Compare Source

What's Changed

Final 2.x React 19 support

!!! You still need to override your react-is version to match react/react-dom for React 19 to work with recharts !!! - see thread here - this limitation will be alleviated in recharts 3.0

Feat

Add React 19 to peerDependencies - closes #​4558

Fix

  • Bar: fix Bar mouse event types regression - closes #​5308
  • Remove React19 deprecated ReactText type

Full Changelog: recharts/recharts@v2.14.1...v2.15.0

v2.14.1

Compare Source

What's Changed
Fix
  • X/YAxis: omit unused/accidentally added (in 2.13) ref prop from axis types in #​5295. Resolves #​5294

Full Changelog: recharts/recharts@v2.14.0...v2.14.1

v2.14.0

Compare Source

What's Changed

Small release to get new top level chart events out there. Still working on 3.x, a little slower right now because of the holidays.

Feat

  • Area/Line/Bar/Scatter/Pie/Radar/RadialBar/Funnel Chart components: add support for top level onContextMenu and onDoubleClick events #​5254 by @​abarreau in #​5255

Fix

Typescript fixes
  • LabelList: dataKey prop for LabelList should accept any object by @​ckifer in #​5252
  • Pie: PieSectorDataItem.payload should be an object rather than an array by @​BTOdell in #​5263

New Contributors

Full Changelog: recharts/recharts@v2.13.3...v2.14.0

v2.13.3

Compare Source

What's Changed

Small change which may (or may not) help when using ResponsiveContainer with React 19. Worth a shot.

!! react-is override is still needed for React 19 to work correctly with recharts !! - see #​4558

Fix
  • 7a67b41 ResponsiveContainer - swap isElement from react-is with React.isValidElement

Full Changelog: recharts/recharts@v2.13.2...v2.13.3

v2.13.2

Compare Source

What's Changed

  • Another fix from 2.13. Categorical charts should have their ref props back.
Fix

Full Changelog: recharts/recharts@v2.13.1...v2.13.2

v2.13.1

Compare Source

What's Changed

  • Small bug fixes from the 2.13 release
Fix
  • ResponsiveContainer: fix internal bug from 2.13 which causes responsive container to render incorrectly by @​ckifer in #​5174
  • Bar: radius prop type fixed to match expected type by @​lifeofpavs in #​5116

New Contributors

Full Changelog: recharts/recharts@v2.13.0...v2.13.1

v2.13.0

Compare Source

What's Changed

React 19 compat, fix annoying defaultProps warnings, bug fixes

Feat
  • React 19 compatibility - see #​4558

    • peerDependencies still cannot be updated until 3.0 release, but for now R19 beta/RC releases can be used with Recharts under the following conditions:
      • Your react-is version matches your react and react-dom versions: use your package manager's override functionality to match your react-is version to your react version or else recharts elements will not show - see #​4558 (comment)
  • CartesianGrid: add support for ry prop to curve the corner of the grid background - progress on #​3062

Fix
Typescript
  • JSDoc comments will now be preserved in TypeScript definitions by @​mxdvl in #​5071

New Contributors

Full Changelog: recharts/recharts@v2.12.7...v2.13.0

v2.12.7

Compare Source

Whats changed

Fix
  • Area: re-add calculated area points to the areaDot callback props when it is a function. This was accidentally removed in v2.3. Fixes #​4480
  • Brush: guard against undefined property access error when an ariaLabel is not specified. Follow up from #​2093 (comment)

Full Changelog: recharts/recharts@v2.12.6...v2.12.7

v2.12.6

Compare Source

What's Changed

Fix
Chore

Full Changelog: recharts/recharts@v2.12.5...v2.12.6

v2.12.5

Compare Source

Small fixes while working on v3 continued...

What's Changed

Feat
  • BarChart: support percentage (of chart) for barSize. Helps set size of bar when there are few datapoints Fixes #​3640 by @​graup in #​4407
Fix

Address #​4382

A recent release of @types/react broke some builds because they removed certain (unused) events from common event handler attributes. recharts was unknowingly enumerating keys of SVGProps in the Layer component with the old types and causing a type error on tsc with skipLibCheck: false

  • typescript - Layer: use SVGAttributes instead of SVGProps in forwardRef components by @​ckifer in #​4413
  • typescript - Pie: fix Pie ref which was cast to HTMLElement when the ref is actually referring to SVGGElement. This gave false information to whoever is using ref on the Pie component

Full Changelog: recharts/recharts@v2.12.4...v2.12.5

v2.12.4

Compare Source

What's Changed

Small fixes while working on v3 continued...

Fix

className fixes - helps slowly address #​2169:

  • Tooltip: allow custom className on cursor by @​108yen in #​4306
  • RadarChart/RadialBarChart: allow custom className on PolarRadiusAxis, PolarAngleAxis, and Radar dot by @​108yen in #​4335
  • Pie: allow custom className on label and labelLine of Pie by @​108yen in #​4381

Full Changelog: recharts/recharts@v2.12.3...v2.12.4

v2.12.3

Compare Source

Some more small changes/fixes while working on 3.x

What's Changed

Fix

New Contributors

Full Changelog: recharts/recharts@v2.12.2...v2.12.3

v2.12.2

Compare Source

What's Changed

Some more small fixes while working on 3.x

Fix
  • Pie: pie label keys are not unique when data is 0 by @​ckifer in #​4224
  • ResponsiveContainer: Remove incorrectly timed console.warn call, only log when using soon-to-be deprecated feature by @​HHongSeungWoo in #​4249

Full Changelog: recharts/recharts@v2.12.1...v2.12.2

v2.12.1

Compare Source

What's Changed

Unintentional regression broke panoramic/compact Brush in 2.11.0 and 2.12.0, backport the fix to 2.x as we work on 3.x

Fix

Full Changelog: recharts/recharts@v2.12.0...v2.12.1

v2.12.0

Compare Source

What's Changed

Bug fixes and a few small new features.

Releasing 2.12.0 to create a "clean slate" as contributors are discussing next moves for recharts.

We will try to focus on upgrades, architectural changes, and long-pending breaking changes so we can release a recharts v3. This will not be a large major version, or one hard to upgrade to, but rather a major version bump to prevent us from breaking people with library upgrades, large refactors, etc. Feature parity should hold. Thanks!

Features

Fix

Chore

  • Cleanup, tests, and refactoring work. Thanks @​PavelVanecek
  • Upgrade react smooth, remove translateStyle, remove prop-types as a peerDep
  • Upgrade dev dependencies
    • Upgrade TypeScript to 4.9.5 (no definition changes from upgrade)

Storybook

  • New storybook stories and doc updates

New Contributors

Full Changelog: recharts/recharts@v2.11...v2.12.0

v2.11.0

Compare Source

v2.10.4

Compare Source

What's Changed

Fix some older bugs annoying bugs, TS typings, update to the storybook theme, and more

Fix
Storybook

New Contributors

Full Changelog: recharts/recharts@v2.10.3...v2.10.4

v2.10.3

Compare Source

What's Changed

New Contributors

Full Changelog: recharts/recharts@v2.10.2...v2.10.3

v2.10.2

Compare Source

What's Changed

Patch some bugs from 2.9 / 2.10

Fix
Accessibility
Refactor / Cleanup

New Contributors

Full Changelog: recharts/recharts@v2.10.1...v2.10.2

v2.10.1: Patch: Do not include types from test folder

Compare Source

Fixes #​3978

Full Changelog: recharts/recharts@v2.10...v2.10.1

v2.10.0

Compare Source

v2.9.3

Compare Source

Fix

Brush: Fix an issue where after 2.9 Brush does not correctly slice data when using Line components - fixes #​3929 - thank you @​HHongSeungWoo

v2.9.2

Compare Source

Fix another TS issue from 2.9.

Fix
  • Line/ActiveDot: Fix breaking type change for the onClick function of activeDot on Line - this resolves #​3922 - thank you @​andrewangelle for the quick turnaround

v2.9.1

Compare Source

Bug fixes following 2.9.0

Fix

  • TypeScript: fix breaking change in ActiveShape types - fixes #​3911 - thanks @​andrewangelle
  • CartesianGrid: fix breaking change where you could no longer render CartesianGrid without a y-axis - fixes #​3907 - thanks @​akamfoad
  • Line: fix infinite loop when strokeDasharray is '0' on Line - fixes #​3899 (and maybe others)

Full Changelog: recharts/recharts@v2.9.0...v2.9.1

v2.9.0

Compare Source

What's Changed

Quite a lot this minor release! We sent out a cry for help and many answered - thank you so much for that 🙌🏼

This release aims at internal maintainability, long lingering bugs, and needed improvements. Highlights include equidistant tick improvements, an active bar feature, and an ~85k/~9kb (gzipped) bundle size reduction 🚀

Feat
Fix
Refactor

Impossible to mention all of the great refactoring done this release thanks to @​PavelVanecek (33 PRs in one month!!) and others! Notable improvements include (non-breaking) type safety enhancements and source code file size reductions, and unit test improvements that will help reduce regressions.

Chore
Storybook

🚀 New Contributors (!!) 🚀

Full Changelog: recharts/recharts@v2.8.0...v2.9.0

v2.8.0

Compare Source

What's Changed

Minor changes - mostly focused on resolving errors from #​3615

Feat
Fix
  • defaultProps errros on function components in newer versions of react - fixes #​3615
  • TS: Add value type to legend Formatter event by @​daryl-sf in #​3668
  • Switch useLayoutEffect to useEffect in Rectangle for SSR by @​sieroaoj in #​3657
Refactor
  • refactor function components to use default params, revert Tooltip to class based component - resolves console errors about defaultProps
Docs
  • Some storybook example additions/changes

New Contributors

Full Changelog: recharts/recharts@v2.7.2...v2.8.0

v2.7.3

Compare Source

tiny 1 change patch release that merges #​3662 to fix an accessibility issue

  • Fixes an ADA compliance issue by removing the img role from line dots

v2.7.2

Compare Source

What's Changed

Fix
  • Allow accessibilityLayer when there is no tooltip (fixes undefined access bug) by @​julianna-langston in #​3627
  • Fix regression when null is passed into Line dot (fixes undefined access bug although null is not a supported type for dot) by @​ckifer in #​3637
Other
  • Few minor storybook changes and dev chore items

Full Changelog: recharts/recharts@v2.7.1...v2.7.2

v2.7.1

Compare Source

What's Changed

Fix
  • Move @​storybook/addon-storysource to dev dependencies by @​DmitryMarkov in #​3623
    • Moves dev dependency to correct location to prevent bundle size increase, etc.
  • Fix defaults for r and strokeWidth when they aren't provided by the user by @​ckifer in #​3624
    • Bug where if only clipDot is provided within dot of Area and Line then dots disappear and NaN is errors appear in the DOM

New Contributors

Full Changelog: recharts/recharts@v2.7.0...v2.7.1

v2.7.0

Compare Source

What's Changed

Storybook updates, a few new features, bug fixes.

Note: This release may cause more reports of this defaultProps warning - we are aware of this and trying to come up with a feasible solution.

Feat
Fix
Docs
Refactor

New Contributors

Full Changelog: recharts/recharts@v2.6.2...v2.7.0

v2.6.2

Compare Source

fix bug where ts types error and cannot be generated when exporting in a consuming package. Fixes #​3581

What's Changed

  • fix: sankey types - add explicitly return type for renderTooltip by @​ckifer in #​3581

Full Changelog: recharts/recharts@v2.6.1...v2.6.2

v2.6.1

Compare Source

What's Changed

Quick fix for a bug crashing treemaps with tooltips in 2.6.0

Full Changelog: recharts/recharts@v2.6.0...v2.6.1

v2.6.0

Compare Source

What's Changed

Storybook documentation updates as well as our first accessibility feature thanks to @​julianna-langston and some refactoring to function components!

Feat
Fix
Docs
  • lots of storybook changes - go check it out!
    • Getting close to parity with existing docs on recharts.org
    • Added accessibility add-on
    • Added accessibility docs to go with the keyboard navigation support
    • Storybook 7 stable
    • Much more!
Refactor

New Contributors

Full Changelog: recharts/recharts@v2.5.0...v2.6.0

v2.5.0

Compare Source

What's Changed

Feat

Configuration

📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@changeset-bot
Copy link

changeset-bot bot commented Dec 10, 2022

⚠️ No Changeset found

Latest commit: c4513ee

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.2.0 Update dependency recharts to v2.2.0 Dec 17, 2022
@renovate renovate bot changed the title Update dependency recharts to v2.2.0 fix(deps): update dependency recharts to v2.2.0 Dec 17, 2022
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 48dd6a7 to bea6a74 Compare January 12, 2023 04:18
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.2.0 fix(deps): update dependency recharts to v2.3.1 Jan 12, 2023
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.3.1 fix(deps): update dependency recharts to v2.3.2 Jan 12, 2023
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from bea6a74 to 5c045ec Compare January 12, 2023 19:51
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.3.2 fix(deps): update dependency recharts to v2.5.0 Mar 16, 2023
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 5c045ec to 1499cb5 Compare March 16, 2023 08:59
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.5.0 fix(deps): update dependency recharts to v2.6.2 May 28, 2023
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 1499cb5 to 39152d5 Compare May 28, 2023 09:20
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 39152d5 to 5eb1d8d Compare June 15, 2023 08:20
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.6.2 fix(deps): update dependency recharts to v2.7.0 Jun 15, 2023
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 5eb1d8d to 6d9f94e Compare June 15, 2023 17:22
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.7.0 fix(deps): update dependency recharts to v2.7.1 Jun 15, 2023
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.7.1 fix(deps): update dependency recharts to v2.7.2 Jun 22, 2023
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 6d9f94e to b2ef8ea Compare June 22, 2023 09:02
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.7.2 fix(deps): update dependency recharts to v2.7.3 Aug 13, 2023
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from b2ef8ea to d9c5041 Compare August 13, 2023 05:51
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from d9c5041 to 2c717e3 Compare August 28, 2023 23:28
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.7.3 fix(deps): update dependency recharts to v2.8.0 Aug 28, 2023
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 2c717e3 to b01523f Compare October 15, 2023 07:50
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.8.0 fix(deps): update dependency recharts to v2.9.0 Oct 15, 2023
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from b01523f to 619864d Compare October 30, 2023 10:37
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.9.0 fix(deps): update dependency recharts to v2.9.1 Oct 30, 2023
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 619864d to 0ef0201 Compare November 1, 2023 23:24
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.9.1 fix(deps): update dependency recharts to v2.9.2 Nov 1, 2023
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 0ef0201 to 47b31bb Compare November 7, 2023 00:24
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.9.2 fix(deps): update dependency recharts to v2.9.3 Nov 7, 2023
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 62e613b to b19f9c6 Compare April 12, 2024 16:37
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.12.4 fix(deps): update dependency recharts to v2.12.5 Apr 12, 2024
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from b19f9c6 to f78f919 Compare April 21, 2024 07:55
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.12.5 fix(deps): update dependency recharts to v2.12.6 Apr 21, 2024
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from f78f919 to cbc9605 Compare May 8, 2024 06:58
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.12.6 fix(deps): update dependency recharts to v2.12.7 May 8, 2024
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from cbc9605 to f070107 Compare October 10, 2024 22:09
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.12.7 fix(deps): update dependency recharts to v2.13.0 Oct 10, 2024
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from f070107 to 8ee1381 Compare October 29, 2024 23:36
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.13.0 fix(deps): update dependency recharts to v2.13.1 Oct 29, 2024
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 8ee1381 to e4797ac Compare October 30, 2024 16:13
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.13.1 fix(deps): update dependency recharts to v2.13.2 Oct 30, 2024
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from e4797ac to f85fa1c Compare November 1, 2024 19:26
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.13.2 fix(deps): update dependency recharts to v2.13.3 Nov 1, 2024
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from f85fa1c to 8acacd2 Compare December 2, 2024 22:15
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.13.3 fix(deps): update dependency recharts to v2.14.0 Dec 2, 2024
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 8acacd2 to e3bff75 Compare December 3, 2024 05:39
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.14.0 fix(deps): update dependency recharts to v2.14.1 Dec 3, 2024
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from e3bff75 to fc2cd63 Compare December 12, 2024 22:28
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.14.1 fix(deps): update dependency recharts to v2.15.0 Dec 12, 2024
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from fc2cd63 to affb998 Compare January 28, 2025 01:17
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.15.0 fix(deps): update dependency recharts to v2.15.1 Jan 28, 2025
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from affb998 to 335577c Compare April 4, 2025 19:44
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.15.1 fix(deps): update dependency recharts to v2.15.2 Apr 4, 2025
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 335577c to 9102b8c Compare April 18, 2025 07:20
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.15.2 fix(deps): update dependency recharts to v2.15.3 Apr 18, 2025
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 9102b8c to 782de06 Compare August 5, 2025 19:37
@renovate renovate bot changed the title fix(deps): update dependency recharts to v2.15.3 fix(deps): update dependency recharts to v2.15.4 Aug 5, 2025
@renovate renovate bot force-pushed the renovate/recharts-2.x branch from 782de06 to c4513ee Compare November 20, 2025 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant