From e630efd195c563496c3550abb1817303586ee46d Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 10 Oct 2023 17:40:57 -0700 Subject: [PATCH] Version bump to 0.5.1 [skip ci] --- CHANGELOG.md | 2 +- META.json | 4 ++-- Makefile | 2 +- Makefile.win | 2 +- README.md | 6 +++--- sql/vector--0.5.0--0.5.1.sql | 2 ++ vector.control | 2 +- 7 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 sql/vector--0.5.0--0.5.1.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d6147d..07040d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.5.1 (unreleased) +## 0.5.1 (2023-10-10) - Improved performance of HNSW index builds - Added check for MVCC-compliant snapshot for index scans diff --git a/META.json b/META.json index 67bf783..38d3919 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.5.0", + "version": "0.5.1", "maintainer": [ "Andrew Kane " ], @@ -20,7 +20,7 @@ "vector": { "file": "sql/vector.sql", "docfile": "README.md", - "version": "0.5.0", + "version": "0.5.1", "abstract": "Open-source vector similarity search for Postgres" } }, diff --git a/Makefile b/Makefile index 1412ad7..f6c1f20 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.5.0 +EXTVERSION = 0.5.1 MODULE_big = vector DATA = $(wildcard sql/*--*.sql) diff --git a/Makefile.win b/Makefile.win index 7bcae57..fbe5768 100644 --- a/Makefile.win +++ b/Makefile.win @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.5.0 +EXTVERSION = 0.5.1 OBJS = src\hnsw.obj src\hnswbuild.obj src\hnswinsert.obj src\hnswscan.obj src\hnswutils.obj src\hnswvacuum.obj src\ivfbuild.obj src\ivfflat.obj src\ivfinsert.obj src\ivfkmeans.obj src\ivfscan.obj src\ivfutils.obj src\ivfvacuum.obj src\vector.obj HEADERS = src\vector.h diff --git a/README.md b/README.md index 3245ada..33c9945 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Compile and install the extension (supports Postgres 11+) ```sh cd /tmp -git clone --branch v0.5.0 https://github.com/pgvector/pgvector.git +git clone --branch v0.5.1 https://github.com/pgvector/pgvector.git cd pgvector make make install # may need sudo @@ -509,7 +509,7 @@ Then use `nmake` to build: ```cmd set "PGROOT=C:\Program Files\PostgreSQL\15" -git clone --branch v0.5.0 https://github.com/pgvector/pgvector.git +git clone --branch v0.5.1 https://github.com/pgvector/pgvector.git cd pgvector nmake /F Makefile.win nmake /F Makefile.win install @@ -530,7 +530,7 @@ This adds pgvector to the [Postgres image](https://hub.docker.com/_/postgres) (r You can also build the image manually: ```sh -git clone --branch v0.5.0 https://github.com/pgvector/pgvector.git +git clone --branch v0.5.1 https://github.com/pgvector/pgvector.git cd pgvector docker build --build-arg PG_MAJOR=15 -t myuser/pgvector . ``` diff --git a/sql/vector--0.5.0--0.5.1.sql b/sql/vector--0.5.0--0.5.1.sql new file mode 100644 index 0000000..54e09c5 --- /dev/null +++ b/sql/vector--0.5.0--0.5.1.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.5.1'" to load this file. \quit diff --git a/vector.control b/vector.control index e64157b..7091703 100644 --- a/vector.control +++ b/vector.control @@ -1,4 +1,4 @@ comment = 'vector data type and ivfflat and hnsw access methods' -default_version = '0.5.0' +default_version = '0.5.1' module_pathname = '$libdir/vector' relocatable = true