Update webhook schema to 2026-07-07. - #38
Merged
Merged
Conversation
Regenerate the webhook schema and update test fixtures for the new version. Co-authored-by: Cursor <cursoragent@cursor.com>
dimitraz
approved these changes
Jul 14, 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.
Regenerate the webhook schema and update test fixtures for the new version.
Note
Medium Risk
Minor semver bump but stricter version matching and broader accepted payload shapes can break consumers still on 2026-05-06 or code that assumed notes/users/tenants only matched the old schema.
Overview
Bumps
@team-plain/webhooksto webhook target version2026-07-07(changeset minor), updatingwebhook-schema.json, generatedwebhook-schema.ts, fixtures, and signature hashes inverify-plain-webhook.test.ts.Payload / type changes in this version:
webhookMetadata.webhookTargetVersionis now fixed to2026-07-07.componentUser.usermay be amachineUseras well as auser.threadStatusDetailaddsWAITING_INDEFINITELY. Tenantsourceaddsattioandemail_domain. Note / note-createdtextandmarkdownno longer requireminLength: 1(empty strings allowed, still capped at 10k).Integrators on older webhook targets must align SDK and Plain webhook version or validation will reject mismatched payloads.
Reviewed by Cursor Bugbot for commit fd782bf. Bugbot is set up for automated code reviews on this repo. Configure here.