Skip to content

Releases: spotify/reactochart

v3.0.1

18 Dec 17:00
Compare
Choose a tag to compare
  • #211 Fix XYPlots lesson in docs
  • #212 Add prettierignore

v3.0.0

16 Dec 22:48
Compare
Choose a tag to compare

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 slice and pieSliceStyle props were added to the PieChart component. slice replaces the getValue prop that previously existed on PieChart.
  • Many of the data props 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

04 Nov 20:42
Compare
Choose a tag to compare
  • #182 Decorate XYPlot onMouseEnter and onMouseLeave events - thanks @tanayv!
  • #184 Fix warnings in tests and add SankeyNodeTerminal tests

v2.0.1

02 Oct 15:15
a007f08
Compare
Choose a tag to compare
  • #179 Fix children proptype for YAxisTitle

v2.0.0

30 Aug 17:58
Compare
Choose a tag to compare

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 style prop to xyPlotContainerStyle. This hopefully makes it clear that the styles provided to xyPlotContainerStyle are applied to the svg container of our entire chart (graphs and axis included), whereas xyPlotStyle is applied to the rect container where the graphs are rendered.

  • We've deprecated numeral and now use d3-format as our default numerical formatter. This will affect any axis label formatting props passed into XAxisLabels, YAxisLabels, or their parent wrapper XAxis and YAxis that previously used numeral string specifiers. See d3-format for what string specifiers to pass in.

  • We've deprecated moment and now use d3-time-format as our default date formatter. This will affect any axis label formatting props passed into XAxisLabels, YAxisLabels, or their parent wrapper XAxis and YAxis that previously used moment string specifiers. See d3-time-format for what string specifiers to pass in.

  • We've changed the format prop in XAxisLabels and YAxisLabels to only accept functions. This also means we've changed the labelFormat prop in XAxis and YAxis as well. Previously you could pass in a string that would be passed to our formatter (previously numeral, now d3-format), or a function. All string specifiers are to be passed to formats which is of type Array.

Updates

  • #173 Migrate to Spotify web scripts - thanks @arjbholu!
  • #171 Update format examples
  • #170 Namespace XYPlot props
  • #169 Deprecate numeral.js in favor of d3.format - thanks @acmei!
  • #164 Replace lodash functions with native JS versions
  • #163 Modularize lodash

v1.11.1

22 Aug 15:14
Compare
Choose a tag to compare
  • #167 Integrate cross-env

v1.11.0

09 Jul 17:58
Compare
Choose a tag to compare
  • #155 Update d3 to v5 - thanks @ekh64!
  • #152 Add limit props to set height and width of XLine and YLine - thanks @tanayv!
  • #153 Upgrade to babel 7 and css loader v3

v1.10.1

04 Mar 17:28
418c466
Compare
Choose a tag to compare
  • #146 Fix labelStyle accessor argument
  • #145 Fix minor vulnerabilities

v1.10.0

04 Mar 16:42
54415f8
Compare
Choose a tag to compare

v1.9.0

04 Mar 16:42
2400ea3
Compare
Choose a tag to compare
  • #142 Update logic for getting invertPointScale & add click handlers to labels themselves