From 760b08506a3366aa6f69306fdca905f7415bce04 Mon Sep 17 00:00:00 2001 From: Mert <101130780+mertalev@users.noreply.github.com> Date: Wed, 21 May 2025 13:03:53 -0400 Subject: [PATCH] chore: tighten vchord version range (#18420) guard minor version --- docs/docs/administration/postgres-standalone.md | 2 +- server/src/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/administration/postgres-standalone.md b/docs/docs/administration/postgres-standalone.md index 06a29a12fe..bbdd06847b 100644 --- a/docs/docs/administration/postgres-standalone.md +++ b/docs/docs/administration/postgres-standalone.md @@ -19,7 +19,7 @@ You must install VectorChord into your instance of Postgres using their [instruc :::note Immich is known to work with Postgres versions `>= 14, < 18`. -Make sure the installed version of VectorChord is compatible with your version of Immich. The current accepted range for VectorChord is `>= 0.3.0, < 1.0.0`. +Make sure the installed version of VectorChord is compatible with your version of Immich. The current accepted range for VectorChord is `>= 0.3.0, < 0.4.0`. ::: ## Specifying the connection URL diff --git a/server/src/constants.ts b/server/src/constants.ts index 8268360d9f..5a5984ab6e 100644 --- a/server/src/constants.ts +++ b/server/src/constants.ts @@ -4,7 +4,7 @@ import { SemVer } from 'semver'; import { DatabaseExtension, ExifOrientation, VectorIndex } from 'src/enum'; export const POSTGRES_VERSION_RANGE = '>=14.0.0'; -export const VECTORCHORD_VERSION_RANGE = '>=0.3 <1'; +export const VECTORCHORD_VERSION_RANGE = '>=0.3 <0.4'; export const VECTORS_VERSION_RANGE = '>=0.2 <0.4'; export const VECTOR_VERSION_RANGE = '>=0.5 <1';