Skip to content

Commit

Permalink
CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Aug 9, 2024
1 parent 2e1d7b9 commit 5292ca3
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,41 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 0.32.0 - Pending

### Versions

+ `sea-query`/`0.32.0-rc.1`: 2024-08-09
+ `sea-query-binder`/`0.7.0-rc.1`: 2024-08-09
+ `sea-query-rusqlite`/`0.7.0-rc.1`: 2024-08-09
+ `sea-query-postgres`/`0.5.0-rc.1`: 2024-08-09

### New Features

* Construct Postgres query with vector extension https://github.com/SeaQL/sea-query/pull/774
```rust
assert_eq!(
Query::select()
.columns([Char::Character])
.from(Char::Table)
.and_where(
Expr::col(Char::Character).eq(Expr::val(pgvector::Vector::from(vec![1.0, 2.0])))
)
.to_string(PostgresQueryBuilder),
r#"SELECT "character" FROM "character" WHERE "character" = '[1,2]'"#
);
```
* Added `postgres-vector` feature https://github.com/SeaQL/sea-query/pull/774
* Added `Value::Vector` https://github.com/SeaQL/sea-query/pull/774
* Added `ColumnType::Vector` https://github.com/SeaQL/sea-query/pull/774
* Added `ColumnDef::vector()` https://github.com/SeaQL/sea-query/pull/774
* Added `PgBinOper::EuclideanDistance`, `PgBinOper::NegativeInnerProduct` and `PgBinOper::CosineDistance` https://github.com/SeaQL/sea-query/pull/774

### Upgrades

* Upgrade `sqlx` to `0.8` https://github.com/SeaQL/sea-query/pull/798
* Upgrade `bigdecimal` to `0.4` https://github.com/SeaQL/sea-query/pull/798

## 0.31.0 - 2024-08-02

### Versions
Expand Down

0 comments on commit 5292ca3

Please sign in to comment.