From 778dacf20c07caf904557a88705142631818d8cb Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 4 Sep 2025 17:51:09 -0700 Subject: [PATCH] Version bump to 0.8.1 [skip ci] --- CHANGELOG.md | 2 +- Dockerfile | 2 +- META.json | 4 ++-- Makefile | 2 +- Makefile.win | 2 +- README.md | 26 +++++++++++++------------- sql/vector--0.8.0--0.8.1.sql | 2 ++ src/vector.c | 2 +- vector.control | 2 +- 9 files changed, 23 insertions(+), 21 deletions(-) create mode 100644 sql/vector--0.8.0--0.8.1.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b2aed3..8618d1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.8.1 (unreleased) +## 0.8.1 (2025-09-04) - Added support for Postgres 18 rc1 - Improved performance of `binary_quantize` function diff --git a/Dockerfile b/Dockerfile index 2368212..7e06759 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ARG DEBIAN_CODENAME=bookworm FROM postgres:$PG_MAJOR-$DEBIAN_CODENAME ARG PG_MAJOR -ADD https://github.com/pgvector/pgvector.git#v0.8.0 /tmp/pgvector +ADD https://github.com/pgvector/pgvector.git#v0.8.1 /tmp/pgvector RUN apt-get update && \ apt-mark hold locales && \ diff --git a/META.json b/META.json index b9a68f6..343518d 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.8.0", + "version": "0.8.1", "maintainer": [ "Andrew Kane " ], @@ -20,7 +20,7 @@ "vector": { "file": "sql/vector.sql", "docfile": "README.md", - "version": "0.8.0", + "version": "0.8.1", "abstract": "Open-source vector similarity search for Postgres" } }, diff --git a/Makefile b/Makefile index 8533c5b..d98d73b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.8.0 +EXTVERSION = 0.8.1 MODULE_big = vector DATA = $(wildcard sql/*--*--*.sql) diff --git a/Makefile.win b/Makefile.win index 8c62f9d..1fee4a6 100644 --- a/Makefile.win +++ b/Makefile.win @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.8.0 +EXTVERSION = 0.8.1 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 b8259f4..dfd16ec 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Compile and install the extension (supports Postgres 13+) ```sh cd /tmp -git clone --branch v0.8.0 https://github.com/pgvector/pgvector.git +git clone --branch v0.8.1 https://github.com/pgvector/pgvector.git cd pgvector make make install # may need sudo @@ -38,7 +38,7 @@ Ensure [C++ support in Visual Studio](https://learn.microsoft.com/en-us/cpp/buil ```cmd set "PGROOT=C:\Program Files\PostgreSQL\17" cd %TEMP% -git clone --branch v0.8.0 https://github.com/pgvector/pgvector.git +git clone --branch v0.8.1 https://github.com/pgvector/pgvector.git cd pgvector nmake /F Makefile.win nmake /F Makefile.win install @@ -1145,21 +1145,21 @@ This adds pgvector to the [Postgres image](https://hub.docker.com/_/postgres) (r Supported tags are: -- `pg17-trixie`, `0.8.0-pg17-trixie` -- `pg17-bookworm`, `0.8.0-pg17-bookworm`, `pg17`, `0.8.0-pg17` -- `pg16-trixie`, `0.8.0-pg16-trixie` -- `pg16-bookworm`, `0.8.0-pg16-bookworm`, `pg16`, `0.8.0-pg16` -- `pg15-trixie`, `0.8.0-pg15-trixie` -- `pg15-bookworm`, `0.8.0-pg15-bookworm`, `pg15`, `0.8.0-pg15` -- `pg14-trixie`, `0.8.0-pg14-trixie` -- `pg14-bookworm`, `0.8.0-pg14-bookworm`, `pg14`, `0.8.0-pg14` -- `pg13-trixie`, `0.8.0-pg13-trixie` -- `pg13-bookworm`, `0.8.0-pg13-bookworm`, `pg13`, `0.8.0-pg13` +- `pg17-trixie`, `0.8.1-pg17-trixie` +- `pg17-bookworm`, `0.8.1-pg17-bookworm`, `pg17`, `0.8.1-pg17` +- `pg16-trixie`, `0.8.1-pg16-trixie` +- `pg16-bookworm`, `0.8.1-pg16-bookworm`, `pg16`, `0.8.1-pg16` +- `pg15-trixie`, `0.8.1-pg15-trixie` +- `pg15-bookworm`, `0.8.1-pg15-bookworm`, `pg15`, `0.8.1-pg15` +- `pg14-trixie`, `0.8.1-pg14-trixie` +- `pg14-bookworm`, `0.8.1-pg14-bookworm`, `pg14`, `0.8.1-pg14` +- `pg13-trixie`, `0.8.1-pg13-trixie` +- `pg13-bookworm`, `0.8.1-pg13-bookworm`, `pg13`, `0.8.1-pg13` You can also build the image manually: ```sh -git clone --branch v0.8.0 https://github.com/pgvector/pgvector.git +git clone --branch v0.8.1 https://github.com/pgvector/pgvector.git cd pgvector docker build --pull --build-arg PG_MAJOR=17 -t myuser/pgvector . ``` diff --git a/sql/vector--0.8.0--0.8.1.sql b/sql/vector--0.8.0--0.8.1.sql new file mode 100644 index 0000000..547bd44 --- /dev/null +++ b/sql/vector--0.8.0--0.8.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.8.1'" to load this file. \quit diff --git a/src/vector.c b/src/vector.c index 0630cf8..03f70d6 100644 --- a/src/vector.c +++ b/src/vector.c @@ -36,7 +36,7 @@ #endif #if PG_VERSION_NUM >= 180000 -PG_MODULE_MAGIC_EXT(.name = "vector",.version = "0.8.0"); +PG_MODULE_MAGIC_EXT(.name = "vector",.version = "0.8.1"); #else PG_MODULE_MAGIC; #endif diff --git a/vector.control b/vector.control index 7bfc0f1..2ad0228 100644 --- a/vector.control +++ b/vector.control @@ -1,4 +1,4 @@ comment = 'vector data type and ivfflat and hnsw access methods' -default_version = '0.8.0' +default_version = '0.8.1' module_pathname = '$libdir/vector' relocatable = true