Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53f896c

Browse files
committed
Merge remote-tracking branch 'origin/master' into build-with-esbuild
- Resolved conflicts in package-lock.json by copying lock file from master then npm install
2 parents 3328875 + ce07feb commit 53f896c

Some content is hidden

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

54 files changed

+558155
-410050
lines changed

.circleci/config.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,26 @@ jobs:
134134
name: Run jasmine tests (part B)
135135
command: .circleci/test.sh virtual-webgl-jasmine
136136

137+
webgl-jasmine-chromeLatest:
138+
docker:
139+
# need '-browsers' version to test in real (xvfb-wrapped) browsers
140+
- image: cimg/node:18.20.4-browsers
141+
environment:
142+
# Alaska time (arbitrary timezone to test date logic)
143+
TZ: "America/Anchorage"
144+
parallelism: 8
145+
working_directory: ~/plotly.js
146+
steps:
147+
- browser-tools/install-browser-tools: &browser-versions
148+
install-firefox: false
149+
install-geckodriver: false
150+
install-chrome: true
151+
- attach_workspace:
152+
at: ~/
153+
- run:
154+
name: Run jasmine tests (part B)
155+
command: .circleci/test.sh webgl-jasmine
156+
137157
flaky-no-gl-jasmine:
138158
docker:
139159
# need '-browsers' version to test in real (xvfb-wrapped) browsers
@@ -493,6 +513,9 @@ workflows:
493513
- virtual-webgl-jasmine:
494514
requires:
495515
- install-and-cibuild
516+
- webgl-jasmine-chromeLatest:
517+
requires:
518+
- install-and-cibuild
496519
- flaky-no-gl-jasmine:
497520
requires:
498521
- install-and-cibuild

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,27 @@ 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.35.0] -- 2024-08-29
13+
14+
### Added
15+
- Add new traces: scattermap, choroplethmap and densitymap and map subplots which use maplibre to render maps [[#7015](https://github.com/plotly/plotly.js/pull/7015), [#7060](https://github.com/plotly/plotly.js/pull/7060), [#7085](https://github.com/plotly/plotly.js/pull/7085), [#7088](https://github.com/plotly/plotly.js/pull/7088), [#7090](https://github.com/plotly/plotly.js/pull/7090), [#7092](https://github.com/plotly/plotly.js/pull/7092), [#7094](https://github.com/plotly/plotly.js/pull/7094), [#7134](https://github.com/plotly/plotly.js/pull/7134)],
16+
with thanks to @birkskyum for the contribution!
17+
18+
### Changed
19+
- Deprecate mapbox traces and mapbox subplot [[#7087](https://github.com/plotly/plotly.js/pull/7087)]
20+
- Drop obsolete `npm v6` installation [[#7095](https://github.com/plotly/plotly.js/pull/7095)]
21+
- Use `Node.js v18` and `npm v10` in development [[#7078](https://github.com/plotly/plotly.js/pull/7078)]
22+
- Update npm lockfile to v3 [[#7099](https://github.com/plotly/plotly.js/pull/7099)]
23+
- Update turf to v7 [[#7116](https://github.com/plotly/plotly.js/pull/7116)]
24+
25+
### Fixed
26+
- Fix centroid calculation in turf [[#7115](https://github.com/plotly/plotly.js/pull/7115)],
27+
with thanks to @birkskyum for the contribution!
28+
- Fix missing cursor for Ternary Plot[[#7057](https://github.com/plotly/plotly.js/pull/7057)],
29+
with thanks to @Lexachoc for the contribution!
30+
- Elaborate on the Custom Bundle guide [[#7101](https://github.com/plotly/plotly.js/pull/7101)]
31+
32+
1233
## [2.34.0] -- 2024-07-18
1334

1435
### Added

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
6262
6363
```html
6464
<head>
65-
<script src="https://cdn.plot.ly/plotly-2.34.0.min.js" charset="utf-8"></script>
65+
<script src="https://cdn.plot.ly/plotly-2.35.0.min.js" charset="utf-8"></script>
6666
</head>
6767
<body>
6868
<div id="gd"></div>
@@ -79,7 +79,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
7979
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
8080
```html
8181
<script type="module">
82-
import "https://cdn.plot.ly/plotly-2.34.0.min.js"
82+
import "https://cdn.plot.ly/plotly-2.35.0.min.js"
8383
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
8484
</script>
8585
```
@@ -89,7 +89,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
8989
### Un-minified versions are also available on CDN
9090
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
9191
```html
92-
<script src="https://cdn.plot.ly/plotly-2.34.0.js" charset="utf-8"></script>
92+
<script src="https://cdn.plot.ly/plotly-2.35.0.js" charset="utf-8"></script>
9393
```
9494

9595
> 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.
@@ -151,6 +151,7 @@ Plotly.js is at the core of a large and dynamic ecosystem with many contributors
151151
|**Mojtaba Samimi** | [@archmoj](https://github.com/archmoj) | [@solarchvision](https://twitter.com/solarchvision) | Active, Maintainer |
152152
|**Emily Kellison-Linn** | [@emilykl](https://github.com/emilykl) | | Active, Maintainer |
153153
|**My-Tien Nguyen**| [@my-tien](https://github.com/my-tien) | | Active, Community Contributor |
154+
|**Birk Skyum**| [@birkskyum](https://github.com/birkskyum) | | Active, Community Contributor |
154155
|**Étienne Tétreault-Pinard**| [@etpinard](https://github.com/etpinard) | [@etpinard](https://twitter.com/etpinard) | Hall of Fame |
155156
|**Antoine Roy-Gobeil** | [@antoinerg](https://github.com/antoinerg) | | Hall of Fame |
156157
|**Jack Parmer**| [@jackparmer](https://github.com/jackparmer) | | Hall of Fame |

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.3 MB | 3.5 MB | 1 MB | 8.6 MB |
46+
| 10.2 MB | 4.3 MB | 1.3 MB | 10.5 MB |
4747

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-2.34.0.js
49+
> https://cdn.plot.ly/plotly-2.35.0.js
5050
51-
> https://cdn.plot.ly/plotly-2.34.0.min.js
51+
> https://cdn.plot.ly/plotly-2.35.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 | 1000.7 kB | 334.3 kB |
94+
| 2.7 MB | 1001.6 kB | 336.4 kB |
9595

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-2.34.0.js
97+
> https://cdn.plot.ly/plotly-basic-2.35.0.js
9898
99-
> https://cdn.plot.ly/plotly-basic-2.34.0.min.js
99+
> https://cdn.plot.ly/plotly-basic-2.35.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.4 MB | 1.2 MB | 422.4 kB |
117+
| 3.4 MB | 1.3 MB | 425.8 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-2.34.0.js
120+
> https://cdn.plot.ly/plotly-cartesian-2.35.0.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-2.34.0.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-2.35.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-
| 3.2 MB | 1.1 MB | 377.2 kB |
140+
| 3 MB | 1.1 MB | 378.8 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-2.34.0.js
143+
> https://cdn.plot.ly/plotly-geo-2.35.0.js
144144
145-
> https://cdn.plot.ly/plotly-geo-2.34.0.min.js
145+
> https://cdn.plot.ly/plotly-geo-2.35.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.6 MB | 1.5 MB | 498.9 kB |
163+
| 3.7 MB | 1.6 MB | 510.2 kB |
164164

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-2.34.0.js
166+
> https://cdn.plot.ly/plotly-gl3d-2.35.0.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-2.34.0.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-2.35.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-
| 4.4 MB | 1.9 MB | 605.6 kB |
186+
| 4.5 MB | 1.9 MB | 610.5 kB |
187187

188188
#### CDN links
189-
> https://cdn.plot.ly/plotly-gl2d-2.34.0.js
189+
> https://cdn.plot.ly/plotly-gl2d-2.35.0.js
190190
191-
> https://cdn.plot.ly/plotly-gl2d-2.34.0.min.js
191+
> https://cdn.plot.ly/plotly-gl2d-2.35.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 | 536.1 kB |
209+
| 4.2 MB | 1.7 MB | 539 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-mapbox-2.34.0.js
212+
> https://cdn.plot.ly/plotly-mapbox-2.35.0.js
213213
214-
> https://cdn.plot.ly/plotly-mapbox-2.34.0.min.js
214+
> https://cdn.plot.ly/plotly-mapbox-2.35.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-
| 2.9 MB | 1.1 MB | 363.7 kB |
232+
| 2.9 MB | 1.1 MB | 366 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-2.34.0.js
235+
> https://cdn.plot.ly/plotly-finance-2.35.0.js
236236
237-
> https://cdn.plot.ly/plotly-finance-2.34.0.min.js
237+
> https://cdn.plot.ly/plotly-finance-2.35.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-
| 8.7 MB | 3.8 MB | 1.1 MB |
255+
| 10.7 MB | 4.6 MB | 1.3 MB |
256256

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

263263
#### npm packages

0 commit comments

Comments
 (0)