You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Node.js 20 or later** (Node.js 18 support was dropped as of October 31, 2025)
56
-
- For browser support, all modern browsers are supported
55
+
This section outlines the scope of support for various runtime environments in Supabase JavaScript client.
57
56
58
-
> ⚠️ **Node.js 18 Deprecation Notice**
59
-
>
60
-
> Node.js 18 reached end-of-life on April 30, 2025. As announced in [our deprecation notice](https://github.com/orgs/supabase/discussions/37217), support for Node.js 18 was dropped on October 31, 2025.
61
-
>
62
-
> If you must use Node.js 18, please use version `2.x.x` of these libraries where `x` is the last version that supported Node.js 18.
57
+
### Node.js
63
58
64
-
> **💡 Note for Package Users:** If you install and use these packages, **nothing has changed**. Continue installing packages normally:
59
+
We only support Node.js versions that are in **Active LTS** or **Maintenance** status as defined by the [official Node.js release schedule](https://nodejs.org/en/about/previous-releases#release-schedule). This means we support versions that are currently receiving long-term support and critical bug fixes.
60
+
61
+
When a Node.js version reaches end-of-life and is no longer in Active LTS or Maintenance status, Supabase will drop it in a **minor release**, and **this won't be considered a breaking change**.
62
+
63
+
> ⚠️ **Node.js 18 Deprecation Notice**
65
64
>
66
-
> ```bash
67
-
> npm install @supabase/supabase-js
68
-
> npm install @supabase/auth-js
69
-
>```
65
+
> Node.js 18 reached end-of-life on April 30, 2025. As announced in [our deprecation notice](https://github.com/orgs/supabase/discussions/37217), support for Node.js 18 was dropped in version `2.79.0`.
70
66
>
71
-
>The monorepo structure **only affects contributors**. This is how we develop and maintain the code, not how you use it.
67
+
> If you must use Node.js 18, please use version `2.78.0`, which is the last version that supported Node.js 18.
72
68
73
-
## 🚀 Quick Start
69
+
### Deno
74
70
75
-
### Installation
71
+
We support Deno versions that are currently receiving active development and security updates. We follow the [official Deno release schedule](https://docs.deno.com/runtime/fundamentals/stability_and_releases/) and only support versions from the `stable` and `lts` release channels.
When a Deno version reaches end-of-life and is no longer receiving security updates, Supabase will drop it in a **minor release**, and **this won't be considered a breaking change**.
81
74
82
-
# Install dependencies
83
-
npm install
75
+
### Browsers
84
76
85
-
# Build all packages
86
-
npx nx run-many --target=build --all
77
+
All modern browsers are supported. We support browsers that provide native `fetch` API. For Realtime features, browsers must also support native `WebSocket` API.
87
78
88
-
```
79
+
### Bun
89
80
90
-
## 🏗️ Development
81
+
We support Bun runtime environments. Bun provides native fetch support and is compatible with Node.js APIs. Since Bun does not follow a structured release schedule like Node.js or Deno, we support current stable versions of Bun and may drop support for older versions in minor releases without considering it a breaking change.
91
82
92
-
### Workspace Commands
83
+
### React Native
93
84
94
-
```bash
95
-
# Build a specific library
96
-
npx nx build auth-js
85
+
We support React Native environments with fetch polyfills provided by the framework. Since React Native does not follow a structured release schedule, we support current stable versions and may drop support for older versions in minor releases without considering it a breaking change.
97
86
98
-
# Test a specific library
99
-
npx nx test postgrest-js
87
+
### Cloudflare Workers
100
88
101
-
# Build affected projects (only build what changed)
102
-
npx nx affected --target=build
89
+
We support Cloudflare Workers runtime environments. Cloudflare Workers provides native fetch support. Since Cloudflare Workers does not follow a structured release schedule, we support current stable versions and may drop support for older versions in minor releases without considering it a breaking change.
103
90
104
-
# Generate dependency graph
105
-
npx nx graph
91
+
### Important Notes
106
92
107
-
# Format all code
108
-
npx nx format
93
+
-**Experimental features**: Features marked as experimental may be removed or changed without notice
109
94
110
-
# Check code formatting
111
-
npx nx format:check
112
-
```
113
-
114
-
### Working with Individual Libraries
95
+
## 🚀 Quick Start
115
96
116
-
Each library can be developed independently:
97
+
### Installation
117
98
118
99
```bash
119
-
# Start development with watch mode
120
-
npx nx build auth-js --watch
121
-
npx nx test auth-js --watch
100
+
npm install @supabase/supabase-js
122
101
```
123
102
103
+
Read more in each package's README file.
104
+
124
105
## 🤝 Contributing
125
106
126
107
We welcome contributions! Please see our [Contributing Guide](./CONTRIBUTING.md) for details.
@@ -147,16 +128,6 @@ We welcome contributions! Please see our [Contributing Guide](./CONTRIBUTING.md)
147
128
148
129
Testing varies per package. See the top-level [TESTING.md](docs/TESTING.md) for an overview and links to package-specific guides.
149
130
150
-
Quick examples:
151
-
152
-
```bash
153
-
# Run tests for a specific package
154
-
npx nx test<package-name>
155
-
156
-
# Run tests with coverage
157
-
npx nx test<package-name> --coverage
158
-
```
159
-
160
131
## 📚 Documentation
161
132
162
133
### API Documentation
@@ -200,25 +171,6 @@ audited 1 package in 0s
200
171
201
172
Because provenance attestations are a new capability, security features may evolve over time. Ensure you are using the latest npm CLI to verify attestation signatures reliably. This may require updating npm beyond the version bundled with Node.js.
202
173
203
-
## 🏛️ Architecture
204
-
205
-
### Monorepo Structure
206
-
207
-
```tree
208
-
supabase-js/
209
-
├── packages/
210
-
│ └── core/ # Published libraries
211
-
│ ├── auth-js/ # Authentication SDK
212
-
│ ├── functions-js/ # Edge Functions SDK
213
-
│ ├── postgrest-js/ # PostgREST database SDK
214
-
│ ├── realtime-js/ # Real-time subscriptions SDK
215
-
│ ├── storage-js/ # File storage SDK
216
-
│ └── supabase-js/ # Main isomorphic SDK
217
-
├── nx.json # npx nx workspace configuration
218
-
├── package.json # Root package.json and workspaces setup
219
-
└── ...
220
-
```
221
-
222
174
## 📄 License
223
175
224
176
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
Copy file name to clipboardExpand all lines: packages/core/supabase-js/README.md
+26-17Lines changed: 26 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,15 +30,6 @@
30
30
31
31
</div>
32
32
33
-
## Requirements
34
-
35
-
-**Node.js 20 or later** (Node.js 18 support dropped as of October 31, 2025)
36
-
- For browser support, all modern browsers are supported
37
-
38
-
> ⚠️ **Node.js 18 Deprecation Notice**
39
-
>
40
-
> Node.js 18 reached end-of-life on April 30, 2025. As announced in [our deprecation notice](https://github.com/orgs/supabase/discussions/37217), support for Node.js 18 was dropped on October 31, 2025.
41
-
42
33
## Usage
43
34
44
35
First of all, you need to install the library:
@@ -129,19 +120,43 @@ We only support Node.js versions that are in **Active LTS** or **Maintenance** s
129
120
130
121
When a Node.js version reaches end-of-life and is no longer in Active LTS or Maintenance status, Supabase will drop it in a **minor release**, and **this won't be considered a breaking change**.
131
122
123
+
> ⚠️ **Node.js 18 Deprecation Notice**
124
+
>
125
+
> Node.js 18 reached end-of-life on April 30, 2025. As announced in [our deprecation notice](https://github.com/orgs/supabase/discussions/37217), support for Node.js 18 was dropped in version `2.79.0`.
126
+
>
127
+
> If you must use Node.js 18, please use version `2.78.0`, which is the last version that supported Node.js 18.
128
+
132
129
### Deno
133
130
134
131
We support Deno versions that are currently receiving active development and security updates. We follow the [official Deno release schedule](https://docs.deno.com/runtime/fundamentals/stability_and_releases/) and only support versions from the `stable` and `lts` release channels.
135
132
136
133
When a Deno version reaches end-of-life and is no longer receiving security updates, Supabase will drop it in a **minor release**, and **this won't be considered a breaking change**.
137
134
135
+
### Browsers
136
+
137
+
All modern browsers are supported. We support browsers that provide native `fetch` API. For Realtime features, browsers must also support native `WebSocket` API.
138
+
139
+
### Bun
140
+
141
+
We support Bun runtime environments. Bun provides native fetch support and is compatible with Node.js APIs. Since Bun does not follow a structured release schedule like Node.js or Deno, we support current stable versions of Bun and may drop support for older versions in minor releases without considering it a breaking change.
142
+
143
+
### React Native
144
+
145
+
We support React Native environments with fetch polyfills provided by the framework. Since React Native does not follow a structured release schedule, we support current stable versions and may drop support for older versions in minor releases without considering it a breaking change.
146
+
147
+
### Cloudflare Workers
148
+
149
+
We support Cloudflare Workers runtime environments. Cloudflare Workers provides native fetch support. Since Cloudflare Workers does not follow a structured release schedule, we support current stable versions and may drop support for older versions in minor releases without considering it a breaking change.
150
+
138
151
### Important Notes
139
152
140
153
-**Experimental features**: Features marked as experimental may be removed or changed without notice
141
154
142
-
## Development
155
+
## Contributing
156
+
157
+
We welcome contributions! Please see our [Contributing Guide](../../../CONTRIBUTING.md) for details on how to get started.
143
158
144
-
This package is part of the [Supabase JavaScript monorepo](https://github.com/supabase/supabase-js). To work on this package:
159
+
For major changes or if you're unsure about something, please open an issue first to discuss your proposed changes.
There's a complete guide on how to set up your environment for running locally the `supabase-js` integration tests. Please refer to [TESTING.md](./TESTING.md).
159
174
160
-
### Contributing
161
-
162
-
We welcome contributions! Please see our [Contributing Guide](../../../CONTRIBUTING.md) for details on how to get started.
163
-
164
-
For major changes or if you're unsure about something, please open an issue first to discuss your proposed changes.
0 commit comments