diff --git a/CHANGELOG.md b/CHANGELOG.md index b82a49a..c1bfa8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ -## 0.6.0 (unreleased) +## 0.6.0 (2024-01-29) -If upgrading with Postgres 12 or Docker, see [these notes](https://github.com/pgvector/pgvector#060-unreleased). +If upgrading with Postgres 12 or Docker, see [these notes](https://github.com/pgvector/pgvector#060). - Changed storage for vector from `extended` to `external` - Added support for parallel index builds for HNSW diff --git a/Dockerfile b/Dockerfile index f3ded45..eef0c8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG PG_MAJOR=15 +ARG PG_MAJOR=16 FROM postgres:$PG_MAJOR ARG PG_MAJOR diff --git a/META.json b/META.json index d31b207..664a311 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.5.1", + "version": "0.6.0", "maintainer": [ "Andrew Kane " ], @@ -20,7 +20,7 @@ "vector": { "file": "sql/vector.sql", "docfile": "README.md", - "version": "0.5.1", + "version": "0.6.0", "abstract": "Open-source vector similarity search for Postgres" } }, diff --git a/Makefile b/Makefile index fe73901..3dc78f8 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.5.1 +EXTVERSION = 0.6.0 MODULE_big = vector DATA = $(wildcard sql/*--*.sql) diff --git a/Makefile.win b/Makefile.win index f6d955a..bb47a28 100644 --- a/Makefile.win +++ b/Makefile.win @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.5.1 +EXTVERSION = 0.6.0 OBJS = 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\vector.obj HEADERS = src\vector.h diff --git a/README.md b/README.md index d1bfdd3..b4df67d 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Compile and install the extension (supports Postgres 11+) ```sh cd /tmp -git clone --branch v0.5.1 https://github.com/pgvector/pgvector.git +git clone --branch v0.6.0 https://github.com/pgvector/pgvector.git cd pgvector make make install # may need sudo @@ -44,7 +44,7 @@ Then use `nmake` to build: ```cmd set "PGROOT=C:\Program Files\PostgreSQL\16" -git clone --branch v0.5.1 https://github.com/pgvector/pgvector.git +git clone --branch v0.6.0 https://github.com/pgvector/pgvector.git cd pgvector nmake /F Makefile.win nmake /F Makefile.win install @@ -264,7 +264,7 @@ HINT: Increase maintenance_work_mem to speed up builds. Note: Do not set `maintenance_work_mem` so high that it exhausts the memory on the server -Starting with 0.6.0 [unreleased], you can also speed up index creation by increasing the number of parallel workers (2 by default) +Starting with 0.6.0, you can also speed up index creation by increasing the number of parallel workers (2 by default) ```sql SET max_parallel_maintenance_workers = 7; -- plus leader @@ -651,10 +651,10 @@ If compilation fails and the output includes `warning: no such sysroot directory ### Docker -Get the [Docker image](https://hub.docker.com/r/ankane/pgvector) with: +Get the [Docker image](https://hub.docker.com/r/pgvector/pgvector) with: ```sh -docker pull ankane/pgvector +docker pull pgvector/pgvector:pg16 ``` This adds pgvector to the [Postgres image](https://hub.docker.com/_/postgres) (run it the same way). @@ -662,9 +662,9 @@ 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.5.1 https://github.com/pgvector/pgvector.git +git clone --branch v0.6.0 https://github.com/pgvector/pgvector.git cd pgvector -docker build --build-arg PG_MAJOR=15 -t myuser/pgvector . +docker build --build-arg PG_MAJOR=16 -t myuser/pgvector . ``` ### Homebrew @@ -741,7 +741,7 @@ SELECT extversion FROM pg_extension WHERE extname = 'vector'; ## Upgrade Notes -### 0.6.0 [unreleased] +### 0.6.0 #### Postgres 12 diff --git a/vector.control b/vector.control index 7091703..1fb2b9b 100644 --- a/vector.control +++ b/vector.control @@ -1,4 +1,4 @@ comment = 'vector data type and ivfflat and hnsw access methods' -default_version = '0.5.1' +default_version = '0.6.0' module_pathname = '$libdir/vector' relocatable = true