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

supabase / supabase-swift / 42788534676
96%

Build:
DEFAULT BRANCH: main
Ran 10 Nov 2026 09:22AM UTC
Jobs 1
Files 218
Run time 1min
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

10 Nov 2026 09:10AM UTC coverage: 95.978% (+0.09%) from 95.885%
42788534676

push

github

web-flow
fix!: shared error kinds, and wrap every client-side refusal as `.invalidRequest` (#1778)

* fix!: shared error kinds, and wrap every client-side refusal as .invalidRequest

Auth, PostgREST and Realtime let raw Foundation errors escape when the
SDK refused to send a request. Every module now throws
<Module>Error(kind: .invalidRequest, underlyingError:) for a client-side
refusal, as Storage and Functions already did.

- Auth: add AuthError.Kind.invalidRequest; wrap every AuthAPI body and
  the provider URL builder.
- PostgREST: wrap insert, upsert, update and rpc body encoding.
- Realtime: make Kind.invalidRequest public (replaces internal
  encoding); use it for payload encoding, the watchOS block and a
  non-ws scheme.
- Realtime: upgradeFailed(status:) picks the kind from the status and
  sets response; the URLSession transport keeps the response headers.
- Supabase: postgresChanges(for:where:) throws instead of trapping on a
  filter Realtime cannot run.
- Fix the wrong `- Throws:` docs.

BREAKING CHANGE: client-side refusals throw AuthError, PostgrestError or
RealtimeError of kind .invalidRequest instead of EncodingError,
DecodingError or URLError. A refused Realtime upgrade is .unauthorized,
.rateLimited or .server instead of .transport. The watchOS block and a
non-ws scheme are .invalidRequest instead of .transport. The SPI
postgresChanges(for:where:) is async throws.

Fixes SDK-2866

* fix(realtime): move the HTTPURLResponse upgrade overload next to its caller

HTTPURLResponse lives in FoundationNetworking on Linux, which
RealtimeError.swift does not import.

142 of 146 new or added lines in 19 files covered. (97.26%)

15655 of 16311 relevant lines covered (95.98%)

670790.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
98.99
-0.49% Sources/Auth/Internal/AuthAPI.swift
Jobs
ID Job ID Ran Files Coverage
1 42788534676.1 10 Nov 2026 09:22AM UTC 218
95.98
GitHub Action Run
Source Files on build 42788534676
  • Tree
  • List 218
  • Changed 22
  • Source Changed 21
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42788534676
  • 31b10874 on github
  • Prev Build on main (#42782403622)
  • Next Build on main (#42802959846)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc