pgvector.git / summary / log / commit / refs
commit 69672cd84d64409d7f790f284b8a3202c5542949
Author: Andrew Kane <andrew@ankane.org>
Date: Sun May 14 03:47:40 2023 +0000
Version bump to 0.4.2 [skip ci]
CHANGELOG.md | 2 +-
META.json | 4 ++--
Makefile | 2 +-
Makefile.win | 2 +-
README.md | 6 +++---
sql/vector--0.4.1--0.4.2.sql | 2 ++
vector.control | 2 +-
7 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f6f88add..4afd745b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-## 0.4.2 (unreleased)
+## 0.4.2 (2023-05-13)
- Added notice when index created with little data
- Fixed dimensions check for some direct function calls
diff --git a/META.json b/META.json
index 85e50d90..f90cbbc6 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.4.1",
+ "version": "0.4.2",
"maintainer": [
"Andrew Kane <andrew@ankane.org>"
],
@@ -20,7 +20,7 @@
"vector": {
"file": "sql/vector.sql",
"docfile": "README.md",
- "version": "0.4.1",
+ "version": "0.4.2",
"abstract": "Open-source vector similarity search for Postgres"
}
},
diff --git a/Makefile b/Makefile
index 85405237..7292da6d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
EXTENSION = vector
-EXTVERSION = 0.4.1
+EXTVERSION = 0.4.2
MODULE_big = vector
DATA = $(wildcard sql/*--*.sql)
diff --git a/Makefile.win b/Makefile.win
index 028a8503..994aee34 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -1,5 +1,5 @@
EXTENSION = vector
-EXTVERSION = 0.4.1
+EXTVERSION = 0.4.2
OBJS = src\ivfbuild.obj src\ivfflat.obj src\ivfinsert.obj src\ivfkmeans.obj src\ivfscan.obj src\ivfutils.obj src\ivfvacuum.obj src\vector.obj
diff --git a/README.md b/README.md
index e634428c..28bb37ad 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Compile and install the extension (supports Postgres 11+)
```sh
cd /tmp
-git clone --branch v0.4.1 https://github.com/pgvector/pgvector.git
+git clone --branch v0.4.2 https://github.com/pgvector/pgvector.git
cd pgvector
make
make install # may need sudo
@@ -379,7 +379,7 @@ Support for Windows is currently experimental. Use `nmake` to build:
```cmd
set "PGROOT=C:\Program Files\PostgreSQL\15"
-git clone --branch v0.4.1 https://github.com/pgvector/pgvector.git
+git clone --branch v0.4.2 https://github.com/pgvector/pgvector.git
cd pgvector
nmake /F Makefile.win
nmake /F Makefile.win install
@@ -400,7 +400,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.4.1 https://github.com/pgvector/pgvector.git
+git clone --branch v0.4.2 https://github.com/pgvector/pgvector.git
cd pgvector
docker build -t pgvector .
```
diff --git a/sql/vector--0.4.1--0.4.2.sql b/sql/vector--0.4.1--0.4.2.sql
new file mode 100644
index 00000000..24abacce
--- /dev/null
+++ b/sql/vector--0.4.1--0.4.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.4.2'" to load this file. \quit
diff --git a/vector.control b/vector.control
index 11726fe8..54f9cddc 100644
--- a/vector.control
+++ b/vector.control
@@ -1,4 +1,4 @@
comment = 'vector data type and ivfflat access method'
-default_version = '0.4.1'
+default_version = '0.4.2'
module_pathname = '$libdir/vector'
relocatable = true
[parent: 300adba2f146]