Skip to content

Commit b4b80e0

Browse files
committed
update changelog and readme for v2.22.0
1 parent 470125c commit b4b80e0

File tree

8 files changed

+22
-13
lines changed

8 files changed

+22
-13
lines changed

Diff for: CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,25 @@ To see all merged commits on the master branch that will be part of the next plo
99

1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

12+
## [2.22.0] -- 2023-04-27
13+
14+
### Added
15+
- Add `legend` references to traces and `legend2`, `legend3`, etc. to layout,
16+
also add `visible` to legend i.e. to allow positioning multiple legends on a graph [[#6535](https://github.com/plotly/plotly.js/pull/6535)],
17+
this feature was anonymously sponsored: thank you to our sponsor!
18+
19+
### Changed
20+
- Update Norwegian translations in `no` locale [[#5410](https://github.com/plotly/plotly.js/pull/5410)],
21+
with thanks to @bjornol for the contribution!
22+
- Update Slovak translations and number formats in `sk` locale [[#6580](https://github.com/plotly/plotly.js/pull/6580)], with thanks to @Libco for the contribution!
23+
24+
### Fixed
25+
- Fix `plotly_click` in gl3d scenes to fire on touch devices [[#6563](https://github.com/plotly/plotly.js/pull/6563)],
26+
with thanks to @NickTominaga for the contribution!
27+
- Fix scatter3d when `marker.opacity` is set to zero [[#6581](https://github.com/plotly/plotly.js/pull/6581)], with thanks to @dmyronuk for the contribution!
28+
- Fix scattermapbox visibility restyle [[#6567](https://github.com/plotly/plotly.js/pull/6567)]
29+
30+
1231
## [2.21.0] -- 2023-04-17
1332

1433
### Added

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
5555
5656
```html
5757
<head>
58-
<script src="https://cdn.plot.ly/plotly-2.20.0.min.js" charset="utf-8"></script>
58+
<script src="https://cdn.plot.ly/plotly-2.22.0.min.js" charset="utf-8"></script>
5959
</head>
6060
<body>
6161
<div id="gd"></div>
@@ -72,7 +72,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
7272
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
7373
```html
7474
<script type="module">
75-
import "https://cdn.plot.ly/plotly-2.20.0.min.js"
75+
import "https://cdn.plot.ly/plotly-2.22.0.min.js"
7676
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
7777
</script>
7878
```
@@ -82,7 +82,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
8282
### Un-minified versions are also available on CDN
8383
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
8484
```html
85-
<script src="https://cdn.plot.ly/plotly-2.20.0.js" charset="utf-8"></script>
85+
<script src="https://cdn.plot.ly/plotly-2.22.0.js" charset="utf-8"></script>
8686
```
8787

8888
> Please note that as of v2 the "plotly-latest" outputs (e.g. https://cdn.plot.ly/plotly-latest.min.js) will no longer be updated on the CDN, and will stay at the last v1 patch v1.58.5. Therefore, to use the CDN with plotly.js v2 and higher, you must specify an exact plotly.js version.

Diff for: draftlogs/5410_change.md

-2
This file was deleted.

Diff for: draftlogs/6535_add.md

-3
This file was deleted.

Diff for: draftlogs/6563_fix.md

-2
This file was deleted.

Diff for: draftlogs/6567_fix.md

-1
This file was deleted.

Diff for: draftlogs/6580_change.md

-1
This file was deleted.

Diff for: draftlogs/6581_fix.md

-1
This file was deleted.

0 commit comments

Comments
 (0)