Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .tegami/2026-11-05-sdk-035.md

This file was deleted.

28 changes: 0 additions & 28 deletions .tegami/2026-11-08-sdk-037.md

This file was deleted.

52 changes: 26 additions & 26 deletions .tegami/publish-lock.yaml
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
core:changelogs:
- content: "---\npackages:\n \"@samva/better-auth\":\n type: minor\n \"@samva/email-sdk\":\n type: minor\n---\n\n## Require Samva SDK 0.33\n\nUpgrade `samva` to `^0.33.0` alongside either adapter. Only the current 0.x SDK\nminor is supported; adapter development and tests now use `0.33.0`.\n\nBoth adapters pick up the default-on retry the SDK gained in 0.30: reads and\nidempotent mutations are retried up to four attempts, and an explicit\n`{ idempotencyKey }` in the second argument is the only way to pin a key across\ncalls.\n"
filename: 2026-11-02-require-samva-0-33.md
- content: "---\npackages:\n \"@samva/better-auth\":\n type: minor\n \"@samva/email-sdk\":\n type: minor\n---\n\n## Require Samva SDK 0.37\n\nBoth adapters now require `samva@^0.37.0` and validate against SDK 0.37.0.\nOnly the current SDK minor is supported; upgrade Samva alongside the adapter.\n\nThe adapter surface is unchanged. `@samva/email-sdk` builds a flat email payload,\ncalls `email.send`, and reads `id` from the response. `@samva/better-auth` builds\n`{ to, channel: \"email\", email }`, calls `messages.send`, and ignores the\nresponse. Both contracts survived 0.36 and 0.37. What changed around them:\n\n- Mailbox keys and extension installations carry decision policies instead of\n `sendMode`. A held send returns `approvalRequired` with a `decision`; a person\n approves with that decision's `reviewRound`, and a stale round returns 409.\n Replacing a policy requires the version you read as `ifVersion`.\n- `samva` 0.37 removes the RSA `v2` helpers from the webhooks package.\n Verify a delivery with `verify` or `verifyRequest` from `samva/webhooks` and\n the endpoint signing secret.\n- Template responses and create/update payloads no longer expose `isActive`.\n `templates.delete` and `templates.deleteProject` delete permanently and refuse\n a referenced template with `TemplateInUseError` (409).\n- Scheduled sends, analytics, and conversations accept `namespaceId`, and an\n agent's knowledge sources must belong to its namespace.\n"
filename: 2026-11-08-sdk-037.md
v: 0.0.0
- content: "---\npackages:\n \"@samva/better-auth\":\n type: minor\n \"@samva/email-sdk\":\n type: minor\n---\n\n## Require Samva SDK 0.34\n\nUpgrade `samva` to `^0.34.0` alongside either adapter. Only the current 0.x SDK\nminor is supported; adapter development and tests now use `0.34.0`.\n\n0.34 adds a `kind: \"replay\"` webhook delivery attempt with\n`classification: \"skipped\"` and a `queueMessageId` for replays of terminal\ndeliveries. Those receipts make no HTTP request and do not advance the\nautomatic retry lifecycle, so attempt counts that assume every entry is a\nrequest need to filter on `kind` first.\n"
filename: 2026-11-03-require-samva-0-34.md
- content: "---\npackages:\n \"@samva/better-auth\":\n type: minor\n \"@samva/email-sdk\":\n type: minor\n---\n\n## Require Samva SDK 0.35\n\nBoth adapters now require `samva@^0.35.0` and validate against SDK 0.35.0.\nOnly the current SDK minor is supported; upgrade Samva alongside the adapter.\n"
filename: 2026-11-05-sdk-035.md
v: 0.0.0
core:packages:
- changelogIds:
- 2026-11-02-require-samva-0-33.md
- 2026-11-03-require-samva-0-34.md
- 2026-11-08-sdk-037.md
- 2026-11-05-sdk-035.md
id: npm:@samva/email-sdk
updated: true
- id: npm:better-auth-nextjs-samva
updated: false
- changelogIds:
- 2026-11-02-require-samva-0-33.md
- 2026-11-03-require-samva-0-34.md
- 2026-11-08-sdk-037.md
- 2026-11-05-sdk-035.md
id: npm:@samva/better-auth
updated: true
- id: npm:effect-sdk-example
updated: false
- id: npm:mailbox-agent-samva
updated: false
- id: npm:tanstack-start-transactional-samva
updated: false
- id: npm:supabase-auth-hook-samva
- id: npm:tsx-template-samva
updated: false
- id: npm:astro-email-samva
- id: npm:effect-sdk-example
updated: false
- id: npm:tsx-template-samva
- id: npm:clerk-webhook-samva
updated: false
- id: npm:react-email-samva
updated: false
- id: npm:tanstack-start-transactional-samva
updated: false
- id: npm:nextjs-transactional-samva
updated: false
- id: npm:clerk-webhook-samva
- id: npm:supabase-auth-hook-samva
updated: false
- id: npm:better-auth-nextjs-samva
- id: npm:astro-email-samva
updated: false
- id: npm:hono-cloudflare-workers-samva
updated: false
- id: npm:sveltekit-transactional-samva
updated: false
- id: npm:inbound-email-replies-samva
updated: false
- id: npm:hono-cloudflare-workers-samva
updated: false
npm:packages:
- id: npm:@samva/email-sdk
- id: npm:better-auth-nextjs-samva
- id: npm:@samva/better-auth
- id: npm:effect-sdk-example
- id: npm:mailbox-agent-samva
- id: npm:tanstack-start-transactional-samva
- id: npm:supabase-auth-hook-samva
- id: npm:astro-email-samva
- id: npm:tsx-template-samva
- id: npm:effect-sdk-example
- id: npm:clerk-webhook-samva
- id: npm:react-email-samva
- id: npm:tanstack-start-transactional-samva
- id: npm:nextjs-transactional-samva
- id: npm:clerk-webhook-samva
- id: npm:better-auth-nextjs-samva
- id: npm:supabase-auth-hook-samva
- id: npm:astro-email-samva
- id: npm:hono-cloudflare-workers-samva
- id: npm:sveltekit-transactional-samva
- id: npm:inbound-email-replies-samva
- id: npm:hono-cloudflare-workers-samva
4 changes: 2 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions packages/better-auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
## @samva/better-auth@0.12.0

