diff --git a/.changeset/pre.json b/.changeset/pre.json index 472c704bc2..6109e70330 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -30,16 +30,20 @@ "@react-email/section": "0.0.13", "@react-email/tailwind": "0.0.19", "@react-email/text": "0.0.9", - "tsconfig": "0.0.0" + "tsconfig": "0.0.0", + "@benchmarks/preview-server": "0.0.0" }, "changesets": [ "curly-fireants-allow", "dry-humans-return", "fast-countries-marry", + "five-humans-dream", "many-donuts-retire", + "nasty-carrots-burn", "new-coats-cover", "odd-bobcats-know", "old-suits-promise", + "popular-eagles-sniff", "tame-windows-look", "wild-mugs-kick" ] diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index f23a825880..f94a4c7274 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,5 +1,30 @@ # @react-email/components +## 0.0.23-canary.3 + +### Patch Changes + +- Updated dependencies [3f67038] + - @react-email/render@1.0.0-canary.1 + - @react-email/body@0.0.10-canary.0 + - @react-email/button@0.0.17-canary.1 + - @react-email/code-block@0.0.7-canary.0 + - @react-email/code-inline@0.0.4-canary.0 + - @react-email/column@0.0.12-canary.0 + - @react-email/container@0.0.14-canary.0 + - @react-email/font@0.0.8-canary.0 + - @react-email/head@0.0.11-canary.0 + - @react-email/heading@0.0.14-canary.0 + - @react-email/hr@0.0.10-canary.0 + - @react-email/html@0.0.10-canary.0 + - @react-email/img@0.0.10-canary.0 + - @react-email/link@0.0.10-canary.0 + - @react-email/markdown@0.0.12-canary.0 + - @react-email/preview@0.0.11-canary.0 + - @react-email/row@0.0.10-canary.0 + - @react-email/section@0.0.14-canary.0 + - @react-email/text@0.0.10-canary.0 + ## 0.0.23-canary.2 ### Patch Changes diff --git a/packages/components/package.json b/packages/components/package.json index 6810547b24..09219c5f9c 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@react-email/components", - "version": "0.0.23-canary.2", + "version": "0.0.23-canary.3", "description": "A collection of all components React Email.", "sideEffects": false, "main": "./dist/index.js", @@ -56,7 +56,7 @@ "@react-email/link": "workspace:0.0.10-canary.0", "@react-email/markdown": "workspace:0.0.12-canary.0", "@react-email/preview": "workspace:0.0.11-canary.0", - "@react-email/render": "workspace:0.0.18-canary.0", + "@react-email/render": "workspace:1.0.0-canary.1", "@react-email/row": "workspace:0.0.10-canary.0", "@react-email/section": "workspace:0.0.14-canary.0", "@react-email/tailwind": "workspace:0.1.0-canary.1", diff --git a/packages/create-email/CHANGELOG.md b/packages/create-email/CHANGELOG.md index 293c69ac91..9f6521ae5f 100644 --- a/packages/create-email/CHANGELOG.md +++ b/packages/create-email/CHANGELOG.md @@ -1,5 +1,7 @@ # create-email +## 0.0.31-canary.5 + ## 0.0.31-canary.4 ## 0.0.31-canary.3 diff --git a/packages/create-email/package.json b/packages/create-email/package.json index 27d74b96e3..99603fe326 100644 --- a/packages/create-email/package.json +++ b/packages/create-email/package.json @@ -1,6 +1,6 @@ { "name": "create-email", - "version": "0.0.31-canary.4", + "version": "0.0.31-canary.5", "description": "The easiest way to get started with React Email", "main": "src/index.js", "type": "module", diff --git a/packages/create-email/template/CHANGELOG.md b/packages/create-email/template/CHANGELOG.md index 393021ecfa..2709853c6a 100644 --- a/packages/create-email/template/CHANGELOG.md +++ b/packages/create-email/template/CHANGELOG.md @@ -1,5 +1,15 @@ # react-email-starter +## 0.0.31-canary.5 + +### Patch Changes + +- Updated dependencies [f552226] +- Updated dependencies [2799bb4] +- Updated dependencies [3f67038] + - react-email@3.0.0-canary.0 + - @react-email/components@0.0.23-canary.3 + ## 0.0.31-canary.4 ### Patch Changes diff --git a/packages/create-email/template/package.json b/packages/create-email/template/package.json index 88d3426507..ab691aecc7 100644 --- a/packages/create-email/template/package.json +++ b/packages/create-email/template/package.json @@ -1,6 +1,6 @@ { "name": "react-email-starter", - "version": "0.0.31-canary.4", + "version": "0.0.31-canary.5", "private": true, "scripts": { "build": "email build", @@ -8,8 +8,8 @@ "export": "email export" }, "dependencies": { - "@react-email/components": "workspace:0.0.23-canary.2", - "react-email": "workspace:2.2.0-alpha-fa7021659-20240814", + "@react-email/components": "workspace:0.0.23-canary.3", + "react-email": "workspace:3.0.0-canary.0", "react-dom": "19.0.0-rc.0", "react": "19.0.0-rc.0" }, diff --git a/packages/react-email/CHANGELOG.md b/packages/react-email/CHANGELOG.md index 9ddb475cc4..c8c59254ea 100644 --- a/packages/react-email/CHANGELOG.md +++ b/packages/react-email/CHANGELOG.md @@ -1,5 +1,32 @@ # react-email +## 3.0.0-canary.0 + +### Major Changes + +- f552226: Use a built version of preview app when running `email dev` + +### Patch Changes + +- 2799bb4: fix email template preview failing with emails having spaces +- 3f67038: Deprecated `renderAsync` and made `render` itself always async + + ## Why + + Three reasons: + + 1. Better support of NextJS's latest versions + 2. Being ready for future React API deprecations + 3. Support for Suspense which allows for using async inside components + + See https://github.com/resend/react-email/discussions/1144 for more info. + + ## How to upgrade + + If you are using the old `render`, you will need to now treat the Promise + that comes out of it, as it is now async. If you are using `renderAsync`, + you can replace it with `render` and things should work the same. + ## 2.1.7-canary.2 ### Patch Changes diff --git a/packages/react-email/package.json b/packages/react-email/package.json index 6a458e1737..fb7e766095 100644 --- a/packages/react-email/package.json +++ b/packages/react-email/package.json @@ -1,6 +1,6 @@ { "name": "react-email", - "version": "2.2.0-alpha-fa7021659-20240814", + "version": "3.0.0-canary.0", "description": "A live preview of your emails right in your browser.", "bin": { "email": "./dist/cli/index.js" diff --git a/packages/render/CHANGELOG.md b/packages/render/CHANGELOG.md index 47f5827259..3ce47e975b 100644 --- a/packages/render/CHANGELOG.md +++ b/packages/render/CHANGELOG.md @@ -1,5 +1,27 @@ # @react-email/render +## 1.0.0-canary.1 + +### Major Changes + +- 3f67038: Deprecated `renderAsync` and made `render` itself always async + + ## Why + + Three reasons: + + 1. Better support of NextJS's latest versions + 2. Being ready for future React API deprecations + 3. Support for Suspense which allows for using async inside components + + See https://github.com/resend/react-email/discussions/1144 for more info. + + ## How to upgrade + + If you are using the old `render`, you will need to now treat the Promise + that comes out of it, as it is now async. If you are using `renderAsync`, + you can replace it with `render` and things should work the same. + ## 0.0.18-canary.0 ### Patch Changes diff --git a/packages/render/package.json b/packages/render/package.json index 01aa4882ce..be2feb865d 100644 --- a/packages/render/package.json +++ b/packages/render/package.json @@ -1,6 +1,6 @@ { "name": "@react-email/render", - "version": "0.0.18-canary.0", + "version": "1.0.0-canary.1", "description": "Transform React components into HTML email templates", "sideEffects": false, "main": "./dist/browser/index.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 012e6a3962..195f5856d0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -366,7 +366,7 @@ importers: specifier: workspace:0.0.11-canary.0 version: link:../preview '@react-email/render': - specifier: workspace:0.0.18-canary.0 + specifier: workspace:1.0.0-canary.1 version: link:../render '@react-email/row': specifier: workspace:0.0.10-canary.0 @@ -441,7 +441,7 @@ importers: packages/create-email/template: dependencies: '@react-email/components': - specifier: workspace:0.0.23-canary.2 + specifier: workspace:0.0.23-canary.3 version: link:../../components react: specifier: 19.0.0-rc.0 @@ -450,7 +450,7 @@ importers: specifier: 19.0.0-rc.0 version: 19.0.0-rc.0(react@19.0.0-rc.0) react-email: - specifier: workspace:2.2.0-alpha-fa7021659-20240814 + specifier: workspace:3.0.0-canary.0 version: link:../../react-email devDependencies: '@types/react':