The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add service version to project infra page
Joshen Limf8f712ad5dbf
diff --git a/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx b/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsxindex ddd6c3498f2..eeee9ea9eff 100644--- a/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx+++ b/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx@@ -65,8 +65,8 @@ const InfrastructureInfo = () => {</ScaffoldSection><ScaffoldSection className="!pt-0"><ScaffoldSectionDetail>- <p>Postgres</p>- <p className="text-scale-1000 text-sm">Information on your Postgres instance</p>+ <p>Service Versions</p>+ <p className="text-scale-1000 text-sm">Information on your provisioned instance</p></ScaffoldSectionDetail><ScaffoldSectionContent>{isLoadingUpgradeEligibility && <GenericSkeletonLoader />}@@ -75,11 +75,23 @@ const InfrastructureInfo = () => {)}{isSuccessUpgradeEligibility && (<>+ <Input+ readOnly+ disabled+ label="GoTrue version"+ value={project?.serviceVersions.gotrue ?? ''}+ />+ <Input+ readOnly+ disabled+ label="PostgREST version"+ value={project?.serviceVersions.postgrest ?? ''}+ /><InputreadOnlydisabledvalue={currentPgVersion}- label="Current version"+ label="Postgres version"actions={[isOnLatestVersion && (<Tooltip.Root key="tooltip-latest" delayDuration={0}>diff --git a/studio/types/base.ts b/studio/types/base.tsindex e19dccda4e8..a7015595a1e 100644--- a/studio/types/base.ts+++ b/studio/types/base.ts@@ -35,6 +35,7 @@ export interface Project extends ProjectBase {maxDatabasePreprovisionGb?: string | nullparent_project_ref?: stringis_branch_enabled?: boolean+ serviceVersions: { gotrue: string; postgrest: string; 'supabase-postgres': string }/*** postgrestStatus is available on client side only.