Skip to content

Update webhook schema to 2026-07-07. - #38

Merged
mattvagni merged 1 commit into
mainfrom
update-webhook-schema-2026-07-07
Jul 14, 2026
Merged

Update webhook schema to 2026-07-07.#38
mattvagni merged 1 commit into
mainfrom
update-webhook-schema-2026-07-07

Conversation

@mattvagni

@mattvagni mattvagni commented Jul 14, 2026

Copy link
Copy Markdown
Member

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/webhooks to webhook target version 2026-07-07 (changeset minor), updating webhook-schema.json, generated webhook-schema.ts, fixtures, and signature hashes in verify-plain-webhook.test.ts.

Payload / type changes in this version: webhookMetadata.webhookTargetVersion is now fixed to 2026-07-07. componentUser.user may be a machineUser as well as a user. threadStatusDetail adds WAITING_INDEFINITELY. Tenant source adds attio and email_domain. Note / note-created text and markdown no longer require minLength: 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.

Regenerate the webhook schema and update test fixtures for the new version.

Co-authored-by: Cursor <cursoragent@cursor.com>
@mattvagni
mattvagni merged commit edef4d2 into main Jul 14, 2026
4 checks passed
@mattvagni
mattvagni deleted the update-webhook-schema-2026-07-07 branch July 14, 2026 11:26
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