Bump recharts from 2.15.4 to 3.8.0 #98

Closed
opened 2026-04-05 17:00:56 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @dependabot[bot] on 3/19/2026

Bumps recharts from 2.15.4 to 3.8.0.

Release notes

Sourced from recharts's releases.

v3.8.0

What's Changed

We added generics to our data and dataKey props and now you can have your charts validated by TypeScript. See the full guide here: https://recharts.github.io/en-US/guide/typescript/

We are releasing new helper functions and hooks that will allow you to precisely target mouse interactions, and convert coordinates. See the guide here: https://recharts.github.io/en-US/guide/coordinateSystems/

And new functions and hooks:

getRelativeCoordinate - converts mouse events to pixel positions

Convert Data → Pixels:

useXAxisScale - returns a function to convert X data values to pixel positions useYAxisScale - returns a function to convert Y data values to pixel positions useCartesianScale - convenience hook for converting both at once

Pixels → Data:

useXAxisInverseScale - returns a function to convert pixel X to the closest data value useYAxisInverseScale - returns a function to convert pixel Y to the closest data value useXAxisInverseTickSnapScale - returns a function to convert pixel X to the closest axis tick useYAxisInverseTickSnapScale - returns a function to convert pixel Y to the closest axis tick

Accessing Ticks:

useXAxisTicks - returns the calculated ticks of an X-axis useYAxisTicks - returns the calculated ticks of a Y-axis

Feat

Fix

... (truncated)

