From 5af768752f02cb32ca3f1b924640132dde9f2c69 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sat, 15 Oct 2022 14:38:43 -0700 Subject: [PATCH] Version bump to 0.3.0 [skip ci] --- CHANGELOG.md | 2 +- META.json | 6 +++--- Makefile | 2 +- README.md | 6 +++--- sql/vector--0.2.7--0.3.0.sql | 2 ++ vector.control | 2 +- 6 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 sql/vector--0.2.7--0.3.0.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index e89e94a..54866bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.3.0 (unreleased) +## 0.3.0 (2022-10-15) - Added support for Postgres 15 - Dropped support for Postgres 9.6 diff --git a/META.json b/META.json index 50dbdeb..c3d0a32 100644 --- a/META.json +++ b/META.json @@ -2,7 +2,7 @@ "name": "vector", "abstract": "Open-source vector similarity search for Postgres", "description": "Supports L2 distance, inner product, and cosine distance", - "version": "0.2.7", + "version": "0.3.0", "maintainer": [ "Andrew Kane " ], @@ -12,7 +12,7 @@ "prereqs": { "runtime": { "requires": { - "PostgreSQL": "9.6.0" + "PostgreSQL": "10.0" } } }, @@ -20,7 +20,7 @@ "vector": { "file": "sql/vector.sql", "docfile": "README.md", - "version": "0.2.7", + "version": "0.3.0", "abstract": "Open-source vector similarity search for Postgres" } }, diff --git a/Makefile b/Makefile index 3a81dec..095f966 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.2.7 +EXTVERSION = 0.3.0 MODULE_big = vector DATA = $(wildcard sql/*--*.sql) diff --git a/README.md b/README.md index 9a39e0b..787f97a 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ Supports L2 distance, inner product, and cosine distance ## Installation -Compile and install the extension (supports Postgres 9.6+) +Compile and install the extension (supports Postgres 10+) ```sh -git clone --branch v0.2.7 https://github.com/pgvector/pgvector.git +git clone --branch v0.3.0 https://github.com/pgvector/pgvector.git cd pgvector make make install # may need sudo @@ -232,7 +232,7 @@ This adds pgvector to the [Postgres image](https://hub.docker.com/_/postgres). You can also build the image manually ```sh -git clone --branch v0.2.7 https://github.com/pgvector/pgvector.git +git clone --branch v0.3.0 https://github.com/pgvector/pgvector.git cd pgvector docker build -t pgvector . ``` diff --git a/sql/vector--0.2.7--0.3.0.sql b/sql/vector--0.2.7--0.3.0.sql new file mode 100644 index 0000000..7e62d39 --- /dev/null +++ b/sql/vector--0.2.7--0.3.0.sql @@ -0,0 +1,2 @@ +-- complain if script is sourced in psql, rather than via CREATE EXTENSION +\echo Use "ALTER EXTENSION vector UPDATE TO '0.3.0'" to load this file. \quit diff --git a/vector.control b/vector.control index bd81125..2877a2b 100644 --- a/vector.control +++ b/vector.control @@ -1,4 +1,4 @@ comment = 'vector data type and ivfflat access method' -default_version = '0.2.7' +default_version = '0.3.0' module_pathname = '$libdir/vector' relocatable = true