This version is not backwards compatible out of the box!
Breaking changes:
- Log destinations must now exist before starting file logging
- When running in server mode, the following options are now disabled by default:
callback
resources
customCode
Disabled options can be enabled by adding the --allowCodeExecution
flag when
starting the server. Using this flag is not recommended, and should not be
done unless the server is sandboxed and not reachable on the public internet.
Changelog
- Added the
--allowCodeExecution
flag which is now required to be set when exporting pure JavaScript, using additional external resources, or using callback when running in server mode. - Removed the
mkdirp
dependency - SVG exporting will now block JavaScript entirely
- Added the
navigationLocked
flag to the Phantom page, which blocks e.g.<iframe>
and page redirects.
- Fixed compatibility with
mkdirp >=v1.0
- Added polyfill for
DOMParser
to accommodate Highcharts 9.0 - Updated some dependencies
- Fixed UUID and mkdirp versions in package.json
- Added
venn
module to build script
- Added
coloraxis
module to build script
- Fixed issue with optional scripts when using env variables to accept prompts
- Fixed issue with optional dependencies when installing headless
- Fixed pathing issue with NPM build when installing globally
- Added support for fetching sources through
npm
for automated builds. To use, setHIGHCHARTS_CDN
tonpm
. - Added support for
pareto
charts - Fixed issue with script concatination causing exporting errors when including certain modules
- Added HIGHCHARTS_CDN variable support for build process
- Added support for 7.1 charts
- Updated dependencies
- Added support for bullet charts
- Added support for Gantt charts
- Added configuration option for chart generation timeout (
--timeoutThreshold
) - Gracefull failing of 404 map collections now working properly
- Increased max configuration size from 5MB to 50MB
- Updated express version
- Updated docs
- Added
queueSize
option toinitPool
to set the request overfow queue size - Added option to supply
cdnURL
to build script (#133) - Added
;
between included scripts. Fixes map collections (#128) - Added
--skipKey
and--skipToken
CLI options to configure the rate limiter - Added
--queueSize
switch to the CLI options to set the overflow queue size - Fixed issue with silent installs and default values
- Fixed issue with CDN pull failing when using Highcharts < 6.0
- Fixed an issue that caused a comma to appear when exporting charts
- Build.js now uses cached respones when building styled mode to speed things up
historgram-bellcurve
is now included by default- Added optional inclusion system to build.js
- Will now prompt for inclusion of
wordcloud
andannotations
- Will now prompt for inclusion of
- Fixed another issue with
globalOptions
in CLI/Server mode
- Fixed issue with injecting some resources when they weren't strings (e.g.
globalOptions
)
- Added build config for including moment.js support
- Fixed
tmpdir
when starting in server mode
- Now including sunburst/xrange/streamgraph/tilemap when baking with a supported version
- Added package-lock.json
- Fixed issue potentially causing SVG exports to hang
- Increased timeout for rendering by 1 second
- Fixed port numbers for stress test
- Fixed bug causing unpredictable export results if one or more exported charts contain bundled images
- Server will now wait for bundled images to load
- Server now respects
host
option - Added promise sample/test for batch export
- Fixed
tmpdir
when running as server
- Fixed Phantom cleanup: instead of reaping every 2.5s, workers are checked for timeout when other work is posted.
- Added additional error handlers to
hhtp(s)Server
,process
- Worker busy check before restarting
- Now checking if the client connection is still open before sending returns
- Changed return codes for error conditions
- Misc stability fixes
- Fixed an issue with SVG export
- Fixed an issue with
--batch
exporting
- Fixed an issue with
themeOptions
when using CLI mode - Added
listenToProcessExits
option to pool.init(..) - Exposed
listenToProcessExits
in CLI mode - Fixed issue with
--callback
when the callback was a file
- Fixed an issue with batch exporting
- Fixed
uuid
dependency version (thanks to @tonylukasavage)
- Set minimum node version to 5.10.0
- Fixed
phantomjs-prebuilt
dependency version