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

supabase / supabase-flutter / 28651454686
86%

Build:
DEFAULT BRANCH: main
Ran 03 Jul 2026 09:27AM UTC
Jobs 8
Files 81
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

03 Jul 2026 09:26AM UTC coverage: 86.046% (+0.03%) from 86.02%
28651454686

push

github

web-flow
feat(storage): add download option to signed and public URLs (#1514)

## What

Adds an optional `download` parameter to:

- `createSignedUrl`
- `createSignedUrlsResult` (and the deprecated `createSignedUrls`)
- `getPublicUrl`

Passing `true` appends `download=` so the CDN serves the file with a
`Content-Disposition: attachment` header using its original name;
passing a `String` overrides the download file name. `null`/`false`
leave the URL unchanged.

## Why

SDK parity: supabase-js accepts `download?: string | boolean` on these
methods. The Dart client had no way to force a download.

## Tests

- Mock-based unit tests cover `getPublicUrl` (original name, custom
name, disabled) and the signed-URL methods (appending `&download=` after
the existing `?token=` query).
- An end-to-end test uploads to a public bucket, then fetches the signed
and public URLs and asserts the real `Content-Disposition: attachment`
response header.

## Compliance

Marks `create_signed_url`, `create_signed_urls`, and `get_public_url`
implemented in `sdk-compliance.yaml`.

Resolves SDK-1166

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

4230 of 4916 relevant lines covered (86.05%)

4.0 hits per line

Jobs
ID Job ID Ran Files Coverage
6 supabase_flutter - 28651454686.6 03 Jul 2026 09:28AM UTC 11
79.57
GitHub Action Run
7 supabase - 28651454686.7 03 Jul 2026 09:27AM UTC 15
81.8
GitHub Action Run
8 storage_client - 28651454686.8 03 Jul 2026 09:29AM UTC 5
93.16
GitHub Action Run
7 postgrest - 28603435609.7 02 Jul 2026 03:56PM UTC 9
84.31
GitHub Action Run
3 yet_another_json_isolate - 28433368938.3 30 Jun 2026 09:12AM UTC 1
79.03
GitHub Action Run
8 realtime_client - 28613300326.8 02 Jul 2026 06:41PM UTC 11
89.15
GitHub Action Run
7 functions_client - 28444889808.7 30 Jun 2026 12:39PM UTC 2
98.57
GitHub Action Run
8 gotrue - 28536394514.8 01 Jul 2026 05:43PM UTC 27
84.74
GitHub Action Run
Source Files on build 28651454686
  • Tree
  • List 81
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28651454686
  • 2c0370c1 on github
  • Prev Build on main (#28649233599)
  • Next Build on main (#28652011952)
  • Delete
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