Skip to content

Commit 2de768d

Browse files
chore: upgrade react-email to ^6.1.4 (#1206)
* chore: upgrade react-email to ^6.1.4 Bump `react-email` from `^5.2.10` to `^6.1.4` in the web package. react-email 6 bundles the preview server into the main package and drops its Next.js dependency, so `@react-email/preview-server` and the `@react-email/preview-server/next` resolution override are no longer needed. Net `yarn.lock` impact is -302 MiB. Also bumped the `esbuild` root resolution from `^0.27.3` to `^0.28.0` since react-email 6 requires the matching host/binary, and bumped the satellite ranges on `@react-email/components` (`^1.0.2` -> `^1.0.12`) and `@react-email/render` (`^2.0.0` -> `^2.0.8`). Smoke tested with `yarn workspace @sourcebot/web build` (Next.js compile passes) and `yarn dev:emails` (preview server boots clean at 6.1.4). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * chore: changelog entry for #1206 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * Update CHANGELOG Removed the mention of dropping the separate @react-email/preview-server devDependency in the changelog. --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 34d7f77 commit 2de768d

4 files changed

Lines changed: 317 additions & 431 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2626
- Reduced the log verbosity of the worker by changing various log messages from info to debug. [#1179](https://github.com/sourcebot-dev/sourcebot/pull/1179)
2727
- [EE] Switched symbol hover detection to use Lezer highlight tags, broadening identifier coverage. [#1194](https://github.com/sourcebot-dev/sourcebot/pull/1194)
2828
- Improved git history and blame performance on large repositories. [#1198](https://github.com/sourcebot-dev/sourcebot/pull/1198)
29+
- Upgraded `react-email` to `^6.1.4`. [#1206](https://github.com/sourcebot-dev/sourcebot/pull/1206)
2930

3031
## [4.17.1] - 2026-05-04
3132

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,13 @@
4242
"path-to-regexp@0.1.12": "0.1.13",
4343
"path-to-regexp@^8": "^8.4.0",
4444
"picomatch@^4": "^4.0.4",
45-
"esbuild": "^0.27.3",
45+
"esbuild": "^0.28.0",
4646
"js-yaml@npm:^4.1.0": "^4.1.1",
4747
"ajv@npm:^8.0.0": "^8.18.0",
4848
"ajv@npm:^8.17.1": "^8.18.0",
4949
"brace-expansion@npm:^2.0.2": "^2.0.3",
5050
"brace-expansion@npm:^5.0.2": "^5.0.5",
5151
"brace-expansion@npm:^1.1.7": "^1.1.13",
52-
"@react-email/preview-server/next": "^16.2.3",
5352
"@modelcontextprotocol/sdk/hono": "^4.12.18",
5453
"@modelcontextprotocol/sdk/@hono/node-server": "^1.19.13",
5554
"langsmith@npm:>=0.5.0 <1.0.0": "^0.5.19",

packages/web/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@
8989
"@radix-ui/react-toggle": "^1.1.10",
9090
"@radix-ui/react-toggle-group": "^1.1.11",
9191
"@radix-ui/react-tooltip": "^1.1.4",
92-
"@react-email/components": "^1.0.2",
93-
"@react-email/render": "^2.0.0",
92+
"@react-email/components": "^1.0.12",
93+
"@react-email/render": "^2.0.8",
9494
"@replit/codemirror-lang-csharp": "^6.2.0",
9595
"@replit/codemirror-lang-nix": "^6.0.1",
9696
"@replit/codemirror-lang-solidity": "^6.0.2",
@@ -200,7 +200,7 @@
200200
"devDependencies": {
201201
"@asteasolutions/zod-to-openapi": "7.3.4",
202202
"@eslint/eslintrc": "^3",
203-
"@react-email/preview-server": "5.2.10",
203+
"@react-email/ui": "6.1.4",
204204
"@react-grab/mcp": "^0.1.23",
205205
"@tanstack/eslint-plugin-query": "^5.74.7",
206206
"@testing-library/dom": "^10.4.1",
@@ -223,7 +223,7 @@
223223
"npm-run-all": "^4.1.5",
224224
"postcss": "^8.5.10",
225225
"raw-loader": "^4.0.2",
226-
"react-email": "^5.2.10",
226+
"react-email": "^6.1.4",
227227
"react-grab": "^0.1.23",
228228
"react-scan": "^0.5.3",
229229
"tailwindcss": "^3.4.1",

0 commit comments

Comments
 (0)