Skip to content

feat(storage): add cacheNonce parameter for download - #2234

Merged
mandarini merged 8 commits into
supabase:masterfrom
7ttp:feat/supersedes
Apr 9, 2026
Merged

mandarini merged 8 commits into
supabase:masterfrom
7ttp:feat/supersedes

Conversation

@7ttp

@7ttp 7ttp commented Apr 7, 2026

Copy link
Copy Markdown
Member

@7ttp
7ttp requested review from a team as code owners April 7, 2026 13:55
@pkg-pr-new

pkg-pr-new Bot commented Apr 7, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@supabase/auth-js

npm i https://pkg.pr.new/@supabase/auth-js@2234

@supabase/functions-js

npm i https://pkg.pr.new/@supabase/functions-js@2234

@supabase/postgrest-js

npm i https://pkg.pr.new/@supabase/postgrest-js@2234

@supabase/realtime-js

npm i https://pkg.pr.new/@supabase/realtime-js@2234

@supabase/storage-js

npm i https://pkg.pr.new/@supabase/storage-js@2234

@supabase/supabase-js

npm i https://pkg.pr.new/@supabase/supabase-js@2234

commit: 1c541cf

@mandarini mandarini changed the title feat(storage): version param feat(storage): add version parameter for download Apr 8, 2026
@mandarini

Copy link
Copy Markdown
Contributor

Looks good to me, but I want storage team to give a final "ok" on the choice of _v.

@mandarini mandarini left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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.

@7ttp 7ttp changed the title feat(storage): add version parameter for download feat(storage): add cacheNonce parameter for download Apr 8, 2026
@7ttp

7ttp commented Apr 8, 2026

Copy link
Copy Markdown
Member Author

@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.

done! 💚😅

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.

here's the PR: supabase/supabase#44679

@7ttp
7ttp requested a review from mandarini April 8, 2026 16:34
@mandarini
mandarini merged commit 1ec22ca into supabase:master Apr 9, 2026
21 checks passed
mandarini pushed a commit to supabase/supabase that referenced this pull request Apr 9, 2026
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 -->
@7ttp
7ttp deleted the feat/supersedes branch April 9, 2026 06:56
mandarini pushed a commit to supabase/supabase that referenced this pull request Apr 9, 2026
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>
mandarini pushed a commit to supabase/ssr that referenced this pull request Apr 9, 2026
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants