Merge pull request #6475 from supabase/master

Prod deploy for Studio
This commit is contained in:
Joshen Lim authored and GitHub committed 2022-04-18 17:08:52 +08:00
commit e3ec26a94f
61 files changed
+5739 -4561

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
{
"redirects": [
{
"source": "/careers",
"destination": "https://boards.greenhouse.io/supabase"
}
]
}
+1 -1
View File
@@ -84,7 +84,7 @@ When simulating clicks on these components, do the following:
import userEvent from '@testing-library/user-event'
userEvent.click('Hello world')
// for Popovers
// for Dropdowns
import clickDropdown from 'tests/helpers'
clickDropdown('Hello world')
```
@@ -7,6 +7,7 @@ import { post } from 'lib/common/fetch'
import { useStore } from 'hooks'
import { API_URL } from 'lib/constants'
import { UpdateSuccess } from '.'
import BackButton from 'components/ui/BackButton'
interface Props {
onSelectBack: () => void
@@ -21,7 +22,9 @@ const EnterpriseRequest: FC<Props> = ({ onSelectBack }) => {
const [isSuccessful, setIsSuccessful] = useState(false)
const initialValues = {
name: `${profile?.first_name} ${profile?.last_name}`,
name: `${profile?.first_name ? profile?.first_name : ''} ${
profile?.last_name ? profile.last_name : ''
}`,
email: profile?.primary_email,
company: '',
message: '',
@@ -81,43 +84,37 @@ const EnterpriseRequest: FC<Props> = ({ onSelectBack }) => {
enterTo="transform opacity-100 translate-x-0"
>
<div className="space-y-8 w-4/5">
<div className="relative">
<div className="absolute top-[2px] -left-24">
<Button type="text" icon={<IconArrowLeft />} onClick={onSelectBack}>
Back
</Button>
</div>
<div className="space-y-1">
<h4 className="text-lg">Customised plans tailored for your business needs</h4>
<p className="text-scale-1100">
Let us know a few details and we’ll be in contact with you!
</p>
</div>
<Form
validateOnBlur
initialValues={initialValues}
validate={onValidate}
onSubmit={onSubmit}
>
{({ isSubmitting }: { isSubmitting: boolean }) => (
<div className="space-y-12 py-16">
<div className="space-y-4 w-3/5">
<Input layout="horizontal" label="Name" id="name" name="name" />
<Input layout="horizontal" label="Email" id="email" name="email" />
<Input layout="horizontal" label="Company" id="company" name="company" />
</div>
<Input.TextArea
id="message"
name="message"
label="Let us know what you intend to use Supabase for"
/>
<Button htmlType="submit" loading={isSubmitting}>
Submit request
</Button>
</div>
)}
</Form>
<BackButton onClick={() => onSelectBack()} />
<div className="space-y-1">
<h4 className="text-lg">Customised plans tailored for your business needs</h4>
<p className="text-scale-1100">
Let us know a few details and our team will get back to you as soon as possible.
</p>
</div>
<Form
validateOnBlur
initialValues={initialValues}
validate={onValidate}
onSubmit={onSubmit}
>
{({ isSubmitting }: { isSubmitting: boolean }) => (
<div className="space-y-12">
<div className="space-y-4 w-3/5">
<Input layout="horizontal" label="Name" id="name" name="name" />
<Input layout="horizontal" label="Email" id="email" name="email" />
<Input layout="horizontal" label="Company" id="company" name="company" />
</div>
<Input.TextArea
id="message"
name="message"
label="Let us know what you intend to use Supabase for"
/>
<Button htmlType="submit" loading={isSubmitting}>
Submit request
</Button>
</div>
)}
</Form>
</div>
</Transition>
)
@@ -1,7 +1,14 @@
import { FC } from 'react'
import { Listbox, IconLoader, Button, IconPlus, IconAlertCircle } from '@supabase/ui'
import {
Listbox,
IconLoader,
Button,
IconPlus,
IconAlertCircle,
IconCreditCard,
} from '@supabase/ui'
import { useStore } from 'hooks'
import { useFlag, useStore } from 'hooks'
import { STRIPE_PRODUCT_IDS } from 'lib/constants'
import { SubscriptionPreview } from '../Billing.types'
import { getProductPrice } from '../Billing.utils'
@@ -48,6 +55,11 @@ const PaymentSummaryPanel: FC<Props> = ({
onConfirmPayment,
isSubmitting,
}) => {
/**
* Feature flags
*/
const nativeBilling = useFlag('nativeBilling')
const { ui } = useStore()
const projectRegion = ui.selectedProject?.region
@@ -66,14 +78,14 @@ const PaymentSummaryPanel: FC<Props> = ({
return (
<div
className="bg-scale-300 w-full px-20 py-10 space-y-8"
className="bg-panel-body-light dark:bg-panel-body-dark w-full px-6 lg:px-12 py-10 space-y-8 border-l"
style={{ height: 'calc(100vh - 49.5px)' }}
>
<p>Payment Summary</p>
{/* Subscription details */}
<div className="space-y-1">
<p className="text-sm">Selected subscription</p>
<p className="text-sm text-scale-1100">Selected subscription</p>
<div className="flex items-center justify-between">
<p className={`${isChangingPlan ? 'text-scale-1100 line-through' : ''} text-sm`}>
{getPlanName(currentPlan)}
@@ -93,46 +105,54 @@ const PaymentSummaryPanel: FC<Props> = ({
</div>
{/* Add on details */}
{projectRegion !== 'af-south-1' && (
<div className="space-y-1">
<p className="text-sm">Selected add-ons</p>
{currentComputeSize === undefined && selectedComputeSize === undefined && (
<p className="text-scale-1100 text-sm">No add-ons selected</p>
)}
{currentComputeSize !== undefined && (
<div className="flex items-center justify-between">
<p
className={`${isChangingComputeSize ? 'text-scale-1100 line-through' : ''} text-sm`}
>
{currentComputeSize.name}
</p>
<p
className={`${isChangingComputeSize ? 'text-scale-1100 line-through' : ''} text-sm`}
>
${(getProductPrice(currentComputeSize).unit_amount / 100).toFixed(2)}
</p>
{nativeBilling && (
<>
{projectRegion !== 'af-south-1' && (
<div className="space-y-1">
<p className="text-sm">Selected add-ons</p>
{currentComputeSize === undefined && selectedComputeSize === undefined && (
<p className="text-scale-1100 text-sm">No add-ons selected</p>
)}
{currentComputeSize !== undefined && (
<div className="flex items-center justify-between">
<p
className={`${
isChangingComputeSize ? 'text-scale-1100 line-through' : ''
} text-sm`}
>
{currentComputeSize.name}
</p>
<p
className={`${
isChangingComputeSize ? 'text-scale-1100 line-through' : ''
} text-sm`}
>
${(getProductPrice(currentComputeSize).unit_amount / 100).toFixed(2)}
</p>
</div>
)}
{isChangingComputeSize && (
<div className="flex items-center justify-between">
<p className="text-sm">{selectedComputeSize.name}</p>
<p className="text-sm">
${(getProductPrice(selectedComputeSize).unit_amount / 100).toFixed(2)}
</p>
</div>
)}
{isChangingComputeSize && (
<div className="!mt-4">
<InformationBox
hideCollapse
defaultVisibility
icon={<IconAlertCircle strokeWidth={2} />}
title="Changing your compute size"
description="It will take up to 2 minutes for changes to take place, and your project will be unavailable during that time"
/>
</div>
)}
</div>
)}
{isChangingComputeSize && (
<div className="flex items-center justify-between">
<p className="text-sm">{selectedComputeSize.name}</p>
<p className="text-sm">
${(getProductPrice(selectedComputeSize).unit_amount / 100).toFixed(2)}
</p>
</div>
)}
{isChangingComputeSize && (
<div className="!mt-4">
<InformationBox
hideCollapse
defaultVisibility
icon={<IconAlertCircle strokeWidth={2} />}
title="Changing your compute size"
description="It will take up to 2 minutes for changes to take place, and your project will be unavailable during that time"
/>
</div>
)}
</div>
</>
)}
<div className="h-px w-full bg-scale-600" />
@@ -152,12 +172,12 @@ const PaymentSummaryPanel: FC<Props> = ({
<p className="text-sm text-scale-1100">Retrieving payment methods</p>
</div>
) : paymentMethods.length === 0 ? (
<div className="flex items-center justify-between rounded-md px-4 py-2 bg-scale-400 border border-scale-700">
<div className="flex items-center space-x-4">
<IconAlertCircle size={16} />
<p className="text-scale-1100 text-sm">No saved payment methods</p>
<div className="flex items-center justify-between rounded-md px-4 py-2 bg-scale-100 border border-dashed">
<div className="flex items-center space-x-4 text-scale-1100">
<IconAlertCircle size={16} strokeWidth={1.5} />
<p className="text-sm">No saved payment methods</p>
</div>
<Button type="default" icon={<IconPlus />} onClick={onSelectAddNewPaymentMethod}>
<Button type="default" icon={<IconCreditCard />} onClick={onSelectAddNewPaymentMethod}>
Add new
</Button>
</div>
@@ -204,6 +224,8 @@ const PaymentSummaryPanel: FC<Props> = ({
loading={isSubmitting}
disabled={isSubmitting || isLoadingPaymentMethods || !hasChangesToPlan}
onClick={() => onConfirmPayment()}
block
size="medium"
>
Confirm payment
</Button>
@@ -71,7 +71,7 @@ const PaymentTotal: FC<Props> = ({
{amountDueImmediately < 0 ? (
<p className="text-sm text-scale-1100">
A total of ${Math.abs(amountDueImmediately).toFixed(2)} will be returned on{' '}
<span className="font-bold text-green-1100">
<span className="text-brand-900">
{billingDate.toLocaleDateString('en-US', {
day: 'numeric',
month: 'long',
@@ -84,7 +84,7 @@ const PaymentTotal: FC<Props> = ({
<p className="text-sm text-scale-1100">
This amount {!isSpendCapEnabled && !isBillingToday && '+ usage fees '}will be
charged on{' '}
<span className="font-bold text-green-1100">
<span className="text-brand-900">
{billingDate.toLocaleDateString('en-US', {
day: 'numeric',
month: 'long',
@@ -25,10 +25,15 @@ const PlanSelection: FC<Props> = ({ visible, tiers, currentPlan, onSelectPlan })
<div className="space-y-8">
<h4 className="text-lg">Change your project's subscription</h4>
{/* FE will make a call to fetch all plans first at the page level */}
<Plans plans={formattedTiers} currentPlan={currentPlan} onSelectPlan={onSelectPlan} />
<div className="grid lg:grid-cols-3 gap-8 py-8">
<Plans plans={formattedTiers} currentPlan={currentPlan} onSelectPlan={onSelectPlan} />
</div>
<div className="flex justify-center items-center">
<Link href="https://supabase.com/pricing">
<a target="_blank" className="text-sm text-scale-1100 hover:text-scale-1200 transition">
<a
target="_blank"
className="text-sm underline text-scale-1100 hover:text-scale-1200 transition"
>
See detailed comparisons across plans
</a>
</Link>
@@ -59,7 +59,13 @@ const PlanCTAButton: FC<Props> = ({ plan, currentPlan, onSelectPlan }) => {
return (
<div className="flex items-center justify-center">
<Button disabled={disabled} type={type} onClick={() => onSelectPlan(plan)}>
<Button
disabled={disabled}
type={type}
onClick={() => onSelectPlan(plan)}
block
size="medium"
>
{ctaText}
</Button>
</div>
@@ -0,0 +1,71 @@
import { STRIPE_PRODUCT_IDS } from 'lib/constants'
/**
* @mildtomato same plan metadata is also in /www website
* would be good if this constant was shared across apps
*
* https://github.com/supabase/supabase/blob/master/studio/components/interfaces/Billing/PlanSelection/Plans/Plans.Constants.ts
*/
export const PRICING_META = {
[STRIPE_PRODUCT_IDS.FREE]: {
name: 'Free',
href: '#',
priceMonthly: 0,
warning: 'Limit of 2 free projects',
description: 'Perfect for passion projects & simple websites.',
features: [
'Up to 500MB database & 1GB file storage',
'Up to 2GB bandwidth',
'Up to 50MB file uploads',
'Social OAuth providers',
'Up to 500K Edge Function invocations',
'1-day log retention',
'Community support',
],
additional: 'Free projects are paused after 1 week of inactivity.',
cta: 'Get Started',
},
[STRIPE_PRODUCT_IDS.PRO]: {
name: 'Pro',
href: '#',
from: true,
priceMonthly: 25,
warning: '+ additional use',
description: 'For production applications with the option to scale.',
features: [
'8GB database & 100GB file storage',
'50GB bandwith',
'3GB file uploads',
'Social OAuth providers',
'2M Edge Function invocations',
'Daily backups',
'7-day log retention',
'No project pausing',
'Email support',
],
scale: 'Additional fees apply for usage and storage beyond the limits above.',
shutdown: '',
preface: 'Everything below included in the base plan',
additional: 'Need more? Turn off your spend cap to Pay As You Grow ',
cta: 'Get Started',
},
Enterprise: {
name: 'Enterprise',
href: '/contact/enterprise',
description: 'For large-scale applications managing serious workloads.',
features: [
`Point in time recovery`,
`Designated Support manager & SLAs`,
`Enterprise OAuth providers`,
`SSO/ SAML`,
`SOC2`,
`Custom contracts & invoicing`,
`On-premise support`,
`24×7×365 premium enterprise support`,
],
scale: '',
shutdown: '',
cta: 'Contact Us',
},
}
@@ -1,9 +1,9 @@
import { FC } from 'react'
import { Badge } from '@supabase/ui'
import { IconCheck } from '@supabase/ui'
import { STRIPE_PRODUCT_IDS } from 'lib/constants'
import { FC } from 'react'
import { StripeProduct } from '../..'
import PlanCTAButton from './PlanCTAButton'
import { PRICING_META } from './Plans.Constants'
interface Props {
plans: any[]
@@ -23,84 +23,127 @@ const AnimatedGradientBackground = () => (
const CurrentSubscriptionBanner = () => (
<div
className={[
'absolute top-0 right-0 flex items-center justify-center',
'bg-green-900 px-4 py-1 rounded-bl-md',
'absolute h-8 -top-7 left-0 w-full',
'flex items-center justify-center',
'bg-brand-400 text-brand-900',
'rounded-t-md border-t border-l border-r border border-b-0',
].join(' ')}
>
<p className="text-xs">Current plan</p>
</div>
)
/**
* JSX below for the mapped plans is also very similar to www/pages/pricing
* TO DO: move to use shared components for these
*
* https://github.com/supabase/supabase/blob/master/www/pages/pricing/index.tsx
*/
const Plans: FC<Props> = ({ plans, currentPlan, onSelectPlan }) => {
return (
<div className="flex justify-between space-x-4">
<>
{plans.map((plan) => {
const isCurrentPlan =
plan.id === currentPlan?.prod_id ||
(plan.id === STRIPE_PRODUCT_IDS.PRO && currentPlan?.prod_id === STRIPE_PRODUCT_IDS.PRO) ||
(plan.id === STRIPE_PRODUCT_IDS.PRO && currentPlan?.prod_id === STRIPE_PRODUCT_IDS.PAYG)
const pointers = plan.metadata.features.split('\\n').map((x: string) => x.trim())
return (
<div
key={plan.name}
className={[
'flex flex-col justify-between w-1/3 px-6 py-8',
'bg-gray-300 border border-gray-500 rounded-md relative',
'overflow-hidden',
].join(' ')}
>
{/* [Joshen] Trying some animations here to make Pro pop, on the fence tbh */}
{plan.id === STRIPE_PRODUCT_IDS.PRO && <AnimatedGradientBackground />}
{/* Label to show current subscription (Pro and PAYG are treated as the same plan on the UI) */}
{isCurrentPlan && <CurrentSubscriptionBanner />}
<div className="mb-8">
<div className="flex items-center space-x-4">
<h3 className="text-xl">{plan.name}</h3>
{plan.isPopular && <Badge>Popular</Badge>}
<div key={PRICING_META[plan.id].name} className="relative h-full">
{plan.id === STRIPE_PRODUCT_IDS.PRO && (
<div className="absolute overflow-hidden w-full h-full left-0 bottom-0 opacity-50">
<AnimatedGradientBackground />
</div>
<p className="text-scale-1100 text-sm mt-2">{plan.description}</p>
<div className="py-8">
{plan.prices.length === 0 ? (
<p className="text-2xl text-center">Contact us</p>
) : (
<div className="flex items-end justify-center">
<p className="text-3xl">${plan.prices[0].unit_amount / 100}</p>
<p className="text-sm text-scale-1100 relative -top-[2px]"> /month</p>
)}
<div className="flex flex-col rounded border overflow-hidden h-full">
{isCurrentPlan && <CurrentSubscriptionBanner />}
<div className="px-8 py-6 bg-white dark:bg-scale-300">
<span
className="inline-flex text-cd font-normal tracking-wide rounded-full text-base text-scale-1200"
id="tier-standard"
>
{PRICING_META[plan.id].name}
</span>
<div className="flex items-baseline mt-2">
<div className="flex space-x-2">
{PRICING_META[plan.id].priceMonthly !== undefined ? (
<>
<div className="flex items-end gap-1">
{PRICING_META[plan.id].from && (
<span className="text-base font-medium text-scale-1200">From</span>
)}
<div>
<span className="text-2xl">${PRICING_META[plan.id].priceMonthly}</span>
<span className="ml-1 text-xl font-medium text-scale-900">/mo</span>
</div>
</div>
</>
) : (
<span className="text-2xl">Contact Us</span>
)}
<div className="flex h-8">
{PRICING_META[plan.id].warning && (
<div className="px-2 py-1 mt-2 text-xs rounded-md bg-brand-300 bg-opacity-30 text-brand-1000">
{PRICING_META[plan.id].warning}
</div>
)}
</div>
</div>
</div>
<div className="py-4">
<PlanCTAButton
plan={plan}
currentPlan={currentPlan}
onSelectPlan={onSelectPlan}
/>
</div>
<p className="text-sm text-scale-1100">{PRICING_META[plan.id].description}</p>
</div>
<div
className={[
'flex-col justify-between flex-1',
'space-y-6 border-t dark:border-scale-400',
'bg-scale-100 dark:bg-scale-300',
'px-8 py-6 h-full hidden lg:flex',
].join(' ')}
>
{PRICING_META[plan.id].preface && (
<p className="text-sm text-scale-1200">{PRICING_META[plan.id].preface}</p>
)}
<ul role="list" className="divide-y dark:divide-scale-400">
{PRICING_META[plan.id].features.map((feature) => (
<li key={feature} className="flex items-center py-2">
<IconCheck
className="w-3 h-3 text-brand-900 "
aria-hidden="true"
strokeWidth={3}
/>
<p className="mb-0 ml-3 text-xs text-scale-1100 dark:text-scale-1200">
{feature}
</p>
</li>
))}
</ul>
<div className="flex flex-col gap-6">
<div className="space-y-2">
{PRICING_META[plan.id].additional && (
<p className="text-sm text-scale-1200">{PRICING_META[plan.id].additional}</p>
)}
{PRICING_META[plan.id].scale && (
<p className="text-xs text-scale-900">{PRICING_META[plan.id].scale}</p>
)}
{PRICING_META[plan.id].shutdown && (
<p className="text-xs text-scale-900">{PRICING_META[plan.id].shutdown}</p>
)}
</div>
</div>
</div>
<ul className="space-y-4">
{pointers.map((pointer: string, idx: number) => (
<li key={`pointer-${idx}`} className="text-sm flex">
<div className="w-[15%]">
<svg
className={`h-5 w-5 text-green-900`}
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
fill="currentColor"
>
<path
fillRule="evenodd"
d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z"
clipRule="evenodd"
/>
</svg>
</div>
<div className="w-[85%]">
<span>{pointer}</span>
</div>
</li>
))}
</ul>
</div>
<PlanCTAButton plan={plan} currentPlan={currentPlan} onSelectPlan={onSelectPlan} />
</div>
)
})}
</div>
</>
)
}
@@ -2,7 +2,7 @@ import { FC, useEffect, useState } from 'react'
import { Transition } from '@headlessui/react'
import { Badge, Button, IconArrowLeft, IconHelpCircle, Toggle, Modal } from '@supabase/ui'
import { useStore } from 'hooks'
import { useFlag, useStore } from 'hooks'
import { post, patch } from 'lib/common/fetch'
import { API_URL } from 'lib/constants'
import { getURL } from 'lib/helpers'
@@ -18,6 +18,7 @@ import { SubscriptionPreview } from '../Billing.types'
import UpdateSuccess from '../UpdateSuccess'
import { formatComputeSizes } from '../AddOns/AddOns.utils'
import { formSubscriptionUpdatePayload } from './ProUpgrade.utils'
import BackButton from 'components/ui/BackButton'
// Do not allow compute size changes for af-south-1
@@ -36,6 +37,11 @@ const ProUpgrade: FC<Props> = ({
isLoadingPaymentMethods,
onSelectBack,
}) => {
/**
* Feature flags
*/
const nativeBilling = useFlag('nativeBilling')
const { ui } = useStore()
const { addons } = products
@@ -151,39 +157,37 @@ const ProUpgrade: FC<Props> = ({
className="w-full flex items-start justify-between"
>
<>
<div className="w-3/5 mt-10">
<div className="relative ml-64">
<div className="absolute top-[2px] -left-24">
<Button type="text" icon={<IconArrowLeft />} onClick={onSelectBack}>
Back
</Button>
</div>
<div className="2xl:min-w-5xl mx-auto mt-10">
<div className="relative px-5 space-y-4">
<BackButton onClick={() => onSelectBack()} />
<div className="space-y-8">
<h4 className="text-lg">Change your project's subscription</h4>
<h4 className="text-lg text-scale-900">Change your project's subscription</h4>
<div
className="space-y-8 overflow-scroll pb-8 pr-20"
className="space-y-8 overflow-scroll"
style={{ height: 'calc(100vh - 6.3rem - 49.5px)' }}
>
{!isManagingProSubscription ? (
<div className="space-y-1">
<h3 className="text-xl">
Welcome to <span className="text-green-1100">Pro</span>
<p className="text-sm text-scale-1100">
<div className="space-y-2">
{!isManagingProSubscription ? (
<>
<h3 className="text-xl">
Welcome to <span className="text-brand-900">Pro</span>
</h3>
<p className="text-base text-scale-1100">
Your new subscription will begin immediately after payment
</p>
</h3>
</div>
) : (
<div className="space-y-1">
<h3 className="text-xl">
Managing your <span className="text-green-1100">Pro</span> plan
<p className="text-sm text-scale-1100">
</>
) : (
<>
<h3 className="text-3xl">
Managing your <span className="text-brand-900">Pro</span> plan
</h3>
<p className="text-base text-scale-1100">
Your billing cycle will reset after payment
</p>
</h3>
</div>
)}
<div className="flex items-start justify-between">
</>
)}
</div>
<div className="flex items-center justify-between gap-16 border rounded px-6 py-4 bg-panel-body-light dark:bg-panel-body-dark drop-shadow-sm border-panel-border-light border-panel-border-dark">
<div>
<div className="flex items-center space-x-2">
<p>Enable spend cap</p>
@@ -195,7 +199,7 @@ const ProUpgrade: FC<Props> = ({
/>
</div>
<p className="text-sm text-scale-1100">
If disabled, additional resources will be charged on a per-usage basis
If enabled, additional resources will not be charged on a per-usage basis
</p>
</div>
<Toggle
@@ -203,7 +207,7 @@ const ProUpgrade: FC<Props> = ({
onChange={() => setIsSpendCapEnabled(!isSpendCapEnabled)}
/>
</div>
{projectRegion !== 'af-south-1' && (
{nativeBilling && projectRegion !== 'af-south-1' && (
<>
<Divider light />
<ComputeSizeSelection
@@ -218,7 +222,7 @@ const ProUpgrade: FC<Props> = ({
</div>
</div>
</div>
<div className="w-2/5">
<div className="w-[32rem]">
<PaymentSummaryPanel
isRefreshingPreview={isRefreshingPreview}
subscriptionPreview={subscriptionPreview}
@@ -7,12 +7,11 @@ import { Dictionary } from '@supabase/grid'
import { formatBytes } from 'lib/helpers'
import { STRIPE_PRODUCT_IDS } from 'lib/constants'
import { useStore, useFlag, useSubscriptionStats } from 'hooks'
import { useStore, useSubscriptionStats } from 'hooks'
import CostBreakdownRow from './CostBreakdownRow'
import { StripeSubscription } from './Subscription.types'
import { deriveFeatureCost, deriveProductCost } from '../PAYGUsage/PAYGUsage.utils'
import { chargeableProducts } from '../PAYGUsage/PAYGUsage.constants'
import UpgradeButton from './UpgradeButton'
interface Props {
project: any
@@ -37,7 +36,7 @@ const Subscription: FC<Props> = ({
const { ui } = useStore()
const isOrgOwner = ui.selectedOrganization?.is_owner
const nativeBilling = useFlag('nativeBilling')
// const nativeBilling = useFlag('nativeBilling')
const subscriptionStats = useSubscriptionStats()
const isPayg = subscription?.tier.prod_id === STRIPE_PRODUCT_IDS.PAYG
@@ -65,28 +64,20 @@ const Subscription: FC<Props> = ({
</p>
<h3 className="text-xl mb-0">{subscription?.tier.name ?? '-'}</h3>
</div>
{nativeBilling ? (
<div className="flex flex-col items-end space-y-2">
<Button
disabled={!isOrgOwner}
onClick={() => router.push(`/project/${project.ref}/settings/billing/update`)}
type="primary"
>
Change subscription
</Button>
{!isOrgOwner && (
<p className="text-sm text-scale-1100">
Only the organization owner can amend subscriptions
</p>
)}
</div>
) : (
<UpgradeButton
paid={paid}
projectRef={project.ref}
subscriptionStats={subscriptionStats}
/>
)}
<div className="flex flex-col items-end space-y-2">
<Button
disabled={!isOrgOwner}
onClick={() => router.push(`/project/${project.ref}/settings/billing/update`)}
type="primary"
>
Change subscription
</Button>
{!isOrgOwner && (
<p className="text-sm text-scale-1100">
Only the organization owner can amend subscriptions
</p>
)}
</div>
</div>
{paid && (
<div className="px-6 pt-4">
@@ -11,7 +11,8 @@ import { CancellationReasons } from './SubcriptionCancellation.constants'
/**
* Generates a Stripe Billing Portal link for a project.
* To be deprecate after native billing is completely rolled out
* This is now deprecated since 180422 since we have native billing
* Feel free to delete this file if we'd reckon we no longer need this fallback
*
* @param {Object} props.projectRef Project Ref
* @param {Boolean} props.paid Tier name
@@ -16,8 +16,8 @@ const DatabaseApiSelectionRender = ({ log }: any) => {
const DetailedRow = ({ label, value }: { label: string; value: string | React.ReactNode }) => {
return (
<div className="grid grid-cols-12">
<span className="text-scale-900 text-sm col-span-4">{label}</span>
<span className="text-scale-1200 text-base col-span-8">{value}</span>
<span className="text-scale-900 text-sm col-span-4 whitespace-pre-wrap">{label}</span>
<span className="text-scale-1200 text-base col-span-8 whitespace-pre-wrap">{value}</span>
</div>
)
}
@@ -12,8 +12,8 @@ const DatabasePostgresSelectionRender = ({ log }: any) => {
const DetailedRow = ({ label, value }: { label: string; value: string | React.ReactNode }) => {
return (
<div className="grid grid-cols-12">
<span className="text-scale-900 text-sm col-span-4">{label}</span>
<span className="text-scale-1200 text-base col-span-8">{value}</span>
<p className="text-scale-900 text-sm col-span-4 whitespace-pre-wrap">{label}</p>
<p className="text-scale-1200 text-base col-span-8 whitespace-pre-wrap">{value}</p>
</div>
)
}
@@ -23,12 +23,9 @@ const DatabasePostgresSelectionRender = ({ log }: any) => {
<div className={LOGS_TAILWIND_CLASSES.log_selection_x_padding}>
<span className="text-scale-900 text-sm col-span-4">Event message</span>
<div
className="text-xs text-wrap font-mono text-scale-1200 mt-2"
dangerouslySetInnerHTML={{
__html: log.event_message,
}}
/>
<div className="text-xs text-wrap font-mono text-scale-1200 mt-2 whitespace-pre-wrap overflow-x-auto">
{log.event_message}
</div>
</div>
<LogsDivider />
<div className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding} space-y-2`}>
@@ -13,8 +13,8 @@ const DefaultSelectionRenderer = ({ log }: any) => {
}) => {
return (
<div className="grid grid-cols-12">
<span className="text-scale-900 text-sm col-span-4">{label}</span>
<span className={`text-scale-1200 text-sm col-span-8 ${code && 'text-xs font-mono'}`}>
<span className="text-scale-900 text-sm col-span-4 whitespace-prep-wrap">{label}</span>
<span className={`text-scale-1200 text-sm col-span-8 whitespace-prep-wrap ${code && 'text-xs font-mono'}`}>
{value}
</span>
</div>
@@ -33,7 +33,11 @@ const DefaultSelectionRenderer = ({ log }: any) => {
return (
<div className="grid grid-cols-12">
<span className="text-scale-900 text-sm col-span-4">{label}</span>
<span className={`text-scale-1200 text-sm col-span-8 ${code && 'text-xs font-mono'}`}>
<span
className={`text-scale-1200 text-sm col-span-8 overflow-x-auto ${
code && 'text-xs font-mono'
}`}
>
<pre
dangerouslySetInnerHTML={{
__html: jsonSyntaxHighlight(value),
@@ -48,7 +52,10 @@ const DefaultSelectionRenderer = ({ log }: any) => {
<div className="overflow-hidden overflow-x-auto space-y-6">
{Object.entries(log).map(([key, value], index) => {
return (
<div key={`${key}-${index}`} className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding}`}>
<div
key={`${key}-${index}`}
className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding}`}
>
{value && typeof value === 'object' ? (
<DetailedJsonRow label={key} value={value} />
) : (
@@ -23,8 +23,8 @@ const FunctionInvocationSelectionRender = ({ log }: any) => {
}) => {
return (
<div className="grid grid-cols-12">
<span className="text-scale-900 text-sm col-span-4">{label}</span>
<span className={`text-scale-1200 text-sm col-span-8 ${code && 'text-xs font-mono'}`}>
<span className="text-scale-900 text-sm col-span-4 whitespace-pre-wrap">{label}</span>
<span className={`text-scale-1200 text-sm col-span-8 whitespace-pre-wrap ${code && 'text-xs font-mono'}`}>
{value}
</span>
</div>
@@ -16,8 +16,12 @@ const FunctionLogsSelectionRender = ({ log }: any) => {
}) => {
return (
<div className="grid grid-cols-12">
<span className="text-scale-900 text-sm col-span-4">{label}</span>
<span className={`text-scale-1200 text-sm col-span-8 ${code && 'text-xs font-mono'}`}>
<span className="text-scale-900 text-sm col-span-4 whitespace-pre-wrap">{label}</span>
<span
className={`text-scale-1200 text-sm col-span-8 whitespace-pre-wrap ${
code && 'text-xs font-mono'
}`}
>
{value}
</span>
</div>
@@ -28,12 +32,9 @@ const FunctionLogsSelectionRender = ({ log }: any) => {
<>
<div className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding}`}>
<span className="text-scale-900 text-sm col-span-4">Event message</span>
<div
className="text-xs text-wrap font-mono text-scale-1200 mt-2"
dangerouslySetInnerHTML={{
__html: log.event_message,
}}
/>
<div className="text-xs text-wrap font-mono text-scale-1200 mt-2 whitespace-pre-wrap overflow-x-auto">
{log.event_message}
</div>
</div>
<div className="h-px w-full bg-panel-border-interior-light dark:bg-panel-border-interior-dark"></div>
<div className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding} space-y-2`}>
@@ -204,23 +204,20 @@ const LogTable = ({
return (
<>
<section
className={'flex flex-1 flex-col ' + (!queryType ? 'shadow-lg' : '')}
className={'flex flex-col w-full ' + (!queryType ? 'shadow-lg' : '')}
style={{ maxHeight }}
>
{!queryType && (
<div>
<div
className="
w-full bg-scale-100 dark:bg-scale-300
rounded-tl rounded-tr
border-t
border-l
border-r
flex items-center justify-between
px-5 py-2
w-full bg-scale-100 dark:bg-scale-300
rounded-tl rounded-tr
border-t
border-l
border-r
flex items-center justify-between
px-5 py-2
"
>
<div className="flex items-center gap-2">
@@ -248,9 +245,7 @@ const LogTable = ({
</div>
</div>
)}
<div
className={'flex flex-row flex-grow h-full ' + (!queryType ? 'border-l border-r' : '')}
>
<div className={`flex flex-row h-full ${!queryType ? 'border-l border-r' : ''}`}>
<DataGrid
style={{ height: '100%' }}
className={`
@@ -268,22 +263,11 @@ const LogTable = ({
<>
<div className="py-4 w-full h-full flex-col space-y-12">
<div
className={`transition-all
duration-500
delay-200
flex
flex-col
items-center
gap-6
text-center
mt-16
opacity-100
scale-100
justify-center
`}
className={[
'transition-all duration-500 delay-200',
'flex flex-col items-center gap-6 text-center',
'mt-16 opacity-100 scale-100 justify-center',
].join(' ')}
>
<div className="flex flex-col gap-1">
<div className="relative border border-scale-600 border-dashed dark:border-scale-400 w-32 h-4 rounded px-2 flex items-center"></div>
+26 -24
View File
@@ -15,32 +15,34 @@ const BillingLayout: FC<Props> = ({ children }) => {
<BaseLayout hideHeader hideIconBar>
<div className="flex flex-col h-full w-full">
{/* Header */}
<div className="px-3 py-2 border-b dark:border-dark flex items-center space-x-3">
<Link href={`/project/${ui.selectedProject?.ref}/settings/billing`}>
<a>
<Button type="text" size="tiny">
<IconX size={22} strokeWidth={1.5} />
</Button>
<div className="py-4 border-b dark:border-dark flex items-center space-x-3 px-5">
<Link href={`/project/${ui.selectedProject?.ref}/settings/billing`} passHref>
<a className="transition-colors text-scale-900 hover:text-scale-1200">
<IconX size={16} strokeWidth={1.5} />
</a>
</Link>
<div className="flex items-center space-x-2">
<p className="text-sm text-scale-1100">{ui.selectedOrganization?.name}</p>
<span className="text-scale-800">
<svg
viewBox="0 0 24 24"
width="16"
height="16"
stroke="currentColor"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
fill="none"
shapeRendering="geometricPrecision"
>
<path d="M16 3.549L7.12 20.600"></path>
</svg>
</span>
<p className="text-sm text-scale-1100">{ui.selectedProject?.name}</p>
<div className="flex items-center space-x-6">
<h1 className="text-base text-scale-1200">Customize your plan</h1>
<div className="h-6 w-px bg-scale-600"></div>
<div className="flex space-x-3 items-center">
<p className="text-sm text-scale-1100">{ui.selectedOrganization?.name}</p>
<span className="text-scale-800">
<svg
viewBox="0 0 24 24"
width="16"
height="16"
stroke="currentColor"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
fill="none"
shapeRendering="geometricPrecision"
>
<path d="M16 3.549L7.12 20.600"></path>
</svg>
</span>
<p className="text-sm text-scale-1100">{ui.selectedProject?.name}</p>
</div>
</div>
</div>
<div className="overflow-auto">
+13
View File
@@ -0,0 +1,13 @@
import { Button, IconArrowLeft } from '@supabase/ui'
export function BackButton({ onClick }: { onClick: () => void }) {
return (
<div className="2xl:absolute 2xl:top-[2px] -ml-2 2xl:-left-24">
<Button type="text" icon={<IconArrowLeft />} onClick={onClick}>
Back
</Button>
</div>
)
}
export default BackButton
+4 -4
View File
@@ -105,10 +105,10 @@ export const PROJECT_STATUS = {
RESTORING: 'RESTORING',
}
export const STRIPE_PRODUCT_IDS = {
FREE: process?.env?.NEXT_PUBLIC_STRIPE_FREE_TIER_ID,
PRO: process?.env?.NEXT_PUBLIC_STRIPE_PRO_TIER_ID,
PAYG: process?.env?.NEXT_PUBLIC_STRIPE_PAYG_TIER_ID,
export const STRIPE_PRODUCT_IDS: { [x: string]: string } = {
FREE: process?.env?.NEXT_PUBLIC_STRIPE_FREE_TIER_ID || 'prod_Ip4vqwv3EJ7Mi0',
PRO: process?.env?.NEXT_PUBLIC_STRIPE_PRO_TIER_ID || 'prod_IsRLOp58Z7V4XN',
PAYG: process?.env?.NEXT_PUBLIC_STRIPE_PAYG_TIER_ID || 'prod_JlTbw91xcM6NY4',
}
export const DEFAULT_MINIMUM_PASSWORD_STRENGTH = 4
+10 -10
View File
@@ -76,40 +76,40 @@ const EmptyFunctions = () => {
// comment: 'Link this project',
// },
{
command: 'supabase functions new hello',
description: ' creates a function stub at ./functions/hello/hello.ts',
command: 'supabase functions new hello-world',
description: ' creates a function stub at ./functions/hello-world/index.ts',
jsx: () => {
return (
<>
<span className="text-brand-1100">supabase</span> functions new hello
<span className="text-brand-1100">supabase</span> functions new hello-world
</>
)
},
comment: 'Create a function',
},
{
command: `supabase functions deploy hello --project-ref ${ref}`,
description: 'Deploys function at ./functions/hello/index.ts',
command: `supabase functions deploy hello-world --project-ref ${ref}`,
description: 'Deploys function at ./functions/hello-world/index.ts',
jsx: () => {
return (
<>
<span className="text-brand-1100">supabase</span> functions deploy hello --project-ref{' '}
{ref}
<span className="text-brand-1100">supabase</span> functions deploy hello-world
--project-ref {ref}
</>
)
},
comment: 'Deploy your function',
},
{
command: `curl -L -X POST 'https://${ref}.functions.supabase.co/hello' -H 'Authorization: Bearer ${
command: `curl -L -X POST 'https://${ref}.functions.supabase.co/hello-world' -H 'Authorization: Bearer ${
anonKey ?? '[YOUR ANON KEY]'
}' --data '{"name":"Functions"}'`,
description: 'Invokes the hello function',
description: 'Invokes the hello-world function',
jsx: () => {
return (
<>
<span className="text-brand-1100">curl</span> -L -X POST 'https://{ref}
.functions.supabase.co/hello' -H 'Authorization: Bearer [YOUR ANON KEY]'{' '}
.functions.supabase.co/hello-world' -H 'Authorization: Bearer [YOUR ANON KEY]'{' '}
{`--data '{"name":"Functions"}'`}
</>
)
@@ -106,7 +106,7 @@ const BillingUpdate: NextPage = () => {
return (
<BillingLayout>
<div className="mx-auto max-w-5xl my-10">
<div className="mx-auto max-w-6xl my-10 px-6">
<PlanSelection
visible={!selectedPlan || (selectedPlan && showConfirmDowngrade)}
tiers={products?.tiers ?? []}
+20 -1
View File
@@ -80,7 +80,16 @@ It provides all the backend services you need to build a product. You can use it
</div>
</Link>
</div>
{/* Auth */}
{/* Functions */}
<div class="col col--6">
<Link class="card" to="/docs/guides/functions" style={{ height: '100%' }}>
<div class="card__body">
<h4>Edge Functions</h4>
<p>Server-side Typescript functions, distributed globally.</p>
</div>
</Link>
</div>
{/* Storage */}
<div class="col col--6">
<Link class="card" to="/docs/guides/storage" style={{ height: '100%' }}>
<div class="card__body">
@@ -98,6 +107,16 @@ It provides all the backend services you need to build a product. You can use it
</div>
</Link>
</div>
{/* Observability */}
<div class="col col--6">
<Link class="card" to="/docs/guides/platform/logs" style={{ height: '100%' }}>
<div class="card__body">
<h4>Observability</h4>
<p>Monitor and debug your infrastucture.</p>
</div>
</Link>
</div>
{/* */}
</div>
</div>
+21 -13
View File
@@ -4,28 +4,36 @@ title: FAQs
description: 'Most frequently asked questions regarding Supabase'
---
### Have you built `[Firebase feature]` yet?
### Where do I find support?
We're building as fast as we can! And we are even adding a few things that Firebase doesn't have, as we go. Here are the features we have built:
Choose the support channel relevant for your situation here: [supabase.com/support](https://supabase.com/support)
- A dashboard/UI for spinning up and managing your database in less than one minute.
- User authentication to sign up users and edit access rules on your database.
- Real-time database listeners.
- JavaScript library and APIs.
- Functions (kinda). These exist as database stored procedures, which can be written in SQL, JavaScript, Python, and Java.
### How much does it cost?
### How can you be a Firebase alternative if you're built with a relational database?
We started Supabase because we love the functionality of Firebase, but we personally experienced the scaling issues that many others experienced. We chose Postgres because it's well-trusted and it has phenomenal scalability. Our goal is to make Postgres as easy to use as Firebase, so that you no longer have to choose between usability and scalability. Also, we're sure that once you start using Postgres, you'll love it more than any other database.
Self-hosting Supabase is free. If you wish to use our cloud-platform, we provide [simple, predictable pricing](/pricing).
### How do I host Supabase?
Supabase is an amalgamation of five open source tools (and growing). Some of these tools are made by Supabase (like our [Realtime Server](https://github.com/supabase/realtime)), some we support indirectly (like [PostgREST](http://postgrest.org/en/v7.0.0/)), and some are third-party tools (like [Kong](https://github.com/Kong/kong)). All of the tools we use in Supabase are MIT, Apache 2.0, or PostgreSQL licensed. You can use the docker-compose script [here](https://github.com/supabase/supabase/tree/master/docker) to build Supabase on your own environment, and find detailed instructions [here](/docs/guides/hosting/overview).
You can use the docker-compose script [here](https://github.com/supabase/supabase/tree/master/docker), and find detailed instructions [here](/docs/guides/hosting/overview).
Supabase is an amalgamation of open source tools. Some of these tools are made by Supabase (like our [Realtime Server](https://github.com/supabase/realtime)), some we support directly (like [PostgREST](http://postgrest.org/en/v7.0.0/)), and some are third-party tools (like [KonSupabase is an amalgamation open sourceg](https://github.com/Kong/kong)).
All of the tools we use in Supabase are MIT, Apache 2.0, or PostgreSQL licensed. This is one of the requirements to be considered for the Supabase stack.
### How can you be a Firebase alternative if you're built with a relational database?
We started Supabase because we love the functionality of Firebase, but we personally experienced the scaling issues that many others experienced. We chose Postgres because it's well-trusted, with phenomenal scalability.
Our goal is to make Postgres as easy to use as Firebase, so that you no longer have to choose between usability and scalability.
We're sure that once you start using Postgres, you'll love it more than any other database.
### Do you support `[some other database]`?
At the moment, we only support PostgreSQL. It's unlikely we'll ever move away from Postgres; however, you can [vote on a new database](https://github.com/supabase/supabase/issues/6) if you want us to start development.
We only support PostgreSQL. It's unlikely we'll ever move away from Postgres; however, you can [vote on a new database](https://github.com/supabase/supabase/issues/6) if you want us to start development.
### Do you have a library for `[some other language]`?
We currently have a JavaScript library. You can [vote on a new client library](https://github.com/supabase/supabase/issues/5) for your favorite language.
We officially support [JavaScript](/docs/reference/javascript/supabase-client) and [Dart](/docs/reference/dart/installing).
You can find community-supported libraries in our [GitHub Community](https://github.com/supabase-community), and you can also help us to identify the most popular languages by [voting for a new client library](https://github.com/supabase/supabase/issues/5).
+23 -23
View File
@@ -1,10 +1,10 @@
---
id: going-into-prod
title: Going into Prod Checklist
title: 'Production Readiness'
description: 'Things to do before making your app publicly available'
---
After developing your project, and deciding it's time to Go Live With Real Users, you should run through this checklist to ensure that your project is:
After developing your project and deciding it's time to Go Live With Real Users, you should run through this checklist to ensure that your project is:
- secure
- won't falter under the expected load
@@ -14,37 +14,37 @@ After developing your project, and deciding it's time to Go Live With Real Users
- Ensure RLS is enabled
- Tables that do not have RLS enabled with reasonable policies allow any client to access and modify their data. This is unlikely to be what you want in the majority of cases.
- [Learn more about RLS](/docs/guides/auth/row-level-security)
- [Learn more about RLS](/docs/guides/auth/row-level-security).
- Enable replication on tables containing sensitive data by enabling Row Level Security (RLS) and setting row security policies:
- Go to the Authentication > Policies page in the Supabase Dashboard to enable RLS and create security policies
- Go to the Database > Replication page in the Supabase Dashboard to manage replication tables
- Enable 2FA on GitHub
- Since your GitHub account gives you administrative rights to your Supabase project, you should protect it with a strong password and 2FA using a U2F key or a TOTP app.
- Ensure email confirmations are enabled in the Auth > Settings page
- Use a custom SMTP server for auth emails so that your users can see that the mails are coming from a trusted domain (preferably the same domain that your app is hosted on). (grab SMTP credentials from any major email provider such as SendGrid, AWS SES, etc.)
- Think hard about how *you* would abuse your service as an attacker, and mitigate
- Review these [common cybersecurity threats](https://auth0.com/docs/security/prevent-threats)
- Go to the Authentication > Policies page in the Supabase Dashboard to enable RLS and create security policies.
- Go to the Database > Replication page in the Supabase Dashboard to manage replication tables.
- Enable 2FA on GitHub. Since your GitHub account gives you administrative rights to your Supabase project, you should protect it with a strong password and 2FA using a U2F key or a TOTP app.
- Ensure email confirmations are enabled in the `Auth > Settings` page.
- Use a custom SMTP server for auth emails so that your users can see that the mails are coming from a trusted domain (preferably the same domain that your app is hosted on). Grab SMTP credentials from any major email provider such as SendGrid, AWS SES, etc.
- Think hard about how *you* would abuse your service as an attacker, and mitigate.
- Review these [common cybersecurity threats](https://auth0.com/docs/security/prevent-threats).
## Performance
- Ensure that you have suitable indices to cater to your common query patterns
- [learn more about indexes in postgres](https://www.enterprisedb.com/postgres-tutorials/overview-postgresql-indexes)
- pg_stat_statements can help you [identify hot or slow queries](https://www.virtual-dba.com/blog/postgresql-performance-identifying-hot-and-slow-queries/)
- [Learn more about indexes in Postgres](https://www.enterprisedb.com/postgres-tutorials/overview-postgresql-indexes).
- `pg_stat_statements` can help you [identify hot or slow queries](https://www.virtual-dba.com/blog/postgresql-performance-identifying-hot-and-slow-queries/).
- Perform load testing (preferably on a staging env)
- tools like [k6](https://k6.io/) can simulate traffic from many different users
- If you find you require more resources, contact support@supabase.io to upgrade to PAYG for bigger servers
- Tools like [k6](https://k6.io/) can simulate traffic from many different users.
- Upgrade your database if you require more resources. If you need anything beyond what is listed, contact enterprise@supabase.io.
- If you are expecting a surge in traffic (for a big launch), let the team know by sending your Project Ref to us (support@supabase.io) with more details about your launch. We'll keep an eye on your project.
## Availability
- Use your own SMTP credentials so that you have full control over the deliverability of your transactional auth emails (see Auth > Settings)
- you can grab SMTP credentials from any major email provider such as SendGrid, AWS SES, etc.
- the default rate limit for auth emails provided by Supabase is 30 new users per hour, if doing a major public announcement you will likely require more than this
- If your application is on the free tier and is **not** expected to be queried at least once every 7 days, then it may be paused by Supabase to save on server resources
- you can restore paused projects from the Supabase dashboard
- upgrade to Pro to guarantee that your project will not be paused for inactivity
- Database backups are not available for download on the free tier
- You can set up your own backup systems using tools like [pg_dump](https://www.postgresqltutorial.com/postgresql-backup-database/) or [wal-g](https://github.com/wal-g/wal-g)
- Nightly backups for Pro tier projects are available on the Supabase dashboard for up to 7 days
- upgrading to the Supabase Pro Tier will give you access to email support on support@supabase.io
- The default rate limit for auth emails provided by Supabase is 30 new users per hour, if doing a major public announcement you will likely require more than this.
- If your application is on the free tier and is **not** expected to be queried at least once every 7 days, then it may be paused by Supabase to save on server resources.
- You can restore paused projects from the Supabase dashboard.
- Upgrade to Pro to guarantee that your project will not be paused for inactivity.
- Database backups are not available for download on the free tier.
- You can set up your own backup systems using tools like [pg_dump](https://www.postgresqltutorial.com/postgresql-backup-database/) or [wal-g](https://github.com/wal-g/wal-g).
- Nightly backups for Pro tier projects are available on the Supabase dashboard for up to 7 days.
- Upgrading to the Supabase Pro Tier will give you access to email support on support@supabase.io
This checklist is always growing so be sure to check back frequently, and also feel free to suggest additions and amendments by making a PR on [GitHub](https://github.com/supabase/supabase).
+7 -7
View File
@@ -127,8 +127,8 @@ Every Supabase project has a unique API URL. Your API is secured behind an API g
The REST API and the GraphQL API are both accessible through this URL:
- REST: `https://<project_ref>.supabase.com/rest/v1`
- GraphQL: `https://<project_ref>.supabase.com/graphql/v1`
- REST: `https://<project_ref>.supabase.co/rest/v1`
- GraphQL: `https://<project_ref>.supabase.co/graphql/v1`
Both of these routes require the `anon` key to be passed through an `apikey` header.
@@ -172,7 +172,7 @@ values={[
#### GraphQL
The GraphQL Endpoint that we provide (`https://<project_ref>.supabase.com/rest/v1`) is compatible with any GraphiQL implementation that can pass an `apikey` header.
The GraphQL Endpoint that we provide (`https://<project_ref>.supabase.co/rest/v1`) is compatible with any GraphiQL implementation that can pass an `apikey` header.
Some suggested applications:
- [paw.cloud](https://paw.cloud)
@@ -339,13 +339,13 @@ values={[
<TabItem value="SQL">
```sql
alter publication supabase_realtime add table products;
alter publication supabase_realtime add table todos;
```
</TabItem>
</Tabs>
Now we can listen to any new data that is inserted into the `todo` table:
Now we can listen to any new data that is inserted into the `todos` table:
<Tabs
defaultValue="Javascript"
@@ -367,7 +367,7 @@ const handleInserts = (payload) => {
// Listen to unserts
const { data: todos, error } = await supabase
.from('todos')
.in('INSERT', handleUpdates)
.on('INSERT', handleUpdates)
.subscribe()
```
@@ -432,4 +432,4 @@ select usename,useconfig from pg_shadow where usename = 'authenticator' ;
The expected value for `useconfig` should be:
```
["session_preload_libraries=supautils, safeupdate"]
```
```
@@ -27,13 +27,20 @@ You can use these simple questions to determine which connection method to use:
- Are you connecting to your database and then _disconnecting_ immediately (e.g. a serverless environment)? If yes, use a connection pool.
## HTTP API
## API
Supabase provides an auto-updating API. This is the easiest way to get started if you are managing data (fetching, inserting, updating).
Supabase provides an auto-updating [API](/docs/guides/api). This is the easiest way to get started if you are managing data (fetching, inserting, updating).
You cannot manage the database schema
via the API (for security reasons). To do that you can use the dashboard or connect directly to your database.
### Interfaces
We provides several types of API to suit your preferences and use-case:
- [REST](/docs/guides/api#rest-api): interact with your database through a REST interface.
- [GraphQL](/docs/guides/api#graphql-api): interact with your database through a GraphQL interface.
- [Realtime](/docs/guides/api#realtime-api): listen to database changes over websockets.
You cannot manage the database schema via the API (for security reasons). To do that you can use the dashboard or connect directly to your database.
### Finding your API URL
@@ -98,7 +105,7 @@ When a client makes a request, PgBouncer "allocates" an available connection to
When the client transaction or session is completed the connection is returned to the pool and is free to be used by another client.
![Connection pooling](/img/guides/connection-pool.png)
![Connection pooling](/img/guides/database/connection-pool.png)
### Pool modes
+149 -96
View File
@@ -11,12 +11,6 @@ import TabItem from '@theme/TabItem';
Postgres has built-in support for [SQL functions](https://www.postgresql.org/docs/current/sql-createfunction.html).
These functions live inside your database, and they can be [used with the API](/docs/reference/javascript/rpc).
## Database vs Edge Functions
For data-intensive operations we recommend using Database Functions, which are executed within your database, and can be called remotely using the REST and GraphQL API.
If you are looking for Typescript Functions which are globally deployed, check out [Edge Functions](/docs/guides/functions).
## Quick demo
<iframe
@@ -29,7 +23,7 @@ If you are looking for Typescript Functions which are globally deployed, check o
allowFullScreen
></iframe>
## Creating Functions
## Getting started
Supabase provides several options for creating database functions. You can use the Dashboard or create them directly using SQL.
We provide a SQL editor within the Dashboard, or you can [connect](/docs/guides/database/connecting/connecting-to-postgres) to your database
@@ -41,12 +35,84 @@ and run the SQL queries yourself.
3. Enter the SQL to create or replace your Database function.
4. Click "Run" or cmd+enter (ctrl+enter).
## Examples
### Data set
## Simple Functions
For this guide we'll use the following example data:
Let's create a basic Database Function which returns a string "hello world".
```sql
create or replace function hello_world() -- 1
returns text -- 2
language sql -- 3
as $$ -- 4
select 'hello world'; -- 5
$$; --6
```
<details>
<summary>Show/Hide Details</summary>
At it's most basic a function has the following parts:
1. `create or replace function hello_world()`: The function declaration, where `hello_world` is the name of the function. You can use either `create` when creating a new function or `replace` when replacing an existing function. Or you can use `create or replace` together to handle either.
2. `returns text`: The type of data that the function returns. If it returns nothing, you can `returns void`.
3. `language sql`: The language used inside the function body. This can also be a procedural language: `plpgsql`, `plv8`, `plpython`, etc.
4. `as $$`: The function wrapper. Anything enclosed inside the `$$` symbols will be part of the function body.
5. `select 'hello world';`: A simple function body. The final `select` statement inside a function body will be returned if there are no statements following it.
6. `$$;`: The closing symbols of the function wrapper.
</details>
<br />
After the Function is created, we have several ways of "executing" the function - either directly inside the database using SQL, or with one of the client libraries.
<Tabs
defaultValue="SQL"
values={[
{label: 'SQL', value: 'SQL'},
{label: 'JS', value: 'JS'},
{label: 'Dart', value: 'Dart'},
]}>
<TabItem value="SQL">
```sql
select hello_world();
```
</TabItem>
<TabItem value="JS">
```js
const { data, error } = supabase
.rpc('hello_world')
```
Reference: [rpc()](/docs/reference/javascript/rpc)
</TabItem>
<TabItem value="Dart">
```dart
final res = await supabase
.rpc('hello_world')
.execute();
```
Reference: [rpc()](/docs/reference/dart/rpc)
</TabItem>
</Tabs>
## Returning data sets
Database Functions can also return data sets from [Tables](/docs/guides/database/tables) or Views.
For example, if we had a database with some Star Wars data inside:
<Tabs
defaultValue="Data"
@@ -107,79 +173,8 @@ values
</Tabs>
### Basic function
A basic example which returns a string "hello world".
```sql
create or replace function hello_world() -- 1
returns text -- 2
language sql -- 3
as $$ -- 4
select 'hello world'; -- 5
$$; --6
```
<details>
<summary>Show/Hide Details</summary>
At it's most basic a function has the following parts:
1. `create or replace function hello_world()`: The function declaration, where `hello_world` is the name of the function. You can use either `create` when creating a new function or `replace` when replacing an existing function. Or you can use `create or replace` together to handle either.
2. `returns text`: The type of data that the function returns. If it returns nothing, you can `returns void`.
3. `language sql`: The language used inside the function body. This can also be a procedural language: `plpgsql`, `plv8`, `plpython`, etc.
4. `as $$`: The function wrapper. Anything enclosed inside the `$$` symbols will be part of the function body.
5. `select 'hello world';`: A simple function body. The final `select` statement inside a function body will be returned if there are no statements following it.
6. `$$;`: The closing symbols of the function wrapper.
</details>
#### Execute
<Tabs
defaultValue="SQL"
values={[
{label: 'SQL', value: 'SQL'},
{label: 'JS', value: 'JS'},
{label: 'Dart', value: 'Dart'},
]}>
<TabItem value="SQL">
```sql
select hello_world();
```
</TabItem>
<TabItem value="JS">
```js
const { data, error } = supabase
.rpc('hello_world')
```
Reference: [rpc()](/docs/reference/javascript/rpc)
</TabItem>
<TabItem value="Dart">
```dart
final res = await supabase
.rpc('hello_world')
.execute();
```
Reference: [rpc()](/docs/reference/dart/rpc)
</TabItem>
</Tabs>
### Return table sets
A basic example which return all the `planets` in our example data set.
We could create a function which returns all the planets:
```sql
create or replace function get_planets()
@@ -190,8 +185,6 @@ as $$
$$;
```
#### Execute
Because this function returns a table set, we can also apply filters and selectors. For example, if we only wanted the first planet:
<Tabs
@@ -219,8 +212,6 @@ const { data, error } = supabase
.eq('id', 1)
```
Reference: [rpc()](/docs/reference/javascript/rpc)
</TabItem>
<TabItem value="Dart">
@@ -231,16 +222,14 @@ final res = await supabase
.execute();
```
Reference: [rpc()](/docs/reference/dart/rpc)
</TabItem>
</Tabs>
### With parameters
## Passing parameters
A basic example which will insert a new planet into the `planets` and return the new ID. Note that this time we're using the `plpgsql` language.
Let's create a Function to insert a new planet into the `planets` table and return the new ID. Note that this time we're using the `plpgsql` language.
```sql
create or replace function add_planet(name text)
@@ -259,9 +248,7 @@ end;
$$;
```
#### Execute
Because this function returns a table set, we can also apply filters and selectors. For example, if we only wanted the `name` of the first planet:
Once again, you can execute this function either inside your database using a `select` query, or with the client libraries:
<Tabs
defaultValue="SQL"
@@ -285,7 +272,6 @@ const { data, error } = await supabase
.rpc('add_planet', { name: 'Jakku' })
```
Reference: [rpc()](/docs/reference/javascript/rpc)
</TabItem>
<TabItem value="Dart">
@@ -296,14 +282,81 @@ final res = await supabase
.execute();
```
Reference: [rpc()](/docs/reference/dart/rpc)
</TabItem>
</Tabs>
## Suggestions
### Database Functions vs Edge Functions
For data-intensive operations we recommend using [Database Functions](/docs/guides/database/functions), which are executed within your database
and can be called remotely using the [REST and GraphQL API](/docs/guides/database/api).
For use-cases which require low-latency we recommend [Edge Functions](/docs/guides/functions), which are globally-distributed and can be written in Typescript.
### Security `definer` vs `invoker`
Postgres allows you to specify whether you want the function to be executed as the user _calling_ the function (`invoker`), or as the _creator_ of the function (`definer`). For example:
```sql
create function hello_world()
returns text
language plpgsql
security definer set search_path = public
as $$
begin
select 'hello world';
end;
$$;
```
It is best practice to use `security invoker` (which is also the default). If you ever use `security invoker`, you _must_ set the `search_path`.
This limits the potential damage if you allow access to schemas which the user executing the function should not have.
## Resources
- Official Client libraries: [JavaScript](/docs/reference/javascript/rpc) and [Dart](/docs/reference/dart/rpc)
- Community client libraries: [github.com/supabase-community](https://github.com/supabase-community)
- PostgreSQL Official Docs: [Chapter 9. Functions and Operators](https://www.postgresql.org/docs/current/functions.html)
- PostgreSQL Reference: [CREATE FUNCTION](https://www.postgresql.org/docs/9.1/sql-createfunction.html)
## Deep Dive
### Create Database Functions
<iframe
className="w-full video-with-border"
width="640"
height="385"
src="https://www.youtube-nocookie.com/embed/MJZCCpCYEqk"
frameBorder="1"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
></iframe>
### Call Database Functions using JavaScript
<iframe
className="w-full video-with-border"
width="640"
height="385"
src="https://www.youtube-nocookie.com/embed/I6nnp9AINJk"
frameBorder="1"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
></iframe>
### Using Database Functions to call an external API
<iframe
className="w-full video-with-border"
width="640"
height="385"
src="https://www.youtube-nocookie.com/embed/I6nnp9AINJk"
frameBorder="1"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
></iframe>
+242 -22
View File
@@ -1,6 +1,6 @@
---
id: tables
title: Tables
title: Tables and Data
description: Creating and using Postgres tables.
---
@@ -8,25 +8,31 @@ import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
In Postgres, data is stored in "tables".
Tables are similar to excel spreadsheets. They contain columns & rows of data. There are a few key differences from a spreadsheet however:
Tables are where you store your data.
- Every column is a strict type of data. When you set up a column, you must define the "data type".
- Tables can be "joined" together. For example you can have a `users` table, which is joined to a `teams` table (because users belong to teams).
Tables are similar to excel spreadsheets. They contain columns and rows.
For example, this table has 3 "columns" (`id`, `name`, `description`) and 4 "rows" of data:
| `id` | `name` | `description` |
| ---- | ---- | ----------- |
| 1 | Toy Story | When a new toy called "Forky" joins Woody and the gang, a road trip alongside old and new friends reveals how big the world can be for a toy. |
| 2 | Monsters, Inc. | In order to power the city, monsters have to scare children so that they scream. However, the children are toxic to monsters. |
| 3 | Finding Nemo | After his son is captured in the Great Barrier Reef and taken to Sydney, a timid clownfish sets out on a journey to bring him home. |
| 4 | WALL-E | In the distant future, a small waste-collecting robot inadvertently embarks on a space journey that will ultimately decide the fate of mankind. |
| 1 | The Phantom Menace | Two Jedi escape a hostile blockade to find allies and come across a young boy who may bring balance to the Force. |
| 2 | Attack of the Clones | Ten years after the invasion of Naboo, the Galactic Republic is facing a Separatist movement. |
| 3 | Revenge of the Sith | As Obi-Wan pursues a new threat, Anakin acts as a double agent between the Jedi Council and Palpatine and is lured into a sinister plan to rule the galaxy. |
| 4 | Star Wars | Luke Skywalker joins forces with a Jedi Knight, a cocky pilot, a Wookiee and two droids to save the galaxy from the Empire's world-destroying battle station. |
There are a few important differences from a spreadsheet, but it's a good starting point if you're new to Relational databases.
## Creating Tables
Supabase provides several options for creating tables. You can use the Table Editor or create them directly using SQL.
When creating a table, it's best practice to add columns at the same time.
![Tables and columns](/img/guides/database/tables-columns.png)
You must define the "data type" of each column when it is created. You can add and remove columns at any time after creating a table.
Supabase provides several options for creating tables. You can use the Dashboard or create them directly using SQL.
We provide a SQL editor within the Dashboard, or you can [connect](/docs/guides/database/connecting/connecting-to-postgres) to your database
and run the SQL queries yourself.
@@ -34,11 +40,16 @@ and run the SQL queries yourself.
<Tabs
defaultValue="UI"
values={[
{label: 'UI', value: 'UI'},
{label: 'Dashboard', value: 'UI'},
{label: 'SQL', value: 'SQL'},
]}>
<TabItem value="UI">
<video width="99%" muted playsInline controls="true">
<source src="/docs/videos/api/api-create-table-sm.mp4" type="video/mp4" muted playsInline />
</video>
```sh
1. Go to the "Table editor" section.
2. Click "New Table".
@@ -49,30 +60,25 @@ values={[
7. Click "Save".
```
<video width="99%" muted playsInline controls="true">
<source src="/docs/videos/api/api-create-table-sm.mp4" type="video/mp4" muted playsInline />
</video>
</TabItem>
<TabItem value="SQL">
```sql
-- Create a table called "todos" with a column to store tasks.
create table todos (
create table movies (
id bigint generated by default as identity primary key,
task text check (char_length(task) > 3)
name text,
description text
);
```
</TabItem>
</Tabs>
It is best practice to use lowercase and underscores when naming tables. For example: `table_name`, not `Table Name`.
### Tips
## Columns
- It is best practice to use lowercase and underscores when naming tables. For example: `table_name`, not `Table Name`.
- Tables belong to `schemas`. If you don't explicitly pass the schema, Postgres will assume that you want to create the table in the `public` schema.
You must define the "data type" when you create a column.
### Data types
@@ -133,3 +139,217 @@ if the default types don't fit your needs.
</details>
<br />
You can "cast" columns from one type to another, however there can be some incompatibilities between types.
For example, if you cast a `timestamp` to a `date`, you will lose all the time information that was previously saved.
### Primary Keys
A table can have a "primary key" - a unique identifier for every row of data. A few tips for Primary Keys:
- It's recommended to create a Primary Key for every table in your database.
- You can use any column as a primary key, as long as it is unique for every row.
- It's common to use a `uuid` type or a numbered `identity` column as your primary key.
```sql
create table movies (
id bigint generated always as identity primary key
);
```
In the example above, we have:
1. created a column called `id`
1. assigned the data type `bigint`
1. instructed the database that this should be `generated always as identity`, which means that Postgres will automatically assign a unique number to this column.
1. Becuase it's unique, we can also use it as our `primary key`.
We could also use `generated by default as identity`, which would allow us to insert our own unique values.
```sql
create table movies (
id bigint generated by default as identity primary key
);
```
## Loading data
There are several ways to load data in Supabase. You can load data directly into the database or using the [APIs](/docs/guides/api).
Use the "Bulk Loading" instructions if you are loading large data sets.
### Basic data loading
<Tabs
defaultValue="SQL"
values={[
{label: 'SQL', value: 'SQL'},
{label: 'JavaScript', value: 'JS'},
{label: 'Dart', value: 'DART'},
]}>
<TabItem value="SQL">
```sql
insert into movies
(name, description)
values
('The Empire Strikes Back', 'After the Rebels are brutally overpowered by the Empire on the ice planet Hoth, Luke Skywalker begins Jedi training with Yoda.'),
('Return of the Jedi', 'After a daring mission to rescue Han Solo from Jabba the Hutt, the Rebels dispatch to Endor to destroy the second Death Star.');
```
</TabItem>
<TabItem value="JS">
```sql
const { data, error } = await supabase
.from('movies')
.insert([{
name: 'The Empire Strikes Back',
description: 'After the Rebels are brutally overpowered by the Empire on the ice planet Hoth, Luke Skywalker begins Jedi training with Yoda.'
}, {
name: 'Return of the Jedi',
description: 'After a daring mission to rescue Han Solo from Jabba the Hutt, the Rebels dispatch to Endor to destroy the second Death Star.'
}])
```
</TabItem>
<TabItem value="DART">
```sql
final res = await supabase
.from('movies')
.insert([{
name: 'The Empire Strikes Back',
description: 'After the Rebels are brutally overpowered by the Empire on the ice planet Hoth, Luke Skywalker begins Jedi training with Yoda.'
}, {
name: 'Return of the Jedi',
description: 'After a daring mission to rescue Han Solo from Jabba the Hutt, the Rebels dispatch to Endor to destroy the second Death Star.'
}]).execute();
```
</TabItem>
</Tabs>
### Bulk data loading
When inserting large data sets it's best to use PostgreSQL's [COPY](https://www.postgresql.org/docs/current/sql-copy.html) command.
This loads data directly from a file into a table. There are several file formats available for copying data: text, csv, binary, JSON, etc.
For example, if you wanted to load a CSV file into your movies table:
```csv title="./movies.csv"
"The Empire Strikes Back", "After the Rebels are brutally overpowered by the Empire on the ice planet Hoth, Luke Skywalker begins Jedi training with Yoda."
"Return of the Jedi", "After a daring mission to rescue Han Solo from Jabba the Hutt, the Rebels dispatch to Endor to destroy the second Death Star."
```
You would [connect](/docs/guides/database/connecting-to-postgres#direct-connections) to your database directly and load the file with the COPY command:
```bash
psql -h DATABASE_URL -p 5432 postgres -U postgres \
-c "COPY movies FROM './movies.csv';"
```
## Joining tables with Foreign Keys
Tables can be "joined" together using Foreign Keys.
![Foreign Keys](/img/guides/database/foreign-keys.png)
This is where the "Relational" naming comes from, as data typically forms some sort of relationship.
In our "movies" example above, we might want to add a "category" for each movie (for example, "Action", or "Documentary").
Let's create a new table called `categories` and "link" our `movies` table.
```sql
create table categories (
id bigint generated always as identity primary key,
name text -- category name
);
alter table movies
add column category_id bigint references categories;
```
You can also create "many-to-many" relationships by creating a "join" table.
For example if you had the following situations:
- You have a list of `movies`.
- A movie can have several `actors`.
- An `actor` can perfom in several movies.
<Tabs
defaultValue="SQL"
values={[
{label: 'SQL', value: 'SQL'},
{label: 'Dashboard', value: 'UI'},
]}>
<TabItem value="SQL">
```sql
create table movies (
id bigint generated by default as identity primary key,
name text,
description text
);
create table actors (
id bigint generated by default as identity primary key,
name text
);
create table performances (
id bigint generated by default as identity primary key,
movie_id bigint not null references movies,
actor_id bigint not null references actors
);
```
</TabItem>
<TabItem value="UI">
<iframe
className="w-full video-with-border"
width="640"
height="420"
src="https://www.youtube-nocookie.com/embed/TKwF3IGij5c"
frameBorder="1"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
></iframe>
</TabItem>
</Tabs>
## Schemas
Tables belong to `schemas`. Schemas are a way of organizing your tables, often for security reasons.
![Schemas and tables](/img/guides/database/schema-tables.png)
If you don't explicitly pass a schema when creating a table, Postgres will assume that you want to create the table in the `public` schema.
We can create schemas for organizing tables. For example, we might want a private schema which is hidden from our API:
```sql
create schema private;
```
Now we can create tables inside the `private` schema:
```sql
create table salaries (
id bigint generated by default as identity primary key,
salary bigint not null,
actor_id bigint not null references public.actors
);
```
## Resources
- [Official Docs: Create table](https://www.postgresql.org/docs/current/sql-createtable.html)
- [PostgreSQL Tutorial: Create tables](https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-create-table/)
- [PostgreSQL Tutorial: Add column](https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-add-column/)
+8 -5
View File
@@ -251,12 +251,15 @@ You can find a list of useful [Edge Function Examples](https://github.com/supaba
</div>
</div>
## Suggestions and Limitations
## Suggestions
### Database vs Edge Functions
### Database Functions vs Edge Functions
For data-intensive operations we recommend using [Database Functions](/docs/guides/database/functions), which are executed within your database
and can be called remotely using the [REST and GraphQL API](/docs/guides/database/api).
For use-cases which require low-latency we recommend [Edge Functions](/docs/guides/functions), which are globally-distributed and can be written in Typescript.
For data-intensive operations we recommend using [Database Functions](/docs/guides/database/functions), which are executed within your database,
and can be called remotely using the [REST and GraphQL API](/docs/guides/database/functions).
### Organizing your Edge Functions
@@ -280,7 +283,7 @@ We recommend developing “fat functions”. This means that you should develop
We recommend using hyphens to name functions because hyphens are the most URL-friendly of all the naming conventions (snake_case, camelCase, PascalCase).
### Limitations
## Limitations
Edge Functions are Experimental. They aren't going away, but there will be breaking changes.
+1 -1
View File
@@ -131,7 +131,7 @@ Database changes are managed through "migrations". Database migrations are a com
#### Making database changes
For this guild, let's create a table called `employees`, using the "Supabase Studio" link provided.
For this guide, let's create a table called `employees`, using the "Supabase Studio" link provided.
:::note
+30 -5
View File
@@ -89,7 +89,7 @@ const { data, error } = await supabase.storage.createBucket('avatars')
```dart
void main() async {
final client = SupabaseClient('supabaseUrl', 'supabaseKey');
final storageResponse = await client
.storage
.createBucket('avatars');
@@ -143,7 +143,7 @@ const { data, error } = await supabase.storage
```dart
void main() async {
final client = SupabaseClient('supabaseUrl', 'supabaseKey');
// Create file `example.txt` and upload it in `public` bucket
final file = File('example.txt');
file.writeAsStringSync('File content');
@@ -198,7 +198,7 @@ const { data, error } = await supabase.storage.from('avatars').download('public/
```dart
void main() async {
final client = SupabaseClient('supabaseUrl', 'supabaseKey');
final storageResponse = await client
.storage
.from('public')
@@ -302,9 +302,27 @@ For example, if your file is stored in `public/subfolder/avatar.png` it would re
## Accessing objects
For private buckets, you can access objects via the [download](/docs/reference/javascript/storage-from-download) method. This corresponds to `/object/auth/` API endpoint. Alternatively, you can create a publicly shareable URL with an expiry date using the [createSignedUrl](/docs/reference/javascript/storage-from-createsignedurl) method which calls the `/object/sign/` API.
For public buckets, you can access the assets directly without a token or an Authorisation header. The [getPublicUrl](/docs/reference/javascript/storage-from-getpublicurl) helper method returns the full public URL for an asset. This calls the `/object/public/` API endpoint internally.
For private buckets, you can access objects via the [download](/docs/reference/javascript/storage-from-download) method. This corresponds to `/object/auth/` API endpoint.
Alternatively, you can create a publicly shareable URL with an expiry date using the [createSignedUrl](/docs/reference/javascript/storage-from-createsignedurl) method
which calls the `/object/sign/` API.
For public buckets, you can access the assets directly without a token or an Authorisation header. The [getPublicUrl](/docs/reference/javascript/storage-from-getpublicurl)
helper method returns the full public URL for an asset. This calls the `/object/public/` API endpoint internally.
<details>
<summary>Advanced: reverse proxy</summary>
The URLs returned are proxied through the API Proxy. They are suffixed by <code>/storage/v1</code>.
For example, on the hosted Platform they will be
<code>https://[project_ref].supabase.co/storage/v1/object/public/[id]</code>
You can access the storage API directly with the same endpoint. See the <a href="https://supabase.github.io/storage-api">API docs</a> for a full list of operations available.
</details>
---
@@ -349,6 +367,13 @@ on storage.objects for select
using ( auth.uid() = owner );
```
## Resources
- Find the API server on GitHub: [github.com/supabase/storage-api](https://github.com/supabase/storage-api)
- Find the Swagger API Docs online: [supabase.github.io/storage-api](https://supabase.github.io/storage-api)
- Official client libraries documentation: [JavaScript](/docs/reference/javascript/storage-createbucket) and [Dart](/docs/reference/dart/storage-createbucket).
- Community libraries: [github.com/supabase-community](https://github.com/supabase-community)
## Next steps
- Got a question? [Ask here](https://github.com/supabase/supabase/discussions).
+1 -2
View File
@@ -183,7 +183,7 @@ module.exports = {
type: 'category',
label: 'Platform',
collapsed: false,
items: ['guides/platform/logs'],
items: ['guides/platform/logs', 'going-into-prod'],
},
{
type: 'category',
@@ -214,7 +214,6 @@ module.exports = {
collapsed: false,
items: [
'faq',
'going-into-prod',
'handbook/contributing',
'handbook/supasquad',
'company/terms',
+2275 -1988
View File
File diff suppressed because it is too large. Load diff
+2 -1
View File
@@ -183,7 +183,8 @@
}
]
}
}
},
"defaultValue": "{}"
}
],
"type": {
+1770 -1530
View File
File diff suppressed because it is too large. Load diff
+487 -453
View File
File diff suppressed because it is too large. Load diff
+16 -4
View File
@@ -19859,8 +19859,11 @@
}
],
"type": {
"type": "literal",
"value": "sms"
"type": "reference",
"id": 783,
"qualifiedName": "MobileOTPType",
"package": "@supabase/gotrue-js",
"name": "MobileOTPType"
}
}
],
@@ -19986,8 +19989,17 @@
}
],
"type": {
"type": "literal",
"value": "sms"
"type": "union",
"types": [
{
"type": "literal",
"value": "sms"
},
{
"type": "literal",
"value": "phone_change"
}
]
}
},
{
File renamed without changes.

Before

Width:  |  Height:  |  Size: 195 KiB

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 KiB

@@ -0,0 +1,108 @@
---
title: Supabase Beta March 2022
description: Functions, GraphQL, and much more.
author: ant_wilson
image: 2022-march/thumb.jpg
thumb: 2022-march/thumb.jpg
tags:
- launch-week
date: '2022-04-15T11:00:00'
toc_depth: 3
---
Definitely our most feature-packed month so far. Here's a ton of stuff we shipped throughout March...
## Functions
The one we've all been waiting for. You can now [deploy Javascript & Typescript functions](/blog/2022/03/31/supabase-edge-functions) to Supabase. You can develop and test locally, link a project, and deploy globally to the edge in a matter of seconds!
[![supabase functions](/images/blog/2022-march/functions.png)](/blog/2022/03/31/supabase-edge-functions)
## GraphQL
You can now [query your Supabase database with GraphQL](/blog/2022/03/29/graphql-now-available). We built this as a postgres extension, so it's portable, open source, and solves some of the problems that exist in other GraphQL implementations.
[![graphql](/images/blog/2022-march/graphql.jpg)](/blog/2022/03/29/graphql-now-available)
## Realtime
Supabase Realtime [now supports multiplayer and presence](/blog/2022/04/01/supabase-realtime-with-multiplayer-features), so you can build collaborative applications like Figma and Google Docs with Supabase. Come and have some fun on our demo application.
[![realtime](/images/blog/2022-march/realtime.png)](/blog/2022/04/01/supabase-realtime-with-multiplayer-features)
## Enterprise
[Logging and Observability dashboard](/blog/2022/03/30/supabase-enterprise), Prometheus endpoint, SLAs, premium support, pricing updates, and Point-In-Time-Recovery. Everything you need to use Supabase at scale.
[![enterprise](/images/blog/2022-march/enterprise.png)](/blog/2022/03/30/supabase-enterprise)
## GitHub Secret Scanning
We're now an official [GitHub secret scanning partner](/blog/2022/03/28/community-day#supabase-is-now-a-github-secret-scanning-partner), meaning that if you accidentally push your service_role key to GitHub, you'll get a notification email, and your keys will automatically be rolled on Supabase. For private repos you can disable this.
[![secret scanning](/images/blog/2022-march/secret-scanning.png)](/blog/2022/03/28/community-day#supabase-is-now-a-github-secret-scanning-partner)
## Community Day
[PostgREST 10 pre-release](/blog/2022/03/28/community-day#postgrest-10-pre-release), new OAuth providers, Next-JS auth helpers, new courses, and an open source Partner Gallery.
[![community day](/images/blog/2022-march/community-day.png)](/blog/2022/03/28/community-day)
## Should I open source my company?
[We wrote an article](/blog/2022/03/25/should-i-open-source-my-company) for anyone considoring making their codebase open source. We explore the advantages and tackle some common concerns.
[![open source](/images/blog/2022-march/open-source.png)](/blog/2022/03/25/should-i-open-source-my-company)
## Supabrew - Never Code Thirsty
For April Fools - [we announced a non-alcoholic](/blog/2022/04/01/supabrew), light, and refreshing brew. Perfect for coding late into the night. We're pushing the boundaries of Developer Experience.
[![supabrew](/images/blog/2022-march/supabrew.png)](/blog/2022/04/01/supabrew)
## Video Highlights
Relive all the action from Launch Week 4:
- [Community Day Live Stream](https://www.youtube.com/watch?v=D0gIgjozOzc) on YouTube
- [GraphQL Announcement Live Stream](https://www.youtube.com/watch?v=fApxu_U_hdw) on YouTube
- [Enterprise Announcements Live Stream](https://www.youtube.com/watch?v=UZrl1cwzTDg) on YouTube
- [Functions Announcement with Deno Team](https://www.youtube.com/watch?v=Xci5SOv76k0) on YouTube
- [Realtime Demo App](https://www.youtube.com/watch?v=BelYEMJ2N00) on YouTube
- [Realtime Remix w/Supabase Launch Party](https://www.youtube.com/watch?v=rntEMgaenHs) on YouTube
- [Building an Image Gallery with Vercel](https://www.youtube.com/watch?v=BSoRXk1FIw8) by Lee Robinson
## Hiring
We're Hiring - for a ton of new roles across engineering, marketing, and HR. We hire fully remotely, and you'll get to work alongside some incredible people, on one of the fastest growing open source companies. [See which roles we're hiring for](https://about.supabase.com/careers).
[![supabase is hiring](/images/blog/2021-dec/hiring.png)](https://about.supabase.com/careers)
## Twitter
We're having a 24/7*365 meme-fest on [Twitter](https://twitter.com/supabase). Come join us.
[![supabase twitter](/images/blog/2022-march/twitter.png)](https://twitter.com/supabase)
## TikTok
Check us out on [TikTok](https://www.tiktok.com/@supabase.com?fromUrl=%2Fsupabase.com&lang=en)
[![tiktok](/images/blog/2021-dec/tiktok.png)](https://www.tiktok.com/@supabase.com?fromUrl=%2Fsupabase.com&lang=en)
## Swag Store
A reminder that we have a [Supabase Swag Store](https://store.supabase.com)
[![swag store](/images/blog/2021-dec/swag.jpg)](https://store.supabase.com)
## GitHub
We hit 30K stars!!: [github.com/supabase/supabase](http://github.com/supabase/supabase)
## Get started
- Start using Supabase today: **[app.supabase.io](https://app.supabase.io/)**
- Make sure to **[star us on GitHub](https://github.com/supabase/supabase)**
- Follow us **[on Twitter](https://twitter.com/supabase)**
- Subscribe to our **[YouTube channel](https://www.youtube.com/c/supabase)**
- Become a **[sponsor](https://github.com/sponsors/supabase)**
+4 -8
View File
@@ -100,15 +100,11 @@ function GithubExamples() {
)
})}
<div className="container mx-auto hidden md:flex flex-row justify-between mt-3">
<div ref={prevRef} className="cursor-pointer ml-4">
<p>
<IconArrowLeft />
</p>
<div ref={prevRef} className="cursor-pointer ml-4 p">
<IconArrowLeft />
</div>
<div ref={nextRef} className="cursor-pointer mr-4">
<p>
<IconArrowRight />
</p>
<div ref={nextRef} className="cursor-pointer mr-4 p">
<IconArrowRight />
</div>
</div>
</Swiper>
@@ -48,7 +48,7 @@ function TwitterSocialProof() {
GitHub discussions
</Button>
</Link>
<Link href={'https://github.com/supabase/supabase/discussions'} passHref>
<Link href={'https://discord.supabase.com/'} passHref>
<Button
as="a"
type="default"
+3 -3
View File
@@ -101,7 +101,7 @@ function Database() {
<SectionContainer>
<div className="grid grid-cols-12">
<div className="mb-10 lg:mb-0 col-span-12 lg:col-span-3">
<div className="mb-4 flex items-center space-x-2">
<div className="mb-4 flex items-center space-x-2 p">
<ProductIcon icon={Solutions['database'].icon} />
<IconX />
<div className="w-fit flex items-center">
@@ -119,7 +119,7 @@ function Database() {
</p>
</div>
<div className="mb-10 lg:mb-0 col-span-12 lg:col-span-3 lg:col-start-5">
<div className="mb-4 flex items-center space-x-2">
<div className="mb-4 flex items-center space-x-2 p">
<ProductIcon icon={Solutions['database'].icon} />
<IconX />
<ProductIcon icon={Solutions['authentication'].icon} />
@@ -133,7 +133,7 @@ function Database() {
</p>
</div>
<div className="col-span-12 lg:col-span-3 lg:col-start-9">
<div className="mb-4 flex items-center space-x-2">
<div className="mb-4 flex items-center space-x-2 p">
<ProductIcon icon={Solutions['database'].icon} />
<IconX />
<ProductIcon icon={'M13 10V3L4 14h7v7l9-11h-7z'} />
+3 -3
View File
@@ -54,9 +54,9 @@ const featureHighlights = [
highlightLines: '22..27',
},
{
title: 'Use secrets to store senstive keys',
title: 'Use secrets to store sensitive keys',
description:
'Set and edit secrets via the CLI, which can then be accessed via enviroment variables.',
'Set and edit secrets via the CLI, which can then be accessed via environment variables.',
highlightLines: '7..13',
},
{
@@ -175,7 +175,7 @@ function Database() {
<button
key={`featureHighlighted-${i}`}
className={
'group transition-all border px-6 py-4 text-left rounded-md bg-scale-200 hover:bg-scale-100 hover:dark:bg-scale-300 hover:boder' +
'group transition-all border px-6 py-4 text-left rounded-md bg-scale-200 hover:bg-scale-100 hover:dark:bg-scale-300 hover:border' +
(active
? ' bg-white dark:bg-scale-400 border-scale-500'
: ' border-scale-300')
+6
View File
@@ -21,6 +21,12 @@ export default function IndexPage() {
const meta_description =
'Explore Supabase fees and pricing information. Find our competitive pricing tiers, with no hidden pricing. We have generous free tiers for those getting started, and Pay As You Go for those scaling up.'
/**
* @mildtomato same plan metadata is also in /studio dashboard
* would be good if this constant was shared across apps
*
* https://github.com/supabase/supabase/blob/master/www/pages/pricing/index.tsx
*/
const tiers = [
{
name: 'Free',
+1 -1
View File
@@ -82,7 +82,7 @@ function StoragePage() {
<SectionContainer>
<div className="grid grid-cols-12">
<div className="mb-10 lg:mb-0 col-span-12 lg:col-span-3">
<div className="mb-4 flex items-center space-x-2">
<div className="mb-4 flex items-center space-x-2 p">
<ProductIcon icon={Solutions['storage'].icon} />
<IconX />
<ProductIcon icon={Solutions['authentication'].icon} />
Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

+101 -93
View File
@@ -5,15 +5,23 @@
<link>https://supabase.com</link>
<description>Latest news from Supabase</description>
<language>en</language>
<lastBuildDate>Thu, 31 Mar 2022 22:00:00 GMT</lastBuildDate>
<lastBuildDate>Thu, 14 Apr 2022 16:00:00 GMT</lastBuildDate>
<atom:link href="https://supabase.com/blog/rss.xml" rel="self" type="application/rss+xml"/>
<item>
<guid>https://supabase.com/blog/2022/04/15/beta-update-march-2022</guid>
<title>Supabase Beta March 2022</title>
<link>https://supabase.com/blog/2022/04/15/beta-update-march-2022</link>
<description>Functions, GraphQL, and much more.</description>
<pubDate>Thu, 14 Apr 2022 16:00:00 GMT</pubDate>
</item>
<item>
<guid>https://supabase.com/blog/2022/04/01/supabrew</guid>
<title>Supabrew - Never Code Thirsty</title>
<link>https://supabase.com/blog/2022/04/01/supabrew</link>
<description>A light and refreshing non-alcoholic beer for devs.</description>
<pubDate>Thu, 31 Mar 2022 22:00:00 GMT</pubDate>
<pubDate>Thu, 31 Mar 2022 16:00:00 GMT</pubDate>
</item>
<item>
@@ -21,7 +29,7 @@
<title>Supabase Realtime, with Multiplayer Features</title>
<link>https://supabase.com/blog/2022/04/01/supabase-realtime-with-multiplayer-features</link>
<description>Today we're announced Realtime, with multiplayer features. Realtime enables broadcast, presence, and listening to database changes delivered over WebSockets.</description>
<pubDate>Thu, 31 Mar 2022 22:00:00 GMT</pubDate>
<pubDate>Thu, 31 Mar 2022 16:00:00 GMT</pubDate>
</item>
<item>
@@ -29,7 +37,7 @@
<title>Hackathon: Bring the Func(🕺)</title>
<link>https://supabase.com/blog/2022/04/01/hackathon-bring-the-func</link>
<description>Build open-source projects with our latest features, win limited edition swag and plant a tree!</description>
<pubDate>Thu, 31 Mar 2022 22:00:00 GMT</pubDate>
<pubDate>Thu, 31 Mar 2022 16:00:00 GMT</pubDate>
</item>
<item>
@@ -37,7 +45,7 @@
<title>Edge Functions are now available in Supabase</title>
<link>https://supabase.com/blog/2022/03/31/supabase-edge-functions</link>
<description>Today we're launching Edge Functions. Edge Functions let you execute Typescript code close to your users, no matter where they're located.</description>
<pubDate>Wed, 30 Mar 2022 22:00:00 GMT</pubDate>
<pubDate>Wed, 30 Mar 2022 16:00:00 GMT</pubDate>
</item>
<item>
@@ -45,7 +53,7 @@
<title>Introducing Supabase Enterprise</title>
<link>https://supabase.com/blog/2022/03/30/supabase-enterprise</link>
<description>Today we are releasing Supabase Enterprise, a suite of features to scale your project.</description>
<pubDate>Tue, 29 Mar 2022 22:00:00 GMT</pubDate>
<pubDate>Tue, 29 Mar 2022 16:00:00 GMT</pubDate>
</item>
<item>
@@ -53,7 +61,7 @@
<title>GraphQL is now available in Supabase</title>
<link>https://supabase.com/blog/2022/03/29/graphql-now-available</link>
<description>GraphQL support is now in general availability on the Supabase platform via our open source PostgreSQL extension, pg_graphql (beta).</description>
<pubDate>Mon, 28 Mar 2022 22:00:00 GMT</pubDate>
<pubDate>Mon, 28 Mar 2022 16:00:00 GMT</pubDate>
</item>
<item>
@@ -61,7 +69,7 @@
<title>Community Day</title>
<link>https://supabase.com/blog/2022/03/28/community-day</link>
<description>Kicking off Launch Week IV with contributors, partners, and friends.</description>
<pubDate>Sun, 27 Mar 2022 22:00:00 GMT</pubDate>
<pubDate>Sun, 27 Mar 2022 16:00:00 GMT</pubDate>
</item>
<item>
@@ -69,7 +77,7 @@
<title>Supabase Launch Week IV</title>
<link>https://supabase.com/blog/2022/03/25/supabase-launch-week-four</link>
<description>Launch Week 4: One new feature every day for an entire week. Starting Monday 28th March.</description>
<pubDate>Thu, 24 Mar 2022 23:00:00 GMT</pubDate>
<pubDate>Thu, 24 Mar 2022 16:00:00 GMT</pubDate>
</item>
<item>
@@ -77,7 +85,7 @@
<title>Should I Open Source my Company?</title>
<link>https://supabase.com/blog/2022/03/25/should-i-open-source-my-company</link>
<description>The unexpected upsides of building in public</description>
<pubDate>Thu, 24 Mar 2022 23:00:00 GMT</pubDate>
<pubDate>Thu, 24 Mar 2022 16:00:00 GMT</pubDate>
</item>
<item>
@@ -85,7 +93,7 @@
<title>Postgres Auditing in 150 lines of SQL</title>
<link>https://supabase.com/blog/2022/03/08/audit</link>
<description>PostgreSQL has a robust set of features which we can leverage to create a generic auditing solution in 150 lines of SQL.</description>
<pubDate>Mon, 07 Mar 2022 23:00:00 GMT</pubDate>
<pubDate>Mon, 07 Mar 2022 16:00:00 GMT</pubDate>
</item>
<item>
@@ -93,7 +101,7 @@
<title>Supabase Beta January 2022</title>
<link>https://supabase.com/blog/2022/02/22/supabase-beta-january-2022</link>
<description>New auth providers, SMS providers, and new videos.</description>
<pubDate>Mon, 21 Feb 2022 23:00:00 GMT</pubDate>
<pubDate>Mon, 21 Feb 2022 16:00:00 GMT</pubDate>
</item>
<item>
@@ -101,7 +109,7 @@
<title>Supabase Beta December 2021</title>
<link>https://supabase.com/blog/2022/01/20/supabase-beta-december-2021</link>
<description>New crypto extension, Postgres videos, and a bunch of cool integrations.</description>
<pubDate>Wed, 19 Jan 2022 23:00:00 GMT</pubDate>
<pubDate>Wed, 19 Jan 2022 16:00:00 GMT</pubDate>
</item>
<item>
@@ -109,7 +117,7 @@
<title>Golden Kitty Awards Ceremony Watch Party with Supabase</title>
<link>https://supabase.com/blog/2022/01/20/product-hunt-golden-kitty-awards-2021</link>
<description>Hang out with us while watching the Product Hunt Golden Kitty Awards Ceremony</description>
<pubDate>Wed, 19 Jan 2022 23:00:00 GMT</pubDate>
<pubDate>Wed, 19 Jan 2022 16:00:00 GMT</pubDate>
</item>
<item>
@@ -117,7 +125,7 @@
<title>Holiday Hackdays Winners 2021</title>
<link>https://supabase.com/blog/2021/12/17/holiday-hackdays-winners-2021</link>
<description>Celebrating many amazing projects submitted to our Holiday Hackdays Hackathon.</description>
<pubDate>Thu, 16 Dec 2021 23:00:00 GMT</pubDate>
<pubDate>Thu, 16 Dec 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -125,7 +133,7 @@
<title>Supabase Beta November 2021: Launch Week Recap</title>
<link>https://supabase.com/blog/2021/12/15/beta-november-2021-launch-week-recap</link>
<description>We wrapped up November with Supabase's third Launch Week. Here's all the awesome stuff that got shipped ...</description>
<pubDate>Tue, 14 Dec 2021 23:00:00 GMT</pubDate>
<pubDate>Tue, 14 Dec 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -133,7 +141,7 @@
<title>Kicking off the Holiday Hackdays</title>
<link>https://supabase.com/blog/2021/12/03/supabase-holiday-hackdays-hackathon</link>
<description>Build cool stuff and celebrate open-source software with us during the Holiday Hackdays!</description>
<pubDate>Thu, 02 Dec 2021 23:00:00 GMT</pubDate>
<pubDate>Thu, 02 Dec 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -141,7 +149,7 @@
<title>pg_graphql: A GraphQL extension for PostgreSQL</title>
<link>https://supabase.com/blog/2021/12/03/pg-graphql</link>
<description>GraphQL support is in development for PostgreSQL + Supabase.</description>
<pubDate>Thu, 02 Dec 2021 23:00:00 GMT</pubDate>
<pubDate>Thu, 02 Dec 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -149,7 +157,7 @@
<title>Five more things</title>
<link>https://supabase.com/blog/2021/12/03/launch-week-three-friday-five-more-things</link>
<description>It's never just one more thing!</description>
<pubDate>Thu, 02 Dec 2021 23:00:00 GMT</pubDate>
<pubDate>Thu, 02 Dec 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -157,7 +165,7 @@
<title>Supabase acquires Logflare</title>
<link>https://supabase.com/blog/2021/12/02/supabase-acquires-logflare</link>
<description>Today, we're ecstatic to announce that Logflare is joining Supabase.</description>
<pubDate>Wed, 01 Dec 2021 23:00:00 GMT</pubDate>
<pubDate>Wed, 01 Dec 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -165,7 +173,7 @@
<title>Realtime Postgres RLS now available on Supabase</title>
<link>https://supabase.com/blog/2021/12/01/realtime-row-level-security-in-postgresql</link>
<description>Realtime database changes are now broadcast to authenticated users, respecting the same PostgreSQL policies that you use for Row Level Security.</description>
<pubDate>Tue, 30 Nov 2021 23:00:00 GMT</pubDate>
<pubDate>Tue, 30 Nov 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -173,7 +181,7 @@
<title>Supabase Studio</title>
<link>https://supabase.com/blog/2021/11/30/supabase-studio</link>
<description>The same Dashboard that you're using on our Platform is now available for local development and Self-Hosting.</description>
<pubDate>Mon, 29 Nov 2021 23:00:00 GMT</pubDate>
<pubDate>Mon, 29 Nov 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -181,7 +189,7 @@
<title>Community Day</title>
<link>https://supabase.com/blog/2021/11/29/community-day</link>
<description>Kicking off launch week by highlighting the communities around Supabase.</description>
<pubDate>Sun, 28 Nov 2021 23:00:00 GMT</pubDate>
<pubDate>Sun, 28 Nov 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -189,7 +197,7 @@
<title>New in PostgreSQL 14: What every developer should know</title>
<link>https://supabase.com/blog/2021/11/28/whats-new-in-postgres-14</link>
<description>A quick look at some new features and functionality in PostgreSQL 14.</description>
<pubDate>Sat, 27 Nov 2021 23:00:00 GMT</pubDate>
<pubDate>Sat, 27 Nov 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -197,7 +205,7 @@
<title>PostgREST 9</title>
<link>https://supabase.com/blog/2021/11/28/postgrest-9</link>
<description>New features and updates in PostgREST version 9.</description>
<pubDate>Fri, 26 Nov 2021 23:00:00 GMT</pubDate>
<pubDate>Fri, 26 Nov 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -205,7 +213,7 @@
<title>Supabase Launch Week III: Holiday Special</title>
<link>https://supabase.com/blog/2021/11/26/supabase-launch-week-the-trilogy</link>
<description>Tis the season to be shipping.</description>
<pubDate>Thu, 25 Nov 2021 23:00:00 GMT</pubDate>
<pubDate>Thu, 25 Nov 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -213,7 +221,7 @@
<title>How we launch at Supabase</title>
<link>https://supabase.com/blog/2021/11/26/supabase-how-we-launch</link>
<description>The history and methodology of Supabase Launch Week.</description>
<pubDate>Thu, 25 Nov 2021 23:00:00 GMT</pubDate>
<pubDate>Thu, 25 Nov 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -221,7 +229,7 @@
<title>Supabase Beta October 2021</title>
<link>https://supabase.com/blog/2021/11/05/supabase-beta-october-2021</link>
<description>Three new Auth providers, multi-schema support, and we're gearing up for another Launch Week.</description>
<pubDate>Sat, 06 Nov 2021 23:00:00 GMT</pubDate>
<pubDate>Sat, 06 Nov 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -229,7 +237,7 @@
<title>Supabase $30m Series A</title>
<link>https://supabase.com/blog/2021/10/28/supabase-series-a</link>
<description>Supabase just raised $30M, bringing our total funding to $36M.</description>
<pubDate>Wed, 27 Oct 2021 22:00:00 GMT</pubDate>
<pubDate>Wed, 27 Oct 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -237,7 +245,7 @@
<title>Replenysh uses Supabase to implement OTP in less than 24-hours</title>
<link>https://supabase.com/blog/2021/10/19/replenysh-time-to-value-in-less-than-24-hours</link>
<description>Learn how Replenysh uses Supabase to power the circular economy, redefining how brands interact with their customers and products.</description>
<pubDate>Mon, 18 Oct 2021 22:00:00 GMT</pubDate>
<pubDate>Mon, 18 Oct 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -245,7 +253,7 @@
<title>Hacktoberfest Hackathon Winners 2021</title>
<link>https://supabase.com/blog/2021/10/14/hacktoberfest-hackathon-winners-2021</link>
<description>Celebrating many amazing projects submitted to our Hacktoberfest Hackathon.</description>
<pubDate>Wed, 13 Oct 2021 22:00:00 GMT</pubDate>
<pubDate>Wed, 13 Oct 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -253,7 +261,7 @@
<title>Supabase Beta Sept 2021</title>
<link>https://supabase.com/blog/2021/10/04/supabase-beta-sept-2021</link>
<description>Hackathon, Aborting request, UI updates, and now Hiring.</description>
<pubDate>Sun, 03 Oct 2021 22:00:00 GMT</pubDate>
<pubDate>Sun, 03 Oct 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -261,7 +269,7 @@
<title>Supabase Hacktoberfest Hackathon 2021</title>
<link>https://supabase.com/blog/2021/09/28/supabase-hacktoberfest-hackathon-2021</link>
<description>We're running another Supabase Hackathon during Hacktoberfest!</description>
<pubDate>Mon, 27 Sep 2021 22:00:00 GMT</pubDate>
<pubDate>Mon, 27 Sep 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -269,7 +277,7 @@
<title>Supabase Beta August 2021</title>
<link>https://supabase.com/blog/2021/09/10/supabase-beta-august-2021</link>
<description>Fundraising, Realtime Security, custom SMS templates, and deployments in South Korea.</description>
<pubDate>Thu, 09 Sep 2021 22:00:00 GMT</pubDate>
<pubDate>Thu, 09 Sep 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -277,7 +285,7 @@
<title>Supabase Beta July 2021</title>
<link>https://supabase.com/blog/2021/08/12/supabase-beta-july-2021</link>
<description>Discord Logins, Vercel Integration, Full text search, and OAuth guides.</description>
<pubDate>Wed, 11 Aug 2021 22:00:00 GMT</pubDate>
<pubDate>Wed, 11 Aug 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -285,7 +293,7 @@
<title>Open Source Hackathon Winners</title>
<link>https://supabase.com/blog/2021/08/09/hackathon-winners</link>
<description>Let the medal ceremony begin for the best projects submitted during the Supabase Hackathon.</description>
<pubDate>Sun, 08 Aug 2021 22:00:00 GMT</pubDate>
<pubDate>Sun, 08 Aug 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -293,7 +301,7 @@
<title>Supabase Swag Store</title>
<link>https://supabase.com/blog/2021/07/30/supabase-swag-store</link>
<description>Today we are officially launching the Supabase Swag Store.</description>
<pubDate>Thu, 29 Jul 2021 22:00:00 GMT</pubDate>
<pubDate>Thu, 29 Jul 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -301,7 +309,7 @@
<title>Updates for Supabase Functions</title>
<link>https://supabase.com/blog/2021/07/30/supabase-functions-updates</link>
<description>The question on everyone's mind - are we launching Supabase Functions? Well, it's complicated.</description>
<pubDate>Thu, 29 Jul 2021 22:00:00 GMT</pubDate>
<pubDate>Thu, 29 Jul 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -309,7 +317,7 @@
<title>The Supabase Hackathon</title>
<link>https://supabase.com/blog/2021/07/30/1-the-supabase-hackathon</link>
<description>A whole week of Hacking for Fun and Prizes.</description>
<pubDate>Thu, 29 Jul 2021 22:00:00 GMT</pubDate>
<pubDate>Thu, 29 Jul 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -317,7 +325,7 @@
<title>Supabase Reports and Metrics</title>
<link>https://supabase.com/blog/2021/07/29/supabase-reports-and-metrics</link>
<description>We're exposing a full set of metrics in your projects, so that you can build better (and faster) products for your users.</description>
<pubDate>Wed, 28 Jul 2021 22:00:00 GMT</pubDate>
<pubDate>Wed, 28 Jul 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -325,7 +333,7 @@
<title>Supabase Auth v2: Phone Auth now available</title>
<link>https://supabase.com/blog/2021/07/28/supabase-auth-passwordless-sms-login</link>
<description>Phone Auth is available today on all new and existing Supabase projects.</description>
<pubDate>Tue, 27 Jul 2021 22:00:00 GMT</pubDate>
<pubDate>Tue, 27 Jul 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -333,7 +341,7 @@
<title>Mobbin uses Supabase to authenticate 200,000 users</title>
<link>https://supabase.com/blog/2021/07/28/mobbin-supabase-200000-users</link>
<description>Learn how Mobbin migrated 200,000 users from Firebase for a better authentication experience.</description>
<pubDate>Tue, 27 Jul 2021 22:00:00 GMT</pubDate>
<pubDate>Tue, 27 Jul 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -341,7 +349,7 @@
<title>Supabase Storage now in Beta</title>
<link>https://supabase.com/blog/2021/07/27/storage-beta</link>
<description>Supabase Storage moves into Beta.</description>
<pubDate>Mon, 26 Jul 2021 22:00:00 GMT</pubDate>
<pubDate>Mon, 26 Jul 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -349,7 +357,7 @@
<title>Spot: a video sharing app built with Flutter</title>
<link>https://supabase.com/blog/2021/07/27/spot-flutter-with-postgres</link>
<description>Spot is a geolocation-based video-sharing app with some social networking features.</description>
<pubDate>Mon, 26 Jul 2021 22:00:00 GMT</pubDate>
<pubDate>Mon, 26 Jul 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -357,7 +365,7 @@
<title>Supabase is now on Postgres 13.3</title>
<link>https://supabase.com/blog/2021/07/26/supabase-postgres-13</link>
<description>From today, new Supabase projects will be on a version of Supabase Postgres that runs on Postgres 13.3.</description>
<pubDate>Sun, 25 Jul 2021 22:00:00 GMT</pubDate>
<pubDate>Sun, 25 Jul 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -365,7 +373,7 @@
<title>Supabase Community Day</title>
<link>https://supabase.com/blog/2021/07/26/supabase-community-day</link>
<description>Community Day</description>
<pubDate>Sun, 25 Jul 2021 22:00:00 GMT</pubDate>
<pubDate>Sun, 25 Jul 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -373,7 +381,7 @@
<title>Epsilon3 Self-Host Supabase To Revolutionize Space Operations </title>
<link>https://supabase.com/blog/2021/07/26/epsilon3-self-hosting</link>
<description>Learn how the team at Epsilon3 use Supabase to help teams execute secure and reliable operations in an industry that project spend runs into the billions.</description>
<pubDate>Sun, 25 Jul 2021 22:00:00 GMT</pubDate>
<pubDate>Sun, 25 Jul 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -381,7 +389,7 @@
<title>Supabase Launch Week II: The SQL</title>
<link>https://supabase.com/blog/2021/07/22/supabase-launch-week-sql</link>
<description>Five days of Supabase. Again.</description>
<pubDate>Wed, 21 Jul 2021 22:00:00 GMT</pubDate>
<pubDate>Wed, 21 Jul 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -389,7 +397,7 @@
<title>Protecting reserved roles with PostgreSQL Hooks</title>
<link>https://supabase.com/blog/2021/07/01/roles-postgres-hooks</link>
<description>Using Postgres Hooks to protect functionality in your Postgres database.</description>
<pubDate>Thu, 01 Jul 2021 22:00:00 GMT</pubDate>
<pubDate>Thu, 01 Jul 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -397,7 +405,7 @@
<title>Supabase Beta June 2021</title>
<link>https://supabase.com/blog/2021/07/02/supabase-beta-june-2021</link>
<description>Discord Logins, Vercel Integration, Full text search, and OAuth guides.</description>
<pubDate>Tue, 01 Jun 2021 22:00:00 GMT</pubDate>
<pubDate>Tue, 01 Jun 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -405,7 +413,7 @@
<title>Supabase Beta May 2021</title>
<link>https://supabase.com/blog/2021/06/02/supabase-beta-may-2021</link>
<description>Apple &amp; Twitter Logins, Supabase Grid, Go &amp; Swift Libraries.</description>
<pubDate>Tue, 01 Jun 2021 22:00:00 GMT</pubDate>
<pubDate>Tue, 01 Jun 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -413,7 +421,7 @@
<title>Supabase Beta April 2021</title>
<link>https://supabase.com/blog/2021/05/03/supabase-beta-april-2021</link>
<description>Supabase "gardening" - stability, security, and community support.</description>
<pubDate>Tue, 04 May 2021 22:00:00 GMT</pubDate>
<pubDate>Tue, 04 May 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -421,7 +429,7 @@
<title>Supabase Beta March 2021</title>
<link>https://supabase.com/blog/2021/04/06/supabase-beta-march-2021</link>
<description>Launch week, Storage, Supabase CLI, Connection Pooling, Supabase UI, and Pricing.</description>
<pubDate>Mon, 05 Apr 2021 22:00:00 GMT</pubDate>
<pubDate>Mon, 05 Apr 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -429,7 +437,7 @@
<title>Workflows are coming to Supabase</title>
<link>https://supabase.com/blog/2021/04/02/supabase-workflows</link>
<description>Functions are great, but you know what's better?</description>
<pubDate>Thu, 01 Apr 2021 22:00:00 GMT</pubDate>
<pubDate>Thu, 01 Apr 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -437,7 +445,7 @@
<title>PgBouncer is now available in Supabase</title>
<link>https://supabase.com/blog/2021/04/02/supabase-pgbouncer</link>
<description>Better support for Serverless and Postgres.</description>
<pubDate>Thu, 01 Apr 2021 22:00:00 GMT</pubDate>
<pubDate>Thu, 01 Apr 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -445,7 +453,7 @@
<title>Supabase Dot Com</title>
<link>https://supabase.com/blog/2021/04/02/supabase-dot-com</link>
<description>The Supabase Domain name is changing.</description>
<pubDate>Thu, 01 Apr 2021 22:00:00 GMT</pubDate>
<pubDate>Thu, 01 Apr 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -453,7 +461,7 @@
<title>Supabase Launches NFT Marketplace</title>
<link>https://supabase.com/blog/2021/04/01/supabase-nft-marketplace</link>
<description>A fully encrypted NFT platform to protect and transact your digital assets</description>
<pubDate>Wed, 31 Mar 2021 22:00:00 GMT</pubDate>
<pubDate>Wed, 31 Mar 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -461,7 +469,7 @@
<title>Supabase CLI</title>
<link>https://supabase.com/blog/2021/03/31/supabase-cli</link>
<description>Local development, database migrations, and self-hosting.</description>
<pubDate>Tue, 30 Mar 2021 22:00:00 GMT</pubDate>
<pubDate>Tue, 30 Mar 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -469,7 +477,7 @@
<title>Storage is now available in Supabase</title>
<link>https://supabase.com/blog/2021/03/30/supabase-storage</link>
<description>Launching Supabase Storage and how you can use it in your apps</description>
<pubDate>Mon, 29 Mar 2021 22:00:00 GMT</pubDate>
<pubDate>Mon, 29 Mar 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -477,7 +485,7 @@
<title>Supabase Beta Pricing</title>
<link>https://supabase.com/blog/2021/03/29/pricing</link>
<description>Supabase launches Beta pricing structure</description>
<pubDate>Sun, 28 Mar 2021 22:00:00 GMT</pubDate>
<pubDate>Sun, 28 Mar 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -485,7 +493,7 @@
<title>Launch week</title>
<link>https://supabase.com/blog/2021/03/25/launch-week</link>
<description>Five days of Supabase.</description>
<pubDate>Wed, 24 Mar 2021 23:00:00 GMT</pubDate>
<pubDate>Wed, 24 Mar 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -493,7 +501,7 @@
<title>Angels of Supabase</title>
<link>https://supabase.com/blog/2021/03/25/angels-of-supabase</link>
<description>Meet the investors of Supabase.</description>
<pubDate>Wed, 24 Mar 2021 23:00:00 GMT</pubDate>
<pubDate>Wed, 24 Mar 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -501,7 +509,7 @@
<title>Developers stay up to date with intheloop.dev</title>
<link>https://supabase.com/blog/2021/03/22/In-The-Loop</link>
<description>Learn why Kevin is building intheloop.dev with Supabase</description>
<pubDate>Sun, 21 Mar 2021 23:00:00 GMT</pubDate>
<pubDate>Sun, 21 Mar 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -509,7 +517,7 @@
<title>Using Supabase in Replit</title>
<link>https://supabase.com/blog/2021/03/11/using-supabase-replit</link>
<description>Free hosted relational database from within your node.js repl</description>
<pubDate>Wed, 10 Mar 2021 23:00:00 GMT</pubDate>
<pubDate>Wed, 10 Mar 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -517,7 +525,7 @@
<title>Toad, a link shortener with simple APIs for low-coders</title>
<link>https://supabase.com/blog/2021/03/08/toad-a-link-shortener-with-simple-apis-for-low-coders</link>
<description>An easy-to-use link shortening tool with simple APIs</description>
<pubDate>Sun, 07 Mar 2021 23:00:00 GMT</pubDate>
<pubDate>Sun, 07 Mar 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -525,7 +533,7 @@
<title>Postgres as a CRON Server</title>
<link>https://supabase.com/blog/2021/03/05/postgres-as-a-cron-server</link>
<description>Running repetitive tasks with your Postgres database.</description>
<pubDate>Thu, 04 Mar 2021 23:00:00 GMT</pubDate>
<pubDate>Thu, 04 Mar 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -533,7 +541,7 @@
<title>Supabase Beta February 2021</title>
<link>https://supabase.com/blog/2021/03/02/supabase-beta-february-2021</link>
<description>One year of building.</description>
<pubDate>Mon, 01 Mar 2021 23:00:00 GMT</pubDate>
<pubDate>Mon, 01 Mar 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -541,7 +549,7 @@
<title>Cracking PostgreSQL Interview Questions</title>
<link>https://supabase.com/blog/2021/02/27/cracking-postgres-interview</link>
<description>Understand the top PostgreSQL Interview Questions</description>
<pubDate>Fri, 26 Feb 2021 23:00:00 GMT</pubDate>
<pubDate>Fri, 26 Feb 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -549,7 +557,7 @@
<title>Roboflow.com choose Supabase to power Paint.wtf leaderboard</title>
<link>https://supabase.com/blog/2021/02/09/case-study-roboflow</link>
<description>Learn how Roboflow.com used Supabase to build their Paint.wtf leaderboard</description>
<pubDate>Mon, 08 Feb 2021 23:00:00 GMT</pubDate>
<pubDate>Mon, 08 Feb 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -557,7 +565,7 @@
<title>Supabase Beta January 2021</title>
<link>https://supabase.com/blog/2021/02/02/supabase-beta-january-2021</link>
<description>Eleven months of building.</description>
<pubDate>Mon, 01 Feb 2021 23:00:00 GMT</pubDate>
<pubDate>Mon, 01 Feb 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -565,7 +573,7 @@
<title>Supabase Beta December 2020</title>
<link>https://supabase.com/blog/2021/01/02/supabase-beta-december-2020</link>
<description>Ten months of building.</description>
<pubDate>Fri, 01 Jan 2021 23:00:00 GMT</pubDate>
<pubDate>Fri, 01 Jan 2021 16:00:00 GMT</pubDate>
</item>
<item>
@@ -573,7 +581,7 @@
<title>Making the Supabase Dashboard Supa-fast</title>
<link>https://supabase.com/blog/2020/12/13/supabase-dashboard-performance</link>
<description>Improving the performance of the Supabase dashboard</description>
<pubDate>Sat, 12 Dec 2020 23:00:00 GMT</pubDate>
<pubDate>Sat, 12 Dec 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -581,7 +589,7 @@
<title>Supabase Partners With Strive School To Help Teach Open Source</title>
<link>https://supabase.com/blog/2020/12/02/supabase-striveschool</link>
<description>Supabase Partners With Strive School To Help Teach Open Source To The Next Generation Of Developers</description>
<pubDate>Tue, 01 Dec 2020 23:00:00 GMT</pubDate>
<pubDate>Tue, 01 Dec 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -589,7 +597,7 @@
<title>Xendit Built a Counter-Fraud Watchlist for the Fintech Industry</title>
<link>https://supabase.com/blog/2020/12/02/case-study-xendit</link>
<description>See how Xendit use Supabase to build a full-text search engine.</description>
<pubDate>Tue, 01 Dec 2020 23:00:00 GMT</pubDate>
<pubDate>Tue, 01 Dec 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -597,7 +605,7 @@
<title>TAYFA Built a No-Code Website Builder in Seven Days</title>
<link>https://supabase.com/blog/2020/12/02/case-study-tayfa</link>
<description>See how Tayfa went from idea to paying customer in less than 30 days.</description>
<pubDate>Tue, 01 Dec 2020 23:00:00 GMT</pubDate>
<pubDate>Tue, 01 Dec 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -605,7 +613,7 @@
<title>Monitoro Built a Web Crawler Handling Millions of API Requests</title>
<link>https://supabase.com/blog/2020/12/02/case-study-monitoro</link>
<description>See how Monitoro built an automated scraping platform using Supabase.</description>
<pubDate>Tue, 01 Dec 2020 23:00:00 GMT</pubDate>
<pubDate>Tue, 01 Dec 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -613,7 +621,7 @@
<title>Supabase Alpha November 2020</title>
<link>https://supabase.com/blog/2020/12/01/supabase-alpha-november-2020</link>
<description>Nine months of building.</description>
<pubDate>Mon, 30 Nov 2020 23:00:00 GMT</pubDate>
<pubDate>Mon, 30 Nov 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -621,7 +629,7 @@
<title>Postgres Views</title>
<link>https://supabase.com/blog/2020/11/18/postgresql-views</link>
<description>Creating and using a view in PostgreSQL.</description>
<pubDate>Tue, 17 Nov 2020 23:00:00 GMT</pubDate>
<pubDate>Tue, 17 Nov 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -629,7 +637,7 @@
<title>Supabase Alpha October 2020</title>
<link>https://supabase.com/blog/2020/11/02/supabase-alpha-october-2020</link>
<description>Eight months of building.</description>
<pubDate>Sun, 01 Nov 2020 23:00:00 GMT</pubDate>
<pubDate>Sun, 01 Nov 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -637,7 +645,7 @@
<title>Supabase.js 1.0</title>
<link>https://supabase.com/blog/2020/10/30/improved-dx</link>
<description>We're releasing a new version of our Supabase client with some awesome new improvements.</description>
<pubDate>Thu, 29 Oct 2020 23:00:00 GMT</pubDate>
<pubDate>Thu, 29 Oct 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -645,7 +653,7 @@
<title>Supabase Alpha September 2020</title>
<link>https://supabase.com/blog/2020/10/03/supabase-alpha-september-2020</link>
<description>Seven months of building.</description>
<pubDate>Fri, 02 Oct 2020 22:00:00 GMT</pubDate>
<pubDate>Fri, 02 Oct 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -653,7 +661,7 @@
<title>Supabase Hacktoberfest 2020</title>
<link>https://supabase.com/blog/2020/09/11/supabase-hacktoberfest-2020</link>
<description>Join us for a celebration of open source software and learn how to contribute to Supabase.</description>
<pubDate>Thu, 10 Sep 2020 22:00:00 GMT</pubDate>
<pubDate>Thu, 10 Sep 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -661,7 +669,7 @@
<title>Supabase Alpha August 2020</title>
<link>https://supabase.com/blog/2020/09/03/supabase-alpha-august-2020</link>
<description>Six months of building</description>
<pubDate>Wed, 02 Sep 2020 22:00:00 GMT</pubDate>
<pubDate>Wed, 02 Sep 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -669,7 +677,7 @@
<title>Supabase Auth</title>
<link>https://supabase.com/blog/2020/08/05/supabase-auth</link>
<description>Authenticate and authorize your users with Supabase Auth</description>
<pubDate>Tue, 04 Aug 2020 22:00:00 GMT</pubDate>
<pubDate>Tue, 04 Aug 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -677,7 +685,7 @@
<title>Supabase Alpha July 2020</title>
<link>https://supabase.com/blog/2020/08/02/supabase-alpha-july-2020</link>
<description>Five months of building</description>
<pubDate>Sat, 01 Aug 2020 22:00:00 GMT</pubDate>
<pubDate>Sat, 01 Aug 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -685,7 +693,7 @@
<title>Continuous PostgreSQL Backups using WAL-G</title>
<link>https://supabase.com/blog/2020/08/02/continuous-postgresql-backup-walg</link>
<description>Have you ever wanted to restore your database's state to a particular moment in time? This post explains how, using WAL-G.</description>
<pubDate>Sat, 01 Aug 2020 22:00:00 GMT</pubDate>
<pubDate>Sat, 01 Aug 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -693,7 +701,7 @@
<title>Alpha Launch Postmortem</title>
<link>https://supabase.com/blog/2020/07/10/alpha-launch-postmortem</link>
<description>Everything that went wrong with Supabase's launch</description>
<pubDate>Thu, 09 Jul 2020 22:00:00 GMT</pubDate>
<pubDate>Thu, 09 Jul 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -701,7 +709,7 @@
<title>What are PostgreSQL Templates?</title>
<link>https://supabase.com/blog/2020/07/09/postgresql-templates</link>
<description>What are PostgreSQL templates and what are they used for?</description>
<pubDate>Wed, 08 Jul 2020 22:00:00 GMT</pubDate>
<pubDate>Wed, 08 Jul 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -709,7 +717,7 @@
<title>Physical vs Logical Backups in PostgreSQL</title>
<link>https://supabase.com/blog/2020/07/17/postgresql-physical-logical-backups</link>
<description>What are physical and logical backups in Postgres?</description>
<pubDate>Mon, 06 Jul 2020 22:00:00 GMT</pubDate>
<pubDate>Mon, 06 Jul 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -717,7 +725,7 @@
<title>Supabase Alpha June 2020</title>
<link>https://supabase.com/blog/2020/07/01/supabase-alpha-june-2020</link>
<description>Four months of building</description>
<pubDate>Tue, 30 Jun 2020 22:00:00 GMT</pubDate>
<pubDate>Tue, 30 Jun 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -725,7 +733,7 @@
<title>Steve Chavez has joined Supabase</title>
<link>https://supabase.com/blog/2020/06/15/supabase-steve-chavez</link>
<description>Steve joins Supabase to help build Auth.</description>
<pubDate>Sun, 14 Jun 2020 22:00:00 GMT</pubDate>
<pubDate>Sun, 14 Jun 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -733,7 +741,7 @@
<title>Supabase Alpha May 2020</title>
<link>https://supabase.com/blog/2020/06/01/supabase-alpha-may-2020</link>
<description>Three months of building</description>
<pubDate>Sun, 31 May 2020 22:00:00 GMT</pubDate>
<pubDate>Sun, 31 May 2020 16:00:00 GMT</pubDate>
</item>
<item>
@@ -741,7 +749,7 @@
<title>Supabase Alpha April 2020</title>
<link>https://supabase.com/blog/2020/05/01/supabase-alpha-april-2020</link>
<description>Two months of building</description>
<pubDate>Sun, 31 May 2020 22:00:00 GMT</pubDate>
<pubDate>Sun, 31 May 2020 16:00:00 GMT</pubDate>
</item>
</channel>