Skip to content

Commit 5292ca3

Browse files
committed
CHANGELOG
1 parent 2e1d7b9 commit 5292ca3

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,41 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## 0.32.0 - Pending
9+
10+
### Versions
11+
12+
+ `sea-query`/`0.32.0-rc.1`: 2024-08-09
13+
+ `sea-query-binder`/`0.7.0-rc.1`: 2024-08-09
14+
+ `sea-query-rusqlite`/`0.7.0-rc.1`: 2024-08-09
15+
+ `sea-query-postgres`/`0.5.0-rc.1`: 2024-08-09
16+
17+
### New Features
18+
19+
* Construct Postgres query with vector extension https://github.com/SeaQL/sea-query/pull/774
20+
```rust
21+
assert_eq!(
22+
Query::select()
23+
.columns([Char::Character])
24+
.from(Char::Table)
25+
.and_where(
26+
Expr::col(Char::Character).eq(Expr::val(pgvector::Vector::from(vec![1.0, 2.0])))
27+
)
28+
.to_string(PostgresQueryBuilder),
29+
r#"SELECT "character" FROM "character" WHERE "character" = '[1,2]'"#
30+
);
31+
```
32+
* Added `postgres-vector` feature https://github.com/SeaQL/sea-query/pull/774
33+
* Added `Value::Vector` https://github.com/SeaQL/sea-query/pull/774
34+
* Added `ColumnType::Vector` https://github.com/SeaQL/sea-query/pull/774
35+
* Added `ColumnDef::vector()` https://github.com/SeaQL/sea-query/pull/774
36+
* Added `PgBinOper::EuclideanDistance`, `PgBinOper::NegativeInnerProduct` and `PgBinOper::CosineDistance` https://github.com/SeaQL/sea-query/pull/774
37+
38+
### Upgrades
39+
40+
* Upgrade `sqlx` to `0.8` https://github.com/SeaQL/sea-query/pull/798
41+
* Upgrade `bigdecimal` to `0.4` https://github.com/SeaQL/sea-query/pull/798
42+
843
## 0.31.0 - 2024-08-02
944

1045
### Versions

0 commit comments

Comments
 (0)