Repository navigation
docs: Update documentation from Dart, and Swift SDK changes - #47583
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
6 Skipped Deployments
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
📝 WalkthroughWalkthroughDocumentation specs for Dart and Swift client libraries were updated. Dart docs add a ChangesDocs spec additions
Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
a0dade4 to
dbc7e2f
Compare
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]>
dbc7e2f to
8f2b390
Compare
There was a problem hiding this comment.
♻️ Duplicate comments (1)
apps/docs/spec/supabase_swift_v2.yml (1)
5531-5544: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick winSame
note:vsdescription:inconsistency here.Duplicate of the issue at the
createSignedURLexample above — thisgetPublicURLdownload example also usesnote:instead of thedescription: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
📒 Files selected for processing (4)
apps/docs/spec/common-client-libs-sections.jsonapps/docs/spec/supabase_dart_v2.ymlapps/docs/spec/supabase_js_v2.ymlapps/docs/spec/supabase_swift_v2.yml
There was a problem hiding this comment.
Missed this commen! Reviewing now
…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).
Braintrust eval report
|
Summary
Updates reference specs based on new stable releases in two SDK repos (JS spec is auto-generated and was excluded).
Changes analyzed
supabase_flutter-v2.15.0...supabase_flutter-v2.15.4v2.48.0...v2.49.0Documentation updates
Dart (supabase_flutter-v2.15.0 → v2.15.4)
supabase_dart_v2.yml: UpdateddeleteUser()— addedshouldSoftDelete: boolparameter with examplesupabase_dart_v2.yml: Updatedfrom.createSignedUrl()— addeddownload: DownloadBehavior?parameter with examplesupabase_dart_v2.yml: Updatedfrom.getPublicUrl()— addeddownload: DownloadBehavior?parameter with examplesupabase_dart_v2.yml: Added newfrom-create-signed-upload-urlentry withupsert: boolparameter (was missing from the Dart spec)Swift (v2.48.0 → v2.49.0)
supabase_swift_v2.yml: Updatedexplain()— added note onExplainFormatenum (.text/.json), added JSON format examplesupabase_swift_v2.yml: UpdatedcreateBucket()andupdateBucket()examples —BucketOptions(public:)renamed toBucketOptions(isPublic:)supabase_swift_v2.yml: UpdatedcreateSignedURL()andgetPublicURL()download examples —download: Boolreplaced bydownload: DownloadBehavior?(.withOriginalName/.named())🤖 Generated with Claude Code
Summary by CodeRabbit