Skip to content

Commit 926f54e

Browse files
committed
Changelog
1 parent 74e7b16 commit 926f54e

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,55 @@ 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+
## 1.1.11 - 2025-05-07
9+
10+
### Enhancements
11+
12+
* Added `ActiveModelTrait::default_values`
13+
```rust
14+
assert_eq!(
15+
fruit::ActiveModel::default_values(),
16+
fruit::ActiveModel {
17+
id: Set(0),
18+
name: Set("".into()),
19+
cake_id: Set(None),
20+
type_without_default: NotSet,
21+
},
22+
);
23+
```
24+
* Impl `IntoCondition` for `RelationDef` https://github.com/SeaQL/sea-orm/pull/2587
25+
```rust
26+
// This allows using `RelationDef` directly where sea-query expects an `IntoCondition`
27+
let query = Query::select()
28+
.from(fruit::Entity)
29+
.inner_join(cake::Entity, fruit::Relation::Cake.def())
30+
.to_owned();
31+
```
32+
* Loader: retain only unique key values in the query condition https://github.com/SeaQL/sea-orm/pull/2569
33+
* Add proxy transaction impl https://github.com/SeaQL/sea-orm/pull/2573
34+
* [sea-orm-cli] Fix `PgVector` codegen https://github.com/SeaQL/sea-orm/pull/2589
35+
36+
### Bug fixes
37+
38+
* Quote type properly in `AsEnum` casting https://github.com/SeaQL/sea-orm/pull/2570
39+
```rust
40+
assert_eq!(
41+
lunch_set::Entity::find()
42+
.select_only()
43+
.column(lunch_set::Column::Tea)
44+
.build(DbBackend::Postgres)
45+
.to_string(),
46+
r#"SELECT CAST("lunch_set"."tea" AS "text") FROM "lunch_set""#
47+
// "text" is now quoted; will work for "text"[] as well
48+
);
49+
```
50+
* Fix unicode string enum https://github.com/SeaQL/sea-orm/pull/2218
51+
52+
### Upgrades
53+
54+
* Upgrade `heck` to `0.5` https://github.com/SeaQL/sea-orm/pull/2218
55+
* Upgrade `sea-query` to `0.32.5`
56+
857
## 1.1.10 - 2025-04-14
958

1059
### Upgrades

0 commit comments

Comments
 (0)