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

supabase / supabase-swift / 31580837832
84%

Build:
DEFAULT BRANCH: main
Ran 12 Aug 2026 09:02AM UTC
Jobs 1
Files 102
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

12 Aug 2026 08:59AM UTC coverage: 84.272% (-0.3%) from 84.53%
31580837832

push

github

web-flow
fix(postgrest): escape reserved characters in array filter values (#1126)

* fix(postgrest): escape reserved characters in array filter values

Array's PostgrestFilterValue.rawValue joined elements with commas inside
{...} without escaping, so an element containing a comma, brace, quote,
backslash, surrounding whitespace, or the literal NULL corrupted the array
literal — e.g. ["a,b"] became {a,b}, which PostgREST reads as two separate
values. Quote and backslash-escape elements that need it, mirroring the
existing in() filter escaping. Nested array literals ({...}) pass through
unchanged so arrays of arrays keep working.

* fix(postgrest): encode nested arrays and NULL array members by type, not rawValue shape

Array's rawValue guessed nested-array vs. NULL semantics from the shape of
each element's rawValue string, which meant a scalar String that happened to
look like "{a,b}" was misread as a nested array, and Optional.none/AnyJSON.null
were quoted as the string "NULL" instead of an actual SQL NULL array member.
Add a typed PostgrestArrayLiteralElementEncodable contract so Array, Optional,
and AnyJSON declare their own array-literal encoding instead.

---------

Co-authored-by: Guilherme Souza <guilherme@supabase.io>

2 of 34 new or added lines in 2 files covered. (5.88%)

8771 of 10408 relevant lines covered (84.27%)

39.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
66.67
-30.95% Sources/PostgREST/PostgrestFilterValue.swift
12
45.45
-54.55% Sources/Helpers/PostgRESTFilterValue.swift
Jobs
ID Job ID Ran Files Coverage
1 31580837832.1 12 Aug 2026 09:02AM UTC 102
84.27
GitHub Action Run
Source Files on build 31580837832
  • Tree
  • List 102
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31580837832
  • e0ef7b39 on github
  • Prev Build on main (#31579350572)
  • Next Build on main (#31580890787)
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