Releases: spotify/reactochart
v3.0.1
v3.0.0
v3.0.0 Release 🎉
We've dropped support for Node versions <8, added documentation updates galore, and made PieChart a little more flexible.
Breaking changes
There are a few breaking changes with this major release.
- We've dropped support for Node versions 6 and 7. And added support for any Node.js version >=8.
- Both
sliceandpieSliceStyleprops were added to thePieChartcomponent.slicereplaces thegetValueprop that previously existed onPieChart. - Many of the
dataprops on existing components are now required.
Updates
#187 Dependency upgrades
#194 Addition of pre-commit hooks
#201 PieChart updates
#207 Documentation updates
v2.0.2
v2.0.1
v2.0.0
Our efforts for v2 were focused on trimming reactochart's bundle size and lowering our dependencies on 3rd party libraries such as lodash, moment and numeral. 🎉 We've also standardized our eslint and prettier configurations to match Spotify's open source configs.
Breaking Changes
There are a few breaking changes with this major release.
-
We've renamed XYPlot's
styleprop toxyPlotContainerStyle. This hopefully makes it clear that the styles provided toxyPlotContainerStyleare applied to the svg container of our entire chart (graphs and axis included), whereasxyPlotStyleis applied to the rect container where the graphs are rendered. -
We've deprecated
numeraland now use d3-format as our default numerical formatter. This will affect any axis label formatting props passed intoXAxisLabels,YAxisLabels, or their parent wrapperXAxisandYAxisthat previously usednumeralstring specifiers. See d3-format for what string specifiers to pass in. -
We've deprecated
momentand now use d3-time-format as our default date formatter. This will affect any axis label formatting props passed intoXAxisLabels,YAxisLabels, or their parent wrapperXAxisandYAxisthat previously usedmomentstring specifiers. See d3-time-format for what string specifiers to pass in. -
We've changed the
formatprop inXAxisLabelsandYAxisLabelsto only accept functions. This also means we've changed thelabelFormatprop inXAxisandYAxisas well. Previously you could pass in a string that would be passed to our formatter (previouslynumeral, nowd3-format), or a function. All string specifiers are to be passed toformatswhich is of type Array.
Updates
v1.11.1
v1.11.0
v1.10.1
v1.10.0
- #144 Support for pie chart slice labels - thanks @joeporpeglia!