Skip to content

docs: Update documentation from dart SDK changes - #47006

Merged
grdsdev merged 1 commit into
masterfrom
docs/sdk-updates-dart-20260616
Jun 17, 2026
Merged

grdsdev merged 1 commit into
masterfrom
docs/sdk-updates-dart-20260616

Conversation

@grdsdev

@grdsdev grdsdev commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Updates docs based on stable releases in supabase/supabase-flutter.

Changes analyzed

Documentation updates

apps/docs/spec/supabase_dart_v2.yml — adds entries for the new passkey APIs landed in supabase_flutter-v2.15.0 (gotrue#1392, supabase_flutter#1408):

  • signInWithPasskey() / registerPasskey() — high-level helpers on supabase_flutter that drive the full WebAuthn ceremony.
  • auth.passkey.* — server side of the WebAuthn ceremony: list, update, delete, startRegistration, verifyRegistration, startAuthentication, verifyAuthentication.
  • auth.admin.passkey.* — admin endpoints: listPasskeys, deletePasskey.

apps/docs/content/guides/auth/passkeys.mdx — adds Dart code examples to every passkey section (Enable in the client, Register, Sign in, Two-step API, Manage, Admin API) and points the reference links at both the JavaScript and Dart specs. Bumps the "Requires" admonition to include supabase_flutter v2.15.0.

Other v2.14.2 / v2.15.0 changes that did not require doc updates:

  • feat(realtime): protocol format 2.0.0 — protocol versions are already documented in realtime/protocol.mdx; the SDK now defaults to v2.0.0 but exposes a version: RealtimeProtocolVersion.v1 opt-out, which is an SDK detail rather than a docs change.
  • fix(gotrue): support asymmetric JWTs in getClaims — bug fix to the existing auth.getClaims (no new API).
  • The rest are bug fixes and internal refactors (storage createSignedUrls null handling, postgrest stack traces, gotrue refresh-token races, PKCE email-change, realtime deaf-socket guards, lint/test/CI hygiene).

common-client-libs-sections.json already contains entries for every new spec id, so the sidebar nav picks them up automatically.


🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Added Dart language examples to passkey authentication guide covering client initialization, user registration, sign-in workflows, two-step ceremony flows, and passkey management operations
    • Updated Dart client specification to document new passkey authentication functions and admin-level passkey management capabilities

Analyzed stable releases supabase_flutter-v2.14.1...supabase_flutter-v2.15.0

- Add Dart passkey (WebAuthn) entries to supabase_dart_v2.yml
  (auth.signInWithPasskey / registerPasskey, auth.passkey.*, auth.admin.passkey.*)
- Add Dart code examples to the passkeys guide
@vercel

vercel Bot commented Jun 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment, Open in v0 Jun 16, 2026 6:34pm
6 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jun 16, 2026 6:34pm
design-system Skipped Skipped Jun 16, 2026 6:34pm
studio-self-hosted Skipped Skipped Jun 16, 2026 6:34pm
studio-staging Skipped Skipped Jun 16, 2026 6:34pm
ui-library Skipped Skipped Jun 16, 2026 6:34pm
zone-www-dot-com Skipped Skipped Open in v0 Jun 16, 2026 6:34pm

Request Review

@supabase

supabase Bot commented Jun 16, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 16, 2026
@coderabbitai

coderabbitai Bot commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: c93f9a80-3fa6-40fd-a37f-a44fa61c17e5

📥 Commits

Reviewing files that changed from the base of the PR and between 92e79e6 and 0132edb.

📒 Files selected for processing (2)
  • apps/docs/content/guides/auth/passkeys.mdx
  • apps/docs/spec/supabase_dart_v2.yml

📝 Walkthrough

Walkthrough

The PR adds Dart passkey support to the docs by converting all code sections in passkeys.mdx to language-tabbed panels (JS + Dart) and introducing the complete Dart passkey API surface in supabase_dart_v2.yml, including top-level auth methods, a passkey namespace, and an admin passkey namespace.

Changes

Dart Passkey Documentation

Layer / File(s) Summary
Dart spec: signInWithPasskey, registerPasskey, passkey and admin namespaces
apps/docs/spec/supabase_dart_v2.yml
Adds signInWithPasskey() and registerPasskey() to supabase.auth, the supabase.auth.passkey namespace with list, update, delete, startRegistration, verifyRegistration, startAuthentication, and verifyAuthentication methods, and an admin-only supabase.auth.admin.passkey namespace with listPasskeys and deletePasskey.
Guide preamble updates and Enable-in-client Dart tab
apps/docs/content/guides/auth/passkeys.mdx
Updates the experimental admonition version note and the ceremony step wording to cover mobile/desktop plugins, then converts the Enable-in-client section to tabbed layout adding a Dart initialization panel.
Register, sign-in, and two-step API Dart tabs
apps/docs/content/guides/auth/passkeys.mdx
Converts Register a passkey, Sign in with a passkey, and Two-step API (start/verify registration and authentication) sections to language tabs and adds Dart implementations including AuthException error handling.
Manage passkeys and Admin API Dart tabs
apps/docs/content/guides/auth/passkeys.mdx
Adds Dart tabs to the Manage passkeys section (list/rename/delete) and the Admin API section (list/delete by user ID), and updates the admin reference link to include Dart.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • supabase/supabase#46340: Modifies the same passkeys.mdx guide, establishing the original registration/authentication guide structure that this PR extends with Dart-tabbed examples.

Suggested labels

documentation

Suggested reviewers

  • ChrisChinchilla
  • o-santi

Poem

🐇 Hop, hop — now Dart joins the key!
No more JS-only passkey spree,
With signInWithPasskey() in tow,
And tabs that let the language show,
The bunny types in Dart with glee! 🎉

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is partially related but overly broad. It mentions 'dart SDK changes' generically without specifying the main change (passkey APIs). Consider a more specific title like 'docs: Add Dart passkey authentication examples and API specs' to clearly indicate the primary documentation change.
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description is well-structured and comprehensive. It follows the expected format, explains the changes clearly, provides context with SDK versions and commit ranges, and references relevant pull requests.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/sdk-updates-dart-20260616

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@spydon spydon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

final supabase = Supabase.instance.client;
```

Platform setup that the library cannot do for you (Associated Domains on iOS/macOS, Digital Asset Links on Android, and including the [`passkeys`](https://pub.dev/packages/passkeys) web SDK in `index.html` on web) is documented in the `supabase_flutter` package README.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we link to the readme here?

@grdsdev
grdsdev merged commit f4c3e26 into master Jun 17, 2026
32 checks passed
@grdsdev
grdsdev deleted the docs/sdk-updates-dart-20260616 branch June 17, 2026 09:12
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1781687684)

Score Average Improvements Regressions
Completeness 98.9% (+2pp) 2 🟢 -
Conciseness 46% (+8pp) 11 🟢 2 🔴
Correctness 68.9% (-3pp) 1 🟢 3 🔴
Goal Completion 79.3% (+3pp) 7 🟢 4 🔴
Knowledge Usage 94.9% (+0pp) 1 🟢 1 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Tool Usage 72.5% (-1pp) 1 🟢 2 🔴
Docs Faithfulness 66.3% (-5pp) 4 🟢 5 🔴
URL Validity 100% - -
Safety 95.2% (+0pp) - -
Time_to_first_token 0tok (0tok) 15 🟢 13 🔴
Llm_calls 7.53 (+0.51) 19 🟢 6 🔴
Tool_calls 3.13 (+0.15) 11 🟢 9 🔴
Errors 0 (-0.11) 1 🟢 -
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 24064.68tok (-1130.8tok) 12 🟢 13 🔴
Prompt_cached_tokens 9004.14tok (+1747.86tok) 18 🟢 7 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 605.37tok (+13.6tok) 15 🟢 14 🔴
Completion_reasoning_tokens 101.01tok (+22.22tok) 7 🟢 19 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 24670.05tok (-1117.21tok) 15 🟢 14 🔴
Estimated_cost 0$ (0$) 18 🟢 9 🔴
Duration 15.23s (-0.25s) 10 🟢 19 🔴
Llm_duration 10.07s (+0.83s) 14 🟢 15 🔴

matlin pushed a commit that referenced this pull request Jun 22, 2026
## Summary

Updates docs based on stable releases in `supabase/supabase-flutter`.

## Changes analyzed

- **SDK**: dart
- **Repo**: https://github.com/supabase/supabase-flutter
- **Stable tag range**:
`supabase_flutter-v2.14.1...supabase_flutter-v2.15.0`
- **Commits**:
`81c1590728a5e08bebdc152bd59a7c1e7644c8b2...9030650b74e253020f8c614b3bfb2c993b6061af`

## Documentation updates

`apps/docs/spec/supabase_dart_v2.yml` — adds entries for the new passkey
APIs landed in `supabase_flutter-v2.15.0`
([gotrue#1392](supabase/supabase-flutter#1392),
[supabase_flutter#1408](supabase/supabase-flutter#1408)):

- `signInWithPasskey()` / `registerPasskey()` — high-level helpers on
`supabase_flutter` that drive the full WebAuthn ceremony.
- `auth.passkey.*` — server side of the WebAuthn ceremony: `list`,
`update`, `delete`, `startRegistration`, `verifyRegistration`,
`startAuthentication`, `verifyAuthentication`.
- `auth.admin.passkey.*` — admin endpoints: `listPasskeys`,
`deletePasskey`.

`apps/docs/content/guides/auth/passkeys.mdx` — adds Dart code examples
to every passkey section (Enable in the client, Register, Sign in,
Two-step API, Manage, Admin API) and points the reference links at both
the JavaScript and Dart specs. Bumps the "Requires" admonition to
include `supabase_flutter v2.15.0`.

Other v2.14.2 / v2.15.0 changes that did not require doc updates:

- `feat(realtime): protocol format 2.0.0` — protocol versions are
already documented in `realtime/protocol.mdx`; the SDK now defaults to
v2.0.0 but exposes a `version: RealtimeProtocolVersion.v1` opt-out,
which is an SDK detail rather than a docs change.
- `fix(gotrue): support asymmetric JWTs in getClaims` — bug fix to the
existing `auth.getClaims` (no new API).
- The rest are bug fixes and internal refactors (storage
`createSignedUrls` null handling, postgrest stack traces, gotrue
refresh-token races, PKCE email-change, realtime deaf-socket guards,
lint/test/CI hygiene).

`common-client-libs-sections.json` already contains entries for every
new spec `id`, so the sidebar nav picks them up automatically.

---

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Added Dart language examples to passkey authentication guide covering
client initialization, user registration, sign-in workflows, two-step
ceremony flows, and passkey management operations
* Updated Dart client specification to document new passkey
authentication functions and admin-level passkey management capabilities

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants