diff --git a/.circleci/config.yml b/.circleci/config.yml index 74b9df07d0e..ee9557f5d98 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -263,8 +263,7 @@ jobs: name: Create conda environment command: | conda create -n env --yes python=3.9 conda-build conda-verify - conda install -n env -c conda-forge jupyterlab - conda install -c conda-forge nodejs=12 + conda install -n env -c conda-forge jupyterlab nodejs=12 conda init bash - run: @@ -275,6 +274,7 @@ jobs: cd packages/javascript/jupyterlab-plotly npm install npm run build:prod + git status - run: name: PyPI Build @@ -305,6 +305,8 @@ jobs: - run: name: NPM Pack command: | + eval "$(conda shell.bash hook)" + conda activate env cd packages/javascript/jupyterlab-plotly npm pack mkdir npm_dist diff --git a/CHANGELOG.md b/CHANGELOG.md index 189e8c6e5e2..49170a32a0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,18 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## UNRELEASED +## [5.8.0] - 2022-05-09 ### Fixed - - Improve support for type checking by bypassing lazy-loading when type checking. + + - 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) + - 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) + - 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) + - Better support for MathJax 3 [#3706](https://github.com/plotly/plotly.py/pull/3706) + +### Added + + - 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) ### Updated - 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: diff --git a/README.md b/README.md index 500b0ca2102..557967a8da6 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ ## Quickstart -`pip install plotly==5.7.0` +`pip install plotly==5.8.0` Inside [Jupyter](https://jupyter.org/install) (installable with `pip install "jupyterlab>=3" "ipywidgets>=7.6"`): @@ -79,13 +79,13 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is plotly.py may be installed using pip... ``` -pip install plotly==5.7.0 +pip install plotly==5.8.0 ``` or conda. ``` -conda install -c plotly plotly=5.7.0 +conda install -c plotly plotly=5.8.0 ``` ### JupyterLab Support @@ -107,7 +107,7 @@ The instructions above apply to JupyterLab 3.x. **For JupyterLab 2 or earlier**, ``` # JupyterLab 2.x renderer support -jupyter labextension install jupyterlab-plotly@5.7.0 @jupyter-widgets/jupyterlab-manager +jupyter labextension install jupyterlab-plotly@5.8.0 @jupyter-widgets/jupyterlab-manager ``` Please check out our [Troubleshooting guide](https://plotly.com/python/troubleshooting/) if you run into any problems with JupyterLab. diff --git a/packages/javascript/jupyterlab-plotly/package-lock.json b/packages/javascript/jupyterlab-plotly/package-lock.json index a8ca902ef12..74a93e86d42 100644 --- a/packages/javascript/jupyterlab-plotly/package-lock.json +++ b/packages/javascript/jupyterlab-plotly/package-lock.json @@ -1,6 +1,6 @@ { "name": "jupyterlab-plotly", - "version": "5.7.0", + "version": "5.8.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/javascript/jupyterlab-plotly/package.json b/packages/javascript/jupyterlab-plotly/package.json index e8c92634f9e..69e3a3c01c6 100644 --- a/packages/javascript/jupyterlab-plotly/package.json +++ b/packages/javascript/jupyterlab-plotly/package.json @@ -1,6 +1,6 @@ { "name": "jupyterlab-plotly", - "version": "5.7.0", + "version": "5.8.0", "description": "The plotly Jupyter extension", "author": "The plotly.py team", "license": "MIT", diff --git a/packages/python/plotly/plotly/_widget_version.py b/packages/python/plotly/plotly/_widget_version.py index 1785fe54e37..1cee3831be8 100644 --- a/packages/python/plotly/plotly/_widget_version.py +++ b/packages/python/plotly/plotly/_widget_version.py @@ -2,4 +2,4 @@ # for automated dev builds # # It is edited by hand prior to official releases -__frontend_version__ = "^5.7.0" +__frontend_version__ = "^5.8.0"