Skip to content

chore(deps): update dependency react-plotly.js to v4#1869

Open
renovate[bot] wants to merge 1 commit into
devfrom
renovate/react-plotly.js-4.x
Open

chore(deps): update dependency react-plotly.js to v4#1869
renovate[bot] wants to merge 1 commit into
devfrom
renovate/react-plotly.js-4.x

Conversation

@renovate

@renovate renovate Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-plotly.js 2.6.04.0.0 age adoption passing confidence

Release Notes

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

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 for the corresponding plotly_clickanywhere and plotly_hoveranywhere events introduced in plotly.js v3 [#​360]
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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants