Skip to content

chore: version packages - #153

Merged
Bccorb merged 1 commit into
mainfrom
changeset-release/main
Nov 7, 2026
Merged

Bccorb merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

seamless-templates@0.22.0

Minor Changes

  • 566d7b2: Show permission guards in the starters. Every API starter, and the Next.js starter, serves GET /reports (/api/reports in Next.js) behind its adapter's permission guard for reports:read, beside the existing betaUser role route. The React starters show the reports on the Session page with usePermissions().hasPermission, and the Angular, Vue, SvelteKit and Expo starters gate their reports UI with hasPermission; the server guard is what enforces. Each README and AGENTS.md has the steps to add a dedicated reportViewer role, create the permission and grant it to that role.

    Permissions need Seamless Auth API v0.23 or later. On v0.22 access tokens carry no permissions, so the guarded route answers 403 to everyone and the UI stays hidden.

    The starters move to the adapters and SDKs that carry the guard: @seamless-auth/express 0.25, @seamless-auth/fastify 0.16, @seamless-auth/nextjs 0.9, @seamless-auth/react 0.20, @seamless-auth/angular 0.5, @seamless-auth/vue 0.4, @seamless-auth/svelte 0.4, @seamless-auth/react-native 0.5, and seamless-auth 0.6 for Go, Rust and Python. With the Python 0.6 adapter, FastAPI guard refusals answer {"error": "<code>"} instead of {"detail": "<code>"}.

@Bccorb
Bccorb merged commit 7228816 into main Nov 7, 2026
@Bccorb
Bccorb deleted the changeset-release/main branch November 8, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant