Recharts Versions Save

Redefined chart library built with React and D3

v2.12.6

3 weeks ago

What's Changed

Fix

Chore

Full Changelog: https://github.com/recharts/recharts/compare/v2.12.5...v2.12.6

v2.12.5

1 month ago

Small fixes while working on v3 continued...

What's Changed

Feat

Fix

Address https://github.com/recharts/recharts/issues/4382

A recent release of @types/react broke some builds because they removed certain (unused) events from common event handler attributes. recharts was unknowingly enumerating keys of SVGProps in the Layer component with the old types and causing a type error on tsc with skipLibCheck: false

  • typescript - Layer: use SVGAttributes instead of SVGProps in forwardRef components by @ckifer in https://github.com/recharts/recharts/pull/4413
  • typescript - Pie: fix Pie ref which was cast to HTMLElement when the ref is actually referring to SVGGElement. This gave false information to whoever is using ref on the Pie component

Full Changelog: https://github.com/recharts/recharts/compare/v2.12.4...v2.12.5

v2.12.4

1 month ago

What's Changed

Small fixes while working on v3 continued...

Fix

className fixes - helps slowly address https://github.com/recharts/recharts/issues/2169:

Full Changelog: https://github.com/recharts/recharts/compare/v2.12.3...v2.12.4

v2.12.3

1 month ago

Some more small changes/fixes while working on 3.x

What's Changed

Fix

New Contributors

Full Changelog: https://github.com/recharts/recharts/compare/v2.12.2...v2.12.3

v2.12.2

2 months ago

What's Changed

Some more small fixes while working on 3.x

Fix

Full Changelog: https://github.com/recharts/recharts/compare/v2.12.1...v2.12.2

v2.12.1

2 months ago

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: https://github.com/recharts/recharts/compare/v2.12.0...v2.12.1

v2.12.0

3 months ago

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

Fix

Chore

  • Cleanup, tests, and refactoring work. Thanks @PavelVanecek
  • Upgrade react smooth, remove translateStyle, remove prop-types as a peerDep
  • Upgrade dev dependencies
    • Upgrade TypeScript to 4.9.5 (no definition changes from upgrade)

Storybook

  • New storybook stories and doc updates

New Contributors

Full Changelog: https://github.com/recharts/recharts/compare/v2.11...v2.12.0

v2.11

3 months ago

What's Changed

A special release: Containing a new chart type - SunburstChart by @csdiehl. Some behaviour might not yet align with the rest of the recharts components and API, we will improve it as (and if) issues come up. Thank you!

Secondly, I want to call out the work that @PavelVanecek is doing. We are slowly moving forward to improve our state management, using react context, and moving away from cloning components. While there still is a long way to go, I can not stress enough how important this refactoring is, both to the maintainability and extensibility of recharts. Great work!

Finally, we are continuously extending the Tooltip and enabling to control the Tooltip from the outside. With the work of @julianna-langston, we can now set the index for which to show a Tooltip. Further, we can now show the Tooltip for hidden elements.

POTENTIALLY BREAKING CHANGE: this release adds the use of the React context API which was not released until React 16.8. This means that 2.11 effectively drops support for React <16.8 unintentionally. Please report any breaking changes by making an issue.

Features

Fix

Chore

  • Lots of cleanup and refactoring work. We've introduced the use of context throughout Recharts refactoring and so far so good!

Storybook

  • New storybook stories and additional examples

New Contributors

Full Changelog: https://github.com/recharts/recharts/compare/v2.10...v2.11

v2.10.4

4 months ago

What's Changed

Fix some older bugs annoying bugs, TS typings, update to the storybook theme, and more

Fix

Storybook

New Contributors

Full Changelog: https://github.com/recharts/recharts/compare/v2.10.3...v2.10.4

v2.10.3

5 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/recharts/recharts/compare/v2.10.2...v2.10.3