Skip to content

docs: Update SDK references from recent releases - #47830

Merged
grdsdev merged 17 commits into
masterfrom
docs/sdk-updates-20260710
Aug 4, 2026
Merged

grdsdev merged 17 commits into
masterfrom
docs/sdk-updates-20260710

Conversation

@grdsdev

@grdsdev grdsdev commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Updates SDK reference docs and the client-side tracing guide based on recent releases across all six Supabase SDKs.

SDKs analyzed

SDK Repo Latest commit Latest tag
js supabase/supabase-js e4e8864 v3.0.0-next.29
dart supabase/supabase-flutter c3e3602 yet_another_json_isolate-v2.1.1
py supabase/supabase-py 6570638 v3.0.0a1
swift supabase/supabase-swift ebef170 v2.51.0
kt supabase-community/supabase-kt e23df20 3.7.0-beta-1
csharp supabase-community/supabase-csharp 3fad62f v1.1.2

Documentation changes

apps/docs/spec/supabase_dart_v2.yml

  • OAuth Server API (supabase-flutter#1561): Added oauth-server-api group stub and listGrants() / revokeGrant() method entries, matching the existing common-client-libs-sections.json nav IDs.
  • listBuckets() options (supabase-flutter#1557): Added example showing ListBucketsOptions with search, limit, offset, sortColumn, and sortOrder.

apps/docs/spec/supabase_py_v2.yml

  • on_postgres_changes select param (supabase-py#1524): Added listening-to-selected-columns example for the new select=["id", "name"] parameter.
  • Expanded filter operators (supabase-py#1524): Updated listening-to-row-level-changes note to list all supported operators (eq, neq, lt, lte, gt, gte, in, like, ilike, is, match, imatch, isdistinct) plus not. prefix and comma-AND.

apps/docs/spec/supabase_swift_v2.yml

  • OpenTelemetry tracing setup (supabase-swift#1101): Added initialize-client-with-opentelemetry example under the initializing section documenting the OpenTelemetry SwiftPM package trait, provider wiring, and known _invokeWithStreamedResponse limitation.

apps/docs/content/guides/telemetry/client-side-tracing.mdx

  • Merged Swift and Dart tracing docs into the existing JS guide (supabase-swift#1101, supabase-flutter#1564).
  • Converted to tabbed layout (<Tabs queryGroup="language">) with JavaScript / Swift / Dart tabs, matching the pattern used across other multi-SDK guides.
  • Updated title to "Client-side tracing" and nav label accordingly.

SDKs with no doc-worthy changes

  • js: Bug fixes only (auth session clearing, realtime heartbeat suppression) — no new API surface.
  • kt: PKCE for resend() — behavioral enhancement, no new spec entry needed.
  • csharp: Chore/compliance/maintenance only.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Added Dart “OAuth Server” API docs for listing OAuth grants and revoking grants (including signed-in context and the clientId parameter), with examples.
    • Extended Dart Storage docs with a new listBuckets example using ListBucketsOptions for filtering, pagination, and sorting.
    • Updated Python Realtime docs with generalized PostgREST-style row filter operators and added examples for listening to selected columns.
    • Reworked the “Client-side tracing” guide across JS, Swift, and Dart, including expanded configuration and troubleshooting (trace propagation and traceparent details).
    • Renamed the telemetry navigation label to “Client-side tracing.”

Analyzed supabase/supabase-flutter and supabase/supabase-py commits.

dart (up to c3e3602):
- Add oauth-server-api group + listGrants/revokeGrant entries (PR #1561)
- Add listBuckets() with-options example for ListBucketsOptions (PR #1557)

py (up to 6570638):
- Add on_postgres_changes select param example (PR #1524)
- Expand filter operators note with all supported operators

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@grdsdev
grdsdev requested a review from a team as a code owner July 10, 2026 17:24
@vercel

vercel Bot commented Jul 10, 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, v0 Aug 4, 2026 12:38pm
6 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Aug 4, 2026 12:38pm
design-system Skipped Skipped Aug 4, 2026 12:38pm
studio-self-hosted Skipped Skipped Aug 4, 2026 12:38pm
studio-staging Skipped Skipped Aug 4, 2026 12:38pm
ui-library Skipped Skipped Aug 4, 2026 12:38pm
zone-www-dot-com Skipped Skipped Aug 4, 2026 12:38pm

Request Review

@supabase

supabase Bot commented Jul 10, 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 Jul 10, 2026
@coderabbitai

coderabbitai Bot commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The PR expands Dart OAuth and Storage API documentation, generalizes Python Realtime filter guidance, adds selected-column listening documentation, and broadens client-side tracing guidance across JavaScript, Swift, and Dart.

Changes

Client API documentation

Layer / File(s) Summary
Dart OAuth and Storage examples
apps/docs/spec/supabase_dart_v2.yml, apps/docs/scripts/generate-dart-reference.ts
Adds OAuth grant listing and revocation documentation, a ListBucketsOptions example, and treats the OAuth overview as a non-method reference entry.
Realtime filters and selected columns
apps/docs/spec/supabase_py_v2.yml
Generalizes row-level filter syntax and supported operators, and documents on_postgres_changes() column selection with select.

Client-side tracing documentation

Layer / File(s) Summary
Client-side tracing guide
apps/docs/content/guides/telemetry/client-side-tracing.mdx
Reorganizes the guide and documents JavaScript, Swift, and Dart propagation setup, troubleshooting, host restrictions, and log correlation.
Tracing reference and navigation
apps/docs/spec/supabase_swift_v2.yml, apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts, supa-mdx-lint/Rule003Spelling.toml
Adds Swift OpenTelemetry initialization reference content, renames the telemetry navigation entry to “Client-side tracing”, and allows “SwiftPM” in spelling checks.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

  • supabase/supabase#47224: Both changes touch the Dart v2 reference pipeline, including handling of YAML entries in generate-dart-reference.ts.

Suggested reviewers: ChrisChinchilla, jeremenichelli, kamilogorek

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning It covers the main changes, but misses required template sections like I have read, current behavior, new behavior, and additional context. Add the missing template sections: CONTRIBUTING acknowledgment, current behavior, new behavior, and any additional context or screenshots.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately summarizes the docs-focused SDK reference update.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/sdk-updates-20260710

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.

grdsdev and others added 7 commits July 10, 2026 14:26
Documents the opt-in SwiftPM OpenTelemetry trait added in
supabase/supabase-swift#1101 (v2.51.0). Adds an example under
initializing showing the Package.swift trait declaration and notes
on behavior (auto-inject, off by default, FunctionsClient exception).

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Covers supabase-swift#1101 (OpenTelemetry package trait, v2.51.0)
and supabase-flutter#1564 (TracePropagationOptions callback API).

Adds client-side-tracing-mobile.mdx with setup instructions for
both SDKs, options table, and log correlation notes. Registers the
guide in the telemetry nav after the existing JS tracing entry.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Consolidates client-side-tracing-mobile.mdx into client-side-tracing.mdx.
Updates title/description to cover JS, Swift, and Dart. Updates nav label
to 'Client-side tracing'. Removes the separate mobile guide file.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Wraps JS, Swift, and Dart sections in <Tabs queryGroup="language">
following the existing multi-SDK guide pattern. Shared intro and
log-correlation section remain outside the tabs.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@grdsdev grdsdev changed the title docs: Update Dart and Python SDK reference from recent releases docs: Update SDK references from recent releases Jul 10, 2026
@grdsdev
grdsdev requested a review from spydon July 10, 2026 17:45
Section-header entries are skipped when building method declarations;
without this the codegen exits 1 with 'no section mapping' error.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

@czenko czenko 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.

Minor pieces of feedback. Saw the tabbed behavior worked as expected on preview.

Reviewed for content. Recommend getting a technical reviewer for accuracy.

grdsdev and others added 5 commits July 10, 2026 19:36
- 'etc.' -> 'such as ... or' (Google: avoid etc.)
- 'takes care of propagating' -> 'only propagates' (informal phrasing)
- 'Make sure' -> 'Ensure' (Google: prefer ensure)

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Procedure sections (hands-on-keyboard) now use numbered steps
for clarity per docs review feedback.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
…260710

# Conflicts:
#	apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
#	apps/docs/content/guides/monitoring-and-debugging/client-side-tracing.mdx
#	apps/docs/spec/supabase_dart_v2.yml
@blacksmith-sh

This comment has been minimized.

grdsdev added 3 commits August 4, 2026 08:54
Page had h1 title followed directly by h3 headings inside Tabs, tripping the axe heading-order a11y check in Docs E2E.
Label still said 'Tracing with the JS SDK' after the guide expanded to cover Swift and Dart too.
@grdsdev
grdsdev merged commit 31d1a63 into master Aug 4, 2026
38 checks passed
@grdsdev
grdsdev deleted the docs/sdk-updates-20260710 branch August 4, 2026 12:58
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Braintrust eval report

Evals in progress... ⌛

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.

3 participants