feat(webhooks): add suppression.added/removed event enum values - #143
Merged
Merged
Conversation
WebhookEvent had no SUPPRESSION_ADDED/SUPPRESSION_REMOVED members, unlike the Node SDK, so those events couldn't be subscribed to via the typed API. Note: could not run the Gradle test suite locally (no JDK available in this environment); changes are a straightforward enum addition with no existing test asserting an exhaustive list of values. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
klotty
approved these changes
Sep 17, 2026
klotty
left a comment
There was a problem hiding this comment.
No issues found across 2 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Adds SUPPRESSION_ADDED and SUPPRESSION_REMOVED to WebhookEvent enum for typed API parity with Node SDK, and bumps version to 4.26.0. No behavioral change beyond new enum constants; no tests affected. Bounded and clearly beneficial.
Re-trigger cubic
dielduarte
marked this pull request as ready for review
September 17, 2026 20:40
kewynakshlley
approved these changes
Sep 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
WebhookEventhad noSUPPRESSION_ADDED/SUPPRESSION_REMOVEDmembers, unlike the Node SDK, so those events couldn't be subscribed to via the typed API.4.26.0(rebased past the4.25.0release that had already claimed4.20.0, the version this branch originally bumped to).Test plan
WebhookEventvalues — please confirm CI is green before merging.🤖 Generated with Claude Code
Summary by cubic
Adds
SUPPRESSION_ADDEDandSUPPRESSION_REMOVEDtoWebhookEventso those suppression events can be subscribed to through the typed API, matching the Node SDK.4.26.0because4.25.0was already released.Written for commit 16e2ce8. Summary will update on new commits.