Skip to content

chore(deps): upgrade react-email to v6 - #6034

Merged
waleedlatif1 merged 1 commit into
stagingfrom
deps-react-email
Jul 29, 2026
Merged

chore(deps): upgrade react-email to v6#6034
waleedlatif1 merged 1 commit into
stagingfrom
deps-react-email

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

Split out of #6013. Major-version bump kept on its own so the render diff is the whole review.

  • @react-email/components 0.5.7 → 1.0.12
  • @react-email/render 2.0.8 → 2.1.0
  • react-email 4.3.2 → 6.9.0

Testing

There were no render tests and no PreviewProps, so I built a harness that renders all 21 templates under both the old and new versions and diffs the HTML.

All 21 render successfully on both. Every file differs, but the entire difference is two things:

change scope effect
<link rel="preload" as="image"> dropped from <head> 19 templates None in practice — email clients strip or ignore <head> resource hints (Gmail discards <head>). Slightly smaller payload.
<body> gains margin:0;padding:0 all 21 Standard email reset

What would actually matter is unchanged:

  • visible text — 0 / 21 differ
  • clickable <a href> set — 0 / 21 differ
  • <img src> set — 0 / 21 differ

tsc clean.

Worth a spot-check in a real client (Gmail/Outlook) before merging if you want belt-and-braces, but nothing in the diff suggests a visual change.

Type of Change

  • Maintenance

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@react-email/components 0.5.7 to 1.0.12, @react-email/render 2.0.8 to
2.1.0, react-email 4.3.2 to 6.9.0.

Rendered all 21 templates under both versions and diffed: visible text,
clickable links and image sources are identical. The only output changes
are a dropped <link rel=preload> block, which email clients strip with
the rest of <head>, and a margin/padding reset on <body>.
@waleedlatif1
waleedlatif1 requested a review from a team as a code owner July 29, 2026 00:09
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jul 29, 2026 12:13am

Request Review

@cursor

cursor Bot commented Jul 29, 2026

Copy link
Copy Markdown

PR Summary

Medium Risk
Major-version email rendering upgrades can change outbound HTML for all transactional mail even without template edits; impact appears limited to head/body boilerplate per the author’s diff, but real-client spot-checks are still prudent.

Overview
Dependency-only upgrade for the email stack in apps/sim: @react-email/components 0.5.7 → 1.0.12, @react-email/render 2.0.8 → 2.1.0, and dev react-email 4.3.2 → 6.9.0, with bun.lock refreshed for the new transitive tree (e.g. updated @react-email/* primitives, render pipeline deps like html5parser, and CLI-related packages).

There are no changes to email templates or send paths in this diff—only package.json and the lockfile. Expect HTML output shifts from the new renderer (e.g. dropped <head> image preloads, body margin/padding reset) rather than template edits; the author’s before/after render comparison reported unchanged visible text, links, and image URLs across templates.

Reviewed by Cursor Bugbot for commit 316c02f. Configure here.

@greptile-apps

greptile-apps Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Bumps react-email stack in apps/sim only (@react-email/components 0.5.7→1.0.12, @react-email/render 2.0.8→2.1.0, react-email 4.3.2→6.9.0) with matching bun.lock updates.

  • No application email template or render-call-site source changes.
  • Transitive lock churn includes nested @react-email/* packages, CLI deps, and a nested @react-email/render@2.0.6 under components alongside direct 2.1.0.

Confidence Score: 5/5

This PR appears safe to merge; it is a version-only upgrade with no app-code changes and no established runtime or security failure.

Peer deps match React 19; templates use basic components and inline styles (not Tailwind); render is called without options; author-reported HTML diffs are limited to preload links and body margin reset. Remaining dual-version and Markdown concerns lack evidence of a present break.

Important Files Changed

Filename Overview
apps/sim/package.json Pins the three react-email packages to the new major/minor versions; no scripts or app code changed in this file beyond those version strings.
bun.lock Resolves the upgraded react-email tree and related transitive packages; dual nested render versions exist but app code imports render only from the direct dependency.

Reviews (1): Last reviewed commit: "chore(deps): upgrade react-email to v6" | Re-trigger Greptile

@waleedlatif1
waleedlatif1 merged commit 805ac33 into staging Jul 29, 2026
15 checks passed
@waleedlatif1
waleedlatif1 deleted the deps-react-email branch July 29, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant