Skip to content

Update dependency recharts to v2

Warren Gifford requested to merge renovate/recharts-2.x into main

Created by: renovate[bot]

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
recharts ^1.8.5 -> ^2.0.8 age adoption passing confidence

Release Notes

recharts/recharts

v2.0.8

Compare Source

feat
  • allow to show tooltip when hover or click bar item for and
  • add api getXScales, getYScales, getXScaleByAxisId, getYScaleByAxisId, getItemByXY to chart, fix #​2422
  • Add SyncMethod to categorical charts
  • findAllByType searches for match inside of a fragment
  • allow to add customized polarAngles and polarRadius to , fix #​2452
fix
  • fix Tooltip receive wrong payload when mouse enter , .etc, fix #​2394
  • fix Treemap tooltip when use dataKey to specify value, fix #​2428
deps
  • update react-resize-detector to 6.6.0, fix #​2431

v2.0.7

Compare Source

fix
  • add missed type definition of tickMargin in XAxis, YAxis, fix #​2427
  • filter out nil elements of chart
  • ensures id="undefined" is not rendered to the DOM when use ResponsiveContainer
  • fix auto scale type of ComposedChart, fix #​2403
  • Fix .d.ts types that relay on d3

v2.0.6

Compare Source

fix
  • fix types error in npm pkg, fix #​2398

v2.0.5

Compare Source

feat
  • defer when syncing to other charts
fix
  • Fix Customized component types
  • fix child event not dispatched, fix #​2414

v2.0.4

Compare Source

feat
  • add maxLines prop to Text component
fix
  • Add payload to Payload interface
  • prevent rerender errors in ResponsiveContainer
  • Add PieLabel, PieLabelRenderProps types
deps
  • Upgrade react-resize-detector(4.x => 5.x) types to match the library

v2.0.3

Compare Source

refactor
  • use getDerivedStateFromProps to replace UNSAFE_componentWillReceiveProps, support react@17, #​2385

v2.0.2

Compare Source

fix
  • fix lint error

v2.0.1

Compare Source

fix
  • Fix typo, createLabeldScales -> createLabeledScales
  • Prefer Number.isFinite if available
  • fix types error
  • fix(package.json): disable side effects explicitly
feat
  • Add aria-hidden to measurementSpan

v2.0.0

Compare Source

fix
  • fix minAngle for 0 in PieChart, fix ##​2237
  • fix type error of , fix #​2335
  • fix type error of cursor in , fix #​2178
  • fix Props of XAxis, fix #​2128
  • export Props of components, fix #​2319, #​2156, #​2203
  • Fix typo, getRectangePath -> getRectanglePath in Rectangle
  • allow Duplicated Category for bar charts not using correct entries for custom tool tips
  • fixing typescript array coalesce
  • fix types error of sankey, fix #​2280
  • Fixed SVG path for pie charts when corner radius is set to a value other than zero (#​2331)
feat
  • add props reversed to <Funnel />
  • add breakAll props to <Text /> to allow break all for chinese
  • fix width of labelList in Funnel; fix #​2056, #​1866
  • support range RadarChart and add props connectNulls to , fix #​1890
  • add ability to pass in custom legend icon.
deps
  • upgrade react-resize-detector to 5.2.0 and fix ts error, fix #​2300
  • update react-smooth to 1.0.6 to fix bug after upgrading d3
  • upgrade d3 packages

Renovate configuration

📅 Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.

🚦 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.


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

This PR has been generated by WhiteSource Renovate. View repository job log here.

Merge request reports

Loading