You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: Test plot-schema.json diff - If failed, after (npm start) you could run (npm run schema && git add test/plot-schema.json && git commit -m "update plot-schema diff")
Copy file name to clipboardExpand all lines: CHANGELOG.md
+134-3Lines changed: 134 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,137 @@ To see all merged commits on the master branch that will be part of the next plo
9
9
10
10
where X.Y.Z is the semver of most recent plotly.js release.
11
11
12
+
## [3.0.1] -- 2025-02-18
13
+
14
+
### Changed
15
+
- Update `color-rgba` from 2.1.1 to 3.0.0 to fix hsl color conversion bug [[#7325](https://github.com/plotly/plotly.js/pull/7325)]
16
+
17
+
### Fixed
18
+
- Fix click event handling for plots in shadow DOM elements [[#7357](https://github.com/plotly/plotly.js/pull/7357)]
19
+
- Fix hoverlabels and other text labels with null values templated in [[#7360](https://github.com/plotly/plotly.js/pull/7360)]
20
+
- Fix importing plotly.js via require on pages with [AMD](https://en.wikipedia.org/wiki/Asynchronous_module_definition)[[#7367](https://github.com/plotly/plotly.js/pull/7367)]
21
+
- Update Romanian locale [[#7351](https://github.com/plotly/plotly.js/pull/7351)]
22
+
- Update Italian locale [[#4425](https://github.com/plotly/plotly.js/pull/4425)]
- Drop support for passing a string to the `title` attribute, and drop support for deprecated attributes `titlefont`, `titleposition`, `titleside`, and `titleoffset` (use `title.text`, `title.font`, `title.side`, `title.offset` instead)[[#7212](https://github.com/plotly/plotly.js/pull/7212)]
29
+
- Drop deprecated pointcloud and heatmapgl traces and gl2d subplots [[#7213](https://github.com/plotly/plotly.js/pull/7213)]
30
+
Drop support for deprecated `bardir` attribute (use `orientation` instead) [[#7214](https://github.com/plotly/plotly.js/pull/7214)]
31
+
- Drop support for deprecated `annotation.ref` attribute (use `annotation.xref` and `annotation.yref` instead) [[#7215](https://github.com/plotly/plotly.js/pull/7215)]
32
+
- Drop support for deprecated error bar `opacity` attribute (use alpha channel of error bar `color` attribute instead) [[#7214](https://github.com/plotly/plotly.js/pull/7216)]
33
+
- Drop support for deprecated attribute `gl3d.cameraposition` (use `gl3d.camera` instead) [[#7217](https://github.com/plotly/plotly.js/pull/7217)]
34
+
- Drop deprecated `plot3dPixelRatio` from config [[#7231](https://github.com/plotly/plotly.js/pull/7231)]
35
+
- Drop deprecated `zauto`, `zmin` and `zmax` from the surface trace [[#7234](https://github.com/plotly/plotly.js/pull/7234)]
36
+
- Drop deprecated `autotick` attributes from cartesian axes [[#7236](https://github.com/plotly/plotly.js/pull/7236)]
37
+
- Drop `transforms` from the API [[#7240](https://github.com/plotly/plotly.js/pull/7240), [#7254](https://github.com/plotly/plotly.js/pull/7254)]
38
+
- Drop jQuery events support [[#7224](https://github.com/plotly/plotly.js/pull/7224)]
39
+
- Drop the AMD support from the bundle header [[#7229](https://github.com/plotly/plotly.js/pull/7229)]
40
+
41
+
### Changed
42
+
- Switch from webpack to esbuild for fast builds & testing as well as allowing modern JavaScript beyond es5 [[#6909](https://github.com/plotly/plotly.js/pull/6909)]
43
+
- Make offsetgroup work with barmode "stacked" and "relative" for bar traces [[#7009](https://github.com/plotly/plotly.js/pull/7009)]
44
+
- Node v18 required for development [[#7116](https://github.com/plotly/plotly.js/pull/7124)]
45
+
- Cleanup remaining code that was there to support the Internet Explorer [[#7251](https://github.com/plotly/plotly.js/pull/7251)]
46
+
- Deprecate mapbox traces and provide links to migration docs for plotly.js and plotly.py users [[#7260](https://github.com/plotly/plotly.js/pull/7260)]
47
+
48
+
### Fixed
49
+
- Remove inline styles that break plots in strict CSP setups [[#7109](https://github.com/plotly/plotly.js/pull/7109)],
50
+
with thanks to @martian111 for the contribution!
51
+
- Allow null or broken selection objects without throwing an error [[#7164](https://github.com/plotly/plotly.js/pull/7164)]
52
+
- Render scatterternary traces correctly if they have the `ids` attribute [[#7164](https://github.com/plotly/plotly.js/pull/7164)]
53
+
- Do not convert url-sourced layout images to data URI unless we're in staticPlot mode, to improve interactivity when images are changed with zoom/pan [[#7199](https://github.com/plotly/plotly.js/pull/7199)]
54
+
- Fix source map of the mablibre dependency [[#7204](https://github.com/plotly/plotly.js/pull/7204)]
55
+
- Fix years in license [[#7205](https://github.com/plotly/plotly.js/pull/7205)]
56
+
- Maintain layout images element identity based on coordinates,
57
+
for smoother updates when you add or remove images early in the list. [[#7277](https://github.com/plotly/plotly.js/pull/7277)]
58
+
- Fix handling of new domain values given in the Plotly.react function to
59
+
prevent loss of new domain values. [[#7283](https://github.com/plotly/plotly.js/pull/7283)]
60
+
- Fix distortions in sankey diagram links loops [[#7272](https://github.com/plotly/plotly.js/pull/7272)],
61
+
with thanks to @giuseppe-straziota for the contribution!
62
+
- Performance improvement for scattergl traces with many points [[#7301](https://github.com/plotly/plotly.js/pull/7301)],
63
+
with thanks to @giuseppe-straziota for the contribution!
64
+
- Set height and width on the `.plotly-container` div to 100% to fix gl3d rendering in Dash Enterprise apps [[#7313](https://github.com/plotly/plotly.js/pull/7313)]
65
+
66
+
67
+
## [2.35.3] -- 2024-12-13
68
+
69
+
### Fixed
70
+
- Set height and width on the `.plotly-container` div to 100% to fix gl3d rendering in Dash Enterprise apps [[#7313](https://github.com/plotly/plotly.js/pull/7313)]
71
+
72
+
73
+
## [3.0.0-rc.1] -- 2024-11-27
74
+
75
+
### Removed
76
+
- Drop support for passing a string to the `title` attribute, and drop support for deprecated attributes `titlefont`, `titleposition`, `titleside`, and `titleoffset` (use `title.text`, `title.font`, `title.side`, `title.offset` instead)[[#7212](https://github.com/plotly/plotly.js/pull/7212)]
77
+
- Drop deprecated pointcloud and heatmapgl traces and gl2d subplots [[#7213](https://github.com/plotly/plotly.js/pull/7213)]
78
+
Drop support for deprecated `bardir` attribute (use `orientation` instead) [[#7214](https://github.com/plotly/plotly.js/pull/7214)]
79
+
- Drop support for deprecated `annotation.ref` attribute (use `annotation.xref` and `annotation.yref` instead) [[#7215](https://github.com/plotly/plotly.js/pull/7215)]
80
+
- Drop support for deprecated error bar `opacity` attribute (use alpha channel of error bar `color` attribute instead) [[#7214](https://github.com/plotly/plotly.js/pull/7216)]
81
+
- Drop support for deprecated attribute `gl3d.cameraposition` (use `gl3d.camera` instead) [[#7217](https://github.com/plotly/plotly.js/pull/7217)]
82
+
- Drop deprecated `plot3dPixelRatio` from config [[#7231](https://github.com/plotly/plotly.js/pull/7231)]
83
+
- Drop deprecated `zauto`, `zmin` and `zmax` from the surface trace [[#7234](https://github.com/plotly/plotly.js/pull/7234)]
84
+
- Drop deprecated `autotick` attributes from cartesian axes [[#7236](https://github.com/plotly/plotly.js/pull/7236)]
85
+
- Drop `transforms` from the API [[#7240](https://github.com/plotly/plotly.js/pull/7240), [#7254](https://github.com/plotly/plotly.js/pull/7254)]
86
+
- Drop jQuery events support [[#7224](https://github.com/plotly/plotly.js/pull/7224)]
87
+
- Drop the AMD support from the bundle header [[#7229](https://github.com/plotly/plotly.js/pull/7229)]
88
+
89
+
### Changed
90
+
- Switch from webpack to esbuild for fast builds & testing as well as allowing modern JavaScript beyond es5 [[#6909](https://github.com/plotly/plotly.js/pull/6909)]
91
+
- Make offsetgroup work with barmode "stacked" and "relative" for bar traces [[#7009](https://github.com/plotly/plotly.js/pull/7009)]
92
+
- Node v18 required for development [[#7116](https://github.com/plotly/plotly.js/pull/7124)]
93
+
- Cleanup remaining code that was there to support the Internet Explorer [[#7251](https://github.com/plotly/plotly.js/pull/7251)]
94
+
- Deprecate mapbox traces and provide links to migration docs for plotly.js and plotly.py users [[#7260](https://github.com/plotly/plotly.js/pull/7260)]
95
+
96
+
### Fixed
97
+
- Remove inline styles that break plots in strict CSP setups [[#7109](https://github.com/plotly/plotly.js/pull/7109)],
98
+
with thanks to @martian111 for the contribution!
99
+
- Allow null or broken selection objects without throwing an error [[#7164](https://github.com/plotly/plotly.js/pull/7164)]
100
+
- Render scatterternary traces correctly if they have the `ids` attribute [[#7164](https://github.com/plotly/plotly.js/pull/7164)]
101
+
- Do not convert url-sourced layout images to data URI unless we're in staticPlot mode, to improve interactivity when images are changed with zoom/pan [[#7199](https://github.com/plotly/plotly.js/pull/7199)]
102
+
- Fix source map of the mablibre dependency [[#7204](https://github.com/plotly/plotly.js/pull/7204)]
103
+
- Fix years in license [[#7205](https://github.com/plotly/plotly.js/pull/7205)]
104
+
- Maintain layout images element identity based on coordinates,
105
+
for smoother updates when you add or remove images early in the list. [[#7277](https://github.com/plotly/plotly.js/pull/7277)]
106
+
- Fix handling of new domain values given in the Plotly.react function to
107
+
prevent loss of new domain values. [[#7283](https://github.com/plotly/plotly.js/pull/7283)]
108
+
109
+
110
+
## [3.0.0-rc.0] -- 2024-11-11
111
+
112
+
### Removed
113
+
- Drop support for passing a string to the `title` attribute, and drop support for deprecated attributes `titlefont`, `titleposition`, `titleside`, and `titleoffset` (use `title.text`, `title.font`, `title.side`, `title.offset` instead)[[#7212](https://github.com/plotly/plotly.js/pull/7212)]
114
+
- Drop deprecated pointcloud and heatmapgl traces and gl2d subplots [[#7213](https://github.com/plotly/plotly.js/pull/7213)]
115
+
Drop support for deprecated `bardir` attribute (use `orientation` instead) [[#7214](https://github.com/plotly/plotly.js/pull/7214)]
116
+
- Drop support for deprecated `annotation.ref` attribute (use `annotation.xref` and `annotation.yref` instead) [[#7215](https://github.com/plotly/plotly.js/pull/7215)]
117
+
- Drop support for deprecated error bar `opacity` attribute (use alpha channel of error bar `color` attribute instead) [[#7214](https://github.com/plotly/plotly.js/pull/7216)]
118
+
- Drop support for deprecated attribute `gl3d.cameraposition` (use `gl3d.camera` instead) [[#7217](https://github.com/plotly/plotly.js/pull/7217)]
119
+
- Drop deprecated `plot3dPixelRatio` from config [[#7231](https://github.com/plotly/plotly.js/pull/7231)]
120
+
- Drop deprecated `zauto`, `zmin` and `zmax` from the surface trace [[#7234](https://github.com/plotly/plotly.js/pull/7234)]
121
+
- Drop deprecated `autotick` attributes from cartesian axes [[#7236](https://github.com/plotly/plotly.js/pull/7236)]
122
+
- Drop `transforms` from the API [[#7240](https://github.com/plotly/plotly.js/pull/7240), [#7254](https://github.com/plotly/plotly.js/pull/7254)]
123
+
- Drop jQuery events support [[#7224](https://github.com/plotly/plotly.js/pull/7224)]
124
+
- Drop the AMD support from the bundle header [[#7229](https://github.com/plotly/plotly.js/pull/7229)]
125
+
126
+
### Changed
127
+
- Switch from webpack to esbuild for fast builds & testing as well as allowing modern JavaScript beyond es5 [[#6909](https://github.com/plotly/plotly.js/pull/6909)]
128
+
- Make offsetgroup work with barmode "stacked" and "relative" for bar traces [[#7009](https://github.com/plotly/plotly.js/pull/7009)]
129
+
- Node v18 required for development [[#7116](https://github.com/plotly/plotly.js/pull/7124)]
130
+
- Cleanup remaining code that was there to support the Internet Explorer [[#7251](https://github.com/plotly/plotly.js/pull/7251)]
131
+
- Deprecate mapbox traces and provide links to migration docs for plotly.js and plotly.py users [[#7260](https://github.com/plotly/plotly.js/pull/7260)]
132
+
133
+
### Fixed
134
+
- Remove inline styles that break plots in strict CSP setups [[#7109](https://github.com/plotly/plotly.js/pull/7109)],
135
+
with thanks to @martian111 for the contribution!
136
+
- Allow null or broken selection objects without throwing an error [[#7164](https://github.com/plotly/plotly.js/pull/7164)]
137
+
- Render scatterternary traces correctly if they have the `ids` attribute [[#7164](https://github.com/plotly/plotly.js/pull/7164)]
138
+
- Do not convert url-sourced layout images to data URI unless we're in staticPlot mode, to improve interactivity when images are changed with zoom/pan [[#7199](https://github.com/plotly/plotly.js/pull/7199)]
139
+
- Fix source map of the mablibre dependency [[#7204](https://github.com/plotly/plotly.js/pull/7204)]
140
+
- Fix years in license [[#7205](https://github.com/plotly/plotly.js/pull/7205)]
141
+
142
+
12
143
## [2.35.2] -- 2024-09-10
13
144
14
145
### Fixed
@@ -521,7 +652,7 @@ where X.Y.Z is the semver of most recent plotly.js release.
521
652
## [2.15.1] -- 2022-10-11
522
653
523
654
### Fixed
524
-
- Fix latest version of plotly.js main module on npm
655
+
- Fix latest version of plotly.js main module on npm
525
656
526
657
527
658
## [2.15.0] -- 2022-10-06
@@ -540,9 +671,9 @@ where X.Y.Z is the semver of most recent plotly.js release.
540
671
- Fix automargin to update axis titles in redraws [[#6312](https://github.com/plotly/plotly.js/pull/6312)]
541
672
- Fix exporting patterns with transparent color [[#6318](https://github.com/plotly/plotly.js/pull/6318)]
542
673
- Fix exporting text on empty slices [[#6335](https://github.com/plotly/plotly.js/pull/6335)]
543
-
- Disable interactions for `treemap`, `icicle`, `sunburst`, `pie`, `funnelarea`,
674
+
- Disable interactions for `treemap`, `icicle`, `sunburst`, `pie`, `funnelarea`,
544
675
`parcats`, `parcoords` and `sankey` traces when `staticPlot` is set to true [[#6296](https://github.com/plotly/plotly.js/pull/6296)]
Copy file name to clipboardExpand all lines: CUSTOM_BUNDLE.md
+4-15Lines changed: 4 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# Custom bundle
2
-
You can simply make custom bundles yourself, if none of the [distributed packages](https://github.com/plotly/plotly.js/blob/master/dist/README.md) meet your needs, or you want to make a more optimized bundle file with/without specific traces and transforms.
2
+
You can simply make custom bundles yourself, if none of the [distributed packages](https://github.com/plotly/plotly.js/blob/master/dist/README.md) meet your needs, or you want to make a more optimized bundle file with/without specific traces.
3
3
4
4
Make sure you have the versions of node/npm that's recommended:
5
5
- plotly.js before 2.5: Node 12/npm 6
@@ -27,7 +27,7 @@ cd plotly.js
27
27
npm i
28
28
```
29
29
30
-
By default all traces and transforms are included in the bundle if you simply run:
30
+
By default all traces are included in the bundle if you simply run:
31
31
```sh
32
32
npm run custom-bundle
33
33
```
@@ -39,16 +39,6 @@ npm run custom-bundle -- --traces scatter,scattergl,scatter3d
39
39
Please note that the `scatter` trace is currently included in all bundles and cannot be removed.
40
40
[This behaviour may change in the future](https://github.com/plotly/plotly.js/pull/5535), so we recommend that you explicitly include `scatter` anyway if you need it in your bundle.
41
41
42
-
Use the `transforms` option to specify which should be included.
43
-
```sh
44
-
npm run custom-bundle -- --transforms sort,filter
45
-
```
46
-
47
-
Or use `transforms none` to exclude them all.
48
-
```sh
49
-
npm run custom-bundle -- --transforms none
50
-
```
51
-
52
42
Use the `strict` option to use strict trace types where possible.
53
43
```sh
54
44
npm run custom-bundle -- --traces scatter,scattergl --strict
@@ -66,15 +56,14 @@ npm run custom-bundle -- --unminified
66
56
```
67
57
68
58
# Example illustrating use of different options together
69
-
To create an unminified custom bundle named `myScatters` including `scatter`, `scattergl` and `scatter3d` traces without any transforms:
59
+
To create an unminified custom bundle named `myScatters` including `scatter`, `scattergl` and `scatter3d` traces:
0 commit comments