Skip to content

Commit

Permalink
update Plotly.js to version 2.27.0
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Oct 22, 2023
1 parent 0a4960e commit 0e9d960
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 4.5.0 (2023-10-22)

* __[maintenance]__
The version of Plotly.js is bumped from 2.26.2 to 2.27.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#2270----2023-10-20).

## Version 4.4.4 (2023-10-06)

* __[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": "4.4.4",
"version": "4.5.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.26.2.min.js

This file was deleted.

8 changes: 8 additions & 0 deletions export-server/plotly-2.27.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.26.2.min.js', 'utf-8')
fs.promises.readFile('./plotly-2.27.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 0e9d960

Please sign in to comment.