stack/packages
BilalG1 39a4b05a19
resend api key config (#851)
https://www.loom.com/share/11affd2a119549c18a4056ad5db34cb6?sid=c86dd093-b8ca-4600-afb1-dda78e40b6a5
<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Adds support for 'resend' email provider, updating configurations,
schemas, and UI components to handle the new provider.
> 
>   - **Behavior**:
> - Adds support for 'resend' email provider in
`createOrUpdateProjectWithLegacyConfig()` in `projects.tsx`.
> - Updates `PageClient` in `page-client.tsx` to handle 'resend'
provider in email configuration.
> - Modifies `EditEmailServerDialog` to include 'resend' option and
handle its configuration.
>   - **Schema**:
> - Updates `environmentConfigSchema` in `schema.ts` to include 'resend'
as a valid provider.
> - Modifies `AdminEmailConfig` type to include 'resend' in
`project-configs/index.ts`.
>   - **UI**:
> - Updates `SendEmailDialog` and `TestSendingDialog` in
`page-client.tsx` to handle 'resend' provider.
> - Adjusts form fields in `EditEmailServerDialog` to support 'resend'
specific fields like API Key.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for 615fd72518. You can
[customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>


<!-- ELLIPSIS_HIDDEN -->

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- New Features
- Added support for Resend email provider alongside Shared and Custom
SMTP.
  - Introduced an in-app test to verify email settings before saving.
  - New Shared Email Server dialog with guidance and warnings.

- Improvements
- Streamlined email configuration with a type dropdown and conditional
fields.
- Clearer defaults and display text, including noreply@stackframe.co for
Shared setups.
  - Enhanced validation tailored to each email mode.

- Chores
- Updated configuration schema to include a provider field for email
servers.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-09-11 14:58:10 -07:00
..
init-stack init stack cli project-id and publishable-client-key args (#888) 2025-09-11 10:10:36 -07:00
js chore: update package versions 2025-09-03 01:38:13 -07:00
react chore: update package versions 2025-09-03 01:38:13 -07:00
stack chore: update package versions 2025-09-03 01:38:13 -07:00
stack-sc chore: update package versions 2025-09-03 01:38:13 -07:00
stack-shared resend api key config (#851) 2025-09-11 14:58:10 -07:00
stack-ui chore: update package versions 2025-09-03 01:38:13 -07:00
template resend api key config (#851) 2025-09-11 14:58:10 -07:00