diff --git a/.changeset/extensibility-schemas.md b/.changeset/extensibility-schemas.md deleted file mode 100644 index 98046c6..0000000 --- a/.changeset/extensibility-schemas.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@seamless-auth/types': minor ---- - -Add schemas for webhooks, login hooks, custom claims and audit sinks (API ADR 0005). - -- Webhooks: endpoint and delivery schemas, the event catalog with one payload schema per type, and the versioned envelope. Header names, the replay tolerance and the retry schedule are in `@seamless-auth/types/webhook/constants`, with no Zod import. -- Login hooks: configuration per trigger (`post_login`, `pre_token`), the call body Seamless sends, the result a hook returns, and the invocation log. -- Custom claims: claim sets per instance role, organization role and OpenID Provider client, held to a 1 KiB budget. The reserved claim names are in `@seamless-auth/types/customClaim/reserved`, with no Zod import. -- Audit sinks: OTLP and syslog settings, sink status, and `AuditExportEventSchema`, the `seamless-auth-events/1` line every sink and export writes. -- New audit event types for managing and running all four. diff --git a/CHANGELOG.md b/CHANGELOG.md index 21ed616..5103b07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # @seamless-auth/types +## 0.39.0 + +### Minor Changes + +- 10ac02a: Add schemas for webhooks, login hooks, custom claims and audit sinks (API ADR 0005). + + - Webhooks: endpoint and delivery schemas, the event catalog with one payload schema per type, and the versioned envelope. Header names, the replay tolerance and the retry schedule are in `@seamless-auth/types/webhook/constants`, with no Zod import. + - Login hooks: configuration per trigger (`post_login`, `pre_token`), the call body Seamless sends, the result a hook returns, and the invocation log. + - Custom claims: claim sets per instance role, organization role and OpenID Provider client, held to a 1 KiB budget. The reserved claim names are in `@seamless-auth/types/customClaim/reserved`, with no Zod import. + - Audit sinks: OTLP and syslog settings, sink status, and `AuditExportEventSchema`, the `seamless-auth-events/1` line every sink and export writes. + - New audit event types for managing and running all four. + ## 0.38.0 ### Minor Changes diff --git a/package.json b/package.json index a5585d9..2f772fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@seamless-auth/types", - "version": "0.38.0", + "version": "0.39.0", "description": "Shared TypeScript types and Zod schemas for SeamlessAuth.", "author": "Fells Code, LLC", "license": "Apache-2.0",