Skip to content

1.0.0

Compare
Choose a tag to compare
@whawker whawker released this 26 Jul 15:18
· 952 commits to master since this release

We're here! Version 1!

This is a major version bump, so of course there are...

Breaking changes

Highstock charts have been moved to a separate NPM package

Issue #5 highlighted the need for separate packages due to Highcharts licensing issues.
Therefore we now have two NPM packages - react-jsx-highcharts and react-jsx-highstock.

react-jsx-highcharts

  • Only includes components to build Highcharts.chart() charts
  • Highstock components have been removed, these include:
    • Navigator, RangeSelector, Scrollbar, CandlestickSeries, FlagSeries and OHLCSeries
  • The peer dependency has changed from highstock-release to highcharts

react-jsx-highstock

  • Includes components to build both Highcharts.chart() and Highcharts.stockChart() charts
  • No components have been removed
  • Still has a peer dependency of highstock-release

Get to the point...

If you are only using Highcharts charts, remove highstock-release as a dependency, and use highcharts instead

If you are using Highstock charts, use the react-jsx-highstock package instead (and continue using highstock-release as before).

Other non-breaking changes

The <Hidden /> component now renders a hidden div rather than a junk script tag.

This component is used internally, and should make no difference to the end user.

Fixed #4 - Stop components using context directly

Some components we using context directly, which was unnecessary. This has been resolved.