react-email 6.0.0-canary.1 → 6.0.0

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,48 @@
1
1
  # react-email
2
2
 
3
+ ## 6.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - d0a7a52: Move all components and utilities into the `react-email` package
8
+
9
+ 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.
10
+
11
+ We're going to deprecate all packages except `@react-email/render` and `@react-email/preview-server`, and they will not be updated anymore.
12
+
13
+ ### Breaking change
14
+
15
+ 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`.
16
+
17
+ ### Why
18
+
19
+ Having separate packages for components (`@react-email/components`), and the CLI (`react-email`) created unnecessary confusion, and a maintenance burden for us.
20
+
21
+ ### How to migrate
22
+ 1. **Update your dependencies** -- remove `@react-email/components`, keep `react-email`:
23
+
24
+ ```diff
25
+ - npm install @react-email/components react-email @react-email/preview-server
26
+ + npm install react-email @react-email/preview-server
27
+ ```
28
+
29
+ 2. **Update your imports**:
30
+
31
+ ```diff
32
+ - import { Button, Html, Head, render } from "@react-email/components";
33
+ + import { Button, Html, Head, render } from "react-email";
34
+ ```
35
+
36
+ 3. The `@react-email/preview-server` and `@react-email/editor` packages are not included in `react-email`
37
+
38
+ ### Patch Changes
39
+
40
+ - a3a15ea: replace deprecated `url.parse()` with WHATWG URL API in the preview dev server.
41
+ - Updated dependencies [7fc539d]
42
+ - @react-email/render@2.0.7
43
+
44
+ ## 6.0.0-canary.2
45
+
3
46
  ## 6.0.0-canary.1
4
47
 
5
48
  ### Patch Changes
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",