Skip to content

Commit b07ca25

Browse files
authoredMay 11, 2022
Merge pull request #3717 from plotly/release-5.8
Release 5.8
2 parents 728b95e + eca5fe6 commit b07ca25

File tree

6 files changed

+21
-11
lines changed

6 files changed

+21
-11
lines changed
 

‎.circleci/config.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,7 @@ jobs:
263263
name: Create conda environment
264264
command: |
265265
conda create -n env --yes python=3.9 conda-build conda-verify
266-
conda install -n env -c conda-forge jupyterlab
267-
conda install -c conda-forge nodejs=12
266+
conda install -n env -c conda-forge jupyterlab nodejs=12
268267
conda init bash
269268
270269
- run:
@@ -275,6 +274,7 @@ jobs:
275274
cd packages/javascript/jupyterlab-plotly
276275
npm install
277276
npm run build:prod
277+
git status
278278
279279
- run:
280280
name: PyPI Build
@@ -305,6 +305,8 @@ jobs:
305305
- run:
306306
name: NPM Pack
307307
command: |
308+
eval "$(conda shell.bash hook)"
309+
conda activate env
308310
cd packages/javascript/jupyterlab-plotly
309311
npm pack
310312
mkdir npm_dist

‎CHANGELOG.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,18 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5-
## UNRELEASED
5+
## [5.8.0] - 2022-05-09
66

77
### Fixed
8-
- Improve support for type checking by bypassing lazy-loading when type checking.
8+
9+
- Improve support for type checking and IDE auto-completion by bypassing lazy-loading when type checking. [#3425](https://github.com/plotly/plotly.py/pull/3425) with thanks to [@JP-Ellis](https://github.com/JP-Ellis)
10+
- line dash-style validators are now correctly used everywhere so that values like `10px 2px` are accepted [#3722](https://github.com/plotly/plotly.py/pull/3722)
11+
- Resolved various deprecation warning messages and compatibility issues with upstream dependencies and Python 3.11, plus removed dependency on `six`, with thanks to [@maresb](https://github.com/maresb), [@hugovk](https://github.com/hugovk), [@tirkarthi](https://github.com/tirkarthi), [@martinRenou](https://github.com/martinRenou), and [@BjoernLudwigPTB](https://github.com/BjoernLudwigPTB)
12+
- Better support for MathJax 3 [#3706](https://github.com/plotly/plotly.py/pull/3706)
13+
14+
### Added
15+
16+
- Type annotations for Plotly Express functions and chainable `go.Figure` methods, for better IDE auto-completion [#3708](https://github.com/plotly/plotly.py/pull/3708)
917

1018
### Updated
1119
- Updated Plotly.js to from version 2.11.1 to version 2.12.1. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/v2.12.1/CHANGELOG.md#2121----2022-05-09) for more information. Notable changes include:

‎README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
## Quickstart
3535

36-
`pip install plotly==5.7.0`
36+
`pip install plotly==5.8.0`
3737

3838
Inside [Jupyter](https://jupyter.org/install) (installable with `pip install "jupyterlab>=3" "ipywidgets>=7.6"`):
3939

@@ -79,13 +79,13 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
7979
plotly.py may be installed using pip...
8080

8181
```
82-
pip install plotly==5.7.0
82+
pip install plotly==5.8.0
8383
```
8484

8585
or conda.
8686

8787
```
88-
conda install -c plotly plotly=5.7.0
88+
conda install -c plotly plotly=5.8.0
8989
```
9090

9191
### JupyterLab Support
@@ -107,7 +107,7 @@ The instructions above apply to JupyterLab 3.x. **For JupyterLab 2 or earlier**,
107107

108108
```
109109
# JupyterLab 2.x renderer support
110-
jupyter labextension install jupyterlab-plotly@5.7.0 @jupyter-widgets/jupyterlab-manager
110+
jupyter labextension install jupyterlab-plotly@5.8.0 @jupyter-widgets/jupyterlab-manager
111111
```
112112

113113
Please check out our [Troubleshooting guide](https://plotly.com/python/troubleshooting/) if you run into any problems with JupyterLab.

‎packages/javascript/jupyterlab-plotly/package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/javascript/jupyterlab-plotly/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyterlab-plotly",
3-
"version": "5.7.0",
3+
"version": "5.8.0",
44
"description": "The plotly Jupyter extension",
55
"author": "The plotly.py team",
66
"license": "MIT",

‎packages/python/plotly/plotly/_widget_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# for automated dev builds
33
#
44
# It is edited by hand prior to official releases
5-
__frontend_version__ = "^5.7.0"
5+
__frontend_version__ = "^5.8.0"

0 commit comments

Comments
 (0)
Please sign in to comment.