Quite a bit of 3.0 bug fixes in this release along with two new hooks. Thanks to all who've been reporting issues!
Feat
Pie: support string values in Pie outerRadius callbacks by @rephaelberkooz in https://github.com/recharts/recharts/pull/6191
PolarGrid: add fill color support to by @mindtraveller in https://github.com/recharts/recharts/pull/6287
Hooks
New : useXAxisDomain and useYAxisDomain hooks by @PavelVanecek in https://github.com/recharts/recharts/pull/6201
New: useMargin hook by @PavelVanecek in https://github.com/recharts/recharts/pull/6224
Fix
Bar: fix unnecessary line breaks in Bar labels by @eino in https://github.com/recharts/recharts/pull/6214
Bar: improve Bar performance when activeBar is turned off by @PavelVanecek in https://github.com/recharts/recharts/pull/6290
: fix stacked charts with duplicate categorical data by @PavelVanecek in https://github.com/recharts/recharts/pull/6194
Stacked Bar/Area
Scatter: fix exception when Scatter data has non-string type property by @PavelVanecek in https://github.com/recharts/recharts/pull/6248
X/YAxis: fix blinking when changing props by @PavelVanecek in https://github.com/recharts/recharts/pull/6262
PolarAngleAxis/Radar: fix polar angle axis ticks text positions by @mindtraveller in https://github.com/recharts/recharts/pull/6276
Label: allow rendering Labels as nested children in XAxis, YAxis and Reference elements by @PavelVanecek in https://github.com/recharts/recharts/pull/6219
LabelList: fix issue with LabelList not rendering in Pie charts by @PavelVanecek in https://github.com/recharts/recharts/pull/6246
Text: fix exception when Text's children is empty and scaleToFit=true by @PavelVanecek in https://github.com/recharts/recharts/pull/6282
Tooltip: bound Tooltip coordinates to the chart container in synchronized charts by @shreedharbhat98 in https://github.com/recharts/recharts/pull/6263
Brush: allow brush travelers to be controlled by keys after mouse interaction by @ckifer in https://github.com/recharts/recharts/pull/6285
useActiveTooltipDataPoints : fix infinite rendering loop by @PavelVanecek in https://github.com/recharts/recharts/pull/6247
Chore
Upgrade to ESLint 9 by @NishargShah in https://github.com/recharts/recharts/pull/6284
Add better storybook docs for Text component by @PavelVanecek in https://github.com/recharts/recharts/pull/6278
Make Recharts Redux devTools registration opt-in (fixes #6250) by @uncaught in https://github.com/recharts/recharts/pull/6264
Continued refactoring/improvements by @PavelVanecek ๐
New Contributors (thanks everyone!)
@rephaelberkooz made their first contribution in https://github.com/recharts/recharts/pull/6189
@uncaught made their first contribution in https://github.com/recharts/recharts/pull/6264
@mindtraveller made their first contribution in https://github.com/recharts/recharts/pull/6276
@NishargShah made their first contribution in https://github.com/recharts/recharts/pull/6284
Full Changelog: https://github.com/recharts/recharts/compare/v3.1.2...v3.1.3