Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

feat(ui): add official postgres 18 support

peaklabs-dev4dc1ae8bf50d
diff --git a/resources/views/livewire/project/new/select.blade.php b/resources/views/livewire/project/new/select.blade.php
index 03316277f6..18a495d2d0 100644
--- a/resources/views/livewire/project/new/select.blade.php
+++ b/resources/views/livewire/project/new/select.blade.php
@@ -448,14 +448,56 @@
<h2>Select a Postgresql type</h2>
<div>If you need extra extensions, you can select Supabase PostgreSQL (or others), otherwise select
PostgreSQL
- 17 (default).</div>
+ 18 (default).</div>
<div class="flex flex-col gap-6 pt-8">
+ <div class="gap-2 coolbox group flex relative"
+ :class="{ 'cursor-pointer': !selecting, 'cursor-not-allowed opacity-50': selecting }"
+ x-on:click="!selecting && (selecting = true, $wire.setPostgresqlType('postgres:18-alpine'))"
+ :disabled="selecting">
+ <div class="flex flex-col">
+ <div class="box-title">PostgreSQL 18 (default)</div>
+ <div class="box-description">
+ PostgreSQL is a powerful, open-source object-relational database system (no extensions).
+ </div>
+ </div>
+ <a href="https://hub.docker.com/_/postgres/" target="_blank"
+ @click.stop
+ class="absolute top-2 right-2 p-1.5 rounded hover:bg-neutral-200 dark:hover:bg-coolgray-300 transition-colors"
+ title="View documentation">
+ <svg class="w-4 h-4 text-neutral-600 dark:text-neutral-400" fill="none"
+ stroke="currentColor" viewBox="0 0 24 24">
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
+ </svg>
+ </a>
+ </div>
<div class="gap-2 coolbox group flex relative"
:class="{ 'cursor-pointer': !selecting, 'cursor-not-allowed opacity-50': selecting }"
x-on:click="!selecting && (selecting = true, $wire.setPostgresqlType('postgres:17-alpine'))"
:disabled="selecting">
<div class="flex flex-col">
- <div class="box-title">PostgreSQL 17 (default)</div>
+ <div class="box-title">PostgreSQL 17</div>
+ <div class="box-description">
+ PostgreSQL is a powerful, open-source object-relational database system (no extensions).
+ </div>
+ </div>
+ <a href="https://hub.docker.com/_/postgres/" target="_blank"
+ @click.stop
+ class="absolute top-2 right-2 p-1.5 rounded hover:bg-neutral-200 dark:hover:bg-coolgray-300 transition-colors"
+ title="View documentation">
+ <svg class="w-4 h-4 text-neutral-600 dark:text-neutral-400" fill="none"
+ stroke="currentColor" viewBox="0 0 24 24">
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
+ </svg>
+ </a>
+ </div>
+ <div class="gap-2 coolbox group flex relative"
+ :class="{ 'cursor-pointer': !selecting, 'cursor-not-allowed opacity-50': selecting }"
+ x-on:click="!selecting && (selecting = true, $wire.setPostgresqlType('postgres:16-alpine'))"
+ :disabled="selecting">
+ <div class="flex flex-col">
+ <div class="box-title">PostgreSQL 16</div>
<div class="box-description">
PostgreSQL is a powerful, open-source object-relational database system (no extensions).
</div>
@@ -513,6 +555,27 @@
</svg>
</a>
</div>
+ <div class="gap-2 coolbox group flex relative"
+ :class="{ 'cursor-pointer': !selecting, 'cursor-not-allowed opacity-50': selecting }"
+ x-on:click="!selecting && (selecting = true, $wire.setPostgresqlType('pgvector/pgvector:pg18'))"
+ :disabled="selecting">
+ <div class="flex flex-col">
+ <div class="box-title">PGVector (18)</div>
+ <div class="box-description">
+ PGVector is a PostgreSQL extension for vector data types.
+ </div>
+ </div>
+ <a href="https://github.com/pgvector/pgvector" target="_blank"
+ @click.stop
+ class="absolute top-2 right-2 p-1.5 rounded hover:bg-neutral-200 dark:hover:bg-coolgray-300 transition-colors"
+ title="View documentation">
+ <svg class="w-4 h-4 text-neutral-600 dark:text-neutral-400" fill="none"
+ stroke="currentColor" viewBox="0 0 24 24">
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
+ </svg>
+ </a>
+ </div>
<div class="gap-2 coolbox group flex relative"
:class="{ 'cursor-pointer': !selecting, 'cursor-not-allowed opacity-50': selecting }"
x-on:click="!selecting && (selecting = true, $wire.setPostgresqlType('pgvector/pgvector:pg17'))"