Skip to content

Commit e938c40

Browse files
authored
Merge branch 'master' into fix3576-no-rotate-camera-before-modebar
2 parents 25b78ed + 61fb58e commit e938c40

Some content is hidden

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

49 files changed

+693
-352
lines changed

.circleci/config.yml

+12-27
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,10 @@ jobs:
1414
working_directory: ~/plotly.js
1515
steps:
1616
- checkout
17-
- restore_cache:
18-
keys:
19-
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-deps-{{ .Branch }}-{{ checksum "package-lock.json" }}
20-
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-deps-master-{{ checksum "package-lock.json" }}
2117
- run:
2218
name: Install dependencies
2319
command: |
24-
npm install
20+
npm ci
2521
- run:
2622
name: List dependency versions
2723
command: |
@@ -33,26 +29,21 @@ jobs:
3329
command: |
3430
npm run pretest
3531
npm run cibuild
36-
- save_cache:
37-
paths:
38-
- node_modules
39-
key: v{{ .Environment.CIRCLE_CACHE_VERSION }}-deps-{{ .Branch }}-{{ checksum "package.json" }}
32+
- run:
33+
command: rm -rf .git
4034
- persist_to_workspace:
41-
root: .
35+
root: /home/circleci
4236
paths:
43-
- node_modules
44-
- build
45-
- dist
37+
- plotly.js
4638

4739
test-jasmine:
4840
docker:
4941
# need '-browsers' version to test in real (xvfb-wrapped) browsers
5042
- image: circleci/node:10.9.0-browsers
5143
working_directory: ~/plotly.js
5244
steps:
53-
- checkout
5445
- attach_workspace:
55-
at: ~/plotly.js
46+
at: ~/
5647
- run:
5748
name: Run jasmine tests (batch 1)
5849
command: ./.circleci/test.sh jasmine
@@ -63,9 +54,8 @@ jobs:
6354
- image: circleci/node:10.9.0-browsers
6455
working_directory: ~/plotly.js
6556
steps:
66-
- checkout
6757
- attach_workspace:
68-
at: ~/plotly.js
58+
at: ~/
6959
- run:
7060
name: Run jasmine tests (batch 2)
7161
command: ./.circleci/test.sh jasmine2
@@ -76,9 +66,8 @@ jobs:
7666
- image: circleci/node:10.9.0-browsers
7767
working_directory: ~/plotly.js
7868
steps:
79-
- checkout
8069
- attach_workspace:
81-
at: ~/plotly.js
70+
at: ~/
8271
- run:
8372
name: Run jasmine tests (batch 3)
8473
command: ./.circleci/test.sh jasmine3
@@ -88,9 +77,8 @@ jobs:
8877
- image: plotly/testbed:latest
8978
working_directory: /var/www/streambed/image_server/plotly.js/
9079
steps:
91-
- checkout
9280
- attach_workspace:
93-
at: /var/www/streambed/image_server/plotly.js/
81+
at: /var/www/streambed/image_server/
9482
- run:
9583
name: Run and setup container
9684
command: |
@@ -108,9 +96,8 @@ jobs:
10896
- image: plotly/testbed:latest
10997
working_directory: /var/www/streambed/image_server/plotly.js/
11098
steps:
111-
- checkout
11299
- attach_workspace:
113-
at: /var/www/streambed/image_server/plotly.js/
100+
at: /var/www/streambed/image_server/
114101
- run:
115102
name: Run and setup container
116103
command: |
@@ -128,9 +115,8 @@ jobs:
128115
- image: circleci/node:10.9.0
129116
working_directory: ~/plotly.js
130117
steps:
131-
- checkout
132118
- attach_workspace:
133-
at: ~/plotly.js
119+
at: ~/
134120
- run:
135121
name: Run syntax tests
136122
command: ./.circleci/test.sh syntax
@@ -140,9 +126,8 @@ jobs:
140126
- image: circleci/node:10.9.0
141127
working_directory: ~/plotly.js
142128
steps:
143-
- checkout
144129
- attach_workspace:
145-
at: ~/plotly.js
130+
at: ~/
146131
- run:
147132
name: Build dist/
148133
command: npm run build

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,24 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

1212

