react-email 6.0.0-canary.2 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,55 @@
1
1
  # react-email
2
2
 
3
+ ## 6.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 599b8c5: fix type issues in starter template and in react-email
8
+
9
+ ## 6.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - d0a7a52: Move all components and utilities into the `react-email` package
14
+
15
+ 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.
16
+
17
+ We're going to deprecate all packages except `@react-email/render` and `@react-email/ui`, and they will not be updated anymore.
18
+
19
+ ### Breaking change
20
+
21
+ 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/render` and `@react-email/editor`, and `render` will remain exported from `react-email`. Consumers should import everything from `react-email`.
22
+
23
+ ### Why
24
+
25
+ Having separate packages for components (`@react-email/components`), and the CLI (`react-email`) created unnecessary confusion, and a maintenance burden for us.
26
+
27
+ ### How to migrate
28
+ 1. Remove `@react-email/components`:
29
+
30
+ ```diff
31
+ npm remove @react-email/components
32
+ ```
33
+
34
+ 2. Update `react-email`, and move it over to `dependencies`:
35
+
36
+ ```diff
37
+ npm install react-email@latest
38
+ ```
39
+
40
+ 3. **Update your imports**:
41
+
42
+ ```diff
43
+ - import { Button, Html, Head, render } from "@react-email/components";
44
+ + import { Button, Html, Head, render } from "react-email";
45
+ ```
46
+
47
+ ### Patch Changes
48
+
49
+ - a3a15ea: replace deprecated `url.parse()` with WHATWG URL API in the preview dev server.
50
+ - Updated dependencies [7fc539d]
51
+ - @react-email/render@2.0.7
52
+
3
53
  ## 6.0.0-canary.2
4
54
 
5
55
  ## 6.0.0-canary.1
package/dev/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # email-dev
2
2
 
3
+ ## 0.0.7
4
+
3
5
  ## 0.0.6
4
6
 
5
7
  ## 0.0.5
package/dev/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "email-dev",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "bin": "index.js",
5
5
  "private": true,
6
6
  "type": "module",