housekeeping: Update dependency recharts to v2.15.1#3247
housekeeping: Update dependency recharts to v2.15.1#3247renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
|
This PR has been marked as stale after 7 or more days of inactivity. Please have a maintainer add the |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
2.1.9->2.15.1Release Notes
recharts/recharts (recharts)
v2.15.1Compare Source
What's Changed
Quick patch release, nothing crazy going on here.
In the meantime please help us test recharts 3.0 alpha https://github.com/recharts/recharts/issues/5445 🚀
Fix
Legend - Typescript: adddataKeytype to legend formatter props by @lucasassisrosa in https://github.com/recharts/recharts/pull/5511. Fixes https://github.com/recharts/recharts/issues/5508Chore
react-smoothversion is up to date in package.json for R19 support by @acomanescu in https://github.com/recharts/recharts/pull/5422New Contributors
Full Changelog: recharts/recharts@v2.15.0...v2.15.1
v2.15.0Compare Source
What's Changed
Final 2.x React 19 support
!!! You still need to override your
react-isversion to matchreact/react-domfor React 19 to work with recharts !!! - see thread here - this limitation will be alleviated in recharts 3.0Feat
Add React 19 to peerDependencies - closes https://github.com/recharts/recharts/issues/4558
Fix
Bar: fix Bar mouse event types regression - closes https://github.com/recharts/recharts/issues/5308ReactTexttypeFull Changelog: recharts/recharts@v2.14.1...v2.15.0
v2.14.1Compare Source
What's Changed
Fix
X/YAxis: omit unused/accidentally added (in 2.13)refprop from axis types in https://github.com/recharts/recharts/pull/5295. Resolves https://github.com/recharts/recharts/issues/5294Full Changelog: recharts/recharts@v2.14.0...v2.14.1
v2.14.0Compare Source
What's Changed
Small release to get new top level chart events out there. Still working on 3.x, a little slower right now because of the holidays.
Feat
Area/Line/Bar/Scatter/Pie/Radar/RadialBar/FunnelChart components: add support for top levelonContextMenuandonDoubleClickevents #5254 by @abarreau in https://github.com/recharts/recharts/pull/5255Fix
Typescript fixes
LabelList:dataKeyprop for LabelList should accept any object by @ckifer in https://github.com/recharts/recharts/pull/5252Pie:PieSectorDataItem.payloadshould be an object rather than an array by @BTOdell in https://github.com/recharts/recharts/pull/5263New Contributors
Full Changelog: recharts/recharts@v2.13.3...v2.14.0
v2.13.3Compare Source
What's Changed
Small change which may (or may not) help when using ResponsiveContainer with React 19. Worth a shot.
!!
react-isoverride is still needed for React 19 to work correctly with recharts !! - see https://github.com/recharts/recharts/issues/4558Fix
ResponsiveContainer- swapisElementfromreact-iswithReact.isValidElementFull Changelog: recharts/recharts@v2.13.2...v2.13.3
v2.13.2Compare Source
What's Changed
refprops back.Fix
Full Changelog: recharts/recharts@v2.13.1...v2.13.2
v2.13.1Compare Source
What's Changed
Fix
ResponsiveContainer: fix internal bug from 2.13 which causes responsive container to render incorrectly by @ckifer in https://github.com/recharts/recharts/pull/5174Bar:radiusprop type fixed to match expected type by @lifeofpavs in https://github.com/recharts/recharts/pull/5116New Contributors
Full Changelog: recharts/recharts@v2.13.0...v2.13.1
v2.13.0Compare Source
What's Changed
React 19 compat, fix annoying defaultProps warnings, bug fixes
Feat
React 19 compatibility - see https://github.com/recharts/recharts/issues/4558
peerDependenciesstill cannot be updated until 3.0 release, but for now R19 beta/RC releases can be used with Recharts under the following conditions:react-isversion matches yourreactandreact-domversions: use your package manager'soverridefunctionality to match yourreact-isversion to your react version or else recharts elements will not show - see https://github.com/recharts/recharts/issues/4558#issuecomment-2135604065CartesianGrid: add support forryprop to curve the corner of the grid background - progress on https://github.com/recharts/recharts/issues/3062Fix
General: FixdefaultPropsusage in function components, removes warnings on all affected components - see https://github.com/recharts/recharts/issues/3615ReferenceLine: fix accidental removal of type annotation by @zackliscio in https://github.com/recharts/recharts/pull/4610Line/Area: fix issue whereclipDotwould not take effect if it was the only property indotProps@ckifer in https://github.com/recharts/recharts/pull/4674Tooltip: fix issue where tooltip would not show in certain cases ifdatawas set on the graphical item by @HHongSeungWoo in https://github.com/recharts/recharts/pull/4718X/YAxis: use correct, adapted event types by @ckifer in https://github.com/recharts/recharts/pull/4967Tooltip:defaultIndexout of range error by @ckifer in https://github.com/recharts/recharts/pull/5054Pie: fix duplicate key error @ckifer in https://github.com/recharts/recharts/pull/4958Text: fix duplicate key error by @ckifer in https://github.com/recharts/recharts/pull/5088 closes https://github.com/recharts/recharts/issues/5072Typescript
New Contributors
Full Changelog: recharts/recharts@v2.12.7...v2.13.0
v2.12.7Compare Source
Whats changed
Fix
Area: re-add calculated areapointsto theareaDotcallback props when it is a function. This was accidentally removed in v2.3. Fixes #4480Brush: guard against undefined property access error when anariaLabelis not specified. Follow up from https://github.com/recharts/recharts/issues/2093#issuecomment-2098161840Full Changelog: recharts/recharts@v2.12.6...v2.12.7
v2.12.6Compare Source
What's Changed
Fix
Tooltip: fix glitch where Tooltip always rendered in the top left even if animation was disabled by @HHongSeungWoo in https://github.com/recharts/recharts/pull/4425 fixes https://github.com/recharts/recharts/issues/4424Chore
CI/Build fix: Added proper.jssuffixes to main module and jsnext:main paths in package.json by @dobosalparbc in https://github.com/recharts/recharts/pull/4431 fixes https://github.com/recharts/recharts/issues/2858Full Changelog: recharts/recharts@v2.12.5...v2.12.6
v2.12.5Compare Source
Small fixes while working on v3 continued...
What's Changed
Feat
BarChart: support percentage (of chart) forbarSize. Helps set size of bar when there are few datapoints Fixes #3640 by @graup in https://github.com/recharts/recharts/pull/4407Fix
Address https://github.com/recharts/recharts/issues/4382
A recent release of
@types/reactbroke some builds because they removed certain (unused) events from common event handler attributes.rechartswas unknowingly enumerating keys ofSVGPropsin theLayercomponent with the old types and causing a type error ontscwithskipLibCheck: falsetypescript - Layer: useSVGAttributesinstead ofSVGPropsin forwardRef components by @ckifer in https://github.com/recharts/recharts/pull/4413typescript - Pie: fix Pierefwhich was cast toHTMLElementwhen therefis actually referring toSVGGElement. This gave false information to whoever is usingrefon thePiecomponentFull Changelog: recharts/recharts@v2.12.4...v2.12.5
v2.12.4Compare Source
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 in https://github.com/recharts/recharts/pull/4386, fixes #4384X/YAxis: fix incorrect padding calculation when there is 1 datapoint or less by @graup in https://github.com/recharts/recharts/pull/4314 closes #4313classNamefixes - helps slowly address https://github.com/recharts/recharts/issues/2169:Tooltip: allow customclassNameoncursorby @108yen in https://github.com/recharts/recharts/pull/4306RadarChart/RadialBarChart: allow customclassNameonPolarRadiusAxis,PolarAngleAxis, andRadardot by @108yen in https://github.com/recharts/recharts/pull/4335Pie: allow customclassNameonlabelandlabelLineofPieby @108yen in https://github.com/recharts/recharts/pull/4381Full Changelog: recharts/recharts@v2.12.3...v2.12.4
v2.12.3Compare Source
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 in https://github.com/recharts/recharts/pull/4272 closes https://github.com/recharts/recharts/issues/4246Area: fixed a bug where className was not assigned to areaDot by @108yen in https://github.com/recharts/recharts/pull/4294 closes https://github.com/recharts/recharts/issues/4290RadialBar: address regression where radial bar and its background were off from eachother because of rounding by @ckifer in https://github.com/recharts/recharts/pull/4295 closes https://github.com/recharts/recharts/issues/4264ErrorBar: do not countnullas 0 in error bar domain by @rinkstiekema in https://github.com/recharts/recharts/pull/4297New Contributors
Full Changelog: recharts/recharts@v2.12.2...v2.12.3
v2.12.2Compare Source
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 in https://github.com/recharts/recharts/pull/4224ResponsiveContainer: Remove incorrectly timed console.warn call, only log when using soon-to-be deprecated feature by @HHongSeungWoo in https://github.com/recharts/recharts/pull/4249Full Changelog: recharts/recharts@v2.12.1...v2.12.2
v2.12.1Compare Source
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
Full Changelog: recharts/recharts@v2.12.0...v2.12.1
v2.12.0Compare Source
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 forminPointSizeso it can be determined by data by @ckifer in https://github.com/recharts/recharts/pull/4099 closes https://github.com/recharts/recharts/issues/2819Accessibility: Enable screen reader support with accessibilityLayer and default tooltip by @julianna-langston in https://github.com/recharts/recharts/pull/4077Fix
Bar:activeBarshould not be true by default, fixes a breaking change from 2.9.0 by @ckifer in https://github.com/recharts/recharts/pull/4139 - fixes https://github.com/recharts/recharts/issues/4103 and https://github.com/recharts/recharts/issues/4101Scatter: fix non-unique key errors by @imagineLife in https://github.com/recharts/recharts/pull/4087 - fixes https://github.com/recharts/recharts/issues/4151 and https://github.com/recharts/recharts/issues/4060Pie: fix non-unique key errors by @imagineLife in https://github.com/recharts/recharts/pull/4106Tooltip: fix bug that caused throttled tooltip to stay active when moving mouse quickly by @HHongSeungWoo in https://github.com/recharts/recharts/pull/4100 fixes https://github.com/recharts/recharts/issues/4093Chore
translateStyle, remove prop-types as a peerDepStorybook
New Contributors
Full Changelog: recharts/recharts@v2.11...v2.12.0
v2.11.0Compare Source
v2.10.4Compare Source
What's Changed
Fix some older bugs annoying bugs, TS typings, update to the storybook theme, and more
Fix
ResponsiveContainer: fixref.current.currentwithout breaking users using current implementation by @HHongSeungWoo in https://github.com/recharts/recharts/pull/4008 - closes https://github.com/recharts/recharts/issues/3718Brush: Allow Brush to be controlled with start and end index via state by @ckifer in https://github.com/recharts/recharts/pull/4034 - closes https://github.com/recharts/recharts/issues/2404Legend: TypeScript - Add the dataKey type to legend props by @HHongSeungWoo in https://github.com/recharts/recharts/pull/4035 - closes https://github.com/recharts/recharts/issues/2909Pie: TypeScript - addedpayloadtoPieSectorDataItemtype by @PavelVanecek in https://github.com/recharts/recharts/pull/4030Pie: unique sector keys fix by @imagineLife in https://github.com/recharts/recharts/pull/4009 closes https://github.com/recharts/recharts/issues/3273RadialBar: allow className to be passed to Radial Bar background by @ckifer in https://github.com/recharts/recharts/pull/4027 - closes https://github.com/recharts/recharts/issues/4011Storybook
New Contributors
Full Changelog: recharts/recharts@v2.10.3...v2.10.4
v2.10.3Compare Source
What's Changed
keybug(s) by @imagineLife in https://github.com/recharts/recharts/pull/4006 - closes https://github.com/recharts/recharts/issues/4004New Contributors
Full Changelog: recharts/recharts@v2.10.2...v2.10.3
v2.10.2Compare Source
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 https://github.com/recharts/recharts/pull/3982Cursor: should no longer show gray background on hover where there was none previously @HHongSeungWoo in https://github.com/recharts/recharts/pull/3992Tooltip: show tooltip whendataprop is on individual cartesian component by @HHongSeungWoo in https://github.com/recharts/recharts/pull/3988LabelList- TypeScript: LabelList offset prop issue by @ckifer in https://github.com/recharts/recharts/pull/3999Accessibility
Brush: set default aria-label and allow value override by @enriquetamames-cpi in https://github.com/recharts/recharts/pull/3950Refactor / Cleanup
New Contributors
Full Changelog: recharts/recharts@v2.10.1...v2.10.2
v2.10.1: Patch: Do not include types from test folderCompare Source
Fixes https://github.com/recharts/recharts/issues/3978
Full Changelog: recharts/recharts@v2.10...v2.10.1
v2.10.0Compare Source
v2.9.3Compare Source
Fix
Brush: Fix an issue where after 2.9Brushdoes not correctly slice data when usingLinecomponents - fixes https://github.com/recharts/recharts/issues/3929 - thank you @HHongSeungWoov2.9.2Compare Source
Fix another TS issue from 2.9.
Fix
Line/ActiveDot: Fix breaking type change for theonClickfunction ofactiveDotonLine- this resolves https://github.com/recharts/recharts/issues/3922 - thank you @andrewangelle for the quick turnaroundv2.9.1Compare Source
Bug fixes following 2.9.0
Fix
TypeScript: fix breaking change inActiveShapetypes - fixes https://github.com/recharts/recharts/issues/3911 - thanks @andrewangelleCartesianGrid: fix breaking change where you could no longer renderCartesianGridwithout a y-axis - fixes https://github.com/recharts/recharts/issues/3907 - thanks @akamfoadLine: fix infinite loop whenstrokeDasharrayis'0'onLine- fixes https://github.com/recharts/recharts/issues/3899 (and maybe others)Full Changelog: recharts/recharts@v2.9.0...v2.9.1
v2.9.0Compare Source
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 https://github.com/recharts/recharts/pull/3756CartesianGrid: addsyncWithticks,horizonalValues, andverticalValuesprops to allow more grid line customization by @morozovkirill in https://github.com/recharts/recharts/pull/3746 solves https://github.com/recharts/recharts/issues/2153CartesianAxis: Improve interval option 'equidistantPreserveStart' by @nikolasrieble in https://github.com/recharts/recharts/pull/3768CartesianAxis: Throw an invariant when axisIds do not match between chart and axis components by @ckiferBrush: add onDragEnd event to Brush component by @simkesd in https://github.com/recharts/recharts/pull/3774Fix
Funnel: activeShape should work with Tooltip by @andrewangelle in https://github.com/recharts/recharts/pull/3772Scatter: activeShape should work with Tooltip by @andrewangelle in https://github.com/recharts/recharts/pull/3839Pie: activeShape should work with Tooltip by @andrewangelle in https://github.com/recharts/recharts/pull/3818RadialBar: activeShape should work with Tooltip by @andrewangelle in https://github.com/recharts/recharts/pull/3803CartesianGrid: Remove offset attribute from lines by @branberry in https://github.com/recharts/recharts/pull/3854 solves https://github.com/recharts/recharts/issues/3810ResponsiveContainer: style prop is now passed down correctly by @d-gottlieb in https://github.com/recharts/recharts/pull/3726Legend: "Functions are not valid as a React child" error in when a function is passed as the payload #3749 by @chris-mcdonald-dev in https://github.com/recharts/recharts/pull/3750Tooltip: Fix tooltip position when container uses transform scale by @MateuszTrN in https://github.com/recharts/recharts/pull/3748Tooltip: 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 in https://github.com/recharts/recharts/pull/3733 fixes https://github.com/recharts/recharts/issues/3669Refactor
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
🚀 New Contributors (!!) 🚀
Full Changelog: recharts/recharts@v2.8.0...v2.9.0
v2.8.0Compare Source
What's Changed
Minor changes - mostly focused on resolving errors from https://github.com/recharts/recharts/issues/3615
Feat
Pie: default tabIndex and accept it as prop by @akamfoad in https://github.com/recharts/recharts/pull/3700Sankey: add prop to control sankey sorting by @daformat in https://github.com/recharts/recharts/pull/3690Brush: Add basic keyboard accessibility support for the Brush component by @julianna-langston in https://github.com/recharts/recharts/pull/3633RadialBarChart: support className prop by @victorgare in https://github.com/recharts/recharts/pull/3654Fix
Refactor
Docs
New Contributors
Full Changelog: recharts/recharts@v2.7.2...v2.8.0
v2.7.3Compare Source
tiny 1 change patch release that merges https://github.com/recharts/recharts/pull/3662 to fix an accessibility issue
imgrole from line dotsv2.7.2Compare Source
What's Changed
Fix
accessibilityLayerwhen there is no tooltip (fixes undefined access bug) by @julianna-langston in https://github.com/recharts/recharts/pull/3627nullis passed into Linedot(fixes undefined access bug althoughnullis not a supported type fordot) by @ckifer in https://github.com/recharts/recharts/pull/3637Other
Full Changelog: recharts/recharts@v2.7.1...v2.7.2
v2.7.1Compare Source
What's Changed
Fix
clipDotis provided withindotof Area and Line then dots disappear andNaNis errors appear in the DOMNew Contributors
Full Changelog: recharts/recharts@v2.7.0...v2.7.1
v2.7.0Compare Source
What's Changed
Storybook updates, a few new features, bug fixes.
Note: This release may cause more reports of this defaultProps warning - we are aware of this and trying to come up with a feasible solution.
Feat
clipDotprop by @tylerben @ckifer in https://github.com/recharts/recharts/pull/3602Fix
angleprop on XAxis visibility calculation by @bernardobelchior in https://github.com/recharts/recharts/pull/3576Docs
Refactor
Dotto function component by @akamfoad in https://github.com/recharts/recharts/pull/3478Polygonto function component by @akamfoad in https://github.com/recharts/recharts/pull/3479Reactangleto function component by @akamfoad in https://github.com/recharts/recharts/pull/3480Sectorto function component by @akamfoad in https://github.com/recharts/recharts/pull/3481Trapezoidto function component by @akamfoad in https://github.com/recharts/recharts/pull/3482Symbolsto functional component by @Yilun-Sun in https://github.com/recharts/recharts/pull/3485DefaultTooltipContentto be functional component by @akamfoad in https://github.com/recharts/recharts/pull/3618New Contributors
Full Changelog: recharts/recharts@v2.6.2...v2.7.0
v2.6.2Compare Source
fix bug where ts types error and cannot be generated when exporting in a consuming package. Fixes https://github.com/recharts/recharts/pull/3581
What's Changed
Full Changelog: recharts/recharts@v2.6.1...v2.6.2
v2.6.1Compare Source
What's Changed
Quick fix for a bug crashing treemaps with tooltips in 2.6.0
Full Changelog: recharts/recharts@v2.6.0...v2.6.1
v2.6.0Compare Source
What's Changed
Storybook documentation updates as well as our first accessibility feature thanks to @julianna-langston and some refactoring to function components!
Feat
Fix
equidistantPreserveStartaxis interval by @frontier159 in https://github.com/recharts/recharts/pull/3511Docs
Refactor
Curveto function component by @akamfoad in https://github.com/recharts/recharts/pull/3477PolarGridto function component by @akamfoad in https://github.com/recharts/recharts/pull/3471Crossto component function by @akamfoad in https://github.com/recharts/recharts/pull/3475Textto function component by @akamfoad in https://github.com/recharts/recharts/pull/3463New Contributors
Configuration
📅 Schedule: Branch creation - "every 2 week on monday" (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.