From 2d8b7e5f817334407c4cb3d6b0cac1efd40bbb24 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 2 Nov 2022 15:24:29 -0700 Subject: [PATCH] Version bump to 0.3.1 [skip ci] --- CHANGELOG.md | 2 +- META.json | 4 ++-- Makefile | 2 +- README.md | 4 ++-- sql/vector--0.3.0--0.3.1.sql | 2 ++ vector.control | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 sql/vector--0.3.0--0.3.1.sql diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d37bd4..691d499 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.3.1 (unreleased) +## 0.3.1 (2022-11-02) If upgrading from 0.2.7 or 0.3.0, [recreate](https://github.com/pgvector/pgvector#031) all `ivfflat` indexes after upgrading to ensure all data is indexed. diff --git a/META.json b/META.json index 10f63ac..76d3edf 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.3.0", + "version": "0.3.1", "maintainer": [ "Andrew Kane " ], @@ -20,7 +20,7 @@ "vector": { "file": "sql/vector.sql", "docfile": "README.md", - "version": "0.3.0", + "version": "0.3.1", "abstract": "Open-source vector similarity search for Postgres" } }, diff --git a/Makefile b/Makefile index 095f966..6ca3041 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ EXTENSION = vector -EXTVERSION = 0.3.0 +EXTVERSION = 0.3.1 MODULE_big = vector DATA = $(wildcard sql/*--*.sql) diff --git a/README.md b/README.md index a6151d7..9db1044 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 10+) ```sh -git clone --branch v0.3.0 https://github.com/pgvector/pgvector.git +git clone --branch v0.3.1 https://github.com/pgvector/pgvector.git cd pgvector make make install # may need sudo @@ -232,7 +232,7 @@ This adds pgvector to the [Postgres image](https://hub.docker.com/_/postgres). You can also build the image manually ```sh -git clone --branch v0.3.0 https://github.com/pgvector/pgvector.git +git clone --branch v0.3.1 https://github.com/pgvector/pgvector.git cd pgvector docker build -t pgvector . ``` diff --git a/sql/vector--0.3.0--0.3.1.sql b/sql/vector--0.3.0--0.3.1.sql new file mode 100644 index 0000000..f1a8fbc --- /dev/null +++ b/sql/vector--0.3.0--0.3.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.3.1'" to load this file. \quit diff --git a/vector.control b/vector.control index 2877a2b..6094915 100644 --- a/vector.control +++ b/vector.control @@ -1,4 +1,4 @@ comment = 'vector data type and ivfflat access method' -default_version = '0.3.0' +default_version = '0.3.1' module_pathname = '$libdir/vector' relocatable = true