From 6096ba4ad219e33530c942a0625e47f533dc080c Mon Sep 17 00:00:00 2001 From: Emily KL <4672118+emilykl@users.noreply.github.com> Date: Thu, 19 Jun 2025 17:13:01 -0400 Subject: [PATCH 1/2] update changelog --- CHANGELOG.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b14a7d6802..bea3afa5cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,16 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## Unreleased +## [6.2.0] - 2025-06-20 +### Added +- Add SRI (Subresource Integrity) hash support for CDN script tags when using `include_plotlyjs='cdn'`. This enhances security by ensuring browser verification of CDN-served plotly.js files [[#5165](https://github.com/plotly/plotly.py/pull/5165)] (with thanks to @ddworken) + +### Fixed +- Allow setting Plotly.js path via `pio.defaults` [[#5207](https://github.com/plotly/plotly.py/pull/5207)] + +### Changed +- Refactor validation code to reduce bundle size [[#5214](https://github.com/plotly/plotly.py/pull/5214)] (with thanks to @bmaranville) - Add deprecation warnings when using Kaleido v0 or deprecated image export features [[#5177](https://github.com/plotly/plotly.py/pull/5236)] ## [6.1.2] - 2025-05-27 @@ -24,9 +32,6 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Add support for Kaleido>=v1.0.0 for image generation [[#5062](https://github.com/plotly/plotly.py/pull/5062), [#5177](https://github.com/plotly/plotly.py/pull/5177)] - Reduce package bundle size by 18-24% via changes to code generation [[#4978](https://github.com/plotly/plotly.py/pull/4978)] -### Added -- Add SRI (Subresource Integrity) hash support for CDN script tags when using `include_plotlyjs='cdn'`. This enhances security by ensuring browser verification of CDN-served plotly.js files [[#PENDING](https://github.com/plotly/plotly.py/pull/PENDING)] - ### Fixed - Fix third-party widget display issues in v6 [[#5102](https://github.com/plotly/plotly.py/pull/5102)] - Add handling for case where `jupyterlab` or `notebook` is not installed [[#5104](https://github.com/plotly/plotly.py/pull/5104/files)] From e7586e3f6d9aa99ba50b6bc707ea1db7803cc305 Mon Sep 17 00:00:00 2001 From: Emily KL <4672118+emilykl@users.noreply.github.com> Date: Thu, 19 Jun 2025 17:14:01 -0400 Subject: [PATCH 2/2] bump version to 6.2.0 --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cfd15eb1ca..49a821cfb2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ classifiers = [ ] requires-python = ">=3.8" license = {file="LICENSE.txt"} -version = "6.1.2" +version = "6.2.0" dependencies = [ "narwhals>=1.15.1", "packaging" diff --git a/uv.lock b/uv.lock index 0f3318f370..e882459b0f 100644 --- a/uv.lock +++ b/uv.lock @@ -4276,7 +4276,7 @@ wheels = [ [[package]] name = "plotly" -version = "6.1.2" +version = "6.2.0" source = { editable = "." } dependencies = [ { name = "narwhals" },