Skip to content

Releases: plotly/plotly.js

3.0.0-rc.1

28 Nov 19:04
Compare
Choose a tag to compare
3.0.0-rc.1 Pre-release
Pre-release

Removed

  • 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]
  • Drop deprecated pointcloud and heatmapgl traces and gl2d subplots [#7213]
    Drop support for deprecated bardir attribute (use orientation instead) [#7214]
  • Drop support for deprecated annotation.ref attribute (use annotation.xref and annotation.yref instead) [#7215]
  • Drop support for deprecated error bar opacity attribute (use alpha channel of error bar color attribute instead) [#7214]
  • Drop support for deprecated attribute gl3d.cameraposition (use gl3d.camera instead) [#7217]
  • Drop deprecated plot3dPixelRatio from config [#7231]
  • Drop deprecated zauto, zmin and zmax 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

10 Sep 20:58
Compare
Choose a tag to compare

Fixed

  • Fix require path to maplibre-gl.css (regression introduced in 2.35.1) [#7146],
    with thanks to @birkskyum for the contribution!

v2.35.1

09 Sep 18:45
Compare
Choose a tag to compare

Fixed

  • Fix rendering traces with zorder on overlayed subplots case of multiple traces in each subplot [#7141]
  • Fix missing CSS for map(maplibre) subplots when used offline [#7140],
    with thanks to @birkskyum for the contribution!

v2.35.0

29 Aug 15:33
Compare
Choose a tag to compare

Added

Changed

  • Deprecate mapbox traces and mapbox subplot [#7087]
  • Drop obsolete npm v6 installation [#7095]
  • Use Node.js v18 and npm 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

18 Jul 12:57
Compare
Choose a tag to compare

Added

  • Add subtitle attribute to layout.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 and ticklabelshift 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

29 May 09:27
Compare
Choose a tag to compare

Added

  • Add support for numeric text font weight [#6990]
  • Add shadow, lineposition and textcase 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 is true [#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

23 Apr 18:58
Compare
Choose a tag to compare

Added

  • Add "bold" weight, "italic" style and "small-caps" variant options to fonts [#6956]

Fixed

  • Fix applying autotickangles on axes with showdividers as well as cases
    where tickson is set to "boundaries" [#6967],
    with thanks to @my-tien for the contribution!
  • Fix positioning of multi-line axis titles with standoff [#6970],
    with thanks to @my-tien for the contribution!

v2.31.1

15 Apr 18:42
Compare
Choose a tag to compare

Fixed

  • Maintain original drawing order of traces when traces with similar type are sent to back [#6962]
  • Ensure winning points of hover are listed first when hoversubplots is set to "axis" and sorting by distance [#6963]
  • Fix duplicated points in splom hover when hoversubplots is set to "axis" [#6965]

v2.31.0

10 Apr 15:06
Compare
Choose a tag to compare

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!

v2.30.1

15 Mar 20:16
Compare
Choose a tag to compare

Fixed

  • Fix centering multi-line headers for treemap traces [#6923]
  • Fix heatmap text color and texttemplate on cells with missing data [#6924]
  • Fix scattergl rendering when colors include capital letters [#6928],
    with thanks to @28raining and @dy for the contribution!