Skip to content

Commit 3eadd98

Browse files
committed
Version bump to 0.3.0 [skip ci]
1 parent 12370bb commit 3eadd98

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 0.3.0 (unreleased)
1+
## 0.3.0 (2024-06-25)
22

33
- Added support for `halfvec`, `bit`, and `sparsevec` types to Django
44
- Added support for `halfvec`, `bit`, and `sparsevec` types to SQLAlchemy and SQLModel

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Or check out some examples:
3030
- [Sentence embeddings](https://github.com/pgvector/pgvector-python/blob/master/examples/sentence_embeddings.py) with SentenceTransformers
3131
- [Hybrid search](https://github.com/pgvector/pgvector-python/blob/master/examples/hybrid_search_rrf.py) with SentenceTransformers (Reciprocal Rank Fusion)
3232
- [Hybrid search](https://github.com/pgvector/pgvector-python/blob/master/examples/hybrid_search.py) with SentenceTransformers (cross-encoder)
33-
- [Sparse search](https://github.com/pgvector/pgvector-python/blob/master/examples/sparse_search.py) with Transformers (unreleased)
33+
- [Sparse search](https://github.com/pgvector/pgvector-python/blob/master/examples/sparse_search.py) with Transformers
3434
- [Image search](https://github.com/pgvector/pgvector-python/blob/master/examples/pytorch_image_search.py) with PyTorch
3535
- [Image search](https://github.com/pgvector/pgvector-python/blob/master/examples/hash_image_search.py) with perceptual hashing
3636
- [Implicit feedback recommendations](https://github.com/pgvector/pgvector-python/blob/master/examples/implicit_recs.py) with Implicit
@@ -61,7 +61,7 @@ class Item(models.Model):
6161
embedding = VectorField(dimensions=3)
6262
```
6363

64-
Also supports `HalfVectorField` (unreleased), `BitField` (unreleased), and `SparseVectorField` (unreleased)
64+
Also supports `HalfVectorField`, `BitField`, and `SparseVectorField`
6565

6666
Insert a vector
6767

@@ -78,7 +78,7 @@ from pgvector.django import L2Distance
7878
Item.objects.order_by(L2Distance('embedding', [3, 1, 2]))[:5]
7979
```
8080

81-
Also supports `MaxInnerProduct`, `CosineDistance`, `L1Distance` (unreleased), `HammingDistance` (unreleased), and `JaccardDistance` (unreleased)
81+
Also supports `MaxInnerProduct`, `CosineDistance`, `L1Distance`, `HammingDistance`, and `JaccardDistance`
8282

8383
Get the distance
8484

@@ -146,7 +146,7 @@ class Item(Base):
146146
embedding = mapped_column(Vector(3))
147147
```
148148

149-
Also supports `HALFVEC` (unreleased), `BIT` (unreleased), and `SPARSEVEC` (unreleased)
149+
Also supports `HALFVEC`, `BIT`, and `SPARSEVEC`
150150

151151
Insert a vector
152152

@@ -162,7 +162,7 @@ Get the nearest neighbors to a vector
162162
session.scalars(select(Item).order_by(Item.embedding.l2_distance([3, 1, 2])).limit(5))
163163
```
164164

165-
Also supports `max_inner_product`, `cosine_distance`, `l1_distance` (unreleased), `hamming_distance` (unreleased), and `jaccard_distance` (unreleased)
165+
Also supports `max_inner_product`, `cosine_distance`, `l1_distance`, `hamming_distance`, and `jaccard_distance`
166166

167167
Get the distance
168168

@@ -228,7 +228,7 @@ class Item(SQLModel, table=True):
228228
embedding: Any = Field(sa_column=Column(Vector(3)))
229229
```
230230

231-
Also supports `HALFVEC` (unreleased), `BIT` (unreleased), and `SPARSEVEC` (unreleased)
231+
Also supports `HALFVEC`, `BIT`, and `SPARSEVEC`
232232

233233
Insert a vector
234234

@@ -244,7 +244,7 @@ Get the nearest neighbors to a vector
244244
session.exec(select(Item).order_by(Item.embedding.l2_distance([3, 1, 2])).limit(5))
245245
```
246246

247-
Also supports `max_inner_product`, `cosine_distance`, `l1_distance` (unreleased), `hamming_distance` (unreleased), and `jaccard_distance` (unreleased)
247+
Also supports `max_inner_product`, `cosine_distance`, `l1_distance`, `hamming_distance`, and `jaccard_distance`
248248

249249
Get the distance
250250

@@ -459,7 +459,7 @@ class Item(BaseModel):
459459
embedding = VectorField(dimensions=3)
460460
```
461461

462-
Also supports `HalfVectorField` (unreleased), `FixedBitField` (unreleased), and `SparseVectorField` (unreleased)
462+
Also supports `HalfVectorField`, `FixedBitField`, and `SparseVectorField`
463463

464464
Insert a vector
465465

@@ -473,7 +473,7 @@ Get the nearest neighbors to a vector
473473
Item.select().order_by(Item.embedding.l2_distance([3, 1, 2])).limit(5)
474474
```
475475

476-
Also supports `max_inner_product`, `cosine_distance`, `l1_distance` (unreleased), `hamming_distance` (unreleased), and `jaccard_distance` (unreleased)
476+
Also supports `max_inner_product`, `cosine_distance`, `l1_distance`, `hamming_distance`, and `jaccard_distance`
477477

478478
Get the distance
479479

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name='pgvector',
8-
version='0.2.5',
8+
version='0.3.0',
99
description='pgvector support for Python',
1010
long_description=long_description,
1111
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)