diff --git a/CHANGELOG.md b/CHANGELOG.md index 6494ebf..f05e436 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.8.2 (unreleased) +## 0.8.2 (2026-02-25) - Fixed buffer overflow with parallel HNSW index build - Improved `install` target on Windows diff --git a/Dockerfile b/Dockerfile index 7e06759..821fa23 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.1 /tmp/pgvector +ADD https://github.com/pgvector/pgvector.git#v0.8.2 /tmp/pgvector RUN apt-get update && \ apt-mark hold locales && \ diff --git a/META.json b/META.json index 343518d..55c7f38 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.1", + "version": "0.8.2", "maintainer": [ "Andrew Kane " ], @@ -20,7 +20,7 @@ "vector": { "file": "sql/vector.sql", "docfile": "README.md", - "version": "0.8.1", + "version": "0.8.2", "abstract": "Open-source vector similarity search for Postgres" } }, diff --git a/Makefile b/Makefile index f9a2b15..8bedb89 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.8.1 +EXTVERSION = 0.8.2 MODULE_big = vector DATA = $(wildcard sql/*--*--*.sql) diff --git a/Makefile.win b/Makefile.win index 9d4cbe8..9256921 100644 --- a/Makefile.win +++ b/Makefile.win @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.8.1 +EXTVERSION = 0.8.2 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 5f24eb92f..1a8de7e 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.1 https://github.com/pgvector/pgvector.git +git clone --branch v0.8.2 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\18" cd %TEMP% -git clone --branch v0.8.1 https://github.com/pgvector/pgvector.git +git clone --branch v0.8.2 https://github.com/pgvector/pgvector.git cd pgvector nmake /F Makefile.win nmake /F Makefile.win install @@ -1152,23 +1152,23 @@ This adds pgvector to the [Postgres image](https://hub.docker.com/_/postgres) (r Supported tags are: -- `pg18-trixie`, `0.8.1-pg18-trixie` -- `pg18-bookworm`, `0.8.1-pg18-bookworm`, `pg18`, `0.8.1-pg18` -- `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` +- `pg18-trixie`, `0.8.2-pg18-trixie` +- `pg18-bookworm`, `0.8.2-pg18-bookworm`, `pg18`, `0.8.2-pg18` +- `pg17-trixie`, `0.8.2-pg17-trixie` +- `pg17-bookworm`, `0.8.2-pg17-bookworm`, `pg17`, `0.8.2-pg17` +- `pg16-trixie`, `0.8.2-pg16-trixie` +- `pg16-bookworm`, `0.8.2-pg16-bookworm`, `pg16`, `0.8.2-pg16` +- `pg15-trixie`, `0.8.2-pg15-trixie` +- `pg15-bookworm`, `0.8.2-pg15-bookworm`, `pg15`, `0.8.2-pg15` +- `pg14-trixie`, `0.8.2-pg14-trixie` +- `pg14-bookworm`, `0.8.2-pg14-bookworm`, `pg14`, `0.8.2-pg14` +- `pg13-trixie`, `0.8.2-pg13-trixie` +- `pg13-bookworm`, `0.8.2-pg13-bookworm`, `pg13`, `0.8.2-pg13` You can also build the image manually: ```sh -git clone --branch v0.8.1 https://github.com/pgvector/pgvector.git +git clone --branch v0.8.2 https://github.com/pgvector/pgvector.git cd pgvector docker build --pull --build-arg PG_MAJOR=18 -t myuser/pgvector . ``` diff --git a/sql/vector--0.8.1--0.8.2.sql b/sql/vector--0.8.1--0.8.2.sql new file mode 100644 index 0000000..f7730a1 --- /dev/null +++ b/sql/vector--0.8.1--0.8.2.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.2'" to load this file. \quit diff --git a/src/vector.c b/src/vector.c index 96dcb76..b8c2953 100644 --- a/src/vector.c +++ b/src/vector.c @@ -40,7 +40,7 @@ #endif #if PG_VERSION_NUM >= 180000 -PG_MODULE_MAGIC_EXT(.name = "vector",.version = "0.8.1"); +PG_MODULE_MAGIC_EXT(.name = "vector",.version = "0.8.2"); #else PG_MODULE_MAGIC; #endif diff --git a/vector.control b/vector.control index 2ad0228..d2aea74 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.1' +default_version = '0.8.2' module_pathname = '$libdir/vector' relocatable = true