From 0eceaa39662bdcf00925995816f4c176e6be3fec Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 3 Jun 2024 13:48:51 -0700 Subject: [PATCH] Version bump to 0.7.1 [skip ci] --- CHANGELOG.md | 2 +- META.json | 4 ++-- Makefile | 2 +- Makefile.win | 2 +- README.md | 6 +++--- sql/vector--0.7.0--0.7.1.sql | 2 ++ vector.control | 2 +- 7 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 sql/vector--0.7.0--0.7.1.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index d4fba85..69accee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.7.1 (unreleased) +## 0.7.1 (2024-06-03) - Improved performance of on-disk HNSW index builds - Fixed `undefined symbol` error with GCC 8 diff --git a/META.json b/META.json index d32f4f8..c666094 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.7.0", + "version": "0.7.1", "maintainer": [ "Andrew Kane " ], @@ -20,7 +20,7 @@ "vector": { "file": "sql/vector.sql", "docfile": "README.md", - "version": "0.7.0", + "version": "0.7.1", "abstract": "Open-source vector similarity search for Postgres" } }, diff --git a/Makefile b/Makefile index 7684684..4379562 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.7.0 +EXTVERSION = 0.7.1 MODULE_big = vector DATA = $(wildcard sql/*--*.sql) diff --git a/Makefile.win b/Makefile.win index bc70074..9048b66 100644 --- a/Makefile.win +++ b/Makefile.win @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.7.0 +EXTVERSION = 0.7.1 OBJS = src\bitutils.obj src\bitvec.obj src\halfutils.obj src\halfvec.obj 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\sparsevec.obj src\vector.obj HEADERS = src\halfvec.h src\sparsevec.h src\vector.h diff --git a/README.md b/README.md index d9d4e6c..8f0ed25 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Compile and install the extension (supports Postgres 12+) ```sh cd /tmp -git clone --branch v0.7.0 https://github.com/pgvector/pgvector.git +git clone --branch v0.7.1 https://github.com/pgvector/pgvector.git cd pgvector make make install # may need sudo @@ -46,7 +46,7 @@ Then use `nmake` to build: ```cmd set "PGROOT=C:\Program Files\PostgreSQL\16" cd %TEMP% -git clone --branch v0.7.0 https://github.com/pgvector/pgvector.git +git clone --branch v0.7.1 https://github.com/pgvector/pgvector.git cd pgvector nmake /F Makefile.win nmake /F Makefile.win install @@ -1051,7 +1051,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.7.0 https://github.com/pgvector/pgvector.git +git clone --branch v0.7.1 https://github.com/pgvector/pgvector.git cd pgvector docker build --pull --build-arg PG_MAJOR=16 -t myuser/pgvector . ``` diff --git a/sql/vector--0.7.0--0.7.1.sql b/sql/vector--0.7.0--0.7.1.sql new file mode 100644 index 0000000..97055c5 --- /dev/null +++ b/sql/vector--0.7.0--0.7.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.7.1'" to load this file. \quit diff --git a/vector.control b/vector.control index e634679..6b7dfca 100644 --- a/vector.control +++ b/vector.control @@ -1,4 +1,4 @@ comment = 'vector data type and ivfflat and hnsw access methods' -default_version = '0.7.0' +default_version = '0.7.1' module_pathname = '$libdir/vector' relocatable = true