Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into build-with-esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
archmoj committed Sep 11, 2024
2 parents 53f896c + 22efc2f commit 1b48536
Show file tree
Hide file tree
Showing 35 changed files with 14,006 additions and 5,888 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,21 @@ To see all merged commits on the master branch that will be part of the next plo

where X.Y.Z is the semver of most recent plotly.js release.

## [2.35.2] -- 2024-09-10

### Fixed
- Fix require path to maplibre-gl.css (regression introduced in 2.35.1) [[#7146](https://github.com/plotly/plotly.js/pull/7146)],
with thanks to @birkskyum for the contribution!


## [2.35.1] -- 2024-09-09

### Fixed
- Fix rendering traces with `zorder` on overlayed subplots case of multiple traces in each subplot [[#7141](https://github.com/plotly/plotly.js/pull/7141)]
- Fix missing CSS for map(maplibre) subplots when used offline [[#7140](https://github.com/plotly/plotly.js/pull/7140)],
with thanks to @birkskyum for the contribution!


## [2.35.0] -- 2024-08-29

### Added
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
```html
<head>
<script src="https://cdn.plot.ly/plotly-2.35.0.min.js" charset="utf-8"></script>
<script src="https://cdn.plot.ly/plotly-2.35.2.min.js" charset="utf-8"></script>
</head>
<body>
<div id="gd"></div>
Expand All @@ -79,7 +79,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
```html
<script type="module">
import "https://cdn.plot.ly/plotly-2.35.0.min.js"
import "https://cdn.plot.ly/plotly-2.35.2.min.js"
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
</script>
```
Expand All @@ -89,7 +89,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
### Un-minified versions are also available on CDN
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
```html
<script src="https://cdn.plot.ly/plotly-2.35.0.js" charset="utf-8"></script>
<script src="https://cdn.plot.ly/plotly-2.35.2.js" charset="utf-8"></script>
```

> 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.
Expand Down
54 changes: 27 additions & 27 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ The main plotly.js bundles weight in at:

| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
|-----------|---------------|----------------------|---------------------|
| 10.2 MB | 4.3 MB | 1.3 MB | 10.5 MB |
| 10.3 MB | 4.3 MB | 1.3 MB | 10.6 MB |

#### CDN links
> https://cdn.plot.ly/plotly-2.35.0.js
> https://cdn.plot.ly/plotly-2.35.2.js
> https://cdn.plot.ly/plotly-2.35.0.min.js
> https://cdn.plot.ly/plotly-2.35.2.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.7 MB | 1001.6 kB | 336.4 kB |
| 2.7 MB | 1 MB | 347.8 kB |

#### CDN links
> https://cdn.plot.ly/plotly-basic-2.35.0.js
> https://cdn.plot.ly/plotly-basic-2.35.2.js
> https://cdn.plot.ly/plotly-basic-2.35.0.min.js
> https://cdn.plot.ly/plotly-basic-2.35.2.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.4 MB | 1.3 MB | 425.8 kB |
| 3.4 MB | 1.3 MB | 437.2 kB |

#### CDN links
> https://cdn.plot.ly/plotly-cartesian-2.35.0.js
> https://cdn.plot.ly/plotly-cartesian-2.35.2.js
> https://cdn.plot.ly/plotly-cartesian-2.35.0.min.js
> https://cdn.plot.ly/plotly-cartesian-2.35.2.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3 MB | 1.1 MB | 378.8 kB |
| 3.1 MB | 1.1 MB | 391.2 kB |

#### CDN links
> https://cdn.plot.ly/plotly-geo-2.35.0.js
> https://cdn.plot.ly/plotly-geo-2.35.2.js
> https://cdn.plot.ly/plotly-geo-2.35.0.min.js
> https://cdn.plot.ly/plotly-geo-2.35.2.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.7 MB | 1.6 MB | 510.2 kB |
| 3.8 MB | 1.6 MB | 522 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl3d-2.35.0.js
> https://cdn.plot.ly/plotly-gl3d-2.35.2.js
> https://cdn.plot.ly/plotly-gl3d-2.35.0.min.js
> https://cdn.plot.ly/plotly-gl3d-2.35.2.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 4.5 MB | 1.9 MB | 610.5 kB |
| 4.5 MB | 1.9 MB | 621.6 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl2d-2.35.0.js
> https://cdn.plot.ly/plotly-gl2d-2.35.2.js
> https://cdn.plot.ly/plotly-gl2d-2.35.0.min.js
> https://cdn.plot.ly/plotly-gl2d-2.35.2.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 4.2 MB | 1.7 MB | 539 kB |
| 4.3 MB | 1.8 MB | 550.1 kB |

#### CDN links
> https://cdn.plot.ly/plotly-mapbox-2.35.0.js
> https://cdn.plot.ly/plotly-mapbox-2.35.2.js
> https://cdn.plot.ly/plotly-mapbox-2.35.0.min.js
> https://cdn.plot.ly/plotly-mapbox-2.35.2.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.9 MB | 1.1 MB | 366 kB |
| 2.9 MB | 1.1 MB | 378.2 kB |

#### CDN links
> https://cdn.plot.ly/plotly-finance-2.35.0.js
> https://cdn.plot.ly/plotly-finance-2.35.2.js
> https://cdn.plot.ly/plotly-finance-2.35.0.min.js
> https://cdn.plot.ly/plotly-finance-2.35.2.min.js

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 10.7 MB | 4.6 MB | 1.3 MB |
| 10.7 MB | 4.7 MB | 1.4 MB |

#### CDN links
> https://cdn.plot.ly/plotly-strict-2.35.0.js
> https://cdn.plot.ly/plotly-strict-2.35.2.js
> https://cdn.plot.ly/plotly-strict-2.35.0.min.js
> https://cdn.plot.ly/plotly-strict-2.35.2.min.js

#### npm packages
Expand Down
829 changes: 810 additions & 19 deletions dist/plotly-basic.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/plotly-basic.min.js

Large diffs are not rendered by default.

825 changes: 808 additions & 17 deletions dist/plotly-cartesian.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/plotly-cartesian.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 1b48536

Please sign in to comment.