Skip to content

Tags: javascriptclassic/useSend

Tags

v1.8.0

Toggle v1.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(python-sdk): add webhook verification and event handling (usesen…

…d#344)

* feat(python-sdk): add webhook verification and event handling

Add webhook support to the Python SDK matching the JS SDK implementation:
- Add Webhooks class with verify() and construct_event() methods
- Implement HMAC-SHA256 signature verification with timing-safe comparison
- Add timestamp validation with configurable tolerance (default 5 minutes)
- Add comprehensive webhook event types (18 events: email, contact, domain, test)
- Add WebhookVerificationError with typed error codes
- Export webhook constants (headers) and types

* fix(python-sdk): harden webhook parsing and typing

Normalize invalid UTF-8 webhook payloads to INVALID_BODY errors so verify() safely returns false, and narrow base email webhook event types to avoid discriminated-union overlap. Add regression tests for both paths.

* chore(python-sdk): bump package version to 0.2.9

* feat(python-sdk): add local webhook test example project

Add a runnable Flask receiver and signed webhook sender under packages/python-sdk/example, and link it from the Python SDK README for local verification.

---------

Co-authored-by: Claude <noreply@anthropic.com>

v1.7.12

Toggle v1.7.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: enforce contact book ownership (usesend#341)

v1.7.11

Toggle v1.7.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix seg fault (usesend#329)

v1.7.10

Toggle v1.7.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Upgrade Next.js to 15.5.9 (usesend#326)

Co-authored-by: Claude <noreply@anthropic.com>

v1.7.9

Toggle v1.7.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix bar chart hover on zero delivery days (usesend#320)

Co-authored-by: Claude <noreply@anthropic.com>

v1.7.8

Toggle v1.7.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

v1.7.7

Toggle v1.7.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix version display in side navigation (usesend#306)

Co-authored-by: Claude <noreply@anthropic.com>

v1.7.6

Toggle v1.7.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Display Docker image version in sidebar (usesend#304)

Co-authored-by: Claude <noreply@anthropic.com>

v1.7.5

Toggle v1.7.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
update mintlify (usesend#302)

v1.7.4

Toggle v1.7.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add feedback dialog for cloud dashboard (usesend#293)