You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+45-14Lines changed: 45 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
9
9
10
10
### New features
11
11
12
+
*`#![forbid(unsafe_code)]` in all workspace crates https://github.com/SeaQL/sea-query/pull/930
12
13
* Unify `Expr` and `SimpleExpr` as one type. `SimpleExpr` is kept as an alias of `Expr`, but they can now be used interchangably. There may be a few compile
13
14
errors and some clippy warnings, basically just remove the redundant `.into()`https://github.com/SeaQL/sea-query/pull/889
// so TableName can represent [database.][schema.]table
49
+
```
29
50
30
51
### Enhancements
31
52
32
-
*`#![forbid(unsafe_code)]` in all workspace crates https://github.com/SeaQL/sea-query/pull/930
33
53
* Removed unnecessary `'static` bounds from type signatures https://github.com/SeaQL/sea-query/pull/921
34
54
* Most `Value` variants are now unboxed (except `BigDecimal` and `Array`). Previously the size is 24 bytes. https://github.com/SeaQL/sea-query/pull/925
35
55
```rust
36
56
assert_eq!(std::mem::size_of::<Value>(), 32);
37
57
```
58
+
*`impl From<Expr> for Condition`. Now you can use `Expr` instead of `ConditionExpression`, which has been removed from the public API https://github.com/SeaQL/sea-query/pull/915
38
59
39
60
### Breaking Changes
40
61
41
-
* Replace `ColumnSpec::Check(Expr)` with `ColumnSpec::Check(Check)` to support named check constraints
42
-
43
62
* Removed inherent `SimpleExpr` methods that duplicate `ExprTrait`. If you encounter the following error, please add `use sea_query::ExprTrait` in scope https://github.com/SeaQL/sea-query/pull/890
* The method signature of `Iden::unquoted` is changed. If you're implementing `Iden` manually, you can modify it like below.
120
+
* The method signature of `Iden::unquoted` is changed. If you're implementing `Iden` manually, you can modify it like belowhttps://github.com/SeaQL/sea-query/pull/909
* Turned `SchemaTable` into a type alias of `TableName`. Code that accesses the
133
-
fields inside may not compile. Other existing code should still compile.
134
-
* Removed `ConditionExpression` from the public API. Instead, just convert
135
-
between `Condition` and `Expr` using `From`/`Into`.
136
-
* Blanket-implemented `SqliteExpr` and `PgExpr` for `T where T: ExprTrait`.
150
+
* Removed `ConditionExpression` from the public API. Instead, just convert between `Condition` and `Expr` using `From`/`Into`https://github.com/SeaQL/sea-query/pull/915
0 commit comments