Skip to content

fix: reverts changes in batch API headers name - #615

Merged
pedro-stramantinoli merged 1 commit into
canaryfrom
revert-608-fix/change-headers-name
Sep 5, 2025
Merged

pedro-stramantinoli merged 1 commit into
canaryfrom
revert-608-fix/change-headers-name

Conversation

@pedro-stramantinoli

@pedro-stramantinoli pedro-stramantinoli commented Sep 3, 2025 •

Copy link
Copy Markdown
Contributor

Reverts #608

As explained in this revert PR, we are reverting because resend prefix is only for internal usage. And the Batch API is public.

Also, this header is not being used in prod, so no worries about breaking changes.


Summary by cubic

Reverts the Batch API header name back to x-batch-validation (from x-resend-batch-validation) in requests, tests, and types to match the public API. The prior change used an internal-only prefix; no production impact.

@pedro-stramantinoli
pedro-stramantinoli requested a review from a team as a code owner September 3, 2025 20:12
@pedro-stramantinoli pedro-stramantinoli changed the title Revert "fix: changes headers name to keep standard" fix: reverts changes in batch API headers name Sep 3, 2025

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

@pedro-stramantinoli
pedro-stramantinoli merged commit a1f0221 into canary Sep 5, 2025
@pedro-stramantinoli
pedro-stramantinoli deleted the revert-608-fix/change-headers-name branch September 5, 2025 11:50
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.

2 participants