Releases: plotly/plotly.js
Releases · plotly/plotly.js
v2.35.3
3.0.0-rc.1
Removed
- Drop support for passing a string to the
title
attribute, and drop support for deprecated attributestitlefont
,titleposition
,titleside
, andtitleoffset
(usetitle.text
,title.font
,title.side
,title.offset
instead)[#7212] - Drop deprecated pointcloud and heatmapgl traces and gl2d subplots [#7213]
Drop support for deprecatedbardir
attribute (useorientation
instead) [#7214] - Drop support for deprecated
annotation.ref
attribute (useannotation.xref
andannotation.yref
instead) [#7215] - Drop support for deprecated error bar
opacity
attribute (use alpha channel of error barcolor
attribute instead) [#7214] - Drop support for deprecated attribute
gl3d.cameraposition
(usegl3d.camera
instead) [#7217] - Drop deprecated
plot3dPixelRatio
from config [#7231] - Drop deprecated
zauto
,zmin
andzmax
from the surface trace [#7234] - Drop deprecated
autotick
attributes from cartesian axes [#7236] - Drop
transforms
from the API [#7240, #7254] - Drop jQuery events support [#7224]
- Drop the AMD support from the bundle header [#7229]
Changed
- Switch from webpack to esbuild for fast builds & testing as well as allowing modern JavaScript beyond es5 [#6909]
- Make offsetgroup work with barmode "stacked" and "relative" for bar traces [#7009]
- Node v18 required for development [#7116]
- Cleanup remaining code that was there to support the Internet Explorer [#7251]
- Deprecate mapbox traces and provide links to migration docs for plotly.js and plotly.py users [#7260]
Fixed
- Remove inline styles that break plots in strict CSP setups [#7109],
with thanks to @martian111 for the contribution! - Allow null or broken selection objects without throwing an error [#7164]
- Render scatterternary traces correctly if they have the
ids
attribute [#7164] - 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]
- Fix source map of the mablibre dependency [#7204]
- Fix years in license [#7205]
- Maintain layout images element identity based on coordinates,
for smoother updates when you add or remove images early in the list. [#7277] - Fix handling of new domain values given in the Plotly.react function to
prevent loss of new domain values. [#7283]
v2.35.2
v2.35.1
v2.35.0
Added
- Add new traces: scattermap, choroplethmap and densitymap and map subplots which use maplibre to render maps [#7015, #7060, #7085, #7088, #7090, #7092, #7094, #7134],
with thanks to @birkskyum for the contribution!
Changed
- Deprecate mapbox traces and mapbox subplot [#7087]
- Drop obsolete
npm v6
installation [#7095] - Use
Node.js v18
andnpm v10
in development [#7078] - Update npm lockfile to v3 [#7099]
- Update turf to v7 [#7116]
Fixed
- Fix centroid calculation in turf [#7115],
with thanks to @birkskyum for the contribution! - Fix missing cursor for Ternary Plot[#7057],
with thanks to @Lexachoc for the contribution! - Elaborate on the Custom Bundle guide [#7101]
v2.34.0
Added
- Add
subtitle
attribute tolayout.title
to enable adding subtitles to plots [#7012] - Introduce "u" and "s" pseudo html tags to add partial underline and strike-through styles to SVG text elements [#7043]
- Add geometric mean functionality and 'geometric mean ascending' + 'geometric mean descending' to
category_order
on cartesian axes [#6223],
with thanks to @acxz and @prabhathc for the contribution! - Add axis property
ticklabelindex
for drawing the label for each minor tick n positions away from a major tick,
with thanks to @my-tien for the contribution! [#7036] - Add property
ticklabelstandoff
andticklabelshift
to cartesian axes to adjust positioning of tick labels,
with thanks to @my-tien for the contribution! [#7006] - Add
x0shift
,x1shift
,y0shift
,y1shift
to shapes to add control over positioning of shape vertices on (multi-)category axes,
with thanks to @my-tien for the contribution! [#7005]
Fixed
- Fix displaying scattergl traces while zooming or panning (regression introduced in 2.26.0) [#7018],
with thanks to @eiriklv for the contribution! - Fix for excessive hoverlabel removal and overlap for plots with both scatter and bar traces [#6954],
with thanks to @mbant for the contribution! - Fix adding cartesian "togglehover" when included in
modebar.add
[#5879],
with thanks to @Sizurka for the contribution! - Handle
zorder
between overlaying cartesian subplots [#7032],
This feature was anonymously sponsored: thank you to our sponsor!
v2.33.0
Added
- Add support for numeric text font
weight
[#6990] - Add
shadow
,lineposition
andtextcase
options to SVG fonts [#6983]
Fixed
- Fix unicode variable names in @plotly/d3 [#6992],
with thanks to @GeorchW for the contribution! - Fix
getFullTransformMatrix
in shadow DOM [#6996],
with thanks to @OpportunityLiu for the contribution! - Fix drag on legend scrollbar while
edits.legendPosition
istrue
[#6997],
with thanks to @OpportunityLiu for the contribution! - Fix numerical instability in 3D plots [6998],
with thanks to @hborchardt for the contribution! - Fix numerical precision of drawing surface trace [6999],
with thanks to @hborchardt for the contribution! - Fix isosurface maximum value calculation when
isomax
is set to null [#7002]
v2.32.0
v2.31.1
v2.31.0
Added
- Add
zorder
attribute to various cartesian traces for controlling stacking order of SVG traces drawn
into a subplot [#6918, #6953]. This feature was anonymously sponsored: thank you to our sponsor! - Add "between" option to shape layer for placing them above grid lines and below traces [#6927],
with thanks to @my-tien for the contribution! - Add "raw"
sizemode
to cone trace [#6938] - Add
layout.hoversubplots
to enable (x|y) and unified hover effects across multiple cartesian suplots
sharing one axis [#6947, #6950]
Changed
- Regenerate
stackgl_modules/index.js
using updated dependencies [#6937]
Fixed
- Fix hover count in parcats trace [#6944], with thanks to @weiweikee for the contribution!