Skip to content

Releases: recharts/recharts

v2.10.3

01 Dec 01:40
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.10.2...v2.10.3

v2.10.2

29 Nov 04:45
Compare
Choose a tag to compare

What's Changed

Patch some bugs from 2.9 / 2.10

Fix

  • Tooltip: Fix tooltip rendering crash when activeItem is undefined by @tran-simon in #3982
  • Cursor: should no longer show gray background on hover where there was none previously @HHongSeungWoo in #3992
  • Tooltip: show tooltip when data prop is on individual cartesian component by @HHongSeungWoo in #3988
  • LabelList - TypeScript: LabelList offset prop issue by @ckifer in #3999

Accessibility

Refactor / Cleanup

  • Removing some eslint errors for "no array index key" by @imagineLife

New Contributors

Full Changelog: v2.10.1...v2.10.2

Patch: Do not include types from test folder

19 Nov 20:58
Compare
Choose a tag to compare

v2.10

19 Nov 14:31
Compare
Choose a tag to compare

What's Changed

Highlights

Both @HHongSeungWoo and @bernardobelchior landed improvements to performance!

We have made progress on our preparation of the 3.0 version by migrating from jest to vite. For details and motivation, please read the issue linked to the PR. Special thanks to @branberry for pushing on vitest! Thank you.

Fix

Chore

Storybook

Feat

New Contributors

Full Changelog: v2.9.0...v2.10

v2.9.3

06 Nov 22:21
Compare
Choose a tag to compare

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

01 Nov 06:17
Compare
Choose a tag to compare

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

30 Oct 06:22
Compare
Choose a tag to compare

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: v2.9.0...v2.9.1

v2.9.0

15 Oct 06:22
Compare
Choose a tag to compare

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

  • Bar: Implement activeBar for Bar component by @andrewangelle in #3756
  • CartesianGrid: add syncWithticks, horizonalValues, and verticalValues props to allow more grid line customization by @morozovkirill in #3746 solves #2153
  • CartesianAxis: Improve interval option 'equidistantPreserveStart' by @nikolasrieble in #3768
  • CartesianAxis: Throw an invariant when axisIds do not match between chart and axis components by @ckifer
  • Brush: add onDragEnd event to Brush component by @simkesd in #3774

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

  • Add storybook-addon-performance by @PavelVanecek in #3826
  • many storybook improvements and fixes

πŸš€ New Contributors (!!) πŸš€

Full Changelog: v2.8.0...v2.9.0

v2.8.0

25 Aug 06:36
Compare
Choose a tag to compare

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: v2.7.2...v2.8.0

v2.7.3

08 Aug 22:31
Compare
Choose a tag to compare

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