chore(deps): Update dependency recharts to v3 #66
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.15.3
->3.1.0
Release Notes
recharts/recharts (recharts)
v3.1.0
Compare Source
What's Changed
Bug fixes (old and new) and a few new hooks post 3.0 launch!
Feat
More hooks!
useOffset
andusePlotArea
hooks by @PavelVanecek in https://github.com/recharts/recharts/pull/6057useActiveTooltipDataPoints
hook by @PavelVanecek in https://github.com/recharts/recharts/pull/6067Fix
Legend
: After hiding and showing legend elements, keep them in the same order as before by @PavelVanecek in https://github.com/recharts/recharts/pull/6026Bar
: addpayload
as a valid property onBarRectangleItem
by @ckifer in https://github.com/recharts/recharts/pull/6029Accessibility
: Removerole=application
from recharts wrapper (this was removed in 2.x for accessibility reasons) by @PavelVanecek in https://github.com/recharts/recharts/pull/6060ResponsiveContainer
: Addoverflow: visible
zero-size wrapper so that ResponsiveContainer can shrink by @PavelVanecek in https://github.com/recharts/recharts/pull/6068X/YAxis
: FixtickCount
andallowDecimals
if axis domain does not include the keyword 'auto' by @PavelVanecek in https://github.com/recharts/recharts/pull/6070Tooltip
: Fix active tooltip and dots when there are multiple graphical items each with their own data by @PavelVanecek in https://github.com/recharts/recharts/pull/6074Docs
Chore
New Contributors
Full Changelog: recharts/recharts@v3.0.2...v3.1.0
v3.0.2
Compare Source
What's Changed
Please skip 3.0.1 and go straight to 3.0.2 - https://github.com/recharts/recharts/issues/6022. In
React.StrictMode
charts in 3.0.1 were not rendering at all. This revert should resolve that.revert
: revert preserve legend order by @ckifer in https://github.com/recharts/recharts/pull/6023Full Changelog: recharts/recharts@v3.0.1...v3.0.2
v3.0.1
Compare Source
What's Changed
Lots of fixes from the 3.0 release - thanks for the reports!
Edit: broke something https://github.com/recharts/recharts/issues/6022
Fix
Label
: fix an issue which causedlabelRef
to get passed to custom DOM elements which logged an error/warning by @saurabhraj123 in https://github.com/recharts/recharts/pull/6008Pie
->Label
: fix issue where pie labels were not rendering correctly when specified as a child ofPie
by @PavelVanecek in https://github.com/recharts/recharts/pull/5987Legend
: apply legenditemSorter
for customcontent
as well as default content by @PavelVanecek in https://github.com/recharts/recharts/pull/6012~~*
Legend
: keep legend items in the same order when they are hidden and shown by @PavelVanecek in https://github.com/recharts/recharts/pull/6017~~Bar
->Brush
: fix undefined access error when usingBrush
with stacked bar charts by @PavelVanecek in https://github.com/recharts/recharts/pull/6009X/YAxis
: fixDecimalError
when creating vertical oriented charts with a single datapoint by @ckifer in https://github.com/recharts/recharts/pull/6016X/Y/PolarAngle/PolarRadius Axis
:tickFormatter
is no longer called with data indexes before the actual data by @PavelVanecek in https://github.com/recharts/recharts/pull/6019Full Changelog: recharts/recharts@v3.0.0...v3.0.1
v3.0.0
Compare Source
🚀 Recharts 3 is here!
Huge shoutout to @PavelVanecek who wrote 95% of the code for this major version release. We re-wrote recharts state management, wrote some 3500 unit tests, fixed a bunch of bugs, and added a few well-requested features.
The intent with 3.0 is that it is now a better/easier place for the community to contribute to. Looking forward to what the future of recharts looks like in 3.x and beyond!
More details and the 3.0 migration guide
BREAKING CHANGES
Please see https://github.com/recharts/recharts/wiki/3.0-migration-guide#breaking-code-changes
tldr;
CategoricalChartState
(which was access to recharts internal state) no longer exists in event handlers orCustomized
, etc.<Customized />
no longer receives recharts state/propsNew Features
accessibilityLayer
is now on on all polar and cartesian charts by default. Tab into the chart and use the arrow keys to navigate.axisId
YAxis
: auto width calculation for YAxes - setwidth="auto"
X/YAxis
: Addsymlog
d3 scale typeBug fixes and improvements
This release fixes some long standing issues in recharts, the easiest way to determine all of them is to take a look at the recharts 3.0 project board
Pie
: no more border around pie sectors on click, etc.CartesianGrid
: background now renders below the grid lines instead of aboveOur 3.0 storybook has a lot of updated examples!
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 https://github.com/recharts/recharts/pull/5840Bar
: allowminPointSize
function to receive null and undefined values by @eino in https://github.com/recharts/recharts/pull/5947TypeScript
: fix issue which caused build errors whenallowSyntheticDefaultImports: false
by @tfaller in https://github.com/recharts/recharts/pull/5810Security
New Contributors
Full Changelog: recharts/recharts@v2.15.3...v2.15.4
Configuration
📅 Schedule: Branch creation - "on Wednesday" (UTC), 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.