Skip to content

fix(deps): update dependency react-live to v5 - #3747

Merged
renovate[bot] merged 4 commits into
mainfrom
renovate/react-live-5.x
Nov 2, 2026
Merged

renovate[bot] merged 4 commits into
mainfrom
renovate/react-live-5.x

Conversation

@renovate

@renovate renovate Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
react-live ^3.2.0 → ^5.0.0 age confidence

Release Notes

FormidableLabs/react-live (react-live)

v5.0.1

Compare Source

Patch Changes
  • #​416 b8bf7a0 - Fix the standalone Editor losing focus after the first keystroke. use-editable rebuilt its editing surface on the first edit's re-render, which reset contentEditable and dropped focus; Editor now settles that surface before it can be edited.

v5.0.0

Compare Source

Major Changes
  • #​418 be53ccd - Support React 19 type definitions, add an exports map, drop engines, and raise the
    output target.

    LivePreview's overloads referenced the global JSX namespace, which @types/react@19
    removed. Because those types are emitted into the published declarations, consumers on React
    19 types failed to compile. They now use React.JSX, which resolves under both
    @types/react@18 and @types/react@19.

    The package also gains an exports map with separate types for the ESM and CJS conditions.
    Filenames are unchanged from 4.1.x (dist/index.js, dist/index.mjs, dist/index.d.ts), so
    main, module, and types resolve exactly as before. Subpaths other than
    ./package.json are no longer importable; only the package root was ever documented.

    Output is now built for es2022 rather than es6, so the bundle may contain syntax such as
    optional chaining that previous releases transpiled away.

    The engines field is gone, along with the node: ">= 0.12.0" and npm: ">= 2.0.0" it
    declared. Both were years out of date, and neither constrained anything real: this is browser
    code, so the Node version that installs it has no bearing on whether it runs. npm will no
    longer print an engine warning against those bounds.

    None of this changes the public API -- same exports, same props, same react >=18 peer
    range -- but the exports map and the raised output target are enough that a major release
    is the honest way to ship them.

  • #​421 004b007 - Type the live prop that withLive injects, instead of Record<string, unknown>.

    Wrapped components saw unknown for every key, so live.element could not be
    rendered and live.error could not be read without casting first. The prop now
    uses the same type the context is created with, which is the shape
    the docs
    have always described: code, error, element, onError, onChange.

    const Panel = withLive(({ live }) => {
      const Result = live.element; // was `unknown`, now a component
      return Result ? <Result /> : <pre>{live.error}</pre>;
    });

    Types only, with no runtime change. It is a narrowing, so a wrapped component
    that reads a key outside that shape off live will now fail to compile.

Patch Changes
  • #​418 be53ccd - Forward the Editor prism prop to prism-react-renderer. It was typed but never passed through, so a custom Prism instance was silently ignored.

  • #​418 be53ccd - Stop emitting React's __self and __source debug props from transpiled code.

    Sucrase adds these props to every element it compiles. They describe a source file, and there
    is no source file here -- the code comes from a live editor rather than from disk, so the
    filename sucrase emitted was always the empty string. React ignores both props, and React 19
    additionally treats __self as the signature of an outdated JSX transform, logging
    "Your app (or one of its dependencies) is using an outdated JSX transform" to the console of
    every page rendering a LiveProvider.

    Transpiling with sucrase's production option drops both props, and with them the
    _jsxFileName constant that the transform pipeline used to splice out and re-add solely to
    keep __source resolvable.

  • #​418 be53ccd - Add getDerivedStateFromError to the internal error boundary, so a runtime error in live code no longer logs a React warning about it.

v4.1.8

Compare Source

What's Changed

Documentation Changes

New Contributors

Full Changelog: https://github.com/FormidableLabs/react-live/compare/react-live@4.1.7...react-live@4.1.8

v4.1.7

Compare Source

Patch Changes
  • Fix optional chaining with sucrase (#​384)

v4.1.6

Compare Source

Patch Changes

v4.1.5

Compare Source

Patch Changes
  • Unpin PRR version on the lib. (#​372)

v4.1.4

Compare Source

Patch Changes
  • Unpin PRR version. Baseline at 2.0.6. (#​370)

v4.1.3

Compare Source

Patch Changes
  • Fix version and peer deps. (#​366)

v4.1.2

Compare Source

Patch Changes
  • Fix ability to insert a new line at the end of the editor. (#​361)

v4.1.1

Compare Source

Patch Changes
  • Fix new line cursor position on enter-key press. (#​358)

v4.1.0

Compare Source

Minor Changes
  • Moved to a pnpm workspace, migrated to Prism React Renderer 2. (#​354)
Patch Changes

v4.0.1

Compare Source

Patch Changes

v4.0.0

Compare Source

Major Changes
  • Migrated codebase to TypeScript. (#​346)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ 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 requested a review from damann as a code owner October 23, 2026 23:24
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Oct 23, 2026
@renovate
renovate Bot requested a review from a team as a code owner October 23, 2026 23:24
@renovate
renovate Bot enabled auto-merge (squash) October 23, 2026 23:24
@changeset-bot

changeset-bot Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 8556250

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
forma-36 Ready Ready Preview Nov 2, 2026 4:02pm UTC
forma-36-storybook Ready Ready Preview Nov 2, 2026 4:02pm UTC

Request Review

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
CommonJS 133.55 KB (0%) 2.7 s (0%) 343 ms (+49.5% 🔺) 3.1 s
Module 130.69 KB (0%) 2.7 s (0%) 236 ms (-21.02% 🔽) 2.9 s

@renovate

renovate Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@renovate
renovate Bot merged commit 5a4a6d3 into main Nov 2, 2026
22 checks passed
@renovate
renovate Bot deleted the renovate/react-live-5.x branch November 2, 2026 16:27

This branch was successfully deployed

2 active deployments
Preview – forma-36 — 85562509 Deployed Nov 2, 2026 by vercel[bot]
Preview – forma-36-storybook — 85562509 Deployed Nov 2, 2026 by vercel[bot]
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.

1 participant