Skip to content

Releases: striezel/plotly-node-export-server

Version 1.4.2 (2021-08-01)

01 Aug 11:50
Compare
Choose a tag to compare

[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)

18 Jul 14:09
Compare
Choose a tag to compare
  • [maintenance]
    The version of Plotly.js is bumped from 1.58.4 to 1.58.5.

  • [maintenance]
    The package dependencies mime-db and mime-types are updated to 1.48.0 and
    2.1.31, respectively.

v1.4.0

18 Apr 14:42
Compare
Choose a tag to compare

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.