Releases: resend/react-email
@react-email/editor@1.1.0
@react-email/editor@1.0.2
Patch Changes
- 4155ec9: fix slash command scrollbar extending past rounded corners
@react-email/editor@1.0.1
Patch Changes
- 8e4226a: introduce paragraph option to the custom theme property
react-email@6.0.0
Major Changes
-
d0a7a52: Move all components and utilities into the
react-emailpackageAll components (previously in
@react-email/componentsor individual packages like@react-email/button) and rendering utilities (previously in@react-email/render) are now exported directly fromreact-email. This unifies the install and import experience into a single package.We're going to deprecate all packages except
@react-email/renderand@react-email/ui, and they will not be updated anymore.Breaking change
Imports from
@react-email/components,@react-email/render, or individual component packages (e.g.@react-email/button) are no longer the recommended path and they will all be deprecated with the exception of@react-email/renderand@react-email/editor, andrenderwill remain exported fromreact-email. Consumers should import everything fromreact-email.Why
Having separate packages for components (
@react-email/components), and the CLI (react-email) created unnecessary confusion, and a maintenance burden for us.How to migrate
-
Remove
@react-email/components:npm remove @react-email/components
-
Update
react-email, and move it over todependencies:npm install react-email@latest
-
Update your imports:
- import { Button, Html, Head, render } from "@react-email/components"; + import { Button, Html, Head, render } from "react-email";
-
Patch Changes
create-email@1.2.4
Patch Changes
- bd14364: use the new @react-email/ui
@react-email/ui@6.0.0
Major Changes
-
3ca799d: Rename @react-email/preview-server -> @react-email/ui.
Same exact code, but with a different name. The equivalent
react-emailversion has also been udpated accordingly. The old @react-email/preview-server will be deprecated.How to migrate
Update your dependencies -- remove
@react-email/preview-server, install@react-email/ui:- npm install @react-email/preview-server + npm install @react-email/ui
Patch Changes
@react-email/render@2.0.7
Patch Changes
- 7fc539d: fix export map ordering between convex and node
@react-email/editor@1.0.0
Major Changes
- 3ea987b: avoid injecting undefined css values
- abb7e8d: add
getEmailHTML()andgetEmailText()toEmailEditorRef, removegetHTML(), renameonChangetoonUpdate
Minor Changes
- 274647c: add placeholder style
- c95a1e5: add
onUploadImageprop toEmailEditorand merge image paste/drop handlers into a single plugin - 783f16f: don't add an extra focus scope provider if there's already one present above Inspector.Root
- 18323bd: add trailing nodes for columns and sections
- 73ae830: New
ThemeConfigAPI for custom theming
Patch Changes
- 766cc41: remove placeholder from starter kit, keep it in standalone editor
- 08c2865: Add
childrenprop toEmailEditorfor composing UI like the Inspector sidebar inside the editor context - ca6a71d: Render Table as a native
<table>instead ofSectionto fix invalid<tr>inside<td>nesting in email output - 289290b: improved default for inspector
- 7d587f3: Align
EmailEditor'sonReadycallback withonUpdateso it receivesEmailEditorRef - 07fb6f0: fix color pickers closing and not letting drag happen in root node
- 29a2cd9: remove line height from default inbox styles
- c9cfb15:
InspectorBreadcrumbSegment.nodeis now always aFocusedNode; exportsgetNodeMetafor custom breadcrumb label/icon mapping. - f3f988b: collapse
SlashCommand.RootintoSlashCommandand stop exporting internalCommandList/CommandListProps. Replace<SlashCommand.Root ...>with<SlashCommand ...>. - Updated dependencies [a3a15ea]
- Updated dependencies [d0a7a52]
- react-email@6.0.0
react-email@6.0.0-canary.2
chore(root): version packages (canary) (#3300) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: gabriel miranda <gabrielmfern@outlook.com>
@react-email/ui@6.0.0-canary.2
Patch Changes
- 91ca688: remove extra margin from sending button