Skip to content

v1.4.0

Compare
Choose a tag to compare
@striezel striezel released this 18 Apr 14:42
· 160 commits to master since this release

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.