Skip to content

Commit

Permalink
update Plotly.js to version 2.35.0
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Aug 31, 2024
1 parent ead1dca commit 59ceda9
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 12 deletions.
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ Since [Plotly.js](https://plotly.com/javascript/) is the main dependency of this
application, major version changes in Plotly.js will also trigger a major
version change in this application.

## Version 5.8.0 (2024-08-31)

* __[maintenance]__
The version of Plotly.js is bumped from 2.34.0 to 2.35.0.
The new version contains some new features and fixes. For details on those see
[the changelog of Plotly.js](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2350----2024-08-29).

## Version 5.7.3 (2024-08-26)

* __[maintenance]__
Expand Down
4 changes: 2 additions & 2 deletions export-server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion export-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plotly-node-export-server",
"version": "5.7.3",
"version": "5.8.0",
"description": "Plotly.js Node.js export server",
"repository": {
"url": "https://gitlab.com/striezel/plotly-node-export-server.git",
Expand Down
8 changes: 0 additions & 8 deletions export-server/plotly-2.34.0.min.js

This file was deleted.

8 changes: 8 additions & 0 deletions export-server/plotly-2.35.0.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion export-server/ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ exports.render = async function(jsonData, filename, width, height) {
};

await
fs.promises.readFile('./plotly-2.34.0.min.js', 'utf-8')
fs.promises.readFile('./plotly-2.35.0.min.js', 'utf-8')
.then(win.eval)
.then(() => win.Plotly.toImage({data: [data], layout: layout, config: config},
{ format: 'svg', imageDataOnly: true }))
Expand Down

0 comments on commit 59ceda9

Please sign in to comment.