unstale

npm / plotly.js-dist-min

plotly.js-dist-min

What changed in plotly.js-dist-min 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-29.

2 breaking3 new APIs and options1 behavior and defaults4 tooling12 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

plotly.js-dist-min 422 changes

Breaking changes 2

  • Map traces now require Safari 15, Chrome 56, Firefox 51 or later because maplibre-gl v6 dropped WebGL1 support.

    4.1.1release notes

  • The default double-click delay threshold increases from 300ms to 500ms.

    4.1.0release notes

New APIs and options 3

  • format now accepts full-json.

    4.1.2release notes

  • An opt-in modebar button lets users download Plotly figures as JSON.

    4.1.0release notes

  • Sets the group behavior for a legend double-click.

    4.1.0release notes

Behavior and default changes 1

  • Responsive chart resizing uses ResizeObserver instead of listening for window resize events.

    4.1.2release notes

Tooling 4

  • Generated types include trace-contributed layout attributes.

    4.1.0release notes

  • TypeScript declarations are added for the modular lib/ entry points.

    4.1.0release notes

  • Type definitions are included in the appropriate partial bundles.

    4.1.0release notes

  • Type generation handles regex enum values.

    4.1.0release notes

Fixes and other changes 12

  • filename is optional because downloadImage supplies it.

    4.1.2release notes

  • Plots redraw when a font they use finishes loading.

    4.1.2release notes

  • Modebar hover colors now update after color or activecolor changes.

    4.1.2release notes

  • On a hover tie, the trace drawn last is picked, matching scatter.

    4.1.2release notes

  • On a hover tie, the trace drawn last is picked, matching scatter.

    4.1.2release notes

  • height accepts null and is optional because toImage supplies it.

    4.1.2release notes

  • width accepts null and is optional because toImage supplies it.

    4.1.2release notes

  • Types for arrayOk number and color attributes now allow typed arrays.

    4.1.2release notes

  • Box and lasso selection of scattermap points now works on rotated or pitched maps.

    4.1.1release notes

  • Hover labels resolve per-point marker color.

    4.1.0release notes

  • Hover labels resolve per-point marker color.

    4.1.0release notes

  • TypeScript files under src/ are compiled to JavaScript during packaging to fix Node resolution.

    4.1.0release notes