Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit 2f11d55

Browse files
authored
Merge pull request #257 from mandarini/chore/deprecation
chore: add deprecation notice
2 parents fd6ec9e + 4304885 commit 2f11d55

File tree

1 file changed

+38
-11
lines changed

1 file changed

+38
-11
lines changed

README.md

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
1-
# `storage-js`
1+
# ⚠️ REPOSITORY DEPRECATED - MOVED TO MONOREPO
2+
3+
> **🚨 This repository has been moved and will be archived on October 10, 2025**
4+
>
5+
> **All development has moved to the [Supabase JS Monorepo](https://github.com/supabase/supabase-js)**
6+
>
7+
> **If you're looking for the README of `storage-js`, you can find it at:**
8+
> **https://github.com/supabase/supabase-js/tree/master/packages/core/storage-js**
9+
>
10+
> ### What happened?
11+
>
12+
> This repository was merged into the main Supabase JS monorepo for better coordination, testing, and releases.
13+
>
14+
> ### What you need to do:
15+
>
16+
> - **📖 For documentation**: Visit the [new storage-js location](https://github.com/supabase/supabase-js/tree/master/packages/core/storage-js)
17+
> - **🐛 For issues**: Create them in the [supabase-js repository](https://github.com/supabase/supabase-js/issues)
18+
> - **🔧 For contributions**: See the [Contributing Guide](https://github.com/supabase/supabase-js/blob/master/CONTRIBUTING.md)
19+
> - **📚 For migration help**: Read the [Migration Guide](https://github.com/supabase/supabase-js/blob/master/docs/MIGRATION.md)
20+
>
21+
> ### If you have open work:
22+
>
23+
> - **Uncommitted changes**: Manually transport your work to the monorepo (file structure is the same under `packages/core/storage-js/`)
24+
> - **Open PRs**: Tag a maintainer in your PR and we'll help you migrate it
25+
> - **Issues**: Will be transported to the supabase-js repository
26+
>
27+
> **⚠️ This is the old repository. Please use the [supabase-js monorepo](https://github.com/supabase/supabase-js) going forward.**
28+
29+
---
30+
31+
# `storage-js` (DEPRECATED - USE MONOREPO)
232

333
<div align="center">
434

@@ -160,16 +190,13 @@ const storageClient = new StorageClient(STORAGE_URL, {
160190

161191
Supplying `.throwOnError()` will throw errors instead of returning them as a property on the response object.
162192

163-
```js
164-
try {
165-
const { data } = await storageClient
166-
.from('bucket')
167-
.throwOnError()
168-
.download('path/to/file')
169-
} catch (error) {
170-
console.error(error)
171-
}
172-
```
193+
```js
194+
try {
195+
const { data } = await storageClient.from('bucket').throwOnError().download('path/to/file')
196+
} catch (error) {
197+
console.error(error)
198+
}
199+
```
173200

174201
## Sponsors
175202

0 commit comments

Comments
 (0)