pgvector.git / summary / log / commit / refs
commit e630efd195c563496c3550abb1817303586ee46d
Author: Andrew Kane <andrew@ankane.org>
Date: Wed Oct 11 00:40:57 2023 +0000
Version bump to 0.5.1 [skip ci]
CHANGELOG.md | 2 +-
META.json | 4 ++--
Makefile | 2 +-
Makefile.win | 2 +-
README.md | 6 +++---
sql/vector--0.5.0--0.5.1.sql | 2 ++
vector.control | 2 +-
7 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0d6147d0..07040d09 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-## 0.5.1 (unreleased)
+## 0.5.1 (2023-10-10)
- Improved performance of HNSW index builds
- Added check for MVCC-compliant snapshot for index scans
diff --git a/META.json b/META.json
index 67bf7839..38d3919f 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.0",
+ "version": "0.5.1",
"maintainer": [
"Andrew Kane <andrew@ankane.org>"
],
@@ -20,7 +20,7 @@
"vector": {
"file": "sql/vector.sql",
"docfile": "README.md",
- "version": "0.5.0",
+ "version": "0.5.1",
"abstract": "Open-source vector similarity search for Postgres"
}
},
diff --git a/Makefile b/Makefile
index 1412ad7e..f6c1f205 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
EXTENSION = vector
-EXTVERSION = 0.5.0
+EXTVERSION = 0.5.1
MODULE_big = vector
DATA = $(wildcard sql/*--*.sql)
diff --git a/Makefile.win b/Makefile.win
index 7bcae57e..fbe57683 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -1,5 +1,5 @@
EXTENSION = vector
-EXTVERSION = 0.5.0
+EXTVERSION = 0.5.1
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 3245ada4..33c9945c 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ Compile and install the extension (supports Postgres 11+)
```sh
cd /tmp
-git clone --branch v0.5.0 https://github.com/pgvector/pgvector.git
+git clone --branch v0.5.1 https://github.com/pgvector/pgvector.git
cd pgvector
make
make install # may need sudo
@@ -509,7 +509,7 @@ Then use `nmake` to build:
```cmd
set "PGROOT=C:\Program Files\PostgreSQL\15"
-git clone --branch v0.5.0 https://github.com/pgvector/pgvector.git
+git clone --branch v0.5.1 https://github.com/pgvector/pgvector.git
cd pgvector
nmake /F Makefile.win
nmake /F Makefile.win install
@@ -530,7 +530,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.5.0 https://github.com/pgvector/pgvector.git
+git clone --branch v0.5.1 https://github.com/pgvector/pgvector.git
cd pgvector
docker build --build-arg PG_MAJOR=15 -t myuser/pgvector .
```
diff --git a/sql/vector--0.5.0--0.5.1.sql b/sql/vector--0.5.0--0.5.1.sql
new file mode 100644
index 00000000..54e09c5e
--- /dev/null
+++ b/sql/vector--0.5.0--0.5.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.5.1'" to load this file. \quit
diff --git a/vector.control b/vector.control
index e64157bf..70917038 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.0'
+default_version = '0.5.1'
module_pathname = '$libdir/vector'
relocatable = true
[parent: b5b912906baa]