npm / @react-email/render
@react-email/render
What changed in @react-email/render 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-22.
2 breaking3 new APIs and options1 behavior and defaults10 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@react-email/render 215 changes
Breaking changes 1
The deprecated renderAsync API was removed; replace it with render as a drop-in replacement.
New APIs and options 3
Adds data-text-format="dataTable" to render tables as aligned columns in plain text.
Introduces unstableTextConversion as a plain-text conversion path that sidesteps html-to-text.
Introduces unstableToPlainText to convert content to plain text without using html-to-text.
Behavior and default changes 1
Rendered email HTML now omits React's auto-injected image preload hints, while leaving other link tags untouched.
Fixes and other changes 10
render only loads prettier when pretty: true, preventing a module-loading failure when rendering without pretty formatting in Next.js dev with Turbopack on Bun.
Strips nul bytes from React 18 output to prevent emails with multi-byte characters from being truncated.
Fixed export map ordering between convex and node.
Awaits stream.allReady before reading renderToReadableStream output.
Fixes process crashes in client errors.
Fixed an ErrorBoundary issue that was breaking rendering in server components.
Fixed client-side rendering fallbacks.
Fixes custom selectors overwriting the ones defined by the package.
Fixes pipeable stream errors not being handled.
Adds a fallback for m.default when importing react-dom.
@react-email/render 11 changes
Breaking changes 1
Word wrapping is disabled by default in toPlainText.