Skip to content

Commit b95eec4

Browse files
committed
update changelog and readme for v2.4.0
1 parent 95d4ff9 commit b95eec4

9 files changed

+21
-13
lines changed

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,24 @@ 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.4.0] -- 2021-08-27
13+
14+
### Added
15+
- Add `legend.groupclick` options [[#5849](https://github.com/plotly/plotly.js/pull/5849), [#5906](https://github.com/plotly/plotly.js/pull/5906)],
16+
with thanks to @brussee for the contribution!
17+
- Add touch support to `slider` component [[#5856](https://github.com/plotly/plotly.js/pull/5856)],
18+
with thanks to @keul for the contribution!
19+
- Provide `bbox` of hover items in event data [[#5512](https://github.com/plotly/plotly.js/pull/5512)]
20+
21+
### Changed
22+
- Upgrade `regl` module from version 1.6.1 to version 2.1.0 [[#5870](https://github.com/plotly/plotly.js/pull/5870)]
23+
24+
### Fixed
25+
- Fix invalid call to `lib.promiseError` in lib.syncOrAsync [[#5878](https://github.com/plotly/plotly.js/pull/5878)],
26+
with thanks to @jklimke for the contribution!
27+
- Use `hoverlabel.font` for group titles in unified hover modes [[#5895](https://github.com/plotly/plotly.js/pull/5895)]
28+
29+
1230
## [2.3.1] -- 2021-07-30
1331

1432
### Fixed

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.3.1.min.js"></script>
58+
<script src="https://cdn.plot.ly/plotly-2.4.0.min.js"></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.3.1.min.js"
75+
import "https://cdn.plot.ly/plotly-2.4.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.3.1.js" charset="utf-8"></script>
85+
<script src="https://cdn.plot.ly/plotly-2.4.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.

draftlogs/5512_add.md

-1
This file was deleted.

draftlogs/5849_add.md

-2
This file was deleted.

draftlogs/5856_add.md

-2
This file was deleted.

draftlogs/5868_fix.md

-1
This file was deleted.

draftlogs/5870_change.md

-1
This file was deleted.

draftlogs/5878_fix.md

-2
This file was deleted.

draftlogs/5895_fix.md

-1
This file was deleted.

0 commit comments

Comments
 (0)