Commits
  • a1044db chore(deps-dev): bump the storybook group across 1 directory with 7 updates (...
  • 2001a72 chore(deps-dev): bump @​types/node from 24.11.0 to 24.12.0 (#7102)
  • 0ce01f0 chore(deps-dev): bump eslint-plugin-storybook from 9.1.19 to 9.1.20 (#7103)
  • 0e0542f [Docs] fix(HighlightAndZoomLineChart): improve zoom area validation and add c...
  • 609ca4f [Docs] New router, add links to hooks (#7099)
  • d33f529 chore(deps-dev): bump marked from 17.0.3 to 17.0.4 (#7098)
  • 1c71ab6 chore(deps): bump es-toolkit from 1.45.0 to 1.45.1 (#7087)
  • 907bab2 chore(deps-dev): bump terser-webpack-plugin from 5.3.16 to 5.3.17 (#7088)
  • c527fb2 chore(deps-dev): bump webpack from 5.105.3 to 5.105.4 (#7089)
  • 473d55c New feature - typed charts helper (#7071)
  • Additional commits viewable in compare view
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
*Originally created by @dependabot[bot] on 3/19/2026* Bumps [recharts](https://github.com/recharts/recharts) from 2.15.4 to 3.8.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/recharts/recharts/releases">recharts's releases</a>.</em></p> <blockquote> <h2>v3.8.0</h2> <h2>What's Changed</h2> <p>We added generics to our <code>data</code> and <code>dataKey</code> props and now you can have your charts validated by TypeScript. See the full guide here: <a href="https://recharts.github.io/en-US/guide/typescript/">https://recharts.github.io/en-US/guide/typescript/</a></p> <p>We are releasing new helper functions and hooks that will allow you to precisely target mouse interactions, and convert coordinates. See the guide here: <a href="https://recharts.github.io/en-US/guide/coordinateSystems/">https://recharts.github.io/en-US/guide/coordinateSystems/</a></p> <p>And new functions and hooks:</p> <p><a href="https://recharts.github.io/en-US/api/getRelativeCoordinate/">getRelativeCoordinate</a> - converts mouse events to pixel positions</p> <p>Convert Data → Pixels:</p> <p><a href="https://recharts.github.io/en-US/api/useXAxisScale">useXAxisScale</a> - returns a function to convert X data values to pixel positions <a href="https://recharts.github.io/en-US/api/useYAxisScale">useYAxisScale</a> - returns a function to convert Y data values to pixel positions <a href="https://recharts.github.io/en-US/api/useCartesianScale">useCartesianScale</a> - convenience hook for converting both at once</p> <p>Pixels → Data:</p> <p><a href="https://recharts.github.io/en-US/api/useXAxisInverseScale">useXAxisInverseScale</a> - returns a function to convert pixel X to the closest data value <a href="https://recharts.github.io/en-US/api/useYAxisInverseScale">useYAxisInverseScale</a> - returns a function to convert pixel Y to the closest data value <a href="https://recharts.github.io/en-US/api/useXAxisInverseTickSnapScale">useXAxisInverseTickSnapScale</a> - returns a function to convert pixel X to the closest axis tick <a href="https://recharts.github.io/en-US/api/useYAxisInverseTickSnapScale">useYAxisInverseTickSnapScale</a> - returns a function to convert pixel Y to the closest axis tick</p> <p>Accessing Ticks:</p> <p><a href="https://recharts.github.io/en-US/api/useXAxisTicks">useXAxisTicks</a> - returns the calculated ticks of an X-axis <a href="https://recharts.github.io/en-US/api/useYAxisTicks">useYAxisTicks</a> - returns the calculated ticks of a Y-axis</p> <h3>Feat</h3> <ul> <li><code>Hooks</code>: New hooks (see above) by <a href="https://github.com/PavelVanecek"><code>@​PavelVanecek</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/6960">recharts/recharts#6960</a></li> <li><code>Annotations</code>: export <code>getRelativeCoordinate</code> helper function by <a href="https://github.com/PavelVanecek"><code>@​PavelVanecek</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/6942">recharts/recharts#6942</a></li> <li><code>Legend</code>: Add label style prop in Legend by <a href="https://github.com/devoldemar"><code>@​devoldemar</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7012">recharts/recharts#7012</a></li> <li><code>XAxis/YAxis</code>: <strong>new</strong> <code>niceTIcks</code> prop - specify <code>'none' | 'auto' | 'equidistant' | 'nice'</code> for different behaviors by <a href="https://github.com/MaxGhenis"><code>@​MaxGhenis</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7009">recharts/recharts#7009</a></li> <li><code>General</code>: Add event throttling controls to chart props by <a href="https://github.com/PavelVanecek"><code>@​PavelVanecek</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/6924">recharts/recharts#6924</a></li> </ul> <h3>Fix</h3> <ul> <li><code>Pie</code>: fix: enable tooltip synchronization for PieChart by <a href="https://github.com/VIDHITTS"><code>@​VIDHITTS</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/6989">recharts/recharts#6989</a></li> <li><code>Pie</code>: fix: sync pie tooltip/legend color with per-sector fill by <a href="https://github.com/2YH02"><code>@​2YH02</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/6977">recharts/recharts#6977</a></li> <li><code>Bar</code>: Fix activeBar highlighting with missing/null data by <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7001">recharts/recharts#7001</a></li> <li><code>Bar</code>: Support Bar CSS transitions by <a href="https://github.com/PavelVanecek"><code>@​PavelVanecek</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/6920">recharts/recharts#6920</a></li> <li><code>XAxis/YAxis</code>: respect user-provided textAnchor prop on XAxis/YAxis by <a href="https://github.com/pierreeurope"><code>@​pierreeurope</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7028">recharts/recharts#7028</a></li> <li><code>Tooltip</code>: Close tooltip on blur by <a href="https://github.com/gVguy"><code>@​gVguy</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/6958">recharts/recharts#6958</a></li> <li><code>General</code>: fix error when <code>onMouseEnter/Leave={undefined}</code> by <a href="https://github.com/SvetlanaVesna"><code>@​SvetlanaVesna</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/6969">recharts/recharts#6969</a></li> <li><code>Animation</code>: [animations] auto disable primitives animations based on user system preferences by <a href="https://github.com/cloud-walker"><code>@​cloud-walker</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/6956">recharts/recharts#6956</a></li> <li><code>Animation/Line</code>: fix: prevent animated line flicker with round/square strokeLinecap by <a href="https://github.com/roy7"><code>@​roy7</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7022">recharts/recharts#7022</a></li> <li><code>Performance</code>: filter zero-dimension rectangles early by <a href="https://github.com/MendyLanda"><code>@​MendyLanda</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/6800">recharts/recharts#6800</a></li> <li>Bump minimum <code>@​reduxjs/toolkit</code> to 1.9.0 by <a href="https://github.com/Copilot"><code>@​Copilot</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/6934">recharts/recharts#6934</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/recharts/recharts/commit/a1044db23740c177e2c07198ae0c1f2ec57b0000"><code>a1044db</code></a> chore(deps-dev): bump the storybook group across 1 directory with 7 updates (...</li> <li><a href="https://github.com/recharts/recharts/commit/2001a726e6b3c6c0fc11fcbd8065adbe68530045"><code>2001a72</code></a> chore(deps-dev): bump <code>@​types/node</code> from 24.11.0 to 24.12.0 (<a href="https://redirect.github.com/recharts/recharts/issues/7102">#7102</a>)</li> <li><a href="https://github.com/recharts/recharts/commit/0ce01f0b203f4e44dbbb21b395f2b231523fad86"><code>0ce01f0</code></a> chore(deps-dev): bump eslint-plugin-storybook from 9.1.19 to 9.1.20 (<a href="https://redirect.github.com/recharts/recharts/issues/7103">#7103</a>)</li> <li><a href="https://github.com/recharts/recharts/commit/0e0542fd16a6a9f5af82d084f5004e1d2641a0bb"><code>0e0542f</code></a> [Docs] fix(HighlightAndZoomLineChart): improve zoom area validation and add c...</li> <li><a href="https://github.com/recharts/recharts/commit/609ca4ff79fa6b2f3aa92b476908457b6891620a"><code>609ca4f</code></a> [Docs] New router, add links to hooks (<a href="https://redirect.github.com/recharts/recharts/issues/7099">#7099</a>)</li> <li><a href="https://github.com/recharts/recharts/commit/d33f52901485563c63f93280eed332e27719374d"><code>d33f529</code></a> chore(deps-dev): bump marked from 17.0.3 to 17.0.4 (<a href="https://redirect.github.com/recharts/recharts/issues/7098">#7098</a>)</li> <li><a href="https://github.com/recharts/recharts/commit/1c71ab6f50ae272b0e0f729231754769e8b2e6c1"><code>1c71ab6</code></a> chore(deps): bump es-toolkit from 1.45.0 to 1.45.1 (<a href="https://redirect.github.com/recharts/recharts/issues/7087">#7087</a>)</li> <li><a href="https://github.com/recharts/recharts/commit/907bab24a360d0133703a8748915f2899e3efdf1"><code>907bab2</code></a> chore(deps-dev): bump terser-webpack-plugin from 5.3.16 to 5.3.17 (<a href="https://redirect.github.com/recharts/recharts/issues/7088">#7088</a>)</li> <li><a href="https://github.com/recharts/recharts/commit/c527fb2c1d4d5758539d46e82a774f0f4f05d297"><code>c527fb2</code></a> chore(deps-dev): bump webpack from 5.105.3 to 5.105.4 (<a href="https://redirect.github.com/recharts/recharts/issues/7089">#7089</a>)</li> <li><a href="https://github.com/recharts/recharts/commit/473d55caaa092fb4826183bf438ba1cb15b2129d"><code>473d55c</code></a> New feature - typed charts helper (<a href="https://redirect.github.com/recharts/recharts/issues/7071">#7071</a>)</li> <li>Additional commits viewable in <a href="https://github.com/recharts/recharts/compare/v2.15.4...v3.8.0">compare view</a></li> </ul> </details> <details> <summary>Install script changes</summary> <p>This version modifies <code>prepare</code> script that runs during installation. Review the package contents before updating.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=recharts&package-manager=npm_and_yarn&previous-version=2.15.4&new-version=3.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#98