diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b18fd293573..3e9248e06d0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,3 +4,7 @@ updates: directory: '/' schedule: interval: 'weekly' + ignore: + - dependency-name: '*' + update-types: + - 'version-update:semver-major' diff --git a/apps/docs/components/AppleSecretGenerator/AppleSecretGenerator.tsx b/apps/docs/components/AppleSecretGenerator/AppleSecretGenerator.tsx index 1184e409bbd..04936737eba 100644 --- a/apps/docs/components/AppleSecretGenerator/AppleSecretGenerator.tsx +++ b/apps/docs/components/AppleSecretGenerator/AppleSecretGenerator.tsx @@ -104,7 +104,7 @@ const AppleSecretGenerator = () => { const [error, setError] = useState('') return ( - <> +
{ /> )} - +
) } diff --git a/apps/docs/public/humans.txt b/apps/docs/public/humans.txt index 3d76a41db96..5a1292cb1b3 100644 --- a/apps/docs/public/humans.txt +++ b/apps/docs/public/humans.txt @@ -8,6 +8,7 @@ Alaister Young Alan De Los Santos Aleksi Immonen Alexander Korotkov +Ali Waseem Amy Q Andrew Valleteau Andrey A diff --git a/apps/studio/data/profile/profile-identities-query.ts b/apps/studio/data/profile/profile-identities-query.ts index e640502c83b..15482f0536e 100644 --- a/apps/studio/data/profile/profile-identities-query.ts +++ b/apps/studio/data/profile/profile-identities-query.ts @@ -5,11 +5,16 @@ import { auth } from 'lib/gotrue' import { profileKeys } from './keys' export async function getProfileIdentities() { - const { error, data } = await auth.getUser() + // getSession() uses a cached user object, which is almost never stale as the + // session refresh logic keeps it fresh. If there are claims of data not being + // fresh, it's because it was modified on another device / browser and the + // session hasn't been refreshed yet. + const { error, data } = await auth.getSession() if (error) throw error + if (!data.session) throw new Error('Session not found with getSession()') - const { identities = [], new_email, email_change_sent_at } = data.user + const { identities = [], new_email, email_change_sent_at } = data.session.user return { identities, new_email, email_change_sent_at } } diff --git a/apps/www/pages/careers.tsx b/apps/www/pages/careers.tsx index 58ee7f1465a..49564cc4b71 100644 --- a/apps/www/pages/careers.tsx +++ b/apps/www/pages/careers.tsx @@ -313,7 +313,7 @@ const CareerPage = ({ jobs, placeholderJob, contributors }: CareersPageProps) =>

- 1,000+ Contributors building Supabase + 1,500+ Contributors building Supabase

We're building a community of communities, bringing together developers from many diff --git a/packages/ui/src/lib/Layout/FormLayout/FormLayout.tsx b/packages/ui/src/lib/Layout/FormLayout/FormLayout.tsx index 3fb9827de7f..d5c65738d29 100644 --- a/packages/ui/src/lib/Layout/FormLayout/FormLayout.tsx +++ b/packages/ui/src/lib/Layout/FormLayout/FormLayout.tsx @@ -116,7 +116,7 @@ export function FormLayout({ // console.log('error', error) - const renderError = ( + const renderError = error && (