Skip to content

Commit 53d3d47

Browse files
fix(react-email): mistaken changelog (#3381)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2f269c7 commit 53d3d47

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

packages/react-email/CHANGELOG.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
All components (previously in `@react-email/components` or individual packages like `@react-email/button`) and rendering utilities (previously in `@react-email/render`) are now exported directly from `react-email`. This unifies the install and import experience into a single package.
1010

11-
We're going to deprecate all packages except `@react-email/render` and `@react-email/preview-server`, and they will not be updated anymore.
11+
We're going to deprecate all packages except `@react-email/render` and `@react-email/ui`, and they will not be updated anymore.
1212

1313
### Breaking change
1414

@@ -19,21 +19,26 @@
1919
Having separate packages for components (`@react-email/components`), and the CLI (`react-email`) created unnecessary confusion, and a maintenance burden for us.
2020

2121
### How to migrate
22-
1. **Update your dependencies** -- remove `@react-email/components`, keep `react-email`:
22+
23+
1. Remove `@react-email/components`:
2324

2425
```diff
25-
- npm install @react-email/components react-email @react-email/preview-server
26-
+ npm install react-email @react-email/preview-server
26+
npm remove @react-email/components
2727
```
28+
29+
2. Update `react-email`, and move it over to `dependencies`:
2830

29-
2. **Update your imports**:
31+
```diff
32+
npm install react-email@latest
33+
```
34+
35+
3. **Update your imports**:
3036

3137
```diff
3238
- import { Button, Html, Head, render } from "@react-email/components";
3339
+ import { Button, Html, Head, render } from "react-email";
3440
```
3541

36-
3. The `@react-email/preview-server` and `@react-email/editor` packages are not included in `react-email`
3742

3843
### Patch Changes
3944

0 commit comments

Comments
 (0)