Skip to content

feat: add broadcasts.cancel() method - #1064

Merged
dielduarte merged 2 commits into
mainfrom
broadcasts-cancel-main
Aug 10, 2026
Merged

feat: add broadcasts.cancel() method#1064
dielduarte merged 2 commits into
mainfrom
broadcasts-cancel-main

Conversation

@dielduarte

@dielduarte dielduarte commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Cherry-picks broadcasts.cancel() (feat: add broadcasts.cancel() method #1059, 33273b2) from preview-headless-dashboard onto main.
  • Cancel is shipping straight to GA (no beta banner, no feature-flag gate — see resend/resend-monorepo#8126 and resend/resend-docs#1722), so it doesn't belong stuck behind the preview-headless-dashboard prerelease line with metrics/recipients. This gets it into the next stable release instead.
  • Adds broadcasts.cancel(id), calling POST /broadcasts/:id/cancel, no body. Mirrors emails.cancel().
  • Bumps version to 6.19.0 (minor, additive method).

Part of the broadcast cancel rollout: resend/resend-monorepo#8126, resend/resend-openapi#85, resend/resend-docs#1722, resend/resend-go#144, resend/resend-java#122, resend/resend-php#135, resend/resend-python#250, resend/resend-ruby#216, resend/resend-rust#91, resend/resend-dotnet#136.

Test plan

  • Clean cherry-pick from preview-headless-dashboard, diff identical to the original 4-file change
  • vitest run src/broadcasts/broadcasts.spec.ts — 21/21 passing
  • biome check src/broadcasts — clean
  • tsc --noEmit — pre-existing node10 moduleResolution deprecation warning on main unrelated to this change (verified via a clean origin/main worktree)

🤖 Generated with Claude Code

@pkg-pr-new

pkg-pr-new Bot commented Aug 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/resend@1064

commit: 909022a

New minor version for the additive broadcasts.cancel() method.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@dielduarte
dielduarte marked this pull request as ready for review August 10, 2026 19:57
@dielduarte
dielduarte requested a review from a team as a code owner August 10, 2026 19:57
@dielduarte
dielduarte requested review from rehanvdm and removed request for a team August 10, 2026 19:57

@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.

0 issues found across 1 file (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Adds a new public SDK method with a new backend endpoint call and a version bump, expanding the library's API surface in a GA release; the endpoint contract and release decision need human sign-off.

Re-trigger cubic

@dielduarte
dielduarte merged commit ade6ecc into main Aug 10, 2026
11 of 12 checks passed
@dielduarte
dielduarte deleted the broadcasts-cancel-main branch August 10, 2026 21:11
dielduarte added a commit that referenced this pull request Aug 10, 2026
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