react-email@6.5.0
OpenBMB/MiniCPM-Vreact-email@6.5.0May 27, 2026by github-actions[bot]
AI Summary
This release improves component accessibility and inherits the CLI client warning changes from the UI package.
Key Highlights
- Adds `dir` and `lang` attributes to the Body component.
- Adds an empty `alt` fallback to the Img component.
- Adds `role="presentation"` to the Markdown table.
- Adds a `<title>` element derived from the Preview component.
New Features
- Accessibility defaults for Body (dir/lang)
- Accessibility defaults for Img (alt fallback)
- Accessibility defaults for Markdown (role)
- Accessibility defaults for Preview (title)
Full Release Notes
### Minor Changes * 3875d2a: add a `--clients` option to `email dev` and a `COMPATIBILITY_EMAIL_CLIENTS` environment variable to narrow which email clients trigger compatibility warnings. By default the preview still warns for `gmail`, `apple-mail`, `outlook`, and `yahoo`. Teams that only target one or two clients can now skip the noise: `email dev --clients outlook,apple-mail`. The CLI flag wins over the env var; an empty or fully-invalid list falls back to the defaults so warnings can't be silently switched off. Builds on #2797 by @ReemX. ### Patch Changes * d47825a: Add accessibility defaults to components: `dir`/`lang` on `Body`, an empty `alt` fallback on `Img`, `role="presentation"` on the `Markdown` table, and a `<title>` from `Preview`.