Releases: striezel/plotly-node-export-server
Version 1.5.2 (2021-12-07)
[maintenance]
Update dependencies asn1 to 0.2.6, json-schema to 0.4.0, jsprim to 1.4.2, mime-db to 1.51.0, and mime-types to 2.1.34.
Version 1.5.1 (2021-10-10)
[maintenance]
Update dependencies core-util-is to 1.0.3, graceful-fs to 4.2.8, mime-db to 1.50.0, mime-types to 2.1.33.
Version 1.5.0 (2021-08-01)
- [new feature]
The port to which the server binds can now be changed by setting the environment variablePORT. IfPORTis not set or is not a valid port number, then the default port 3000 is used.
An example to use port 4000 instead of port 3000 when using GNU Bash or a similar shell would be:
export PORT=4000
npm start- [new feature]
The hostname which the server shall use can now be changed by setting the environment variableHOST. IfHOSTis not set, thenlocalhostwill be used as default.
Version 1.4.2 (2021-08-01)
[maintenance]
Update dependencies buffer-from to 1.1.2, mime-db to 1.49.0 and mime-types to 2.1.32.
Version 1.4.1 (2021-07-18)
-
[maintenance]
The version of Plotly.js is bumped from 1.58.4 to 1.58.5. -
[maintenance]
The package dependenciesmime-dbandmime-typesare updated to 1.48.0 and
2.1.31, respectively.
v1.4.0
Version 1.4.0 (2021-04-18)
[improvement]
The generated names for PNG files are using UUIDs (version 4) instead of a Unix timestamp in their name from now on. That is, the JSON output of a successful render will change from something like
{
"success": true,
"filename": "graph-1604764778687.png"
}
to something like
{
"success": true,
"filename": "graph-25273999-dea9-4da2-aad2-dbdf2e38a0c9.png"
}
instead. While it is highly unlikely that rendering of a plot with Plotly.js and JavaScript is so fast that two PNG files are created within the same millisecond this change makes sure we are on the safe side here.
Also note that the application never gave any guarantees for the naming pattern of the generated files in the first place. Therefore, anyone consuming the JSON response should treat the filename value as a purely random file name.