Co-authored-by: resend-version-bump[bot] <277115511+resend-version-bump[bot]@users.noreply.github.com>
7.8 KiB
@react-email/render
2.1.0
Minor Changes
ba96cfa: introduce newunstableToPlainTextandunstableTextConversionthat sidesteps html-to-text
Patch Changes
58d8c08: feat: adddata-text-format="dataTable"to render tables as aligned columns in plain text
2.0.10
Patch Changes
c300cfb: Strip React's auto-injected<link rel="preload" as="image">resource hints from rendered email HTML. React adds one to the document<head>for every<img>during SSR, but email clients ignore preload hints, so they were just noise in the output. Other<link>tags (stylesheets, fonts, user-authored non-image preloads) are left untouched.
2.0.9
Patch Changes
60a5b09: Add npm support metadata for the package homepage and issue tracker.
2.0.8
Patch Changes
e0e896f: Strip nul bytes from React 18renderToPipeableStreamoutput to prevent emails with multi-byte characters from being truncated.
2.0.7
Patch Changes
7fc539d: fix export map ordering between convex and node
2.0.7-canary.0
Patch Changes
7fc539d: fix export map ordering between convex and node
2.0.6
Patch Changes
f6cfef0: fix: await stream.allReady before reading renderToReadableStream output
2.0.5
Patch Changes
ecfc141: fix process crashes in client errors
2.0.4
Patch Changes
635dc8f: fix ErrorBoundary breaking server rendering
2.0.3
Patch Changes
366ae71: fix render going into client side rendering and breaking emails silently
2.0.2
Patch Changes
159f6e4: fix custom selectors overwriting the ones we defined12ff166: fix pipeable stream errors not being handled
2.0.2-canary.0
Patch Changes
159f6e4: fix custom selectors overwriting the ones we defined
2.0.1
Patch Changes
42aca9f: add fallback for m.default when importing react-dom8b7a660: remove use of devEngines which npm detects
2.0.1-canary.0
Patch Changes
42aca9f: add fallback for m.default when importing react-dom
2.0.0
Major Changes
-
84e4e9e: Removes deprecatedrenderAsync.Migration
Replace
renderAsyncwithrender. It should be a drop-in replacement, without any issues.
Patch Changes
dfe1477: Remove unusedreact-promise-suspense
2.0.0-canary.1
Patch Changes
dfe1477: Remove unusedreact-promise-suspense
2.0.0-canary.0
Major Changes
-
84e4e9e: Removes deprecatedrenderAsync.Migration
Replace
renderAsyncwithrender. It should be a drop-in replacement, without any issues.
1.4.0
Minor Changes
4205615: disable wordwrap intoPlainTextby default
1.3.2
Patch Changes
afe328b: fallback to renderToPipeableSream when WritableStream is unavailable
1.3.2-canary.0
Patch Changes
afe328b: fallback to renderToPipeableSream when WritableStream is unavailable
1.3.1
Patch Changes
e3f75cf: fixed multi-byte characters causing problems during stream reading
1.3.0
Minor Changes
ca13220: fix link duplication in plain text mode
1.2.3
Patch Changes
4e43552: use edge exports in convex runtime
1.2.2
Patch Changes
174f9cd: fix builds failing with esbuild and react-dom@18
1.2.1
Patch Changes
036c46c: fix MessageChannel errors on edge environments
1.2.0
Minor Changes
fc2f407: add toPlainText utility and deprecate plainText option onrender
1.1.4
Patch Changes
f5f35f1: fix hydration markers on React canary/Next.js latest when rendering large email templates
1.1.3
Patch Changes
19cc59c: fix browser version including errors in the output instead of throwing them
1.1.3-canary.0
Patch Changes
e22cc83: fix browser version including errors in the output instead of throwing them
1.1.2
Patch Changes
c6c03a4: fix react-dom/server import for the browser and some bundlerse4598ab: Fixesprettyoption breaking CJS projectsfaa6944: accept React.ReactNode instead of React.ReactElement
1.1.2-canary.0
Patch Changes
0405e2b: fix react-dom/server import for the browser and some bundlers
1.1.1
Patch Changes
a77ef6f: fix preview being rendered in plain-text
1.1.1-canary.0
Patch Changes
57ddfd9: fix react-dom/server import for the browser and some bundlers
1.1.0
Minor Changes
5d153a3: Deprecate theprettyoption forrenderin favor of standaloneprettyfunction
Patch Changes
9aa033c: Use range of versions for dependencies
1.1.0-canary.1
Patch Changes
9b1adb0: Use range of versions for dependencies
1.1.0-canary.0
Minor Changes
32372da: Deprecate theprettyoption forrenderin favor of standaloneprettyfunction
1.0.6
Patch Changes
- f4c5456: Update dependencies:
prettier@3.5.3
1.0.5
Patch Changes
caa49b3: Fix extra<characters being kept when rendering if mso comments under certain conditions337ac4e: Fix pretty option breaking button componentsb44c937: Fix unstable rendering when prettifying with the Preview component
1.0.5-canary.1
Patch Changes
dfc49b5: Fix extra<characters being kept when rendering if mso comments under certain conditions301f54b: Fix unstable rendering when prettifying with the Preview component
1.0.5-canary.0
Patch Changes
ed2fa33: Fix pretty option breaking button components
1.0.4
Patch Changes
1ff196a: Update prettier dependency.
1.0.3
Patch Changes
467af4e: Use peerDependencies for react and react-domb34aa90: Move react and react-dom to just dependencies for better DXda3e719: Use prettier's stadalone API instead of js-beautifyfd3b9de: Remove uncessary destructuring of react-dom/server
1.0.3-canary.3
Patch Changes
467af4e: Use peerDependencies for react and react-dom
1.0.3-canary.2
Patch Changes
2ebf17f: Use prettier's stadalone API instead of js-beautify
1.0.3-canary.1
Patch Changes
0f32e50: Remove uncessary destructuring of react-dom/server
1.0.3-canary.0
Patch Changes
f7833da: Move react and react-dom to just dependencies for better DX
1.0.2
Patch Changes
4627675: Fix null characters in between chunks when using high-density characters
1.0.2-canary.0
Patch Changes
0fab161: Fix null characters in between chunks when using high-density characters
1.0.1
Patch Changes
7481b12: Add a wrapping Suspense to all email templates before rendering
1.0.0
Major Changes
-
f9483ec: DeprecatedrenderAsyncand maderenderitself always asyncWhy
Three reasons:
- Better support of NextJS's latest versions
- Being ready for future React API deprecations
- Support for Suspense which allows for using async inside components
See https://github.com/resend/react-email/discussions/1144 for more info.
How to upgrade
If you are using the old
render, you will need to now treat the Promise that comes out of it, as it is now async. If you are usingrenderAsync, you can replace it withrenderand things should work the same.
Patch Changes
3caaf53: Updated peer dependencies to allow for React 19 release candidated and React 19 itself
1.0.0-canary.1
Major Changes
-
3f67038: DeprecatedrenderAsyncand maderenderitself always asyncWhy
Three reasons:
- Better support of NextJS's latest versions
- Being ready for future React API deprecations
- Support for Suspense which allows for using async inside components
See https://github.com/resend/react-email/discussions/1144 for more info.
How to upgrade
If you are using the old
render, you will need to now treat the Promise that comes out of it, as it is now async. If you are usingrenderAsync, you can replace it withrenderand things should work the same.
0.0.18-canary.0
Patch Changes
a1c016b: Updated peer dependencies to allow for React 19 release candidated and React 19 itself