Repository navigation
fix(storage): correct signedUrl type to allow null in createSignedUrls - #2254
Merged
Merged
Conversation
@supabase/auth-js
@supabase/functions-js
@supabase/postgrest-js
@supabase/realtime-js
@supabase/storage-js
@supabase/supabase-js
commit: |
o-santi
previously approved these changes
Apr 15, 2026
mandarini
force-pushed
the
fix/storage-create-signed-urls-type
branch
from
April 15, 2026 14:16
e6b87d6 to
d30e01d
Compare
mandarini
enabled auto-merge (squash)
April 15, 2026 14:32
o-santi
approved these changes
Apr 15, 2026
This was referenced Apr 16, 2026
This was referenced Apr 20, 2026
mandarini
pushed a commit
to supabase/ssr
that referenced
this pull request
Apr 20, 2026
This PR updates `@supabase/supabase-js` to v2.104.0. **Source**: supabase-js-stable-release --- ## Release Notes ## v2.104.0 ## 2.104.0 (2026-04-20) ### 🚀 Features - **storage:** extract shared header normalization utility ([#2251](supabase/supabase-js#2251)) ### ❤️ Thank You - Katerina Skroumpelou @mandarini ## v2.103.3 ## 2.103.3 (2026-04-16) ### 🩹 Fixes - **realtime:** throw Error objects instead of bare strings ([#2256](supabase/supabase-js#2256)) - **storage:** correct signedUrl type to allow null in createSignedUrls ([#2254](supabase/supabase-js#2254)) ### ❤️ Thank You - Katerina Skroumpelou @mandarini - oniani1 This PR was created automatically. Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com>
mandarini
pushed a commit
to supabase/supabase
that referenced
this pull request
Apr 20, 2026
This PR updates @supabase/*-js libraries to version 2.104.0. **Source**: supabase-js-stable-release **Changes**: - Updated @supabase/supabase-js to 2.104.0 - Updated @supabase/auth-js to 2.104.0 - Updated @supabase/realtime-js to 2.104.0 - Updated @supabase/postgest-js to 2.104.0 - Refreshed pnpm-lock.yaml --- ## Release Notes ## v2.104.0 ## 2.104.0 (2026-04-20) ### 🚀 Features - **storage:** extract shared header normalization utility ([#2251](supabase/supabase-js#2251)) ### ❤️ Thank You - Katerina Skroumpelou @mandarini ## v2.103.3 ## 2.103.3 (2026-04-16) ### 🩹 Fixes - **realtime:** throw Error objects instead of bare strings ([#2256](supabase/supabase-js#2256)) - **storage:** correct signedUrl type to allow null in createSignedUrls ([#2254](supabase/supabase-js#2254)) ### ❤️ Thank You - Katerina Skroumpelou @mandarini - oniani1 This PR was created automatically. Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com>
1 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
createSignedUrlsreturn type declaredsignedUrlasstring, but when a requested path does not exist the Storage server returnssignedURL: nullfor that item and the client maps it tonullin the ternary. This corrects the type tostring | nullso consumers can handle the partial-failure case without a type assertion. The mismatch was not caught by the compiler because the internalpost()helper returnsPromise<any>.