diff --git a/.changeset/application-response-older-api.md b/.changeset/application-response-older-api.md deleted file mode 100644 index cbb9ce8..0000000 --- a/.changeset/application-response-older-api.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@seamless-auth/types': patch ---- - -`OidcApplicationSchema` reads a missing `sessionExchangeEnabled` as `false`. 0.36.0 made the field required, so a client on 0.36.0 refused the application list from any API older than v0.23, which does not send it. diff --git a/.changeset/public-oidc-provider.md b/.changeset/public-oidc-provider.md deleted file mode 100644 index d9ca60f..0000000 --- a/.changeset/public-oidc-provider.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@seamless-auth/types': minor ---- - -Lets an instance tell a native admin tool how to sign in through its OpenID Provider (ADR 0003). `SystemConfigSchema` and `SystemConfigPatchSchema` gain `oidc_cli_client_id`, a string or `null` that defaults to `null`, so a config from an older API still parses. `PublicSystemConfigResponseSchema` gains an optional `oidcProvider: { issuer, cliClientId }`. It is optional because an older API does not send it, and a client must treat its absence as "this instance does not advertise a provider" and offer email code sign-in. The inferred `SystemConfig` type now includes `oidc_cli_client_id`, so code that builds a full `SystemConfig` by hand has to set it. diff --git a/CHANGELOG.md b/CHANGELOG.md index 911f508..8e196d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # @seamless-auth/types +## 0.37.0 + +### Minor Changes + +- 8569fd4: Lets an instance tell a native admin tool how to sign in through its OpenID Provider (ADR 0003). `SystemConfigSchema` and `SystemConfigPatchSchema` gain `oidc_cli_client_id`, a string or `null` that defaults to `null`, so a config from an older API still parses. `PublicSystemConfigResponseSchema` gains an optional `oidcProvider: { issuer, cliClientId }`. It is optional because an older API does not send it, and a client must treat its absence as "this instance does not advertise a provider" and offer email code sign-in. The inferred `SystemConfig` type now includes `oidc_cli_client_id`, so code that builds a full `SystemConfig` by hand has to set it. + +### Patch Changes + +- 808f78e: `OidcApplicationSchema` reads a missing `sessionExchangeEnabled` as `false`. 0.36.0 made the field required, so a client on 0.36.0 refused the application list from any API older than v0.23, which does not send it. + ## 0.36.0 ### Minor Changes diff --git a/package.json b/package.json index fd0fb2d..3626df5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@seamless-auth/types", - "version": "0.36.0", + "version": "0.37.0", "description": "Shared TypeScript types and Zod schemas for SeamlessAuth.", "author": "Fells Code, LLC", "license": "Apache-2.0",