Skip to content

Releases: recharts/recharts

v2.7.2

22 Jun 07:13
700c985
Compare
Choose a tag to compare

What's Changed

Fix

  • Allow accessibilityLayer when there is no tooltip (fixes undefined access bug) by @julianna-langston in #3627
  • Fix regression when null is passed into Line dot (fixes undefined access bug although null is not a supported type for dot) by @ckifer in #3637

Other

  • Few minor storybook changes and dev chore items

Full Changelog: v2.7.1...v2.7.2

v2.7.1

15 Jun 17:06
7a09505
Compare
Choose a tag to compare

What's Changed

Fix

  • Move @storybook/addon-storysource to dev dependencies by @DmitryMarkov in #3623
    • Moves dev dependency to correct location to prevent bundle size increase, etc.
  • Fix defaults for r and strokeWidth when they aren't provided by the user by @ckifer in #3624
    • Bug where if only clipDot is provided within dot of Area and Line then dots disappear and NaN is errors appear in the DOM

New Contributors

Full Changelog: v2.7.0...v2.7.1

v2.7.0

15 Jun 06:01
Compare
Choose a tag to compare

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

Fix

Docs

Refactor

New Contributors

Full Changelog: v2.6.2...v2.7.0

v2.7.0-alpha.0

26 May 23:42
Compare
Choose a tag to compare
v2.7.0-alpha.0 Pre-release
Pre-release

Create alpha release to test some of the recent refactorings to function components. Generate release notes without edits - 2.7 will contain full release notes.

What's Changed

New Contributors

Full Changelog: v2.6.2...v2.7.0-alpha.0

v2.6.2

10 May 22:00
ebaa111
Compare
Choose a tag to compare

fix bug where ts types error and cannot be generated when exporting in a consuming package. Fixes #3581

What's Changed

  • fix: sankey types - add explicitly return type for renderTooltip by @ckifer in #3581

Full Changelog: v2.6.1...v2.6.2

v2.6.1

10 May 16:57
cfa141d
Compare
Choose a tag to compare

What's Changed

Quick fix for a bug crashing treemaps with tooltips in 2.6.0

Full Changelog: v2.6.0...v2.6.1

v2.6.0

08 May 21:50
30180fe
Compare
Choose a tag to compare

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

  • Update type for equidistantPreserveStart axis interval by @frontier159 in #3511
  • Stop focusing on tooltip when displayed - use event listeners instead by @ArkaFred in #3515

Docs

  • lots of storybook changes - go check it out!
    • Getting close to parity with existing docs on recharts.org
    • Added accessibility add-on
    • Added accessibility docs to go with the keyboard navigation support
    • Storybook 7 stable
    • Much more!

Refactor

New Contributors

Full Changelog: v2.5.0...v2.6.0

v2.5.0

15 Mar 21:48
Compare
Choose a tag to compare

What's Changed

Feat

  • ResponsiveContainer: onResize callback function by @ckifer in #3361
  • XAxis, YAxis: includeHidden prop - include all datapoints in domain calculation even when hidden by @neefrehman in #3103
  • XAxis, YAxis: new interval option equidistantPreserveStart by @nikolasrieble in #3392

Fix

  • ResponsiveContainer: default min-width to 0 to override default auto behavior that breaks flexbox layouts by @ckifer in #3391
  • Area: Add missing 'data' type to Area component by @ondrejvelisek in #3443
  • Brush/XAxis: fix NaN regression when interval={0} by @nikolasrieble in #3454
  • ReferenceArea/ReferenceLine: revert regression where ifOverflow prop is not obeyed due to missing defaultProps by @ckifer in #3455

Docs

Dependencies

  • chore: explicitly upgrade minor version of react-smooth by @ckifer in #3397
  • chore: upgrade react-resize-detector to 8.x by @ckifer in #3418

Refactor

New Contributors

Full Changelog: v2.4.3...v2.5.0

v2.4.3

16 Feb 21:56
Compare
Choose a tag to compare

v2.4.3

cherry-picked commit 7925fd7 to not pollute patch release with other changes

fix

  • ensure originalDomain is defaulted if no domain is provided - broke tickCount calculation - #3377
    • assign default to originalDomain for re-use in generateCategoricalChart
    • add unit tests so this doesn't happen again

Full Changelog: v2.4.2...v2.4.3

v2.4.2

15 Feb 23:03
Compare
Choose a tag to compare

v2.4.2

cherry-picked commit b625f72 to not pollute patch release with other changes

fix

  • fix broken zoom functionality in 2.4 - #3369
    • if chart is categorical we still need to calculate categorical domain even if the domain is given by the user

Full Changelog: v2.4.1...v2.4.2