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

supabase / supabase-flutter / 37470514274
92%

Build:
DEFAULT BRANCH: main
Ran 06 Oct 2026 01:26PM UTC
Jobs 11
Files 174
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

06 Oct 2026 01:24PM UTC coverage: 91.497% (+0.02%) from 91.48%
37470514274

push

github

web-flow
feat(postgrest)!: require a filter or all() on typed update() and delete() (#1913)

## Summary

The typed `update()` and `delete()` returned a
`PostgrestTypedFilterBuilder`, which is awaitable, so `await
client.table(Books.table).delete()` compiled and deleted every row in
the table.

They now return a `PostgrestTypedUnscopedBuilder<Row>`, a type with two
methods and no `Future` interface:

- `where(filter)` scopes the mutation to the matching rows.
- `all()` opts into writing every row in the table.

Both return the `PostgrestTypedFilterBuilder<Row, void>` the mutation
used to start with, so everything after them (`select()`,
`maxAffected()`, request options, further `where()` calls) is unchanged.
A mutation without one of them does not compile. The insert half, which
rejects a filter after `insert()` and `upsert()`, was already in place.

`update()` and `delete()` on `from()` are unchanged. Every existing call
site already filtered, so only the types moved.

## Changes

- `packages/postgrest/lib/src/postgrest_typed_unscoped_builder.dart`:
the new builder.
- `postgrest_typed_query_builder.dart`: `update()` and `delete()` return
it.
- `typed_query_test.dart`: static shape of the chain, `all()` on an
update and a delete renders no filter, a filter after `all()` scopes the
request, transforms and `select()` on a scoped mutation.
- `MIGRATION.md`: a v3 section next to the insert filter one, and a note
in the typed table guide.
- `sdk-compliance.yaml`: the new symbols registered under
`database.mutate.update` and `database.mutate.delete`.

## Verification

- `melos analyze`, `melos format`, `dcm analyze` on postgrest: clean.
- `dart test -j 1` in `packages/postgrest` against the local stack: 583
passed.
- `supabase_typegen` behavior tests, which use typed writes: passed.
- Compliance symbol, drift and schema checks at the pinned
`capability-matrix/v1.14.0`: passed.

Swift equivalent: supabase/supabase-swift#1425.

Fixes SDK-2123

<!-- This is an auto-gene... (continued)

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

17 existing lines in 1 file now uncovered.

9297 of 10161 relevant lines covered (91.5%)

5.22 hits per line

Coverage Regressions

Lines Coverage ∆ File
17
72.06
-4.61% packages/supabase_auth/lib/src/types/jwt.dart
Jobs
ID Job ID Ran Files Coverage
3 supabase_flutter - 37470514274.3 06 Oct 2026 01:27PM UTC 15
81.0
GitHub Action Run
4 postgrest - 37470514274.4 06 Oct 2026 01:29PM UTC 30
93.56
GitHub Action Run
5 supabase - 37470514274.5 06 Oct 2026 01:30PM UTC 18
94.3
GitHub Action Run
6 supabase_auth - 37470514274.6 06 Oct 2026 01:31PM UTC 32
92.13
GitHub Action Run
7 supabase_typegen - 37470514274.7 06 Oct 2026 01:29PM UTC 24
96.19
GitHub Action Run
8 supabase_realtime - 37470514274.8 06 Oct 2026 01:30PM UTC 13
90.67
GitHub Action Run
9 supabase_functions - 37470514274.9 06 Oct 2026 01:26PM UTC 4
96.04
GitHub Action Run
10 supabase_storage - 37470514274.10 06 Oct 2026 01:29PM UTC 9
98.1
GitHub Action Run
11 iceberg - 37470514274.11 06 Oct 2026 01:26PM UTC 6
68.57
GitHub Action Run
6 yet_another_json_isolate - 36864123641.6 01 Oct 2026 12:48PM UTC 1
98.44
GitHub Action Run
6 supabase_common - 37446858483.6 06 Oct 2026 10:02AM UTC 22
87.55
GitHub Action Run
Source Files on build 37470514274
  • Tree
  • List 174
  • Changed 7
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37470514274
  • 4705528d on github
  • Prev Build on main (#37469753458)
  • Next Build on main (#37471661362)
  • Delete
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