• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-swift
81%
main: 81%

Build:
Build:
LAST BUILD BRANCH: claude/kind-wilson-5cee0b
DEFAULT BRANCH: main
Repo Added 05 Apr 2024 04:25PM UTC
Files 90
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH v3
branch: v3
CHANGE BRANCH
x
Reset
  • v3
  • alamofire
  • chore-review-actions
  • chore/improve-release-workflow
  • chore/semantic-release-fix
  • chore/update-github-app-token-action
  • ci-refactor
  • ci/allow-any-scope
  • ci/conventionalc-commits
  • ci/fix-deprecated-action
  • ci/linux-tests
  • ci/xcode16-3
  • claude/affectionate-jennings-eea1f3
  • claude/charming-euler-49c5a1
  • claude/condescending-heisenberg-400ea1
  • claude/cool-ardinghelli-3fcde3
  • claude/eager-faraday-dd1cf7
  • claude/ecstatic-nightingale-be577c
  • claude/gallant-hermann-acd578
  • claude/gifted-edison-591b54
  • claude/gracious-leakey-8dda1c
  • claude/hopeful-easley-c2c542
  • claude/intelligent-newton-6257fd
  • claude/keen-driscoll-dbc8b1
  • claude/kind-wilson-5cee0b
  • claude/nifty-northcutt-b07ff4
  • claude/nostalgic-meninsky-4fba6f
  • claude/practical-cohen-a59c77
  • claude/sharp-dhawan-9aeba8
  • claude/stupefied-wilson-90c6d1
  • claude/vibrant-carson-674f4a
  • claude/vibrant-lewin
  • claude/xenodochial-euler-923e8a
  • claude/zealous-gould-478cb1
  • coveralls
  • dependabot/github_actions/actions/cache-5.0.5
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-6.0.3
  • dependabot/github_actions/actions/create-github-app-token-3.2.0
  • dependabot/github_actions/coverallsapp/github-action-2.3.6
  • dependabot/github_actions/googleapis/release-please-action-5.0.0
  • dependabot/github_actions/lewagon/wait-on-check-action-1.4.0
  • dependabot/github_actions/supabase/setup-cli-2.0.0
  • dependabot/github_actions/supabase/setup-cli-2.0.1
  • dependabot/github_actions/supabase/setup-cli-2.1.1
  • dependabot/npm_and_yarn/conventional-changelog-conventionalcommits-9.1.0
  • dependabot/npm_and_yarn/semantic-release/exec-7.1.0
  • dependabot/swift/github.com/apple/swift-crypto-3.10.2
  • dependabot/swift/github.com/apple/swift-crypto-3.11.1
  • dependabot/swift/github.com/apple/swift-crypto-3.12.2
  • dependabot/swift/github.com/apple/swift-crypto-3.12.3
  • dependabot/swift/github.com/apple/swift-crypto-3.13.3
  • dependabot/swift/github.com/apple/swift-crypto-3.14.0
  • dependabot/swift/github.com/apple/swift-crypto-3.15.0
  • dependabot/swift/github.com/apple/swift-crypto-3.15.1
  • dependabot/swift/github.com/apple/swift-crypto-4.0.0
  • dependabot/swift/github.com/apple/swift-crypto-4.1.0
  • dependabot/swift/github.com/apple/swift-crypto-4.2.0
  • dependabot/swift/github.com/apple/swift-crypto-4.3.0
  • dependabot/swift/github.com/apple/swift-crypto-4.3.1
  • dependabot/swift/github.com/apple/swift-crypto-4.4.0
  • dependabot/swift/github.com/apple/swift-crypto-4.5.0
  • dependabot/swift/github.com/pointfreeco/swift-concurrency-extras-1.3.2
  • dependabot/swift/github.com/pointfreeco/swift-concurrency-extras-1.4.0
  • dependabot/swift/github.com/pointfreeco/swift-custom-dump-1.3.4
  • dependabot/swift/github.com/pointfreeco/swift-custom-dump-1.4.1
  • dependabot/swift/github.com/pointfreeco/swift-custom-dump-1.5.0
  • dependabot/swift/github.com/pointfreeco/swift-custom-dump-1.6.0
  • dependabot/swift/github.com/pointfreeco/swift-snapshot-testing-1.17.7
  • dependabot/swift/github.com/pointfreeco/swift-snapshot-testing-1.18.0
  • dependabot/swift/github.com/pointfreeco/swift-snapshot-testing-1.18.1
  • dependabot/swift/github.com/pointfreeco/swift-snapshot-testing-1.18.3
  • dependabot/swift/github.com/pointfreeco/swift-snapshot-testing-1.18.4
  • dependabot/swift/github.com/pointfreeco/swift-snapshot-testing-1.18.6
  • dependabot/swift/github.com/pointfreeco/swift-snapshot-testing-1.18.7
  • dependabot/swift/github.com/pointfreeco/swift-snapshot-testing-1.18.9
  • dependabot/swift/github.com/pointfreeco/swift-snapshot-testing-1.19.1
  • dependabot/swift/github.com/pointfreeco/swift-snapshot-testing-1.19.2
  • dependabot/swift/github.com/pointfreeco/xctest-dynamic-overlay-1.5.1
  • dependabot/swift/github.com/pointfreeco/xctest-dynamic-overlay-1.5.2
  • dependabot/swift/github.com/pointfreeco/xctest-dynamic-overlay-1.6.0
  • dependabot/swift/github.com/pointfreeco/xctest-dynamic-overlay-1.6.1
  • dependabot/swift/github.com/pointfreeco/xctest-dynamic-overlay-1.7.0
  • dependabot/swift/github.com/pointfreeco/xctest-dynamic-overlay-1.8.0
  • dependabot/swift/github.com/pointfreeco/xctest-dynamic-overlay-1.8.1
  • dependabot/swift/github.com/pointfreeco/xctest-dynamic-overlay-1.9.0
  • docs/spi
  • drop-depreacted-realtime
  • drop-old-os-versions
  • drop-swift-5-10
  • etienne/sec-666-pin-all-github-actions-to-full-commit-sha
  • examples/tpa-clerk
  • feat/add-force-function-region-query-param
  • feat/auth-admin
  • feat/broadcast-replay-support
  • feat/ci-improvements
  • feat/ci-matrix-optimization
  • feat/enhance-examples-ux
  • feat/functions-custom-encoder
  • feat/functions-http-client
  • feat/get-claims-method
  • feat/helpers-http-client
  • feat/http-client-helper
  • feat/integration-tests-ci
  • feat/oauth-client-admin-endpoints
  • feat/realtime-explicit-rest-call
  • feat/realtime-protocol-v2
  • feat/realtime-v2-serializer
  • feat/sdk-1043-trace-context-propagation
  • feat/semantic-release-setup
  • feat/storage-download-query-items
  • feat/storage-multipart
  • feat/storage-resumable-downloads
  • feature/Realtime-Filters
  • feature/realtime-retry-improvements
  • fix-decoder-encoder-instances
  • fix-mfa-unenroll-response-id
  • fix-realtime-event-wildcard-skipped
  • fix-snapshot-resources
  • fix/auth-remove-session-when-session-revoked
  • fix/auth-sync
  • fix/dependencies-crash
  • fix/drop-swift-59
  • fix/exports
  • fix/postgrest-retry-503
  • fix/push-mainactor
  • fix/realtime-callback-guard-subscribing
  • fix/realtime-race-conditions-and-bugs
  • fix/replace-trait-with-runtime-config
  • fix/rpc-sendability-params
  • fix/sdk-1033-implicit-grant-error-query-param
  • fix/sdk-1040-corrupt-session-storage-returns-nil
  • fix/semantic-release
  • fix/spm-direct-deps-xcode26
  • fix/swift-concurrency-improvements
  • fix/websocket-connect-race-condition
  • grdsdev-patch-1
  • grdsdev/api-stability-check
  • grdsdev/auth-biometrics
  • grdsdev/ci-job-timeouts
  • grdsdev/fix-functions-tests-deps
  • grdsdev/fix-integration-tests-ci
  • grdsdev/functions-streaming
  • grdsdev/optional-signedurl-storage
  • grdsdev/spm-build-analysis
  • grdsdev/storage-setheader
  • grdsdev/v3-remove-deprecated
  • grdsdev/xcode-26-swift-6-3-ci
  • guilherme/android-ci
  • guilherme/auth/increase-code-coverage
  • guilherme/broadcast-changes-improvement
  • guilherme/clibs-107-supabase-swift-change-default-heartbeat-interval-to-25s
  • guilherme/clibs-117-supabase-swift-send-standard-client-headers-on-all-requests
  • guilherme/clibs-126-supabase-swiftsourcesauthauthclientswift11226-error
  • guilherme/clibs-155-session-gets-removed-when-refresh_token-request-gets
  • guilherme/clibs-158-supabase-swift-add-heartbeat-callback
  • guilherme/clibs-190-edge-function-timeout-60-seconds
  • guilherme/clibs-219-supabase-swift-add-presence-enabled-flag-to-join-push
  • guilherme/clibs-227-supabaseclientexecute-fails-to-compile-inside-mainactor
  • guilherme/clibs-229-supabase-swift-use-dedicated-storage-host-for-storage-lib
  • guilherme/clibs-234-infinite-realtime-re-subscribes-after-keeping-the-app-open
  • guilherme/clibs-246-make-api-key-mandatory-in-supabase-swift-realtime-client
  • guilherme/clibs-283-supabase-swift-implement-linkidentity-with-oidc
  • guilherme/clibs-360-xcode-26-supabase-swift-sdk-buildruntime-errors
  • guilherme/clibs-378-supabase-swift-implement-maxaffected-method
  • guilherme/create-os-log-supabase-logger
  • guilherme/example-facebook
  • guilherme/fix-allow-default-service
  • guilherme/fix-auth-client-id
  • guilherme/fix-crash-auth
  • guilherme/fix-realtime-race-condition
  • guilherme/fix-sample-app-warnings
  • guilherme/fix-use-issue-reporting
  • guilherme/fix/remove-jwt-check
  • guilherme/functions-client-actor
  • guilherme/ghost-initial-session
  • guilherme/increase-code-coverage
  • guilherme/increase-code-coverage-functions
  • guilherme/increase-test-coverage
  • guilherme/postgrest-code-coverage
  • guilherme/realtime-code-coverage
  • guilherme/realtime-mainactor
  • guilherme/refactor-URLQueryRepresentable
  • guilherme/remove-deprecated-auth-code
  • guilherme/sdk-499-swift-review-swift-oauth-methods-and-implement-missing-ones
  • guilherme/sdk-525-duplicate-sdk-522-for-swift
  • guilherme/sdk-532-swift-verify-optional-refs-handling-in-message-serialization
  • guilherme/sdk-700-paritypostgrest-add-url-length-validation-and-timeout
  • guilherme/sdk-714-chore-set-minimum-swift-version-to-61-and-xcode-to-163-for
  • guilherme/sdk-771-featpostgrest-add-automatic-retries-for-transient-errors
  • guilherme/sdk-806-choreci-enforce-ci-passing-before-release-and-run-spm-build
  • guilherme/storage-tests
  • iat/add-x-provider
  • main
  • new-http-layer
  • patch-1
  • realtime-refactor-with-actor
  • refactor/auth-session-state-machine
  • refactor/function-region-type
  • refactor/storage-http-client
  • refactor/websocket-impl-improvements
  • release-please--branches--main
  • release/v3.0.0
  • remove-deprecated-code
  • restore-release-please
  • stacked/pr1-multipart
  • stacked/pr2-tus
  • stacked/pr3-downloads
  • stacked/pr4-polish
  • style/code-format
  • test-release-workflow
  • test/add-test-for-asyncvaluesubject
  • test/realtime-api-and-task-lifecycle
  • tests/integration-tests
  • tests/realtime
  • update-deps

