Repository navigation
better-auth@0.12.0
Require Samva SDK 0.41 (af1a634)
Both adapters now require samva@^0.41.0 and validate against SDK 0.41.0.
Only the current SDK minor is supported; upgrade Samva alongside the adapter.
The adapter surface is unchanged. @samva/email-sdk still calls email.send with
a flat email payload and reads id; @samva/better-auth still calls
messages.send with { to, channel: "email", email }. The email payload and both
send responses keep the same shape in 0.41. What changed around them:
- Samva refuses quoted and non-ASCII local parts. Send bare addresses with ASCII
dot-atom local parts; Unicode domains are converted to punycode. - Topic IDs start with
tpc_instead ofunsub_, and requests that pass an
unsub_ID are rejected. Replace the prefix wherever you store a topic ID. - Suppression entries carry
namespaceId. A namespace credential lists, counts,
and removes only its own entries.
Pull request & contributors
Require Samva SDK 0.35 (700bd73)
Both adapters now require samva@^0.35.0 and validate against SDK 0.35.0.
Only the current SDK minor is supported; upgrade Samva alongside the adapter.
Pull request & contributors
Require Samva SDK 0.37 (0f3798e)
Both adapters now require samva@^0.37.0 and validate against SDK 0.37.0.
Only the current SDK minor is supported; upgrade Samva alongside the adapter.
The adapter surface is unchanged. @samva/email-sdk builds a flat email payload,
calls email.send, and reads id from the response. @samva/better-auth builds
{ to, channel: "email", email }, calls messages.send, and ignores the
response. Both contracts survived 0.36 and 0.37. What changed around them:
- Mailbox keys and extension installations carry decision policies instead of
sendMode. A held send returnsapprovalRequiredwith adecision; a person
approves with that decision'sreviewRound, and a stale round returns 409.
Replacing a policy requires the version you read asifVersion. samva0.37 removes the RSAv2helpers from the webhooks package.
Verify a delivery withverifyorverifyRequestfromsamva/webhooksand
the endpoint signing secret.- Template responses and create/update payloads no longer expose
isActive.
templates.deleteandtemplates.deleteProjectdelete permanently and refuse
a referenced template withTemplateInUseError(409). - Scheduled sends, analytics, and conversations accept
namespaceId, and an
agent's knowledge sources must belong to its namespace.