Skip to content

Commit 67ab91c

Browse files
committed
Merge remote-tracking branch 'origin/main' into fix/scattergl-selected-text-layer
2 parents 0318574 + c9ce473 commit 67ab91c

39 files changed

Lines changed: 52538 additions & 48850 deletions

‎CHANGELOG.md‎

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,21 @@ To see all merged commits on the main branch that will be part of the next plotl
99

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

12-
## [X.Y.Z] -- UNRELEASED
12+
## [4.1.2] -- 2026-10-05
13+
14+
### Changed
15+
- Use `ResizeObserver` for responsive chart resizing instead of listening for window resize events [[#8017](https://github.com/plotly/plotly.js/pull/8017)], with thanks to @Lexachoc for the contribution!
16+
- Describe `config.toImageButtonOptions` in the plot schema [[#8066](https://github.com/plotly/plotly.js/pull/8066)]
17+
18+
### Fixed
19+
- Fix modebar hover colors not updating after `color` or `activecolor` changes [[#8024](https://github.com/plotly/plotly.js/pull/8024)], with thanks to @Lexachoc for the contribution!
20+
- Correct the image export types: `format` now accepts `full-json`, `width` and `height` accept `null`, and `ToImgopts.format`, `ToImgopts.width`, `ToImgopts.height` and `DownloadImgopts.filename` are optional because `toImage` and `downloadImage` supply them [[#8066](https://github.com/plotly/plotly.js/pull/8066)]
21+
- Pick the trace drawn last on a hover tie in `scattergl` and `splom` (matching `scatter`) [[#8079](https://github.com/plotly/plotly.js/pull/8079)]
22+
- Allow typed arrays in the types for `arrayOk` number and color attributes [[#8087](https://github.com/plotly/plotly.js/pull/8087)]
23+
- Redraw plots when a font that they use finishes loading [[#8094](https://github.com/plotly/plotly.js/pull/8094)]
24+
25+
26+
## [4.1.1] -- 2026-09-14
1327

1428
### Changed
1529
- Update `maplibre-gl` to v6 to address [CVE-2026-85061](https://github.com/advisories/GHSA-jrc7-96c5-q579) [[#8035](https://github.com/plotly/plotly.js/pull/8035)]

‎CITATION.cff‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors:
99
- family-names: "Samimi"
1010
given-names: "Mojtaba"
1111
title: "Open source Plotly charting library"
12-
version: 4.1.1
12+
version: 4.1.2
1313
doi: 10.5281/zenodo.13964707
14-
date-released: 2026-09-14
14+
date-released: 2026-10-05
1515
url: "https://github.com/plotly/plotly.js"

‎README.md‎

Lines changed: 3 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-4.1.1.min.js" charset="utf-8"></script>
65+
<script src="https://cdn.plot.ly/plotly-4.1.2.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-4.1.1.min.js"
82+
import "https://cdn.plot.ly/plotly-4.1.2.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-4.1.1.js" charset="utf-8"></script>
92+
<script src="https://cdn.plot.ly/plotly-4.1.2.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.

‎biome.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.5.5/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
33
"assist": { "actions": { "source": { "organizeImports": "on" } } },
44
"files": {
55
"maxSize": 10000000,

‎build/maplibre_worker.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎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-
| 10.1 MB | 4.82 MB | 1.48 MB | 10.5 MB |
46+
| 10.1 MB | 4.83 MB | 1.49 MB | 10.5 MB |
4747

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-4.1.1.js
49+
> https://cdn.plot.ly/plotly-4.1.2.js
5050
51-
> https://cdn.plot.ly/plotly-4.1.1.min.js
51+
> https://cdn.plot.ly/plotly-4.1.2.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.94 MB | 1.19 MB | 398 kB |
94+
| 2.96 MB | 1.2 MB | 401 kB |
9595

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-4.1.1.js
97+
> https://cdn.plot.ly/plotly-basic-4.1.2.js
9898
99-
> https://cdn.plot.ly/plotly-basic-4.1.1.min.js
99+
> https://cdn.plot.ly/plotly-basic-4.1.2.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.71 MB | 1.5 MB | 500 kB |
117+
| 3.72 MB | 1.51 MB | 504 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-4.1.1.js
120+
> https://cdn.plot.ly/plotly-cartesian-4.1.2.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-4.1.1.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-4.1.2.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.39 MB | 1.4 MB | 467 kB |
140+
| 3.4 MB | 1.41 MB | 470 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-4.1.1.js
143+
> https://cdn.plot.ly/plotly-geo-4.1.2.js
144144
145-
> https://cdn.plot.ly/plotly-geo-4.1.1.min.js
145+
> https://cdn.plot.ly/plotly-geo-4.1.2.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-
| 4.44 MB | 1.75 MB | 562 kB |
163+
| 4.46 MB | 1.76 MB | 564 kB |
164164

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

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

184184
| Raw size | Minified size | Minified + gzip size |
185185
|------|-----------------|------------------------|
186-
| 3.68 MB | 1.49 MB | 498 kB |
186+
| 3.7 MB | 1.49 MB | 502 kB |
187187

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

194194
#### npm packages
@@ -206,12 +206,12 @@ The `map` partial bundle contains trace modules `choroplethmap`, `densitymap`, `
206206

207207
| Raw size | Minified size | Minified + gzip size |
208208
|------|-----------------|------------------------|
209-
| 5.39 MB | 2.96 MB | 887 kB |
209+
| 5.41 MB | 2.98 MB | 892 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-map-4.1.1.js
212+
> https://cdn.plot.ly/plotly-map-4.1.2.js
213213
214-
> https://cdn.plot.ly/plotly-map-4.1.1.min.js
214+
> https://cdn.plot.ly/plotly-map-4.1.2.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.2 MB | 1.3 MB | 432 kB |
232+
| 3.21 MB | 1.3 MB | 436 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-4.1.1.js
235+
> https://cdn.plot.ly/plotly-finance-4.1.2.js
236236
237-
> https://cdn.plot.ly/plotly-finance-4.1.1.min.js
237+
> https://cdn.plot.ly/plotly-finance-4.1.2.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-
| 10.9 MB | 5.16 MB | 1.58 MB |
255+
| 11 MB | 5.18 MB | 1.59 MB |
256256

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

263263
#### npm packages

0 commit comments

Comments
 (0)