28 Apr 2026 12:57PM UTC coverage: 80.858% (-0.6%) from 81.408%
25054157007

Pull #917

github

grdsdev
feat(functions): functions v3 (#923)

* feat(helpers): add _HTTPClient with RequestBody and separate query/body params

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(helpers): add TokenProvider support to _HTTPClient

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor(helpers): stream UInt8 bytes instead of single-byte Data chunks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(functions): migrate to _HTTPClient, remove old HTTP layer from Functions

- Replace HTTPClientType/HTTPClient/FetchHandler with _HTTPClient
- FunctionInvokeOptions.headers and query now use [String: String]
- _invokeWithStreamedResponse is now async throws
- SupabaseClient passes session + tokenProvider to FunctionsClient
- Remove RequestTests.swift (covered by inline snapshots in FunctionsClientTests)
- Add package access modifiers to _HTTPClient types

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor(functions): convert FunctionsClient to actor, simplify streaming API

- Convert FunctionsClient from Sendable class with LockIsolated to actor
- Replace _invokeWithStreamedResponse (URLSessionDataDelegate-based) with
  invokeStream returning AsyncThrowingStream<UInt8, any Error> via _HTTPClient
- fetchStream now async throws and returns (stream, HTTPURLResponse) tuple,
  allowing pre-stream validation (errors thrown before stream is returned)
- Remove StreamResponseDelegate class
- Set session timeout via configuration instead of per-request
- Fix relay error header name typo (x-relay -> x-relay-error)
- Update FunctionsClientTests and SupabaseClient for actor isolation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(functions): catch HTTPClientError and convert to FunctionsError in rawInvoke

_HTTPClient.fetchData now throws HTTPClientError.responseError on non-2xx
responses. FunctionsClient.rawInvoke catches it and converts to the
public FunctionsError.httpError type.

Co-Authored-B... (continued)
Pull Request #917: feat!: v3

305 of 378 new or added lines in 29 files covered. (80.69%)

28 existing lines in 4 files now uncovered.

7198 of 8902 relevant lines covered (80.86%)

31.72 hits per line

Relevant lines Covered
Build:
Build:
8902 RELEVANT LINES 7198 COVERED LINES
31.72 HITS PER LINE
Source Files on v3
  • Tree
  • List 91
  • Changed 38
  • Source Changed 36
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25054157007 v3 feat(functions): functions v3 (#923) * feat(helpers): add _HTTPClient with RequestBody and separate query/body params Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(helpers): add TokenProvider support to _HTTPClient Co-Author... Pull #917 28 Apr 2026 01:06PM UTC grdsdev github
80.86
25054158782 v3 Merge 9e0637908 into 055683bd2 Pull #917 28 Apr 2026 01:06PM UTC web-flow github
81.08
25040085328 v3 fix(realtime): Swift 6 Sendable fixes for RealtimeClientV2 and tests - Constrain lifecycleManager to Sendable & AnyObject to satisfy Swift 6 strict concurrency in RealtimeClientV2 - Add @unchecked Sendable to RealtimeChannelBroadcastTests (Task... Pull #917 28 Apr 2026 07:43AM UTC grdsdev github
79.76
25040087551 v3 Merge aef63d63c into 6c14fd292 Pull #917 28 Apr 2026 07:41AM UTC web-flow github
79.98
23863966727 v3 feat(helpers): add _HTTPClient (#942) * feat(helpers): add _HTTPClient with RequestBody and separate query/body params Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(helpers): add TokenProvider support to _HTTPClient Co-Autho... Pull #917 01 Apr 2026 06:26PM UTC web-flow github
78.69
23064833049 v3 chore: set minimum Swift version to 6.1 and Xcode to 16.3+ for v3.0 (#918) * chore: set minimum Swift version to 6.1 and Xcode to 16.3+ for v3.0 Update supabase-swift SDK minimum requirements from Swift 5.10/Xcode 15.3+ to Swift 6.1/Xcode 16.3+ ... Pull #917 13 Mar 2026 06:29PM UTC web-flow github
80.38
19146794111 v3 Merge 09594c1c5 into adc881e06 Pull #833 06 Nov 2025 07:17PM UTC web-flow github
81.14
19045552076 v3 Merge 590f70a23 into adc881e06 Pull #833 03 Nov 2025 07:00PM UTC web-flow github
81.06
19037839322 v3 Merge 2564588d7 into adc881e06 Pull #833 03 Nov 2025 02:29PM UTC web-flow github
81.03
19034622106 v3 Merge c0ee495bb into a83512bd9 Pull #833 03 Nov 2025 12:57PM UTC web-flow github
81.0
See All Builds (769)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc