From 103ac50f1a90b47a72003e8e8628a55ec372f202 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 5 Aug 2024 10:44:01 -0700 Subject: [PATCH] Version bump to 0.7.4 [skip ci] --- CHANGELOG.md | 2 +- META.json | 4 ++-- Makefile | 2 +- Makefile.win | 2 +- README.md | 6 +++--- sql/vector--0.7.3--0.7.4.sql | 2 ++ vector.control | 2 +- 7 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 sql/vector--0.7.3--0.7.4.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index d9e49f0..af972fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.7.4 (unreleased) +## 0.7.4 (2024-08-05) - Fixed locking for parallel HNSW index builds - Fixed compilation error with GCC 14 on i386 when SSE2 is not enabled diff --git a/META.json b/META.json index 0347955..b578ab4 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.3", + "version": "0.7.4", "maintainer": [ "Andrew Kane " ], @@ -20,7 +20,7 @@ "vector": { "file": "sql/vector.sql", "docfile": "README.md", - "version": "0.7.3", + "version": "0.7.4", "abstract": "Open-source vector similarity search for Postgres" } }, diff --git a/Makefile b/Makefile index f5c2436..e7ae85e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.7.3 +EXTVERSION = 0.7.4 MODULE_big = vector DATA = $(wildcard sql/*--*--*.sql) diff --git a/Makefile.win b/Makefile.win index 57fcfa5..c44cb1f 100644 --- a/Makefile.win +++ b/Makefile.win @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.7.3 +EXTVERSION = 0.7.4 DATA_built = sql\$(EXTENSION)--$(EXTVERSION).sql 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 diff --git a/README.md b/README.md index 9ecf780..44cfca3 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.3 https://github.com/pgvector/pgvector.git +git clone --branch v0.7.4 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.3 https://github.com/pgvector/pgvector.git +git clone --branch v0.7.4 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.3 https://github.com/pgvector/pgvector.git +git clone --branch v0.7.4 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.3--0.7.4.sql b/sql/vector--0.7.3--0.7.4.sql new file mode 100644 index 0000000..59015c2 --- /dev/null +++ b/sql/vector--0.7.3--0.7.4.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.4'" to load this file. \quit diff --git a/vector.control b/vector.control index 4e33c1f..b28c58c 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.3' +default_version = '0.7.4' module_pathname = '$libdir/vector' relocatable = true