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:
callbackresourcescustomCode
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
--allowCodeExecutionflag 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
mkdirpdependency - SVG exporting will now block JavaScript entirely
- Added the
navigationLockedflag to the Phantom page, which blocks e.g.<iframe>and page redirects.
- Fixed compatibility with
mkdirp >=v1.0
- Added polyfill for
DOMParserto accommodate Highcharts 9.0 - Updated some dependencies
- Fixed UUID and mkdirp versions in package.json
- Added
vennmodule to build script
- Added
coloraxismodule 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
npmfor automated builds. To use, setHIGHCHARTS_CDNtonpm. - Added support for
paretocharts - 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
queueSizeoption toinitPoolto set the request overfow queue size - Added option to supply
cdnURLto build script (#133) - Added
;between included scripts. Fixes map collections (#128) - Added
--skipKeyand--skipTokenCLI options to configure the rate limiter - Added
--queueSizeswitch 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-bellcurveis now included by default- Added optional inclusion system to build.js
- Will now prompt for inclusion of
wordcloudandannotations
- Will now prompt for inclusion of
- Fixed another issue with
globalOptionsin 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
tmpdirwhen 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
hostoption - Added promise sample/test for batch export
- Fixed
tmpdirwhen 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
--batchexporting
- Fixed an issue with
themeOptionswhen using CLI mode - Added
listenToProcessExitsoption to pool.init(..) - Exposed
listenToProcessExitsin CLI mode - Fixed issue with
--callbackwhen the callback was a file
- Fixed an issue with batch exporting
- Fixed
uuiddependency version (thanks to @tonylukasavage)
- Set minimum node version to 5.10.0
- Fixed
phantomjs-prebuiltdependency version