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

supabase / supabase-swift / 28599450566
81%

Build:
DEFAULT BRANCH: main
Ran 02 Jul 2026 03:00PM UTC
Jobs 1
Files 94
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

02 Jul 2026 02:52PM UTC coverage: 80.998% (+0.007%) from 80.991%
28599450566

push

github

web-flow
feat(postgrest): add ExplainFormat enum for explain(format:) (#1050)

* feat(postgrest): add ExplainFormat enum for explain(format:)

Introduce a type-safe ExplainFormat enum (.text / .json) for the
explain() plan format, giving compile-time safety instead of an
untyped String. The existing String-based overload is kept and marked
deprecated so current callers keep compiling, making this a
non-breaking change. Both overloads forward to a single private
implementation.

* refactor(postgrest): make ExplainFormat an open-ended struct in Types.swift

Address review: use a RawRepresentable struct instead of a closed enum so
callers can pass future PostgREST plan formats (e.g. ExplainFormat(rawValue:
"yaml")) without waiting for an SDK release, and move it to module top-level
alongside CountOption/TextSearchType. Also resolves the ambiguous DocC
cross-reference between the two explain() overloads.

* chore(postgrest): register ExplainFormat in sdk-compliance.yaml

The capability-matrix check flags ExplainFormat as new public API. Attribute
it under database.using_modifiers.explain.

* refactor(postgrest): move deprecated explain(format:String) to Deprecated.swift

Keep all deprecated declarations under Deprecated.swift so they are easy to
drop at the next major release. The deprecated string overload now forwards to
the ExplainFormat overload via ExplainFormat(rawValue:); the main explain
method no longer needs a shared private helper.

4 of 4 new or added lines in 2 files covered. (100.0%)

7502 of 9262 relevant lines covered (81.0%)

36.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28599450566.1 02 Jul 2026 03:00PM UTC 94
81.0
GitHub Action Run
Source Files on build 28599450566
  • Tree
  • List 94
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28599450566
  • 441abb80 on github
  • Prev Build on main (#28598361940)
  • Next Build on main (#28606434297)
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