Skip to content

docs: Update documentation from Dart, and Swift SDK changes - #47583

Merged
grdsdev merged 1 commit into
masterfrom
docs/sdk-updates-multi-2026-07-03
Jul 8, 2026
Merged

grdsdev merged 1 commit into
masterfrom
docs/sdk-updates-multi-2026-07-03

Conversation

@grdsdev

@grdsdev grdsdev commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Updates reference specs based on new stable releases in two SDK repos (JS spec is auto-generated and was excluded).

Changes analyzed

SDK Repo Stable tag range
dart supabase/supabase-flutter supabase_flutter-v2.15.0...supabase_flutter-v2.15.4
swift supabase/supabase-swift v2.48.0...v2.49.0

Documentation updates

Dart (supabase_flutter-v2.15.0 → v2.15.4)

  • supabase_dart_v2.yml: Updated deleteUser() — added shouldSoftDelete: bool parameter with example
  • supabase_dart_v2.yml: Updated from.createSignedUrl() — added download: DownloadBehavior? parameter with example
  • supabase_dart_v2.yml: Updated from.getPublicUrl() — added download: DownloadBehavior? parameter with example
  • supabase_dart_v2.yml: Added new from-create-signed-upload-url entry with upsert: bool parameter (was missing from the Dart spec)

Swift (v2.48.0 → v2.49.0)

  • supabase_swift_v2.yml: Updated explain() — added note on ExplainFormat enum (.text/.json), added JSON format example
  • supabase_swift_v2.yml: Updated createBucket() and updateBucket() examples — BucketOptions(public:) renamed to BucketOptions(isPublic:)
  • supabase_swift_v2.yml: Updated createSignedURL() and getPublicURL() download examples — download: Bool replaced by download: DownloadBehavior? (.withOriginalName / .named())

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Added guidance for soft-deleting users, including a new example.
    • Documented download behavior for signed URLs and public URLs, including original or custom filenames.
    • Added documentation and examples for generating signed upload URLs, with optional overwrite support.
    • Expanded query plan documentation to show JSON output.
    • Updated storage examples to match the latest option names and recommended usage.

@vercel

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

Request Review

@supabase

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

coderabbitai Bot commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Documentation specs for Dart and Swift client libraries were updated. Dart docs add a shouldSoftDelete parameter to deleteUser(), a download parameter to createSignedUrl()/getPublicUrl(), and a new createSignedUploadUrl() section. Swift docs update explain() format documentation, BucketOptions field naming, and download examples.

Changes

Docs spec additions

Layer / File(s) Summary
Dart soft-delete user support
apps/docs/spec/supabase_dart_v2.yml
Adds optional shouldSoftDelete boolean parameter to deleteUser() docs with a new soft-delete example.
Dart storage download and signed upload URL docs
apps/docs/spec/supabase_dart_v2.yml
Adds download: DownloadBehavior parameter to createSignedUrl() and getPublicUrl(), and introduces a new createSignedUploadUrl() section with basic and upsert examples.
Swift explain format documentation
apps/docs/spec/supabase_swift_v2.yml
Adds notes on the format parameter for explain() and a new example returning a JSON execution plan.
Swift storage bucket and download option updates
apps/docs/spec/supabase_swift_v2.yml
Renames BucketOptions.public to isPublic in bucket examples and updates createSignedURL/getPublicURL download examples to use .withOriginalName with revised notes.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Suggested reviewers: ferhatelmas, ChrisChinchilla

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is informative, but it does not follow the required template sections like CONTRIBUTING.md, current behavior, and new behavior. Add the missing template sections: CONTRIBUTING.md YES/NO, change type, current behavior, new behavior, and additional context/issues.
✅ Passed checks (4 passed)
Check name Status Explanation
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.
Title check ✅ Passed The title is concise and matches the docs-focused Dart and Swift updates in the PR.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/sdk-updates-multi-2026-07-03

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
grdsdev force-pushed the docs/sdk-updates-multi-2026-07-03 branch from a0dade4 to dbc7e2f Compare July 3, 2026 19:58
Analyzed stable releases:
- supabase-js: v2.108.2...v2.110.0
- supabase-flutter: supabase_flutter-v2.15.0...supabase_flutter-v2.15.4
- supabase-swift: v2.48.0...v2.49.0

Co-Authored-By: Claude <[email protected]>
@grdsdev
grdsdev force-pushed the docs/sdk-updates-multi-2026-07-03 branch from dbc7e2f to 8f2b390 Compare July 3, 2026 19:59
@grdsdev grdsdev changed the title docs: Update documentation from JS, Dart, and Swift SDK changes docs: Update documentation from Dart, and Swift SDK changes Jul 3, 2026

@coderabbitai coderabbitai Bot 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.

♻️ Duplicate comments (1)
apps/docs/spec/supabase_swift_v2.yml (1)

5531-5544: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Same note: vs description: inconsistency here.

Duplicate of the issue at the createSignedURL example above — this getPublicURL download example also uses note: instead of the description: key used everywhere else in the spec.

🐛 Proposed fix
             .getPublicURL(
               path: "folder/avatar1.png",
               download: .withOriginalName
             )
           ```
-        note: |
+        description: |
           Use `.withOriginalName` to download with the original file name, or `.named("custom.png")` to specify a custom file name. The `download: Bool` overload still compiles but is disfavored.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/docs/spec/supabase_swift_v2.yml` around lines 5531 - 5544, The
getPublicURL example uses the wrong metadata key, creating a note/description
inconsistency in the spec. Update the download example entry for getPublicURL to
use description: instead of note:, matching the surrounding spec conventions and
the createSignedURL example. Keep the rest of the example content unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In `@apps/docs/spec/supabase_swift_v2.yml`:
- Around line 5531-5544: The getPublicURL example uses the wrong metadata key,
creating a note/description inconsistency in the spec. Update the download
example entry for getPublicURL to use description: instead of note:, matching
the surrounding spec conventions and the createSignedURL example. Keep the rest
of the example content unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: cc48e0e9-0243-4d85-b94d-88fc192a6947

📥 Commits

Reviewing files that changed from the base of the PR and between 4b7cb27 and a0dade4.

📒 Files selected for processing (4)
  • apps/docs/spec/common-client-libs-sections.json
  • apps/docs/spec/supabase_dart_v2.yml
  • apps/docs/spec/supabase_js_v2.yml
  • apps/docs/spec/supabase_swift_v2.yml

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@spydon please review these changes.

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.

Missed this commen! Reviewing now

@grdsdev
grdsdev requested review from a team and spydon July 3, 2026 20:01
@grdsdev
grdsdev merged commit 4791220 into master Jul 8, 2026
33 checks passed
@grdsdev
grdsdev deleted the docs/sdk-updates-multi-2026-07-03 branch July 8, 2026 10:09
spydon added a commit that referenced this pull request Jul 8, 2026
…nce updates

Adds Dart reference entries and shared nav for features shipped in
supabase-flutter over the last month (parity with supabase-js):

- auth: OAuth 2.1 server authorization API (oauth.getAuthorizationDetails/
  approveAuthorization/denyAuthorization)
- auth admin: custom OIDC/OAuth providers admin API (admin.customProviders.*)
- postgrest: explain() format option
- realtime: onHeartbeat, onPostgresChanges pattern/negated/multi filters and
  column selection

Renames the shared OAuth Server nav ids to neutral ids so both the JS and Dart
reference pages render them. Registers the two new group-header ids with the
Dart reference converter so it skips them instead of treating them as methods.

Excludes items already covered by #47583 (createSignedUploadUrl, download URL
option, deleteUser shouldSoftDelete).
@github-actions

github-actions Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1783505547)

Score Average Improvements Regressions
Knowledge Usage 89.5% (-8pp) 1 🟢 2 🔴
Tool Usage 66% (-5pp) - 1 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Time_to_first_token 2.74tok (-0.5tok) 22 🟢 7 🔴
Llm_calls 2.63 (-0.37) 5 🟢 17 🔴
Tool_calls 2.72 (-0.31) 5 🟢 14 🔴
Errors 5.39 (+0.11) 3 🟢 7 🔴
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 22641.43tok (-867.15tok) 12 🟢 13 🔴
Prompt_cached_tokens 7168tok (-870.99tok) 8 🟢 15 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 578.76tok (-35.1tok) 19 🟢 10 🔴
Completion_reasoning_tokens 86.9tok (-26.29tok) 18 🟢 8 🔴
Total_tokens 23220.18tok (-902.25tok) 13 🟢 16 🔴
Estimated_cost 0$ (0$) 11 🟢 14 🔴
Duration 15.44s (-3s) 24 🟢 5 🔴
Llm_duration 10.18s (-2.07s) 25 🟢 4 🔴

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