diff --git a/.circleci/config.yml b/.circleci/config.yml index 008e8c1bea5..0d7242171ea 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2.1 orbs: - browser-tools: circleci/browser-tools@1.4.8 + browser-tools: circleci/browser-tools@1.5.1 # Inspired by: # https://github.com/CircleCI-Public/circleci-demo-workflows/blob/workspace-forwarding/.circleci/config.yml diff --git a/.circleci/download_google_fonts.py b/.circleci/download_google_fonts.py index 6a2a55816ce..2d5e87e4d92 100644 --- a/.circleci/download_google_fonts.py +++ b/.circleci/download_google_fonts.py @@ -2,12 +2,19 @@ dirOut = '.circleci/fonts/truetype/googleFonts/' -def download(repo, family, types) : +def download(repo, family, types): for t in types : name = family + t + '.ttf' url = repo + name + '?raw=true' print(url) req = requests.get(url, allow_redirects=True) + if req.status_code != 200: + raise RuntimeError(f""" +Download failed. +Status code: {req.status_code} +Message: {req.reason} +""" + ) open(dirOut + name, 'wb').write(req.content) download( @@ -82,7 +89,7 @@ def download(repo, family, types) : ) download( - 'https://github.com/expo/google-fonts/blob/master/font-packages/gravitas-one/', + 'https://github.com/expo/google-fonts/blob/main/font-packages/gravitas-one/400Regular/', 'GravitasOne', [ '_400Regular' diff --git a/CHANGELOG.md b/CHANGELOG.md index 464e8626b3d..c9c320f9820 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,19 @@ To see all merged commits on the master branch that will be part of the next plo where X.Y.Z is the semver of most recent plotly.js release. +## [3.0.1] -- 2025-02-18 + +### Changed +- Update `color-rgba` from 2.1.1 to 3.0.0 to fix hsl color conversion bug [[#7325](https://github.com/plotly/plotly.js/pull/7325)] + +### Fixed +- Fix click event handling for plots in shadow DOM elements [[#7357](https://github.com/plotly/plotly.js/pull/7357)] +- Fix hoverlabels and other text labels with null values templated in [[#7360](https://github.com/plotly/plotly.js/pull/7360)] +- Fix importing plotly.js via require on pages with [AMD](https://en.wikipedia.org/wiki/Asynchronous_module_definition) [[#7367](https://github.com/plotly/plotly.js/pull/7367)] +- Update Romanian locale [[#7351](https://github.com/plotly/plotly.js/pull/7351)] +- Update Italian locale [[#4425](https://github.com/plotly/plotly.js/pull/4425)] +- Update Turkish locale [[#7352](https://github.com/plotly/plotly.js/pull/7352)] + ## [3.0.0] -- 2025-01-27 ### Removed diff --git a/CITATION.cff b/CITATION.cff index 9e3a8874b66..1ce46b78c4f 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -9,7 +9,7 @@ authors: - family-names: "Samimi" given-names: "Mojtaba" title: "Open source Plotly charting library" -version: 3.0.0 +version: 3.0.1 doi: 10.5281/zenodo.13964707 date-released: 2025-01-27 url: "https://github.com/plotly/plotly.js" diff --git a/README.md b/README.md index fec8e4f68cc..ac93d04e6bf 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo ```html
- + @@ -79,7 +79,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag. ```html ``` @@ -89,7 +89,7 @@ Fastly supports Plotly.js with free CDN service. Read more at