Changelog
New features, bug fixes, and improvements made to each package.
Nov 08, 2024
Tailwind 1.0.2
- Fix TailwindConfig’s type being broken when
tailwindcss
is not installed
Create Email 0.1.2
- Updated dependencies
- @react-email/components@0.0.28
Components 0.0.28
- Updated dependencies
- @react-email/code-block@0.0.10
- @react-email/tailwind@1.0.2
Code Block 0.0.18
- fix improper padding on the line numbers
- Add
fontFamily
prop that is inlined into the elements for all tokens
Nov 04, 2024
Tailwind 1.0.1
- Fix duplicate media query styles
- Fix Promise being returned as a React Node
Create Email 0.1.1
- Fix
workspace:
prefix not being removed from react-email dev dep
Components 0.0.27
- Updated dependencies
- @react-email/tailwind@1.0.1
Oct 31, 2024
Tailwind 1.0.0
- Updates
tailwindcss
to latest version, but requires use of@react-email/render@>=1.0.0
- Refactored internally to have a much smaller bundle size
- Fixes CSS variables being replaced with
undefined
- Fix
css-float
being used for utilities such asfloat-left
React Email 3.0.2
- bump chokidar to v4
- Add util/types as a module
- Fix missing Request and Response globals
- Fix NODE_ENV for emails as “PRODUCTION” instead of “DEVELOPMENT”
- Update socket.io and socket.io-client
- Add AbortSignal, Event and EventTarget
- Add missing timers/promises Node module for
email dev
Button 0.0.18
- Fix NaN values on rendered Button HTML
Link 0.0.11
- Fix textDecoration reset being too broad
Render 1.0.2
- Fix null characters in between chunks when using high-density characters
Row 0.0.11
- Fixes default attributes overriding props
Section 0.0.15
- Fixes default attributes overriding props
Create Email 0.1.0
- Move “react-email” package to devDependencies for the template
Components 0.0.26
- Updated dependencies
- @react-email/section@0.0.15
- @react-email/row@0.0.11
- @react-email/tailwind@1.0.0
- @react-email/button@0.0.18
- @react-email/render@1.0.2
- @react-email/link@0.0.11
- @react-email/body@0.0.10
- @react-email/code-block@0.0.9
- @react-email/code-inline@0.0.4
- @react-email/column@0.0.12
- @react-email/container@0.0.14
- @react-email/font@0.0.8
- @react-email/head@0.0.11
- @react-email/heading@0.0.14
- @react-email/hr@0.0.10
- @react-email/html@0.0.10
- @react-email/img@0.0.10
- @react-email/markdown@0.0.12
- @react-email/preview@0.0.11
- @react-email/text@0.0.10
Sep 02, 2024
Create Email 0.0.34
- Update dependencies
- @react-email/components@0.0.25
Components 0.0.25
- Updated dependencies
- @react-email/code-block@0.0.9
Code Block 0.0.9
- Fix Versper theme’s background color
Aug 23, 2024
React Email 3.0.1
- Fixes hot reloading
Create Email 0.0.32
- Update dependency
react-email@3.0.1
Aug 22, 2024
React Email 3.0.0
- Use a built version of preview app when running
email dev
(major change) - Fixes decorators causing dependency tree babel parsing to fail
- update socket.io/socket.io-client to 4.7.5
- Fix sharp warning when running
email dev
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
- fix email template preview failing with emails having spaces
- Fixes tooltip color being black for specific theming configurations
- Fixes root directories being hidden when they are alone at their depth
- Updated usage of
render
to treat a returned promise for the new@react-email/render@1.0.0
Create Email 0.0.31
- Add
react-dom
as a dependency of the template - Update dependencies
- react-email@3.0.0
- @react-email/components@0.0.23
Tailwind 0.1.0
- Add support for proper
className
manipulation- This means support for
twMerge
- This means support for
- Make inline styles override Tailwind styles.
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
- Fixes generation of unnecessary styles (ex: including
container
as text somewhere in your template)
Text 0.0.10
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Section 0.0.14
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Row 0.0.10
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Render 0.0.14
- Deprecated
renderAsync
and maderender
itself always async - Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Preview 0.0.11
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Markdown 0.0.12
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Link 0.0.10
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Img 0.0.10
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Html 0.0.10
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Hr 0.0.10
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Heading 0.0.14
- Updated dependencies to allow for React 19 release candidate and React 19 itself
Head 0.0.11
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Font 0.0.8
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Container 0.0.14
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Components 0.0.23
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
- Update dependencies
- @react-email/code-inline@0.0.4
- @react-email/code-block@0.0.7
- @react-email/container@0.0.14
- @react-email/markdown@0.0.12
- @react-email/tailwind@0.1.0
- @react-email/heading@0.0.14
- @react-email/preview@0.0.11
- @react-email/section@0.0.14
- @react-email/button@0.0.17
- @react-email/column@0.0.12
- @react-email/render@1.0.0
- @react-email/body@0.0.10
- @react-email/font@0.0.8
- @react-email/head@0.0.11
- @react-email/html@0.0.10
- @react-email/link@0.0.10
- @react-email/text@0.0.10
- @react-email/img@0.0.10
- @react-email/row@0.0.10
- @react-email/hr@0.0.10
Column 0.0.12
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Code Block 0.0.7
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Button 0.0.7
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
- Add missing
msoPaddingAlt
to containing<a>
tag
Body 0.0.10
- Updated peer dependencies to allow for React 19 release candidate and React 19 itself
Jul 23, 2024
Body 0.0.9
- Add forward ref
Button 0.0.16
- Add forward ref
Code Block 0.0.6
- Add forward ref
Code Inline 0.0.3
- Add forward ref
Column 0.0.11
- Add forward ref
Components 0.0.22
- Updated dependencies
- @react-email/tailwind@0.0.19
- @react-email/body@0.0.9
- @react-email/button@0.0.16
- @react-email/code-block@0.0.6
- @react-email/code-inline@0.0.3
- @react-email/column@0.0.11
- @react-email/container@0.0.13
- @react-email/font@0.0.7
- @react-email/head@0.0.10
- @react-email/heading@0.0.13
- @react-email/hr@0.0.9
- @react-email/html@0.0.9
- @react-email/img@0.0.9
- @react-email/link@0.0.9
- @react-email/markdown@0.0.11
- @react-email/preview@0.0.10
- @react-email/render@0.0.17
- @react-email/row@0.0.9
- @react-email/section@0.0.13
- @react-email/text@0.0.9
Container 0.0.13
- Add forward ref
Create Email 0.0.30
- Change internal things related to how the template is versioned
- @react-email/components@0.0.22
- react-email@2.1.6
Font 0.0.7
- Add forward ref
Head 0.0.10
- Add forward ref
Heading 0.0.13
- Add forward ref
Hr 0.0.9
- Add forward ref
Html 0.0.9
- Add forward ref
Img 0.0.9
- Add forward ref
Link 0.0.9
- Add forward ref
Markdown 0.0.11
- Add forward ref
Preview 0.0.10
- Add forward ref
React Email 2.1.6
- Fixes live refresh not working with files outside
emails
directory - Fixes export failing when templates have different suffixes
Row 0.0.9
- Add forward ref
Section 0.0.13
- Add forward ref
Tailwind 0.0.19
- Changed it so, children of a component are only processed after the component is done with them
Text 0.0.9
- Add forward ref
Jul 3, 2024
Code Block 0.0.5
- Fixes display issues appearing on mobile email clients with the code-block
Components 0.0.21
- Updates dependency on
@react-email/code-block
Create Email 0.0.29
- Updates template dependencies
Jul 1, 2024
React Email 2.1.5
- Add missing Node modules used by the Prisma client (Thanks JP Erasmus!)
- Fixes
email build
andemail start
not working properly on Windows
Create Email 0.0.28
- Updates template dependencies
Render 0.0.16
- Fixes an issue with ESM when calling
renderAsync
Components 0.0.20
- Updates dependency on
@react-email/render
May 24, 2024
React Email 2.1.4
- Fixes a Windows issue with the render resolving esbuild plugin
- Fixes a few hot reloading rough edges
Create Email 0.0.27
- Updates the template dependency on
@react-email/components
- Updates the template dependency on
react-email
Tailwind 0.0.18
- Fixes relatively complex media queries not being parsed properly
Render 0.0.15
- Fixes an extra
<!DOCTYPE html>
that was included in a few cases
Components 0.0.19
- Updates dependency on
@react-email/render
- Updates dependency on
@react-email/tailwind
May 20, 2024
React Email 2.1.3
- Fixed
email export
failing when emails use hooks - Fixed different
react-dom
version being used to render email templates - Fixed the “__filanem” typo passed on the VM context for resolving email components on the preview
- Fixed possible file system race conditions
- Redirect users back to
/
if the email is not found on/preview
- Show only the filename on the preview page title and on the top bar
- Fixed the missing
Headers
on the global context for email templates - Fixed the missing
URLSearchParams
on global context for email VM - Improved error stack traces for the preview server
- Fixed an issue with
email dev
when there is abrowserslist
in the user’spackage.json
Create Email 0.0.26
- Updated template dependencies to the latest versions
- Fixed
Tailwind
being imported from@react-email/tailwind
instead of@react-email/components
Tailwind 0.0.17
- Remove
react
from normal dependencies, and only keep it as a peer dependency - Fixed the React JSX runtime being bundled
- Fixed types for
TailwindConfig
being basically aRecord<string, any>
- Fixed children always being transformed into an array
- Fixed
React.forwardRef
components not working inside of Tailwind
Render 0.0.14
- Fixed Issue with the
await import
when using inside Next.js - Use the
renderToPipeableStream
instead ofrenderToStaticNodeStream
Head 0.0.9
- Added an iOS formatting meta tag as default
Components 0.0.18
- Updated dependency on
@react-email/head
to0.0.9
- Updated dependency on
@react-email/render
to0.0.14
- Updated dependency on
@react-email/tailwind
to0.0.17
Apr 29, 2024
Body 0.0.8 | Button 0.0.15 | Code Inline 0.0.2 | Code block 0.0.4 |
Column 0.0.10 | Container 0.0.12 | Font 0.0.6 | Head 0.0.8 |
Heading 0.0.12 | Hr 0.0.8 | Html 0.0.8 | Img 0.0.8 |
Link 0.0.8 | Markdown 0.0.10 | Preview 0.0.9 | Render 0.0.13 |
Row 0.0.8 | Section 0.0.12 | Tailwind 0.0.16 | Text 0.0.8 |
- Fixed the peer dependency on React to allow for all minor versions after
18.2.0
Components 0.0.17
- Fixed the peer dependency on React to allow for all minor versions after
18.2.0
- Updated the version for all components
React Email 2.1.2
- Fixed the peer dependency on React to allow for all minor versions after
18.2.0
- Updated the dependencies on
@react-email/render
and@react-email/components
Create Email 0.0.25
- Updated the template dependencies
Mar 28, 2024
React Email 2.1.1
- Fixed links on the sidebar being broken with a custom emails directory
- Upgraded dependency on
@react-email/components
to0.0.16
- Made the preview server detect changes to dependencies of email templates for hot reloading
- Remove existing
out
directory when runningemail export
multiple times (Thanks bennyburrito!) - Use internal implementation for the logged tree when running
email export
for better security - Fixes missing URL, TextDecoder, TextEncoder and other global missing things on the preview server
Tailwind 0.0.15
- Fixed media query selectors being escaped, which caused issues for some email clients
- Improved internal code readability and fixed key warnings
- Fixed missing head errors being thrown after minification of the Email’s component code
- Fixed not being able to use Tailwind classes on the
<html>
element
Markdown 0.0.9
- Upgrade
md-to-react-email
to the latest version- Fixes quotes not being handled properly in the
markdownCustomStyles
property
- Fixes quotes not being handled properly in the
Create Email 0.0.24
- Upgrade template dependencies to the latest versions
- Use internal implementation for the logged tree
Feb 22, 2024
React Email 2.1.0
- Fixes
email build
not working with a custom emails directory - Now automatically adds
sharp
as a dependency inside.react-email
when runningemail build
- File extensions are now no longer forced on the slugs of the URL (i.e.
/preview/codepen-challengers.tsx
is just/preview/codepen-challengers.tsx
) - For subdirectories, email slugs are no longer encoded in the URL, so
/preview/newsletters%2Fcodepen-challengers
is now/preview/newsletters/codepen-challengers
- Fixes an issue with static files when using custom directories
- Issue that would happen when using Node versions that were not >= 20
- Fixes
email export
not rendering files form subdirectories properly - Fixes the tooltip on the sidebar’s toggle rendering bellow the sidebar
- Make the iframe inside the preview white by default
- Fixes missing suspense boundaries which could cause issues with
email build
sometimes - Upgrade preview app to use NextJS
14.1.0
- Fixes missing preloaded node modules for the email VM
- Fixes no emails being detected on the sidebar if a project parent directory was prefixed with
_
- Fixes Hot reloading not working with a custom emails directory
- Fixes some minor typos (Thanks Byrne Hollander)
- Fixes duplication of static files after running
email export
multiple times - Fixes Windows issue where the location for the CLI’s package could not be found
- Fixes ESM issue with
email export
Code block 0.0.3
- Fixes certain PrismJS tokens not being rendered at all
Create Email 0.0.23
- Template having the static directory at the root of the
react-email-starter
instead of insideemails
- Fixes missing obligatory dependencies on the template as of
react-email
2.0
Button 0.0.14
- Fixes our styles not being overwritten by the user’s
Jan 19, 2024
React-Email 2.0.0
Breaking changes:
- Static files for the preview server are now kept under
./emails/static
or inside your specified emails directory. - The preview app is not downloaded anymore and it now comes alongside the CLI
- Monorepos are now fully supported because of this
- Emails are built instead of copied
Misc changes:
- UI improved and icons updated
- Added a view to see how your email is going to look on mobile
- Error overlay specific to your emails
- Sub-folders are now supported, allowing for certain ones to be ignored by
the preview app if prefixed with
_
(ex:_components
) - Improved filtering for showing emails on the sidebar that only shows them if they have an export default somewhere inside. This is a bit of a heuristic and can still be improved though.
Components 0.0.14
- Bump
@react-email/render
to0.0.12
- Add
@react-email/code-block
version0.0.2
and export it - Add
@react-email/code-inline
version0.0.1
and export it
Create Email 0.0.22
Template Changes:
- Remove
.react-email
from template workspaces - Bump
@react-email/components
to0.0.14
- Bump
react-email
to2.0.0
Render 0.0.12
- Fix import for
js-beautify
breaking for ESM users
Code Inline 0.0.1
- Create component with support for the
orange.fr
email client
Code Block 0.0.2
- Issue with import for
prismjs
due to it being commonjs
Jan 16, 2024
Render 0.0.11
- Replace unmaintained
pretty
package forjs-beautify
(thanks Bastien Robert) - Remove link brackets surrounding links on plain text rendering (thanks Marcus Stenbeck)
- Fix functions called from
react-dom/server
to avoid them being called and causing issues on NextJS on the edge - Add an option for the
render
andrenderAsync
functions to customize the htmlToText options
Tailwind 0.0.14
- Fix an error for a hack that is used on Tailwind to detect a deprecated dependency that fails when it is being bundled on NextJS
- Fix issues that were being caused by calling
renderToStaticMarkup
by doing a very archaic rendering of the JSX to just run Tailwind on it
Components 0.0.13
- Bump
@react-email/render
to0.0.11
- Bump
@react-email/tailwind
to0.0.14
react-email 1.10.1
- Fix error thrown by Next on the preview because of
@react-email/render
by adding it into the serverComponentsExternalPackages option - See https://github.com/resend/react-email/issues/1041 - Ignore test files when generating email previews (Thanks Jonathan Warykowski)
create-email 0.0.21
- Bump
react-email
on generated template to1.10.1
- Bump
@react-email/components
on generated template to0.0.13
Dec 11, 2023
create-email 0.0.20
- Fix regression introduced with the wrong usage of the new
tree-cli
package
Dec 01, 2023
react-email 1.10.0
- Use
tree-cli
instead oftree-node-cli
which fixes problems with using it behind a corporate proxy - Fix problems with
jsx: 'preserve'
when trying to export emails by using a specific tsconfig for bundling the code for the emails before rendering - Improve error messages to avoid shallow feedback to users
create-email 0.0.19
- Use
tree-cli
instead oftree-node-cli
which fixes problems with using it behind a corporate proxy - Update
react-email
on the automatic setup to the latest
Tailwind 0.0.13
The migration for this new version should be smooth sailing overall, the only things to consider is that if you are using media query tailwind styles you will need to move the Tailwind component directly above the head element or Head component.
- Massive performance improvements
- Fix media queries not being loaded properly
- Fix Safari problems due to lookbehind expressions on regexes
- Make the Head obligatorily a direct element to Tailwind instead of HTml followed by Head
- Fixed component not working with custom components that did not have children
Code-block 0.0.1
- Add code-block component
- Use modified version of prismjs
- Default themes from prismjs themes exported here
Components 0.0.13
- Fix esm type exports
- Update
@react-email/body
tov0.0.7
- Update
@react-email/button
tov0.0.13
- update
@react-email/column
tov0.0.9
- update
@react-email/container
tov0.0.11
- update
@react-email/font
tov0.0.5
- update
@react-email/head
tov0.0.7
- update
@react-email/heading
tov0.0.11
- update
@react-email/hr
tov0.0.7
- update
@react-email/html
tov0.0.7
- update
@react-email/img
tov0.0.7
- update
@react-email/link
tov0.0.7
- update
@react-email/preview
tov0.0.8
- update
@react-email/render
tov0.0.10
- update
@react-email/row
tov0.0.7
- update
@react-email/section
tov0.0.11
- Update
@react-email/tailwind
tov0.0.13
- update
@react-email/text
tov0.0.7
Body 0.0.7
- Fix esm type exports
Button 0.0.13
- Fix esm type exports
Column 0.0.9
- Fix esm type exports
Container 0.0.11
- Fix esm type exports
Font 0.0.5
- Fix esm type exports
Font 0.0.5
- Fix esm type exports
Head 0.0.7
- Fix esm type exports
Heading 0.0.11
- Fix esm type exports
Hr 0.0.7
- Fix esm type exports
Html 0.0.7
- Fix esm type exports
Img 0.0.7
- Fix esm type exports
Link 0.0.7
- Fix esm type exports
Markdown 0.0.8
- Fix esm type exports
Preview 0.0.8
- Fix esm type exports
Render 0.0.10
- Fix esm type exports
Row 0.0.7
- Fix esm type exports
Section 0.0.11
- Fix esm type exports
Nov 01, 2023
Components 0.0.11
- Upgrade
@react-email/render
tov0.0.9
Render 0.0.9
- Fix
renderAsync
function to support Next.js 14
April 05. 2023
Button 0.0.8
- Fix invalid CSS
Components 0.0.6
- Upgrade components to latest version
Client 0.0.12
- Remove nav block classname
- Stop subprocess if an error occurs
Create Email 0.0.16
- Fix required Node 18
- Upgrade template to use latest versions
React Email 1.9.1
- Upgrade client version to
0.0.12
Render 0.0.7
- Add
renderAsync
function to enable edge runtime support
Preview 0.0.6
- Fix 150 characters limit
March 21, 2023
Body 0.0.2
- Add
data-id
attribute
Button 0.0.7
- Add
data-id
attribute
Column 0.0.7
- Add
data-id
attribute - Reorder
props
to not be able to overridestyle
andref
Container 0.0.8
- Add
data-id
attribute - Reorder
props
to be able to overridealign
andwidth
Components 0.0.4
- Upgrade components to latest version
Head 0.0.5
- Add
data-id
attribute - Reorder
props
to not be able to overrideref
Heading 0.0.8
- Add
data-id
attribute - Reorder
props
to not be able to overridestyle
andref
Hr 0.0.5
- Add
data-id
attribute - Reorder
props
to not be able to overridealign
andwidth
Img 0.0.5
- Add
data-id
attribute - Reorder
props
to not be able to overridealt
,width
,ref
, andsrc
Link 0.0.5
- Add
data-id
attribute - Reorder
props
to not be able to overridestyle
,target
, andref
React Email 1.9.0
- Change how to handle
static
files (static
files should live in the root, and not in theemails
folder) - Throw error when missing
emails
folder - Removed unused script commands
Row 0.0.5
- Add
data-id
attribute - Reorder
props
to be able to overridealign
Section 0.0.9
- Add
data-id
attribute - Reorder
props
to be able to overridealign
andwidth
Text 0.0.5
- Add
data-id
attribute - Reorder
props
to not be able to overridestyle
andref
January 24, 2023
Section 0.0.5
- Fix extra
<td>
elements when using<Column>
January 4, 2023
React Email 1.6.0
- Detect package manager in command (yarn, npm, or pnpm)
December 28, 2022
Section 0.0.4
- Ensure
<Section>
renders with<td>
wrapper if no<Column>
is provided
React Email 1.5.2
- Fix incorrect glob pattern in email export
React Email 1.5.1
- Split path separator on Windows
December 22, 2022
Body 0.0.1
- Add
<Body>
component
Create Email 0.0.7
- Move assets to static folder
Create Email 0.0.6
- Leverage new version of
react-email
December 21, 2022
React Email 1.5.0
- Add ability to send test email
- Show file tree on successful export
- Copy static folder when exporting
- Add support for shared components
React Email 1.4.1
- Add buttons to download and copy to clipboard
- Fix empty static directory
React Email 1.4.0
- Add components directory
- Add static folder support
December 16, 2022
React Email 1.3.0
- Cache emails
- Add support for JSX files
- Fix icon size on the sidebar
- Add export emails command
- Change route when view mode changes
December 12, 2022
Column 0.0.2
- Fix default styling to accomodate
<Section>
component
Section 0.0.2
- Fix default styling to accomodate
<Column>
component
December 8, 2022
React Email 1.2.0
- Show React source code side-by-side
December 3, 2022
Create Email 0.0.3
- Display success message after command is run
React Email 1.1.1
- Add new local development server
November 29, 2022
Heading 0.0.5
- Add margin utilities props like
m
,mx
,my
,mt
,mr
,mb
, andml
November 17, 2022
Button 0.0.4
- Add padding utilities props like
pX
andpY
November 6, 2022
Column 0.0.1
- Add
<Column>
component
Section 0.0.1
- Add
<Section>
component
October 13, 2022
Button 0.0.3
- Add support for Microsoft Outlook
October 12, 2022
All 0.0.2
- Fix README formatting
October 1, 2022
Pre 0.0.1
- Add
<Pre>
component
September 26, 2022
Preview 0.0.1
- Add
<Preview>
component
Ordered List 0.0.1
- Add
<Ol>
component
September 24, 2022
Heading 0.0.1
- Add
<Heading>
component
September 23, 2022
Container 0.0.1
- Add
<Container>
component
Unordered List 0.0.1
- Add
<Ul>
component
September 22, 2022
Divider 0.0.1
- Add
<Hr>
component
HTML 0.0.1
- Add
<Html>
component
Head 0.0.1
- Add
<Head>
component
Code 0.0.1
- Add
<Code>
component
Image 0.0.1
- Add
<Img>
component
Link 0.0.1
- Add
<Link>
component
Text 0.0.1
- Add
<Text>
component
Render 0.0.1
- Add render utility