v3.5.0
What's Changed
Mostly fixes and performance improvements this release but check out the deprecation of Pie active/inactiveShape in favor of aligning with the shape prop of other chart elements.
Feat
Pie: addshapeto align custom Pie sector shapes to other Recharts components by @ckifer in https://github.com/recharts/recharts/pull/6482- This change deprecates
activeShapeandinactiveShape. Please use theisActiveprop passed from the callback toshapeto create active Pie sectors. - Note: forgot to include the current Sector index, will add in 3.5.1
- This change deprecates
Stacked Charts: implementreverseStackOrderprop in v3 - fixes a regression between recharts 2 and 3 by @j-shimizu111 in https://github.com/recharts/recharts/pull/6644Typescript/Dot: exportActiveDotPropsandDotItemDotPropstypes by @simaks in https://github.com/recharts/recharts/pull/6657
Fix
- Performance Improvements! https://recharts.github.io/en-US/guide/performance/
-
- Optimize
SetTooltipEntrySettingsto break infinite rendering loop by @PavelVanecek in https://github.com/recharts/recharts/pull/6616
- Optimize
- Various performance improvements by @PavelVanecek in https://github.com/recharts/recharts/pull/6634
- Some more performance improvements by @PavelVanecek in https://github.com/recharts/recharts/pull/6654
-
Line: fix animation when interrupted with non-data related changes by @PavelVanecek in https://github.com/recharts/recharts/pull/6641Line/Area: fix active dot appearing outside graph by @cameronm-orion in https://github.com/recharts/recharts/pull/6612Legend: aLegendwith aportalno longer adjusts the margin of the chart (which left an empty space) by @ckifer in https://github.com/recharts/recharts/pull/6609ErrorBar: remove duplicate key warning when error range has same values by @bas0N in https://github.com/recharts/recharts/pull/6660PolarAngleAxis: prevent overlapping "0" and "360" ticks by @PavelVanecek in https://github.com/recharts/recharts/pull/6611Typescript/Area: add specific type toArea.labelinstead ofanyby @PavelVanecek in https://github.com/recharts/recharts/pull/6621General: disable immutable check in production, removes console warnings by @tngwoerleij in https://github.com/recharts/recharts/pull/6619
Docs
- Add guide for performant charts by @PavelVanecek in https://github.com/recharts/recharts/pull/6659
- https://recharts.github.io/en-US/guide/performance/ please follow the guide for best results
- @PavelVanecek fixed and updated a lot of our documentation on both the storybook and website ๐ ๐
New Contributors (thanks everyone!)
- @Parth10P made their first contribution in https://github.com/recharts/recharts/pull/6623
- @j-shimizu111 made their first contribution in https://github.com/recharts/recharts/pull/6644
- @tngwoerleij made their first contribution in https://github.com/recharts/recharts/pull/6619
- @bas0N made their first contribution in https://github.com/recharts/recharts/pull/6660
- @cameronm-orion made their first contribution in https://github.com/recharts/recharts/pull/6612
- @simaks made their first contribution in https://github.com/recharts/recharts/pull/6657
Full Changelog: https://github.com/recharts/recharts/compare/v3.4.1...v3.4.2