Skip to content

Commit 9fef685

Browse files
kiwicoppleMildTomatojoshenlim
authored
Blog: oct release (supabase#3793)
* Adds blog skeleton * running fresh npm install * add .env for www * Updates this month's blog post * Adds final images * Add type for DateTimeFormatOptions * Adds youtube video * Update the name of launch week * Adds a date and the RSS feed * Documents the new fetch implementation Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com> Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
1 parent c2d191c commit 9fef685

22 files changed

+8197
-6841
lines changed

web/spec/combined.json

Lines changed: 3095 additions & 2495 deletions
Large diffs are not rendered by default.

web/spec/gotrue.json

Lines changed: 147 additions & 123 deletions
Large diffs are not rendered by default.

web/spec/postgrest.json

Lines changed: 1137 additions & 861 deletions
Large diffs are not rendered by default.

web/spec/storage.json

Lines changed: 949 additions & 698 deletions
Large diffs are not rendered by default.

web/spec/supabase.json

Lines changed: 698 additions & 649 deletions
Large diffs are not rendered by default.

web/spec/supabase.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,14 +177,30 @@ pages:
177177
```js
178178
import { createClient } from '@supabase/supabase-js'
179179
180-
const options = { schema: 'other_schema' }
181-
const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key', options)
180+
// Provide a custom schema. Defaults to "public".
181+
const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key', {
182+
schema: 'other_schema'
183+
})
182184
```
183185
184186
By default the API server points to the `public` schema. You can enable others database schemas within the Dashboard.
185187
Go to `Settings > API > Schema` and add the schema which you want to expose to on the API.
186188
187189
Note: each client connection can only access a single schema, so the code above can access the `other_schema` schema but cannot access the `public` schema.
190+
- name: Custom `fetch` implementation
191+
js: |
192+
```js
193+
import { createClient } from '@supabase/supabase-js'
194+
195+
const supabase = createClient('https://xyzcompany.supabase.co', 'public-anon-key', {
196+
fetch: fetch
197+
})
198+
```
199+
200+
`supabase-js` uses the [`cross-fetch`](https://www.npmjs.com/package/cross-fetch) library to make HTTP requests,
201+
but an alternative `fetch` implementation can be provided as an option.
202+
This is most useful in environments where `cross-fetch` is not compatible (for instance Cloudflare Workers).
203+
188204
Generating Types:
189205
description: |
190206
Supabase will soon release native type generators that dump your database types for various languages. For now, we support TypeScript through a third-party tool.

www/.env

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Replace this URL with the URL of your blog app
2+
NEXT_PUBLIC_URL="https://localhost:3000"
3+
NEXT_PUBLIC_DOCS_URL="http://localhost:3005"
4+
NEXT_PUBLIC_STUDIO_URL="https://localhost:8082"

www/_blog/2021-08-12-supabase-beta-july-2021.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ If you want to keep up to date, make sure you [subscribe to our YouTube channel]
133133

134134
Security, stability, performance ... and Functions.
135135

136-
### Get started
136+
## Get started
137137

138138
- Start using Supabase today: [app.supabase.io](https://app.supabase.io/)
139139
- Make sure to [star us on GitHub](https://github.com/supabase/supabase)

www/_blog/2021-09-10-supabase-beta-august-2021.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Last December we [moved from Alpha to Beta](/beta), with a focus on Security, Pe
156156

157157
By the time we're done, Supabase will be production-ready for all use cases.
158158

159-
### Get started
159+
## Get started
160160

161161
- Start using Supabase today: [app.supabase.io](https://app.supabase.io/)
162162
- Make sure to [star us on GitHub](https://github.com/supabase/supabase)

www/_blog/2021-10-04-supabase-beta-sept-2021.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ We're Hiring [SREs](https://about.supabase.com/careers/sre). We're fully remote
122122

123123
We're warming up for another Launch Week! Last time was "[Launch Week II: the SQL](/blog/2021/07/22/supabase-launch-week-sql)". We're going to need another month to come up with a good pun again, so we'll aim for November.
124124

125-
### Get started
125+
## Get started
126126

127127
- Start using Supabase today: **[app.supabase.io](https://app.supabase.io/)**
128128
- Make sure to **[star us on GitHub](https://github.com/supabase/supabase)**

0 commit comments

Comments
 (0)