Skip to content

Commit 967ecfa

Browse files
committed
Changelog
1 parent fd7a1cc commit 967ecfa

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

CHANGELOG.md

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## 1.0.0 - pending
99

10-
### Enhancements
11-
12-
* `#![forbid(unsafe_code)]` in all workspace crates.
13-
14-
* Removed unnecessary `'static` bounds from type signatures.
15-
1610
### New features
1711

1812
* 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
@@ -33,12 +27,18 @@ pub struct SeaRc; // new
3327
`ConditionExpression`, which has been removed.
3428
* Addded `DatabaseName`, `SchemaName`, `TableName`, `ColumnName` types.
3529

36-
### Breaking Changes
30+
### Enhancements
3731

38-
* Unboxed variants of `Value`
32+
* `#![forbid(unsafe_code)]` in all workspace crates https://github.com/SeaQL/sea-query/pull/930
33+
* Removed unnecessary `'static` bounds from type signatures https://github.com/SeaQL/sea-query/pull/921
34+
* Most `Value` variants are now unboxed. Previously the size is 24 bytes. https://github.com/SeaQL/sea-query/pull/925
35+
```rust
36+
assert_eq!(std::mem::size_of::<Value>(), 32);
37+
```
3938

40-
* 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
39+
### Breaking Changes
4140

41+
* 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
4242
```rust
4343
error[E0599]: no method named `like` found for enum `sea_query::Expr` in the current scope
4444
|
@@ -140,8 +140,6 @@ impl Iden for Glyph {
140140

141141
### Bug Fixes
142142

143-
* Fixed the issue where milliseconds were truncated when formatting `Value::Constant`
144-
145143
### Upgrades
146144

147145
* Upgraded to Rust Edition 2024 https://github.com/SeaQL/sea-query/pull/885
@@ -152,6 +150,18 @@ impl Iden for Glyph {
152150

153151
* Fix incorrect casting of `ChronoDateTimeWithTimeZone` in `Value::Array` https://github.com/SeaQL/sea-query/pull/933
154152
* Add missing parenthesis to `WINDOW` clause https://github.com/SeaQL/sea-query/pull/919
153+
```sql
154+
SELECT .. OVER "w" FROM "character" WINDOW "w" AS (PARTITION BY "ww")
155+
```
156+
* Fix serializing iden as a value in `ALTER TYPE ... RENAME TO ...` statements https://github.com/SeaQL/sea-query/pull/924
157+
```sql
158+
ALTER TYPE "font" RENAME TO "typeface"
159+
```
160+
* Fixed the issue where milliseconds were truncated when formatting `Value::Constant` https://github.com/SeaQL/sea-query/pull/929
161+
```sql
162+
'2025-01-01 00:00:00.000000'
163+
^^^^^^^
164+
```
155165

156166
## 0.32.6 - 2025-05-27
157167

0 commit comments

Comments
 (0)