13+
## [1.45.3] -- 2019-03-19
14+
15+
### Fixed
16+
- Fix legend click dispatch on legend item symbols (bug introduced in 1.44.0) [#3635]
17+
- Fix overlapping of "very close" hover labels [#3645]
18+
- Fix `hovermode` default logic for stacked `scatter` traces [#3646]
19+
- Fix `glPixelRatio` handling in `surface` contour lines [#3641]
20+
- Fix `gl2d` subplot zoombox appearance (bug introduced in 1.32.0) [#3647]
21+
- Fix axis label updates on `gl2d` subplots on scroll (bug introduced in 1.32.0) [#3647]
22+
- Fix `dragmode` relayout calls on `gl2d` subplots [#3647]
23+
- Improve info about `<extra>` in `hovertemplate` description [#3623]
24+
25+
26+
## [1.45.2] -- 2019-03-07
27+
28+
### Fixed
29+
- Fix webpack builds that include `sankey` by upgrading d3-sankey-circular to 0.33.0 (bug introduced in 1.45.0) [#3611]
30+
1331
## [1.45.1] -- 2019-03-05
1432

1533
### Fixed

build/plotcss.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var rules = {
3131
"X .cursor-n-resize": "cursor:n-resize;",
3232
"X .cursor-ne-resize": "cursor:ne-resize;",
3333
"X .cursor-grab": "cursor:-webkit-grab;cursor:grab;",
34-
"X .modebar": "position:absolute;top:2px;right:2px;z-index:1001;",
34+
"X .modebar": "position:absolute;top:2px;right:2px;",
3535
"X .ease-bg": "-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;",
3636
"X .modebar--hover>:not(.watermark)": "opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;",
3737
"X:hover .modebar--hover .modebar-group": "opacity:1;",

dist/README.md

+23-23
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ object. This property must be set before the plotly.js script tag, for example:
5151
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
5252
Many other localizations are available - here is an example using Swiss-German (de-CH),
5353
see the contents of this directory for the full list.
54-
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.45.1.js
54+
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.45.3.js
5555
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.
5656

5757
*After* the plotly.js script tag, add:
@@ -74,12 +74,12 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
7474

7575
It be can imported as minified javascript
7676
- using dist file `dist/plotly.min.js`
77-
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.45.1.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.45.3.min.js
7878

7979
or as raw javascript:
8080
- using the `plotly.js-dist` npm package (starting in `v1.39.0`)
8181
- using dist file `dist/plotly.js`
82-
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.45.1.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.45.3.js
8383
- using CommonJS with `require('plotly.js')`
8484

8585
If you would like to have access to the attribute meta information (including attribute descriptions as on the [schema reference page](https://plot.ly/javascript/reference/)), use dist file `dist/plotly-with-meta.js`
@@ -111,16 +111,16 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.
111111

112112
| Raw size | Minified size | Minified + gzip size |
113113
|------|-----------------|------------------------|
114-
| 2.3 MB | 817.1 kB | 267 kB |
114+
| 2.3 MB | 817.3 kB | 267.1 kB |
115115

116116
#### CDN links
117117

118118
| Flavor | URL |
119119
| ------ | --- |
120120
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
121121
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
122-
| Tagged | https://cdn.plot.ly/plotly-basic-1.45.1.js |
123-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.45.1.min.js |
122+
| Tagged | https://cdn.plot.ly/plotly-basic-1.45.3.js |
123+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.45.3.min.js |
124124

125125
#### npm package (starting in `v1.39.0`)
126126

@@ -157,16 +157,16 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `
157157

158158
| Raw size | Minified size | Minified + gzip size |
159159
|------|-----------------|------------------------|
160-
| 2.6 MB | 932.7 kB | 303.4 kB |
160+
| 2.6 MB | 932.8 kB | 303.5 kB |
161161

162162
#### CDN links
163163

164164
| Flavor | URL |
165165
| ------ | --- |
166166
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
167167
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
168-
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.45.1.js |
169-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.45.1.min.js |
168+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.45.3.js |
169+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.45.3.min.js |
170170

171171
#### npm package (starting in `v1.39.0`)
172172

@@ -203,16 +203,16 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho
203203

204204
| Raw size | Minified size | Minified + gzip size |
205205
|------|-----------------|------------------------|
206-
| 2.3 MB | 834.4 kB | 274.8 kB |
206+
| 2.3 MB | 834.5 kB | 274.8 kB |
207207

208208
#### CDN links
209209

210210
| Flavor | URL |
211211
| ------ | --- |
212212
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
213213
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
214-
| Tagged | https://cdn.plot.ly/plotly-geo-1.45.1.js |
215-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.45.1.min.js |
214+
| Tagged | https://cdn.plot.ly/plotly-geo-1.45.3.js |
215+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.45.3.min.js |
216216

217217
#### npm package (starting in `v1.39.0`)
218218

@@ -257,8 +257,8 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac
257257
| ------ | --- |
258258
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
259259
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
260-
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.45.1.js |
261-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.45.1.min.js |
260+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.45.3.js |
261+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.45.3.min.js |
262262

263263
#### npm package (starting in `v1.39.0`)
264264

@@ -295,16 +295,16 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`
295295

296296
| Raw size | Minified size | Minified + gzip size |
297297
|------|-----------------|------------------------|
298-
| 3.4 MB | 1.4 MB | 444.6 kB |
298+
| 3.4 MB | 1.4 MB | 444.7 kB |
299299

300300
#### CDN links
301301

302302
| Flavor | URL |
303303
| ------ | --- |
304304
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
305305
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
306-
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.45.1.js |
307-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.45.1.min.js |
306+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.45.3.js |
307+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.45.3.min.js |
308308

309309
#### npm package (starting in `v1.39.0`)
310310

@@ -341,16 +341,16 @@ The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`
341341

342342
| Raw size | Minified size | Minified + gzip size |
343343
|------|-----------------|------------------------|
344-
| 2.8 MB | 1.4 MB | 412.7 kB |
344+
| 2.8 MB | 1.4 MB | 412.8 kB |
345345

346346
#### CDN links
347347

348348
| Flavor | URL |
349349
| ------ | --- |
350350
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
351351
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
352-
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.45.1.js |
353-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.45.1.min.js |
352+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.45.3.js |
353+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.45.3.min.js |
354354

355355
#### npm package (starting in `v1.39.0`)
356356

@@ -387,16 +387,16 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram
387387

388388
| Raw size | Minified size | Minified + gzip size |
389389
|------|-----------------|------------------------|
390-
| 2.4 MB | 850.7 kB | 277.3 kB |
390+
| 2.4 MB | 850.8 kB | 277.3 kB |
391391

392392
#### CDN links
393393

394394
| Flavor | URL |
395395
| ------ | --- |
396396
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
397397
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
398-
| Tagged | https://cdn.plot.ly/plotly-finance-1.45.1.js |
399-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.45.1.min.js |
398+
| Tagged | https://cdn.plot.ly/plotly-finance-1.45.3.js |
399+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.45.3.min.js |
400400

401401
#### npm package (starting in `v1.39.0`)
402402

0 commit comments

Comments
 (0)