Skip to content

Commit 4d10c56

Browse files
committed
update readme and changelog for v2.28.0
1 parent f9de119 commit 4d10c56

12 files changed

+32
-14
lines changed

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,30 @@ 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.28.0] -- 2024-01-05
13+
14+
### Added
15+
- Add `align` option to sankey nodes to control horizontal alignment [[#6800](https://github.com/plotly/plotly.js/pull/6800)],
16+
with thanks to @adamreeve for the contribution!
17+
- Add the possibility of loading "virtual-webgl" script for WebGL 1 to help display several WebGL contexts on a page [[#6784](https://github.com/plotly/plotly.js/pull/6784)], with thanks to @greggman for the contribution!
18+
- Add options to use base64 encoding (`bdata`) and `shape` (for 2 dimensional arrays) to declare various typed arrays i.e. `dtype=(float64|float32|int32|int16|int8|uint32|uint16|uint8)` [[#5230](https://github.com/plotly/plotly.js/pull/5230)]
19+
20+
### Fixed
21+
- Fix scattergl rendering bug on M1 mac devices [[#6830](https://github.com/plotly/plotly.js/pull/6830)],
22+
with thanks to @justinjhendrick for the contribution!
23+
- Fix hovering over sankey node only fully highlights first trace [[#6799](https://github.com/plotly/plotly.js/pull/6799)],
24+
with thanks to @DominicWuest for the contribution!
25+
- Fix error when the mouse moves to x=0 while dragging a rangeslider [[#6780](https://github.com/plotly/plotly.js/pull/6780)],
26+
with thanks to @david-bezero for the contribution!
27+
- Fix duplicated of major and minor ticks in calc data [[#6829](https://github.com/plotly/plotly.js/pull/6829)],
28+
with thanks to @ayjayt for the contribution!
29+
- Fix charset test dashboard [[#6826](https://github.com/plotly/plotly.js/pull/6826)],
30+
with thanks to @ayjayt for the contribution!
31+
- Fix range defaults to take into account `minallowed` and `maxallowed` values of the axis [[#6796](https://github.com/plotly/plotly.js/pull/6796)]
32+
- Fix `scattergl` legend when `marker.angle` is an array [[#6787](https://github.com/plotly/plotly.js/pull/6787)]
33+
- Fix plot schema not to show `line.shape` options for `scatterpolargl` trace [[#6781](https://github.com/plotly/plotly.js/pull/6781)]
34+
35+
1236
## [2.27.1] -- 2023-11-08
1337

1438
### Changed

README.md

+8-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.27.1.min.js" charset="utf-8"></script>
58+
<script src="https://cdn.plot.ly/plotly-2.28.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.27.1.min.js"
75+
import "https://cdn.plot.ly/plotly-2.28.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.27.1.js" charset="utf-8"></script>
85+
<script src="https://cdn.plot.ly/plotly-2.28.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.
@@ -100,6 +100,11 @@ You could load either version two or version three of MathJax files, for example
100100
> When using MathJax version 3, it is also possible to use `chtml` output on the other parts of the page in addition to `svg` output for the plotly graph.
101101
Please refer to `devtools/test_dashboard/index-mathjax3chtml.html` to see an example.
102102

103+
### Need to have several WebGL graphs on a page?
104+
You may simply load [virtual-webgl](https://github.com/greggman/virtual-webgl) script for WebGL 1 (not WebGL 2) before loading other scripts.
105+
```html
106+
<script src="https://unpkg.com/[email protected]/src/virtual-webgl.js"></script>
107+
```
103108

104109
## Bundles
105110
There are two kinds of plotly.js bundles:

draftlogs/5230_add.md

-1
This file was deleted.

draftlogs/6780_fix.md

-1
This file was deleted.

draftlogs/6781_fix.md

-1
This file was deleted.

draftlogs/6787_fix.md

-1
This file was deleted.

draftlogs/6796_fix.md

-1
This file was deleted.

draftlogs/6799_fix.md

-1
This file was deleted.

draftlogs/6800_add.md

-1
This file was deleted.

draftlogs/6826_fix.md

-1
This file was deleted.

draftlogs/6829_fix.md

-1
This file was deleted.

draftlogs/6830_fix.md

-2
This file was deleted.

0 commit comments

Comments
 (0)