Skip to content

v0.2.1 — Webhook signature fix and rate limit headers

Choose a tag to compare

@shanjairaj7 shanjairaj7 released this 01 Mar 05:27
· 19 commits to main since this release

Patch release: webhook signature verification now correctly matches the backend protocol.

Fixes

  • verify_signature() updated to match the HMAC-SHA256 protocol used by the Commune backend (timestamp + body concatenation)
  • Rate limit headers (X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset) now exposed on API responses

Upgrading

pip install --upgrade commune-mail

No breaking changes. If you were calling verify_signature() manually, update to the new signature.