pgvector.git / summary / log / commit / refs
commit f37c13f68b57d2c3472b2214fbcff699d6d34876
Author: Andrew Kane <andrew@ankane.org>
Date: Thu Oct 01 17:26:23 2026 +0000
Version bump to 0.8.7 [skip ci]
CHANGELOG.md | 3 ++-
Dockerfile | 2 +-
META.json | 4 ++--
Makefile | 2 +-
Makefile.win | 2 +-
README.md | 30 +++++++++++++++---------------
src/vector.c | 2 +-
vector.control | 2 +-
8 files changed, 24 insertions(+), 23 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d4121a5b..0d1cbb08 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
-## 0.8.7 (unreleased)
+## 0.8.7 (2026-10-01)
+- Fixed buffer overflow with IVFFlat index build - [more info](https://github.com/pgvector/pgvector/issues/1036)
- Fixed error with `avg` aggregate when no matching rows
## 0.8.6 (2026-07-29)
diff --git a/Dockerfile b/Dockerfile
index 84f0069f..cbeaed72 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.6 /tmp/pgvector
+ADD https://github.com/pgvector/pgvector.git#v0.8.7 /tmp/pgvector
RUN apt-get update && \
apt-mark hold locales && \
diff --git a/META.json b/META.json
index c6883754..531e895a 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.6",
+ "version": "0.8.7",
"maintainer": [
"Andrew Kane <andrew@ankane.org>"
],
@@ -20,7 +20,7 @@
"vector": {
"file": "sql/vector.sql",
"docfile": "README.md",
- "version": "0.8.6",
+ "version": "0.8.7",
"abstract": "Open-source vector similarity search for Postgres"
}
},
diff --git a/Makefile b/Makefile
index fd569923..ee473016 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
EXTENSION = vector
-EXTVERSION = 0.8.6
+EXTVERSION = 0.8.7
MODULE_big = vector
DATA = $(wildcard sql/*--*--*.sql)
diff --git a/Makefile.win b/Makefile.win
index 48c3b336..59710887 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -1,5 +1,5 @@
EXTENSION = vector
-EXTVERSION = 0.8.6
+EXTVERSION = 0.8.7
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 bcb7edaf..f5fde78f 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ Compile and install the extension (supports Postgres 13+)
```sh
cd /tmp
-git clone --branch v0.8.6 https://github.com/pgvector/pgvector.git
+git clone --branch v0.8.7 https://github.com/pgvector/pgvector.git
cd pgvector
make
make install # may need sudo
@@ -40,7 +40,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.6 https://github.com/pgvector/pgvector.git
+git clone --branch v0.8.7 https://github.com/pgvector/pgvector.git
cd pgvector
nmake /F Makefile.win
nmake /F Makefile.win install
@@ -1161,23 +1161,23 @@ This adds pgvector to the [Postgres image](https://hub.docker.com/_/postgres) (r
Supported tags are:
-- `pg18-trixie`, `0.8.6-pg18-trixie`
-- `pg18-bookworm`, `0.8.6-pg18-bookworm`, `pg18`, `0.8.6-pg18`
-- `pg17-trixie`, `0.8.6-pg17-trixie`
-- `pg17-bookworm`, `0.8.6-pg17-bookworm`, `pg17`, `0.8.6-pg17`
-- `pg16-trixie`, `0.8.6-pg16-trixie`
-- `pg16-bookworm`, `0.8.6-pg16-bookworm`, `pg16`, `0.8.6-pg16`
-- `pg15-trixie`, `0.8.6-pg15-trixie`
-- `pg15-bookworm`, `0.8.6-pg15-bookworm`, `pg15`, `0.8.6-pg15`
-- `pg14-trixie`, `0.8.6-pg14-trixie`
-- `pg14-bookworm`, `0.8.6-pg14-bookworm`, `pg14`, `0.8.6-pg14`
-- `pg13-trixie`, `0.8.6-pg13-trixie`
-- `pg13-bookworm`, `0.8.6-pg13-bookworm`, `pg13`, `0.8.6-pg13`
+- `pg18-trixie`, `0.8.7-pg18-trixie`
+- `pg18-bookworm`, `0.8.7-pg18-bookworm`, `pg18`, `0.8.7-pg18`
+- `pg17-trixie`, `0.8.7-pg17-trixie`
+- `pg17-bookworm`, `0.8.7-pg17-bookworm`, `pg17`, `0.8.7-pg17`
+- `pg16-trixie`, `0.8.7-pg16-trixie`
+- `pg16-bookworm`, `0.8.7-pg16-bookworm`, `pg16`, `0.8.7-pg16`
+- `pg15-trixie`, `0.8.7-pg15-trixie`
+- `pg15-bookworm`, `0.8.7-pg15-bookworm`, `pg15`, `0.8.7-pg15`
+- `pg14-trixie`, `0.8.7-pg14-trixie`
+- `pg14-bookworm`, `0.8.7-pg14-bookworm`, `pg14`, `0.8.7-pg14`
+- `pg13-trixie`, `0.8.7-pg13-trixie`
+- `pg13-bookworm`, `0.8.7-pg13-bookworm`, `pg13`, `0.8.7-pg13`
You can also build the image manually:
```sh
-git clone --branch v0.8.6 https://github.com/pgvector/pgvector.git
+git clone --branch v0.8.7 https://github.com/pgvector/pgvector.git
cd pgvector
docker build --pull --build-arg PG_MAJOR=18 -t myuser/pgvector .
```
diff --git a/src/vector.c b/src/vector.c
index aee32d9e..ebd78c14 100644
--- a/src/vector.c
+++ b/src/vector.c
@@ -46,7 +46,7 @@
#endif
#if PG_VERSION_NUM >= 180000
-PG_MODULE_MAGIC_EXT(.name = "vector", .version = "0.8.6");
+PG_MODULE_MAGIC_EXT(.name = "vector", .version = "0.8.7");
#else
PG_MODULE_MAGIC;
#endif
diff --git a/vector.control b/vector.control
index 02e761f5..c9c4b6a0 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.6'
+default_version = '0.8.7'
module_pathname = '$libdir/vector'
relocatable = true
[parent: ee00d39ab30c]