Skip to content

fix(deps): update dependency react-plotly.js to v4 - #1219

Open
red-hat-konflux-kflux-prd-rh02[bot] wants to merge 1 commit into
masterfrom
konflux/mintmaker/master/react-plotly.js-4.x
Open

fix(deps): update dependency react-plotly.js to v4#1219
red-hat-konflux-kflux-prd-rh02[bot] wants to merge 1 commit into
masterfrom
konflux/mintmaker/master/react-plotly.js-4.x

Conversation

@red-hat-konflux-kflux-prd-rh02

@red-hat-konflux-kflux-prd-rh02 red-hat-konflux-kflux-prd-rh02 Bot commented Jul 30, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
react-plotly.js ^2.6.0^4.0.0 age confidence

Release Notes

plotly/react-plotly.js (react-plotly.js)

v4.1.0

Compare Source

Added
  • Added missing onTreemapClick and onIcicleClick event props for the plotly_treemapclick and plotly_icicleclick events [#​376]
  • Added additional missing events: onLegendTitleClick, onLegendTitleDoubleClick, onBeforePlot, onAnimating, and onTransitioned [#​376]
Fixed
  • Returning false from onSunburstClick, onTreemapClick, or onIcicleClick now prevents the drill-down [#​376]
    • onUpdate now fires for these via plotly_animated, so it reports the figure after the new level is applied and no longer fires when the drill-down is cancelled
Removed
  • Removed the errantly added onClickAnywhere and onHoverAnywhere props [#​376]
    • plotly.js has no plotly_clickanywhere or plotly_hoveranywhere events, so these never fired
    • clickanywhere and hoveranywhere are layout attributes that widen the ordinary plotly_click / plotly_hover, so the feature is reached through onClick / onHover with the layout flag set — see the README

v4.0.0

Compare Source

Added
  • Added native ESM output alongside CJS [#​367]
    • Published artifacts now live under dist/ instead of at the repo root; the main entry moved from react-plotly.js to ./dist/index.cjs
    • Dropped the unminified UMD bundle
    • import Plot from 'react-plotly.js' now resolves correctly in Rolldown and any other strict ESM environment
  • Added TypeScript declaration files (index.d.ts / factory.d.ts) [#​368]
Changed
  • Update linting dependencies [#​366]
  • Refactored the wrapper from a class component to a functional component using hooks [#​369]
    • Refs forwarded to <Plot> now resolve to the rendered <div> element (the plotly graph div) directly via forwardRef, instead of to the class instance
    • Migration: replace ref.current.el with ref.current
Fixed
  • onPurge now fires and Plotly.purge runs on unmount [#​372]
  • Plot is re-initialized correctly after React StrictMode's dev-only simulated unmount/remount [#​372]
  • TypeScript declarations now expose ref forwarding so consumers can attach a typed ref prop without a TS error [#​373]

v3.0.0

Compare Source

Added
  • onClickAnywhere and onHoverAnywhere event props [#​360]
    • Correction: plotly.js v3 introduced clickanywhere / hoveranywhere as layout attributes, not as events, so these props never fired. They are removed in the next release.
Changed
  • Migrated CI from CircleCI to GitHub Actions [#​362]
  • Migrated test framework from enzyme to @testing-library/react and bumped jest from 26 to 29 [#​363]
Removed
  • Dropped support for plotly.js v1.x and v2.x; the plotly.js peer dependency now requires >=3.0.0 [#​360]
  • Dropped support for React versions older than 18; the react peer dependency now requires ^18.0.0 || ^19.0.0 [#​364]

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@red-hat-konflux-kflux-prd-rh02
red-hat-konflux-kflux-prd-rh02 Bot force-pushed the konflux/mintmaker/master/react-plotly.js-4.x branch from caac338 to 2b7de90 Compare August 2, 2026 00:06
Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
@red-hat-konflux-kflux-prd-rh02
red-hat-konflux-kflux-prd-rh02 Bot force-pushed the konflux/mintmaker/master/react-plotly.js-4.x branch from 2b7de90 to 02fa19c Compare August 3, 2026 12:07
@red-hat-konflux-kflux-prd-rh02 red-hat-konflux-kflux-prd-rh02 Bot changed the title Update dependency react-plotly.js to v4 fix(deps): update dependency react-plotly.js to v4 Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants