github resend/react-email @react-email/render@1.0.0
@react-email/render 1.0.0

latest releases: create-email@0.1.2, @react-email/code-block@0.0.10, @react-email/tailwind@1.0.2...
2 months ago

What's Changed

Major Changes

  • f9483ec: Deprecated renderAsync and made render itself always async

    Why

    Three reasons:

    1. Better support of NextJS's latest versions
    2. Being ready for future React API deprecations
    3. Support for Suspense which allows for using async inside components

    See #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 using renderAsync,
    you can replace it with render and things should work the same.

Patch Changes

  • 3caaf53: Updated peer dependencies to allow for React 19 release candidate and React 19 itself

Full Changelog: https://github.com/resend/react-email/compare/@react-email/render@0.0.17...@react-email/render@1.0.0

Don't miss a new react-email release

NewReleases is sending notifications on new releases.