Repository navigation
feat(storage): add cacheNonce parameter for download - #2234
Conversation
@supabase/auth-js
@supabase/functions-js
@supabase/postgrest-js
@supabase/realtime-js
@supabase/storage-js
@supabase/supabase-js
commit: |
|
Looks good to me, but I want storage team to give a final "ok" on the choice of |
mandarini
left a comment
There was a problem hiding this comment.
@7ttp the storage team (@ferhatelmas and @fenos ) prefer we call the URL param cacheNonce instead of _v. Can you please make this change? So, wherever there's version or _v just change to cacheNonce.
Also, it would be amazing if you could update the docs here: https://github.com/supabase/supabase/blob/master/apps/docs/content/guides/storage/cdn/smart-cdn.mdx to mention cacheNonce instead of version in the "Bypassing cache" section.
done! 💚😅
here's the PR: supabase/supabase#44679 |
smol follow up to: - supabase/supabase-js#2234 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Improved Smart CDN documentation with updated cache-bypass instructions. The guidance now uses the `cacheNonce` query parameter to clarify how to force the CDN to fetch fresh content from origin. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This PR updates @supabase/*-js libraries to version 2.103.0. **Source**: supabase-js-stable-release **Changes**: - Updated @supabase/supabase-js to 2.103.0 - Updated @supabase/auth-js to 2.103.0 - Updated @supabase/realtime-js to 2.103.0 - Updated @supabase/postgest-js to 2.103.0 - Refreshed pnpm-lock.yaml --- ## Release Notes ## v2.103.0 ## 2.103.0 (2026-04-09) ### 🚀 Features - **postgrest:** add stripNulls method for null value stripping ([#2189](supabase/supabase-js#2189)) - **storage:** add cacheNonce parameter for download ([#2234](supabase/supabase-js#2234)) ### 🩹 Fixes - **postgrest:** fix scalar computed column type inference for isNotNullable and SETOF scalar ([#2224](supabase/supabase-js#2224)) ### ❤️ Thank You - Katerina Skroumpelou @mandarini - Seydi Charyyev @TheSeydiCharyyev - Vaibhav @7ttp This PR was created automatically. Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com>
This PR updates `@supabase/supabase-js` to v2.103.0. **Source**: supabase-js-stable-release --- ## Release Notes ## v2.103.0 ## 2.103.0 (2026-04-09) ### 🚀 Features - **postgrest:** add stripNulls method for null value stripping ([#2189](supabase/supabase-js#2189)) - **storage:** add cacheNonce parameter for download ([#2234](supabase/supabase-js#2234)) ### 🩹 Fixes - **postgrest:** fix scalar computed column type inference for isNotNullable and SETOF scalar ([#2224](supabase/supabase-js#2224)) ### ❤️ Thank You - Katerina Skroumpelou @mandarini - Seydi Charyyev @TheSeydiCharyyev - Vaibhav @7ttp This PR was created automatically. Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com>
TL;DR
this PR extends/replaces #2153 and sorts the reviewed suggestions!!
ref
https://supabase.com/docs/guides/storage/cdn/smart-cdn#bypassing-cache
supersedes: feat(storage): add version parameter for download #2153
thanks to @Fruup for the og start💚