MauriceNino / dashdot

A simple, modern server dashboard, primarily used by smaller private servers
https://getdashdot.com/
MIT License
2.56k stars 94 forks source link

chore(deps): upgrade recharts to v2.12.7 - autoclosed #1006

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
recharts 2.7.3 -> 2.12.7 age adoption passing confidence

Release Notes

recharts/recharts (recharts) ### [`v2.12.7`](https://togithub.com/recharts/recharts/compare/v2.12.6...2074e2e404d820db5207a7724def33aaa299a785) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.12.6...v2.12.7) ### [`v2.12.6`](https://togithub.com/recharts/recharts/releases/tag/v2.12.6) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.12.5...v2.12.6) #### What's Changed ##### Fix - `Tooltip`: fix glitch where Tooltip always rendered in the top left even if animation was disabled by [@​HHongSeungWoo](https://togithub.com/HHongSeungWoo) in [https://github.com/recharts/recharts/pull/4425](https://togithub.com/recharts/recharts/pull/4425) fixes [https://github.com/recharts/recharts/issues/4424](https://togithub.com/recharts/recharts/issues/4424) ##### Chore - `CI/Build fix`: Added proper `.js` suffixes to main module and jsnext:main paths in package.json by [@​dobosalparbc](https://togithub.com/dobosalparbc) in [https://github.com/recharts/recharts/pull/4431](https://togithub.com/recharts/recharts/pull/4431) fixes [https://github.com/recharts/recharts/issues/2858](https://togithub.com/recharts/recharts/issues/2858) **Full Changelog**: https://github.com/recharts/recharts/compare/v2.12.5...v2.12.6 ### [`v2.12.5`](https://togithub.com/recharts/recharts/releases/tag/v2.12.5) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.12.4...v2.12.5) 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](https://togithub.com/recharts/recharts/issues/3640) by [@​graup](https://togithub.com/graup) in [https://github.com/recharts/recharts/pull/4407](https://togithub.com/recharts/recharts/pull/4407) ##### Fix Address [https://github.com/recharts/recharts/issues/4382](https://togithub.com/recharts/recharts/issues/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](https://togithub.com/ckifer) in [https://github.com/recharts/recharts/pull/4413](https://togithub.com/recharts/recharts/pull/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**: https://github.com/recharts/recharts/compare/v2.12.4...v2.12.5 ### [`v2.12.4`](https://togithub.com/recharts/recharts/releases/tag/v2.12.4) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.12.3...v2.12.4) #### What's Changed Small fixes while working on v3 continued... ##### Fix - `Accessibility`: remove role attribute from recharts-wrapper which caused an accessibility violation with > 1 chart on the same page by [@​julianna-langston](https://togithub.com/julianna-langston) in [https://github.com/recharts/recharts/pull/4386](https://togithub.com/recharts/recharts/pull/4386), fixes [#​4384](https://togithub.com/recharts/recharts/issues/4384) - `X/YAxis`: fix incorrect padding calculation when there is 1 datapoint or less by [@​graup](https://togithub.com/graup) in [https://github.com/recharts/recharts/pull/4314](https://togithub.com/recharts/recharts/pull/4314) closes [#​4313](https://togithub.com/recharts/recharts/issues/4313) `className` fixes - helps slowly address [https://github.com/recharts/recharts/issues/2169](https://togithub.com/recharts/recharts/issues/2169): - `Tooltip`: allow custom `className` on `cursor` by [@​108yen](https://togithub.com/108yen) in [https://github.com/recharts/recharts/pull/4306](https://togithub.com/recharts/recharts/pull/4306) - `RadarChart/RadialBarChart`: allow custom `className` on `PolarRadiusAxis`, `PolarAngleAxis`, and `Radar` dot by [@​108yen](https://togithub.com/108yen) in [https://github.com/recharts/recharts/pull/4335](https://togithub.com/recharts/recharts/pull/4335) - `Pie`: allow custom `className` on `label` and `labelLine` of `Pie` by [@​108yen](https://togithub.com/108yen) in [https://github.com/recharts/recharts/pull/4381](https://togithub.com/recharts/recharts/pull/4381) **Full Changelog**: https://github.com/recharts/recharts/compare/v2.12.3...v2.12.4 ### [`v2.12.3`](https://togithub.com/recharts/recharts/releases/tag/v2.12.3) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.12.2...v2.12.3) Some more small changes/fixes while working on 3.x #### What's Changed ##### Fix - `Legend`: fix issue where Legend was not taken into account when scaling the chart container by [@​zhonglin94](https://togithub.com/zhonglin94) in [https://github.com/recharts/recharts/pull/4272](https://togithub.com/recharts/recharts/pull/4272) closes [https://github.com/recharts/recharts/issues/4246](https://togithub.com/recharts/recharts/issues/4246) - `Area`: fixed a bug where className was not assigned to areaDot by [@​108yen](https://togithub.com/108yen) in [https://github.com/recharts/recharts/pull/4294](https://togithub.com/recharts/recharts/pull/4294) closes [https://github.com/recharts/recharts/issues/4290](https://togithub.com/recharts/recharts/issues/4290) - `RadialBar`: address regression where radial bar and its background were off from eachother because of rounding by [@​ckifer](https://togithub.com/ckifer) in [https://github.com/recharts/recharts/pull/4295](https://togithub.com/recharts/recharts/pull/4295) closes [https://github.com/recharts/recharts/issues/4264](https://togithub.com/recharts/recharts/issues/4264) - `ErrorBar`: do not count `null` as 0 in error bar domain by [@​rinkstiekema](https://togithub.com/rinkstiekema) in [https://github.com/recharts/recharts/pull/4297](https://togithub.com/recharts/recharts/pull/4297) #### New Contributors - [@​zhonglin94](https://togithub.com/zhonglin94) made their first contribution in [https://github.com/recharts/recharts/pull/4272](https://togithub.com/recharts/recharts/pull/4272) **Full Changelog**: https://github.com/recharts/recharts/compare/v2.12.2...v2.12.3 ### [`v2.12.2`](https://togithub.com/recharts/recharts/releases/tag/v2.12.2) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.12.1...v2.12.2) #### 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](https://togithub.com/ckifer) in [https://github.com/recharts/recharts/pull/4224](https://togithub.com/recharts/recharts/pull/4224) - `ResponsiveContainer`: Remove incorrectly timed console.warn call, only log when using soon-to-be deprecated feature by [@​HHongSeungWoo](https://togithub.com/HHongSeungWoo) in [https://github.com/recharts/recharts/pull/4249](https://togithub.com/recharts/recharts/pull/4249) **Full Changelog**: https://github.com/recharts/recharts/compare/v2.12.1...v2.12.2 ### [`v2.12.1`](https://togithub.com/recharts/recharts/releases/tag/v2.12.1) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.12.0...v2.12.1) #### 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 - fix: compact render should read from context, fixes brush panorama by [@​ckifer](https://togithub.com/ckifer) in [https://github.com/recharts/recharts/pull/4194](https://togithub.com/recharts/recharts/pull/4194) fixes [https://github.com/recharts/recharts/issues/4193](https://togithub.com/recharts/recharts/issues/4193) **Full Changelog**: https://github.com/recharts/recharts/compare/v2.12.0...v2.12.1 ### [`v2.12.0`](https://togithub.com/recharts/recharts/releases/tag/v2.12.0) [Compare Source](https://togithub.com/recharts/recharts/compare/36c14c63d271d05b701e1d32ac931de0fd30b360...v2.12.0) #### 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 - `Bar`: Accept a callback function for `minPointSize` so it can be determined by data by [@​ckifer](https://togithub.com/ckifer) in [https://github.com/recharts/recharts/pull/4099](https://togithub.com/recharts/recharts/pull/4099) closes [https://github.com/recharts/recharts/issues/2819](https://togithub.com/recharts/recharts/issues/2819) - `Accessibility`: Enable screen reader support with accessibilityLayer and default tooltip by [@​julianna-langston](https://togithub.com/julianna-langston) in [https://github.com/recharts/recharts/pull/4077](https://togithub.com/recharts/recharts/pull/4077) #### Fix - `Bar`: `activeBar` should not be true by default, fixes a breaking change from 2.9.0 by [@​ckifer](https://togithub.com/ckifer) in [https://github.com/recharts/recharts/pull/4139](https://togithub.com/recharts/recharts/pull/4139) - fixes [https://github.com/recharts/recharts/issues/4103](https://togithub.com/recharts/recharts/issues/4103) and [https://github.com/recharts/recharts/issues/4101](https://togithub.com/recharts/recharts/issues/4101) - `Scatter`: fix non-unique key errors by [@​imagineLife](https://togithub.com/imagineLife) in [https://github.com/recharts/recharts/pull/4087](https://togithub.com/recharts/recharts/pull/4087) - fixes [https://github.com/recharts/recharts/issues/4151](https://togithub.com/recharts/recharts/issues/4151) and [https://github.com/recharts/recharts/issues/4060](https://togithub.com/recharts/recharts/issues/4060) - `Pie`: fix non-unique key errors by [@​imagineLife](https://togithub.com/imagineLife) in [https://github.com/recharts/recharts/pull/4106](https://togithub.com/recharts/recharts/pull/4106) - `Tooltip`: fix bug that caused throttled tooltip to stay active when moving mouse quickly by [@​HHongSeungWoo](https://togithub.com/HHongSeungWoo) in [https://github.com/recharts/recharts/pull/4100](https://togithub.com/recharts/recharts/pull/4100) fixes [https://github.com/recharts/recharts/issues/4093](https://togithub.com/recharts/recharts/issues/4093) #### Chore - Cleanup, tests, and refactoring work. Thanks [@​PavelVanecek](https://togithub.com/PavelVanecek) - Upgrade react smooth, remove `translateStyle`, remove prop-types as a peerDep - **NOTE**: animations will no longer have browser prefixes on them. Browsers have good support for this (https://caniuse.com/?search=transforms) - Upgrade dev dependencies - Upgrade TypeScript to 4.9.5 (no definition changes from upgrade) #### Storybook - New storybook stories and doc updates #### New Contributors - [@​TRFielder](https://togithub.com/TRFielder) made their first contribution in [https://github.com/recharts/recharts/pull/4088](https://togithub.com/recharts/recharts/pull/4088) **Full Changelog**: https://github.com/recharts/recharts/compare/v2.11...v2.12.0 ### [`v2.11.0`](https://togithub.com/recharts/recharts/compare/v2.10.4...36c14c63d271d05b701e1d32ac931de0fd30b360) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.10.4...36c14c63d271d05b701e1d32ac931de0fd30b360) ### [`v2.10.4`](https://togithub.com/recharts/recharts/releases/tag/v2.10.4) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.10.3...v2.10.4) #### What's Changed Fix some older bugs annoying bugs, TS typings, update to the storybook theme, and more ##### Fix - `ResponsiveContainer`: fix `ref.current.current` without breaking users using current implementation by [@​HHongSeungWoo](https://togithub.com/HHongSeungWoo) in [https://github.com/recharts/recharts/pull/4008](https://togithub.com/recharts/recharts/pull/4008) - closes [https://github.com/recharts/recharts/issues/3718](https://togithub.com/recharts/recharts/issues/3718) - `Brush`: Allow Brush to be controlled with start and end index via state by [@​ckifer](https://togithub.com/ckifer) in [https://github.com/recharts/recharts/pull/4034](https://togithub.com/recharts/recharts/pull/4034) - closes [https://github.com/recharts/recharts/issues/2404](https://togithub.com/recharts/recharts/issues/2404) - `Legend`: TypeScript - Add the dataKey type to legend props by [@​HHongSeungWoo](https://togithub.com/HHongSeungWoo) in [https://github.com/recharts/recharts/pull/4035](https://togithub.com/recharts/recharts/pull/4035) - closes [https://github.com/recharts/recharts/issues/2909](https://togithub.com/recharts/recharts/issues/2909) - `Pie`: TypeScript - added `payload` to `PieSectorDataItem` type by [@​PavelVanecek](https://togithub.com/PavelVanecek) in [https://github.com/recharts/recharts/pull/4030](https://togithub.com/recharts/recharts/pull/4030) - `Pie`: unique sector keys fix by [@​imagineLife](https://togithub.com/imagineLife) in [https://github.com/recharts/recharts/pull/4009](https://togithub.com/recharts/recharts/pull/4009) closes [https://github.com/recharts/recharts/issues/3273](https://togithub.com/recharts/recharts/issues/3273) - `RadialBar`: allow className to be passed to Radial Bar background by [@​ckifer](https://togithub.com/ckifer) in [https://github.com/recharts/recharts/pull/4027](https://togithub.com/recharts/recharts/pull/4027) - closes [https://github.com/recharts/recharts/issues/4011](https://togithub.com/recharts/recharts/issues/4011) ##### Storybook - Storybook: Added Legend component story! by [@​AnujSharma141](https://togithub.com/AnujSharma141) in [https://github.com/recharts/recharts/pull/4039](https://togithub.com/recharts/recharts/pull/4039) - Storybook: add controlled brush storybook entry by [@​ckifer](https://togithub.com/ckifer) in [https://github.com/recharts/recharts/pull/4032](https://togithub.com/recharts/recharts/pull/4032) - Storybook: Custom Storybook theme for Recharts brand by [@​csdiehl](https://togithub.com/csdiehl) in [https://github.com/recharts/recharts/pull/4016](https://togithub.com/recharts/recharts/pull/4016) #### New Contributors - [@​csdiehl](https://togithub.com/csdiehl) made their first contribution in [https://github.com/recharts/recharts/pull/4016](https://togithub.com/recharts/recharts/pull/4016) - [@​AnujSharma141](https://togithub.com/AnujSharma141) made their first contribution in [https://github.com/recharts/recharts/pull/4039](https://togithub.com/recharts/recharts/pull/4039) **Full Changelog**: https://github.com/recharts/recharts/compare/v2.10.3...v2.10.4 ### [`v2.10.3`](https://togithub.com/recharts/recharts/releases/tag/v2.10.3) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.10.2...v2.10.3) #### What's Changed - Fix non-unique react `key` bug(s) by [@​imagineLife](https://togithub.com/imagineLife) in [https://github.com/recharts/recharts/pull/4006](https://togithub.com/recharts/recharts/pull/4006) - closes [https://github.com/recharts/recharts/issues/4004](https://togithub.com/recharts/recharts/issues/4004) #### New Contributors - [@​hkmarques](https://togithub.com/hkmarques) made their first contribution in [https://github.com/recharts/recharts/pull/4002](https://togithub.com/recharts/recharts/pull/4002) **Full Changelog**: https://github.com/recharts/recharts/compare/v2.10.2...v2.10.3 ### [`v2.10.2`](https://togithub.com/recharts/recharts/releases/tag/v2.10.2) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.10.1...v2.10.2) #### What's Changed Patch some bugs from 2.9 / 2.10 ##### Fix - `Tooltip`: Fix tooltip rendering crash when activeItem is undefined by [@​tran-simon](https://togithub.com/tran-simon) in [https://github.com/recharts/recharts/pull/3982](https://togithub.com/recharts/recharts/pull/3982) - `Cursor`: should no longer show gray background on hover where there was none previously [@​HHongSeungWoo](https://togithub.com/HHongSeungWoo) in [https://github.com/recharts/recharts/pull/3992](https://togithub.com/recharts/recharts/pull/3992) - `Tooltip`: show tooltip when `data` prop is on individual cartesian component by [@​HHongSeungWoo](https://togithub.com/HHongSeungWoo) in [https://github.com/recharts/recharts/pull/3988](https://togithub.com/recharts/recharts/pull/3988) - `LabelList` - TypeScript: LabelList offset prop issue by [@​ckifer](https://togithub.com/ckifer) in [https://github.com/recharts/recharts/pull/3999](https://togithub.com/recharts/recharts/pull/3999) ##### Accessibility - `Brush`: set default aria-label and allow value override by [@​enriquetamames-cpi](https://togithub.com/enriquetamames-cpi) in [https://github.com/recharts/recharts/pull/3950](https://togithub.com/recharts/recharts/pull/3950) ##### Refactor / Cleanup - Removing some eslint errors for "no array index key" by [@​imagineLife](https://togithub.com/imagineLife) #### New Contributors - [@​tran-simon](https://togithub.com/tran-simon) made their first contribution in [https://github.com/recharts/recharts/pull/3982](https://togithub.com/recharts/recharts/pull/3982) - [@​enriquetamames-cpi](https://togithub.com/enriquetamames-cpi) made their first contribution in [https://github.com/recharts/recharts/pull/3950](https://togithub.com/recharts/recharts/pull/3950) **Full Changelog**: https://github.com/recharts/recharts/compare/v2.10.1...v2.10.2 ### [`v2.10.1`](https://togithub.com/recharts/recharts/releases/tag/v2.10.1): Patch: Do not include types from test folder [Compare Source](https://togithub.com/recharts/recharts/compare/15328ec11b78968c847b43b646767b7b0c0d9e36...v2.10.1) Fixes [https://github.com/recharts/recharts/issues/3978](https://togithub.com/recharts/recharts/issues/3978) **Full Changelog**: https://github.com/recharts/recharts/compare/v2.10...v2.10.1 ### [`v2.10.0`](https://togithub.com/recharts/recharts/compare/v2.9.3...15328ec11b78968c847b43b646767b7b0c0d9e36) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.9.3...15328ec11b78968c847b43b646767b7b0c0d9e36) ### [`v2.9.3`](https://togithub.com/recharts/recharts/releases/tag/v2.9.3) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.9.2...v2.9.3) #### Fix `Brush`: Fix an issue where after 2.9 `Brush` does not correctly slice data when using `Line` components - fixes [https://github.com/recharts/recharts/issues/3929](https://togithub.com/recharts/recharts/issues/3929) - thank you [@​HHongSeungWoo](https://togithub.com/HHongSeungWoo) ### [`v2.9.2`](https://togithub.com/recharts/recharts/releases/tag/v2.9.2) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.9.1...v2.9.2) Fix another TS issue from 2.9. ##### Fix - `Line/ActiveDot`: Fix breaking type change for the `onClick` function of `activeDot` on `Line` - this resolves [https://github.com/recharts/recharts/issues/3922](https://togithub.com/recharts/recharts/issues/3922) - thank you [@​andrewangelle](https://togithub.com/andrewangelle) for the quick turnaround ### [`v2.9.1`](https://togithub.com/recharts/recharts/releases/tag/v2.9.1) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.9.0...v2.9.1) Bug fixes following 2.9.0 #### Fix - `TypeScript`: fix breaking change in `ActiveShape` types - fixes [https://github.com/recharts/recharts/issues/3911](https://togithub.com/recharts/recharts/issues/3911) - thanks [@​andrewangelle](https://togithub.com/andrewangelle) - `CartesianGrid`: fix breaking change where you could no longer render `CartesianGrid` without a y-axis - fixes [https://github.com/recharts/recharts/issues/3907](https://togithub.com/recharts/recharts/issues/3907) - thanks [@​akamfoad](https://togithub.com/akamfoad) - `Line`: fix infinite loop when `strokeDasharray` is `'0'` on `Line` - fixes [https://github.com/recharts/recharts/issues/3899](https://togithub.com/recharts/recharts/issues/3899) (and maybe others) **Full Changelog**: https://github.com/recharts/recharts/compare/v2.9.0...v2.9.1 ### [`v2.9.0`](https://togithub.com/recharts/recharts/releases/tag/v2.9.0) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.8.0...v2.9.0) #### 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](https://togithub.com/andrewangelle) in [https://github.com/recharts/recharts/pull/3756](https://togithub.com/recharts/recharts/pull/3756) - `CartesianGrid`: add `syncWithticks`, `horizonalValues`, and `verticalValues` props to allow more grid line customization by [@​morozovkirill](https://togithub.com/morozovkirill) in [https://github.com/recharts/recharts/pull/3746](https://togithub.com/recharts/recharts/pull/3746) solves [https://github.com/recharts/recharts/issues/2153](https://togithub.com/recharts/recharts/issues/2153) - `CartesianAxis`: Improve interval option 'equidistantPreserveStart' by [@​nikolasrieble](https://togithub.com/nikolasrieble) in [https://github.com/recharts/recharts/pull/3768](https://togithub.com/recharts/recharts/pull/3768) - `CartesianAxis`: Throw an invariant when axisIds do not match between chart and axis components by [@​ckifer](https://togithub.com/ckifer) - `Brush`: add onDragEnd event to Brush component by [@​simkesd](https://togithub.com/simkesd) in [https://github.com/recharts/recharts/pull/3774](https://togithub.com/recharts/recharts/pull/3774) ##### Fix - Active Shape improvements - `Funnel`: activeShape should work with Tooltip by [@​andrewangelle](https://togithub.com/andrewangelle) in [https://github.com/recharts/recharts/pull/3772](https://togithub.com/recharts/recharts/pull/3772) - `Scatter`: activeShape should work with Tooltip by [@​andrewangelle](https://togithub.com/andrewangelle) in [https://github.com/recharts/recharts/pull/3839](https://togithub.com/recharts/recharts/pull/3839) - `Pie`: activeShape should work with Tooltip by [@​andrewangelle](https://togithub.com/andrewangelle) in [https://github.com/recharts/recharts/pull/3818](https://togithub.com/recharts/recharts/pull/3818) - `RadialBar`: activeShape should work with Tooltip by [@​andrewangelle](https://togithub.com/andrewangelle) in [https://github.com/recharts/recharts/pull/3803](https://togithub.com/recharts/recharts/pull/3803) - `CartesianGrid`: Remove offset attribute from lines by [@​branberry](https://togithub.com/branberry) in [https://github.com/recharts/recharts/pull/3854](https://togithub.com/recharts/recharts/pull/3854) solves [https://github.com/recharts/recharts/issues/3810](https://togithub.com/recharts/recharts/issues/3810) - `ResponsiveContainer`: style prop is now passed down correctly by [@​d-gottlieb](https://togithub.com/d-gottlieb) in [https://github.com/recharts/recharts/pull/3726](https://togithub.com/recharts/recharts/pull/3726) - `Legend`: "Functions are not valid as a React child" error in when a function is passed as the payload [#​3749](https://togithub.com/recharts/recharts/issues/3749) by [@​chris-mcdonald-dev](https://togithub.com/chris-mcdonald-dev) in [https://github.com/recharts/recharts/pull/3750](https://togithub.com/recharts/recharts/pull/3750) - `Tooltip`: Fix tooltip position when container uses transform scale by [@​MateuszTrN](https://togithub.com/MateuszTrN) in [https://github.com/recharts/recharts/pull/3748](https://togithub.com/recharts/recharts/pull/3748) - `Tooltip`: Tooltip does not include data from all charts when a separate dataset is passed to chart prop data and specified on Line/Area/etc prop data by [@​andrewangelle](https://togithub.com/andrewangelle) in [https://github.com/recharts/recharts/pull/3733](https://togithub.com/recharts/recharts/pull/3733) fixes [https://github.com/recharts/recharts/issues/3669](https://togithub.com/recharts/recharts/issues/3669) ##### Refactor Impossible to mention all of the great refactoring done this release thanks to [@​PavelVanecek](https://togithub.com/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 - Upgrade react-smooth to 2.0.5 - potentially fixes [https://github.com/recharts/recharts/issues/1135](https://togithub.com/recharts/recharts/issues/1135) (edit: this was already fixed) - Add performance testing tool by [@​PavelVanecek](https://togithub.com/PavelVanecek) in [https://github.com/recharts/recharts/pull/3829](https://togithub.com/recharts/recharts/pull/3829) - remove reduceCSSCalc by [@​HHongSeungWoo](https://togithub.com/HHongSeungWoo) in [https://github.com/recharts/recharts/pull/3820](https://togithub.com/recharts/recharts/pull/3820) ##### Storybook - Add storybook-addon-performance by [@​PavelVanecek](https://togithub.com/PavelVanecek) in [https://github.com/recharts/recharts/pull/3826](https://togithub.com/recharts/recharts/pull/3826) - many storybook improvements and fixes #### 🚀 New Contributors (!!) 🚀 - [@​d-gottlieb](https://togithub.com/d-gottlieb) made their first contribution in [https://github.com/recharts/recharts/pull/3726](https://togithub.com/recharts/recharts/pull/3726) - [@​andrewangelle](https://togithub.com/andrewangelle) made their first contribution in [https://github.com/recharts/recharts/pull/3733](https://togithub.com/recharts/recharts/pull/3733) - [@​wanisramdani](https://togithub.com/wanisramdani) made their first contribution in [https://github.com/recharts/recharts/pull/3751](https://togithub.com/recharts/recharts/pull/3751) - [@​MateuszTrN](https://togithub.com/MateuszTrN) made their first contribution in [https://github.com/recharts/recharts/pull/3748](https://togithub.com/recharts/recharts/pull/3748) - [@​chris-mcdonald-dev](https://togithub.com/chris-mcdonald-dev) made their first contribution in [https://github.com/recharts/recharts/pull/3750](https://togithub.com/recharts/recharts/pull/3750) - [@​PavelVanecek](https://togithub.com/PavelVanecek) made their first contribution in [https://github.com/recharts/recharts/pull/3759](https://togithub.com/recharts/recharts/pull/3759) - [@​simkesd](https://togithub.com/simkesd) made their first contribution in [https://github.com/recharts/recharts/pull/3774](https://togithub.com/recharts/recharts/pull/3774) - [@​samtmorgan](https://togithub.com/samtmorgan) made their first contribution in [https://github.com/recharts/recharts/pull/3778](https://togithub.com/recharts/recharts/pull/3778) - [@​Shashangbhagat](https://togithub.com/Shashangbhagat) made their first contribution in [https://github.com/recharts/recharts/pull/3786](https://togithub.com/recharts/recharts/pull/3786) - [@​morozovkirill](https://togithub.com/morozovkirill) made their first contribution in [https://github.com/recharts/recharts/pull/3746](https://togithub.com/recharts/recharts/pull/3746) - [@​branberry](https://togithub.com/branberry) made their first contribution in [https://github.com/recharts/recharts/pull/3854](https://togithub.com/recharts/recharts/pull/3854) - [@​HHongSeungWoo](https://togithub.com/HHongSeungWoo) made their first contribution in [https://github.com/recharts/recharts/pull/3820](https://togithub.com/recharts/recharts/pull/3820) **Full Changelog**: https://github.com/recharts/recharts/compare/v2.8.0...v2.9.0 ### [`v2.8.0`](https://togithub.com/recharts/recharts/releases/tag/v2.8.0) [Compare Source](https://togithub.com/recharts/recharts/compare/v2.7.3...v2.8.0) #### What's Changed Minor changes - mostly focused on resolving errors from [https://github.com/recharts/recharts/issues/3615](https://togithub.com/recharts/recharts/issues/3615) ##### Feat - `Pie`: default tabIndex and accept it as prop by [@​akamfoad](https://togithub.com/akamfoad) in [https://github.com/recharts/recharts/pull/3700](https://togithub.com/recharts/recharts/pull/3700) - `Sankey`: add prop to control sankey sorting by [@​daformat](https://togithub.com/daformat) in [https://github.com/recharts/recharts/pull/3690](https://togithub.com/recharts/recharts/pull/3690) - \[a11y] `Brush`: Add basic keyboard accessibility support for the Brush component by [@​julianna-langston](https://togithub.com/julianna-langston) in [https://github.com/recharts/recharts/pull/3633](https://togithub.com/recharts/recharts/pull/3633) - `RadialBarChart`: support className prop by [@​victorgare](https://togithub.com/victorgare) in [https://github.com/recharts/recharts/pull/3654](https://togithub.com/recharts/recharts/pull/3654) ##### Fix - defaultProps errros on function components in newer versions of react - fixes [https://github.com/recharts/recharts/issues/3615](https://togithub.com/recharts/recharts/issues/3615) - TS: Add value type to legend Formatter event by [@​daryl-sf](https://togithub.com/daryl-sf) in [https://github.com/recharts/recharts/pull/3668](https://togithub.com/recharts/recharts/pull/3668) - Switch useLayoutEffect to useEffect in Rectangle for SSR by [@​sieroaoj](https://togithub.com/sieroaoj) in [https://github.com/recharts/recharts/pull/3657](https://togithub.com/recharts/recharts/pull/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 - [@​victorgare](https://togithub.com/victorgare) made their first contribution in [https://github.com/recharts/recharts/pull/3654](https://togithub.com/recharts/recharts/pull/3654) - [@​gcallaghan-nd](https://togithub.com/gcallaghan-nd) made their first contribution in [https://github.com/recharts/recharts/pull/3662](https://togithub.com/recharts/recharts/pull/3662) - [@​sieroaoj](https://togithub.com/sieroaoj) made their first contribution in [https://github.com/recharts/recharts/pull/3657](https://togithub.com/recharts/recharts/pull/3657) - [@​daryl-sf](https://togithub.com/daryl-sf) made their first contribution in [https://github.com/recharts/recharts/pull/3668](https://togithub.com/recharts/recharts/pull/3668) - [@​daformat](https://togithub.com/daformat) made their first contribution in [https://github.com/recharts/recharts/pull/3690](https://togithub.com/recharts/recharts/pull/3690) **Full Changelog**: https://github.com/recharts/recharts/compare/v2.7.2...v2.8.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.



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