diff --git a/CHANGELOG.md b/CHANGELOG.md index f6f88ad..4afd745 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 85e50d9..f90cbbc 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 " ], @@ -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 8540523..7292da6 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 028a850..994aee3 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 e634428..28bb37a 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 0000000..24abacc --- /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 11726fe..54f9cdd 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