Skip to content

Commit 614813a

Browse files
committed
Merge remote-tracking branch 'origin/master' into finalist-cluster-scattermapbox
2 parents d628461 + 89260f0 commit 614813a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+116929
-104951
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,40 @@ 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.3.0] -- 2021-07-23
13+
14+
### Added
15+
- Add new number formatting and text alignment options by upgrading `d3.format` method from d3@v3 to version 1.4.5 of `d3-format` module [[#5615](https://github.com/plotly/plotly.js/pull/5615), [#5842](https://github.com/plotly/plotly.js/pull/5842)]
16+
- Add "satellite" and several other projection types to geo subplots [[#5801](https://github.com/plotly/plotly.js/pull/5801)]
17+
- Improve rendering of `scattergl`, `splom` and `parcoords` by implementing `plotGlPixelRatio` for those traces [[#5500](https://github.com/plotly/plotly.js/pull/5500)]
18+
19+
### Changed
20+
- Upgrade `d3.geo` method from d3@v3 to version 1.12.1 of `d3-geo` module and version 2.9.0 of `d3-geo-projection` module [[#5112](https://github.com/plotly/plotly.js/pull/5112)]
21+
- Upgrade `d3.interpolate` method from d3@v3 to version 1.4.0 of `d3-interpolate` module in `icicle`, `indicator`, `parcats`, `sunburst` and `treemap` [[#5826](https://github.com/plotly/plotly.js/pull/5826)]
22+
- Upgrade `regl-scatter2d`, `regl-line2d` and `regl-error2d` modules to use version 1.1.0 of `to-float32` module to improve the performance [[#5786](https://github.com/plotly/plotly.js/pull/5786)],
23+
with thanks to @Seranicio for the contribution!
24+
- Edit the type of `constraintrange` in `parcoords` trace to pass validation [[#5673](https://github.com/plotly/plotly.js/pull/5673)]
25+
- Sort object key values in schema [[#5813](https://github.com/plotly/plotly.js/pull/5813)]
26+
- Sort plot-schema and add test to track plot-schema changes [[#5776](https://github.com/plotly/plotly.js/pull/5776)]
27+
- Preview CHANGELOG when building dist on master [[#5780](https://github.com/plotly/plotly.js/pull/5780), [#5808](https://github.com/plotly/plotly.js/pull/5808)]
28+
- Preview plot-schema changes between releases when building dist on master [[#5814](https://github.com/plotly/plotly.js/pull/5814)]
29+
- Display changes made to package.json between versions and add identical tags to draft bundles created by `publish-dist` job on CircleCI [[#5815](https://github.com/plotly/plotly.js/pull/5815)]
30+
- Simplify devtool by relying on `XMLHttpRequest` instead of `d3.json` [[#5832](https://github.com/plotly/plotly.js/pull/5832)]
31+
- Update CONTRIBUTING guidelines on how to submit pull requests and generate new baseline [[#5791](https://github.com/plotly/plotly.js/pull/5791), [[#5792](https://github.com/plotly/plotly.js/pull/5792)]]
32+
33+
### Fixed
34+
- Fix unknown filename when exporting charts using new versions of Safari [[#5609](https://github.com/plotly/plotly.js/pull/5609), [5838](https://github.com/plotly/plotly.js/pull/5838)],
35+
with thanks to @rlreamy for the contribution!
36+
- Improve README for ES6 module import [[#5779](https://github.com/plotly/plotly.js/pull/5779)],
37+
with thanks to @andreafonso for the contribution!
38+
- Position hover in respect to the average of values in (x|y) unified modes (regression introduced in 2.0.0) [[#5845](https://github.com/plotly/plotly.js/pull/5845)]
39+
- Fix hover with period alignment points and improve positioning of spikes and unified hover label
40+
in order not to obscure referring data points and fit inside plotting area [[#5846](https://github.com/plotly/plotly.js/pull/5846)]
41+
- Allow clickable legend group titles when group has no pie-like traces [[#5771](https://github.com/plotly/plotly.js/pull/5771)]
42+
- Fix mapbox line text example [[#5804](https://github.com/plotly/plotly.js/pull/5804)]
43+
- Fix links to time format options so that they point to the d3-time-format v2.2.3 applied not the latest [[#5818](https://github.com/plotly/plotly.js/pull/5818)]
44+
45+
1246
## [2.2.1] -- 2021-07-06
1347

1448
### Fixed

README.md

Lines changed: 3 additions & 3 deletions
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.2.1.min.js"></script>
58+
<script src="https://cdn.plot.ly/plotly-2.3.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.2.1.min.js"
75+
import "https://cdn.plot.ly/plotly-2.3.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.2.1.js" charset="utf-8"></script>
85+
<script src="https://cdn.plot.ly/plotly-2.3.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.

dist/README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ The main plotly.js bundles weight in at:
4343

4444
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
4545
|-----------|---------------|----------------------|---------------------|
46-
| 8 MB | 3.4 MB | 1019.6 kB | 8.3 MB |
46+
| 8.1 MB | 3.4 MB | 1 MB | 8.4 MB |
4747

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-2.2.1.js
49+
> https://cdn.plot.ly/plotly-2.3.0.js
5050
51-
> https://cdn.plot.ly/plotly-2.2.1.min.js
51+
> https://cdn.plot.ly/plotly-2.3.0.min.js
5252
5353

5454
#### npm packages
@@ -91,12 +91,12 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
9191

9292
| Raw size | Minified size | Minified + gzip size |
9393
|------|-----------------|------------------------|
94-
| 2.7 MB | 1007.3 kB | 327.3 kB |
94+
| 2.7 MB | 971.3 kB | 315.8 kB |
9595

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-2.2.1.js
97+
> https://cdn.plot.ly/plotly-basic-2.3.0.js
9898
99-
> https://cdn.plot.ly/plotly-basic-2.2.1.min.js
99+
> https://cdn.plot.ly/plotly-basic-2.3.0.min.js
100100
101101

102102
#### npm packages
@@ -114,12 +114,12 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
114114

115115
| Raw size | Minified size | Minified + gzip size |
116116
|------|-----------------|------------------------|
117-
| 3.3 MB | 1.2 MB | 398.8 kB |
117+
| 3.3 MB | 1.2 MB | 387.3 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-2.2.1.js
120+
> https://cdn.plot.ly/plotly-cartesian-2.3.0.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-2.2.1.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-2.3.0.min.js
123123
124124

125125
#### npm packages
@@ -137,12 +137,12 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
137137

138138
| Raw size | Minified size | Minified + gzip size |
139139
|------|-----------------|------------------------|
140-
| 2.9 MB | 1 MB | 337.4 kB |
140+
| 3 MB | 1.1 MB | 358.7 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-2.2.1.js
143+
> https://cdn.plot.ly/plotly-geo-2.3.0.js
144144
145-
> https://cdn.plot.ly/plotly-geo-2.2.1.min.js
145+
> https://cdn.plot.ly/plotly-geo-2.3.0.min.js
146146
147147

148148
#### npm packages
@@ -160,12 +160,12 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
160160

161161
| Raw size | Minified size | Minified + gzip size |
162162
|------|-----------------|------------------------|
163-
| 3.8 MB | 1.5 MB | 482.7 kB |
163+
| 3.7 MB | 1.5 MB | 471.1 kB |
164164

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-2.2.1.js
166+
> https://cdn.plot.ly/plotly-gl3d-2.3.0.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-2.2.1.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-2.3.0.min.js
169169
170170

171171
#### npm packages
@@ -183,12 +183,12 @@ The `gl2d` partial bundle contains trace modules `heatmapgl`, `parcoords`, `poin
183183

184184
| Raw size | Minified size | Minified + gzip size |
185185
|------|-----------------|------------------------|
186-
| 3.8 MB | 1.5 MB | 503.2 kB |
186+
| 3.8 MB | 1.5 MB | 491.9 kB |
187187

188188
#### CDN links
189-
> https://cdn.plot.ly/plotly-gl2d-2.2.1.js
189+
> https://cdn.plot.ly/plotly-gl2d-2.3.0.js
190190
191-
> https://cdn.plot.ly/plotly-gl2d-2.2.1.min.js
191+
> https://cdn.plot.ly/plotly-gl2d-2.3.0.min.js
192192
193193

194194
#### npm packages
@@ -206,12 +206,12 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
206206

207207
| Raw size | Minified size | Minified + gzip size |
208208
|------|-----------------|------------------------|
209-
| 4.4 MB | 1.8 MB | 525 kB |
209+
| 4.3 MB | 1.7 MB | 512.9 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-mapbox-2.2.1.js
212+
> https://cdn.plot.ly/plotly-mapbox-2.3.0.js
213213
214-
> https://cdn.plot.ly/plotly-mapbox-2.2.1.min.js
214+
> https://cdn.plot.ly/plotly-mapbox-2.3.0.min.js
215215
216216

217217
#### npm packages
@@ -229,12 +229,12 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
229229

230230
| Raw size | Minified size | Minified + gzip size |
231231
|------|-----------------|------------------------|
232-
| 3 MB | 1.1 MB | 353.6 kB |
232+
| 2.9 MB | 1.1 MB | 348.4 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-2.2.1.js
235+
> https://cdn.plot.ly/plotly-finance-2.3.0.js
236236
237-
> https://cdn.plot.ly/plotly-finance-2.2.1.min.js
237+
> https://cdn.plot.ly/plotly-finance-2.3.0.min.js
238238
239239

240240
#### npm packages
@@ -252,12 +252,12 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
252252

253253
| Raw size | Minified size | Minified + gzip size |
254254
|------|-----------------|------------------------|
255-
| 6.7 MB | 2.8 MB | 840.5 kB |
255+
| 6.9 MB | 2.8 MB | 860.5 kB |
256256

257257
#### CDN links
258-
> https://cdn.plot.ly/plotly-strict-2.2.1.js
258+
> https://cdn.plot.ly/plotly-strict-2.3.0.js
259259
260-
> https://cdn.plot.ly/plotly-strict-2.2.1.min.js
260+
> https://cdn.plot.ly/plotly-strict-2.3.0.min.js
261261
262262

263263
#### npm packages

0 commit comments

Comments
 (0)