### Require Samva SDK 0.37

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 returns `approvalRequired` with a `decision`; a person
approves with that decision's `reviewRound`, and a stale round returns 409.
Replacing a policy requires the version you read as `ifVersion`.
- `samva` 0.37 removes the RSA `v2` helpers from the webhooks package.
Verify a delivery with `verify` or `verifyRequest` from `samva/webhooks` and
the endpoint signing secret.
- Template responses and create/update payloads no longer expose `isActive`.
`templates.delete` and `templates.deleteProject` delete permanently and refuse
a referenced template with `TemplateInUseError` (409).
- Scheduled sends, analytics, and conversations accept `namespaceId`, and an
agent's knowledge sources must belong to its namespace.

### Require Samva SDK 0.35

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.

## @samva/better-auth@0.11.0

### Require Samva SDK 0.33
Expand Down
2 changes: 1 addition & 1 deletion packages/better-auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@samva/better-auth",
"version": "0.11.0",
"version": "0.12.0",
"description": "Better Auth email callbacks powered by Samva.",
"keywords": [
"auth",
Expand Down
30 changes: 30 additions & 0 deletions packages/email-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
## @samva/email-sdk@0.13.0

### Require Samva SDK 0.37

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 returns `approvalRequired` with a `decision`; a person
approves with that decision's `reviewRound`, and a stale round returns 409.
Replacing a policy requires the version you read as `ifVersion`.
- `samva` 0.37 removes the RSA `v2` helpers from the webhooks package.
Verify a delivery with `verify` or `verifyRequest` from `samva/webhooks` and
the endpoint signing secret.
- Template responses and create/update payloads no longer expose `isActive`.
`templates.delete` and `templates.deleteProject` delete permanently and refuse
a referenced template with `TemplateInUseError` (409).
- Scheduled sends, analytics, and conversations accept `namespaceId`, and an
agent's knowledge sources must belong to its namespace.

### Require Samva SDK 0.35

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.

## @samva/email-sdk@0.12.0

### Require Samva SDK 0.33
Expand Down
2 changes: 1 addition & 1 deletion packages/email-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@samva/email-sdk",
"version": "0.12.0",
"version": "0.13.0",
"description": "Samva community adapter for Email SDK.",
"keywords": [
"email",
Expand Down