From 96ff19be4487a843fa96f8801afcfdd49ac3eeac Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 18 Mar 2024 10:21:04 -0700 Subject: [PATCH] Version bump to 0.6.2 [skip ci] --- CHANGELOG.md | 2 +- META.json | 4 ++-- Makefile | 2 +- Makefile.win | 2 +- README.md | 6 +++--- sql/vector--0.6.1--0.6.2.sql | 2 ++ vector.control | 2 +- 7 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 sql/vector--0.6.1--0.6.2.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index 36dffbc..9bcea19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.6.2 (unreleased) +## 0.6.2 (2024-03-18) - Reduced lock contention with parallel HNSW index builds diff --git a/META.json b/META.json index 56e68fe..32e9f3b 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.6.1", + "version": "0.6.2", "maintainer": [ "Andrew Kane " ], @@ -20,7 +20,7 @@ "vector": { "file": "sql/vector.sql", "docfile": "README.md", - "version": "0.6.1", + "version": "0.6.2", "abstract": "Open-source vector similarity search for Postgres" } }, diff --git a/Makefile b/Makefile index 5ab10d0..d5f61ff 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.6.1 +EXTVERSION = 0.6.2 MODULE_big = vector DATA = $(wildcard sql/*--*.sql) diff --git a/Makefile.win b/Makefile.win index fd35ce5..1bb193e 100644 --- a/Makefile.win +++ b/Makefile.win @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.6.1 +EXTVERSION = 0.6.2 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 3a8ee86..8c54ed5 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Compile and install the extension (supports Postgres 12+) ```sh cd /tmp -git clone --branch v0.6.1 https://github.com/pgvector/pgvector.git +git clone --branch v0.6.2 https://github.com/pgvector/pgvector.git cd pgvector make make install # may need sudo @@ -45,7 +45,7 @@ Then use `nmake` to build: ```cmd set "PGROOT=C:\Program Files\PostgreSQL\16" cd %TEMP% -git clone --branch v0.6.1 https://github.com/pgvector/pgvector.git +git clone --branch v0.6.2 https://github.com/pgvector/pgvector.git cd pgvector nmake /F Makefile.win nmake /F Makefile.win install @@ -779,7 +779,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.6.1 https://github.com/pgvector/pgvector.git +git clone --branch v0.6.2 https://github.com/pgvector/pgvector.git cd pgvector docker build --build-arg PG_MAJOR=16 -t myuser/pgvector . ``` diff --git a/sql/vector--0.6.1--0.6.2.sql b/sql/vector--0.6.1--0.6.2.sql new file mode 100644 index 0000000..0a42a64 --- /dev/null +++ b/sql/vector--0.6.1--0.6.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.6.2'" to load this file. \quit diff --git a/vector.control b/vector.control index 1bb9c06..6fce0e5 100644 --- a/vector.control +++ b/vector.control @@ -1,4 +1,4 @@ comment = 'vector data type and ivfflat and hnsw access methods' -default_version = '0.6.1' +default_version = '0.6.2' module_pathname = '$libdir/vector' relocatable = true