1.0.0
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
andOHLCSeries
- The peer dependency has changed from
highstock-release
tohighcharts
react-jsx-highstock
- Includes components to build both
Highcharts.chart()
andHighcharts.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.