diff --git a/CHANGELOG.md b/CHANGELOG.md index a3a4eb8..dff48c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.4.1 (unreleased) +## 0.4.1 (2023-03-21) - Improved performance of cosine distance - Fixed index scan count diff --git a/META.json b/META.json index 4c67c99..85e50d9 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.0", + "version": "0.4.1", "maintainer": [ "Andrew Kane " ], @@ -20,7 +20,7 @@ "vector": { "file": "sql/vector.sql", "docfile": "README.md", - "version": "0.4.0", + "version": "0.4.1", "abstract": "Open-source vector similarity search for Postgres" } }, diff --git a/Makefile b/Makefile index 7f6e0d5..bdf393f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.4.0 +EXTVERSION = 0.4.1 MODULE_big = vector DATA = $(wildcard sql/*--*.sql) diff --git a/Makefile.win b/Makefile.win index 9d1e6ed..028a850 100644 --- a/Makefile.win +++ b/Makefile.win @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.4.0 +EXTVERSION = 0.4.1 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 888a604..2068128 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Supports L2 distance, inner product, and cosine distance Compile and install the extension (supports Postgres 11+) ```sh -git clone --branch v0.4.0 https://github.com/pgvector/pgvector.git +git clone --branch v0.4.1 https://github.com/pgvector/pgvector.git cd pgvector make make install # may need sudo @@ -271,7 +271,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.0 https://github.com/pgvector/pgvector.git +git clone --branch v0.4.1 https://github.com/pgvector/pgvector.git cd pgvector docker build -t pgvector . ``` diff --git a/sql/vector--0.4.0--0.4.1.sql b/sql/vector--0.4.0--0.4.1.sql new file mode 100644 index 0000000..67ba57e --- /dev/null +++ b/sql/vector--0.4.0--0.4.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.4.1'" to load this file. \quit diff --git a/vector.control b/vector.control index 2d7b91d..11726fe 100644 --- a/vector.control +++ b/vector.control @@ -1,4 +1,4 @@ comment = 'vector data type and ivfflat access method' -default_version = '0.4.0' +default_version = '0.4.1' module_pathname = '$libdir/vector' relocatable = true