Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Upgrade Plotly.js to 1.47.0 #516

Merged
merged 8 commits into from
Apr 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,21 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Ensure `DatePickerSingle` callbacks fire with cleared dates. [#511](https://github.com/plotly/dash-core-components/pull/511)
- Fixes incorrect default values for `config` prop of `Graph`. [#515](https://github.com/plotly/dash-core-components/pull/515)

### Updated
- Upgraded plotly.js to 1.47.0 [#516](https://github.com/plotly/dash-core-components/pull/516)
- [Feature release 1.47.0](https://github.com/plotly/plotly.js/releases/tag/v1.47.0) which contains:
- New `volume` gl3d trace type
- Interactive node grouping for Sankey diagrams, using box or lasso selection
- Add way for Plotly.toImage and Plotly.downloadImage to export images with current graph width/height by passing width/height option as null
- Improvements to hover labels, legends, and more
- [Feature release 1.46.0](https://github.com/plotly/plotly.js/releases/tag/v1.46.0) which contains:
- New `waterfall` trace type
- New `sunburst` trace type
- Implement connectgaps on surface traces
- Implement hovertemplate for box and violin points
- Display hover labels above modebar, ensuring that the hover labels are always visible within the graph div
- Patch releases [1.46.1](https://github.com/plotly/plotly.js/releases/tag/v1.46.1), [1.45.3](https://github.com/plotly/plotly.js/releases/tag/v1.45.3), [1.45.2](https://github.com/plotly/plotly.js/releases/tag/v1.45.2), and [1.45.1](https://github.com/plotly/plotly.js/releases/tag/v1.45.1) containing numerous bug fixes

## [0.45.0] - 2019-03-25
### Added
- `restyleData` prop for `Graph` component [#483](https://github.com/plotly/dash-core-components/pull/483)
Expand Down
7 changes: 3 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,14 @@ respectively. TODO:

## Updating Plotly.js

1. Download the latest plotly.js from the cdn: `$ wget https://github.com/plotly/plotly.js/releases/tag/v1.45.0`
1. Download the latest plotly.js from the cdn: `$ wget https://github.com/plotly/plotly.js/releases/tag/v1.47.0`
2. Update `dash_core_components/__init__.py` plotly.js `external_url`
3. Update `MANIFEST.in`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated manifest to use wildcard, this step is no longer required

4. Update `CHANGELOG.md` with links to the releases and a description of the changes. The message should state (see the existing `CHANGELOG.md` for examples):
3. Update `CHANGELOG.md` with links to the releases and a description of the changes. The message should state (see the existing `CHANGELOG.md` for examples):
* If you're only bumping the patch level, the heading is "Fixed" and the text starts "Patched plotly.js". Otherwise the heading is "Updated" and the text starts "Upgraded plotly.js"
* The new plotly.js version number, and the PR in which this was done
* All major or minor versions included, with links to their release pages and a summary of the major new features in each. If there are multiple minor/major releases included, be sure to look at all of their release notes to construct the summary. Call minor versions "feature" versions for the benefit of users not steeped in semver terminology.
* All patch versions included, with links to their release pages and a note that these fix bugs
5. When bumping the dcc version, a plotly.js patch/minor/major constitutes a dcc patch/minor/major respectively as well.
4. When bumping the dcc version, a plotly.js patch/minor/major constitutes a dcc patch/minor/major respectively as well.

## Financial Contributions

Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include dash_core_components/dash_core_components.dev.js.map
include dash_core_components/metadata.json
include dash_core_components/rc-slider@6.1.2.css
include dash_core_components/react-select@1.0.0-rc.3.min.css
include dash_core_components/plotly-1.45.0.min.js
include dash_core_components/plotly-*.min.js
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include dash_core_components/react-virtualized-select@3.1.0.css
include dash_core_components/react-virtualized@9.9.0.css
include dash_core_components/react-dates@12.3.0.css
Expand Down
2 changes: 1 addition & 1 deletion R/internal.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
deps_metadata <- list(`dash_core_components_0` = structure(list(name = "dash_core_components_0",
version = "0", src = list(href = NULL,
file = "deps"), meta = NULL,
script = "plotly-1.45.0.min.js",
script = "plotly-1.47.0.min.js",
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashCoreComponents",
all_files = FALSE), class = "html_dependency"),
`dash_core_components` = structure(list(name = "dash_core_components",
Expand Down
4 changes: 2 additions & 2 deletions dash_core_components/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@

_js_dist = [
{
'external_url': 'https://cdn.plot.ly/plotly-1.45.0.min.js',
'relative_package_path': 'plotly-1.45.0.min.js',
'external_url': 'https://cdn.plot.ly/plotly-1.47.0.min.js',
'relative_package_path': 'plotly-1.47.0.min.js',
'namespace': 'dash_core_components'
},
{
Expand Down
7 changes: 0 additions & 7 deletions dash_core_components/plotly-1.45.0.min.js

This file was deleted.

7 changes: 7 additions & 0 deletions dash_core_components/plotly-1.47.0.min.js

Large diffs are not rendered by default.