All Versions
31
Latest Version
Avg Release Cycle
19 days
Latest Release
-
Changelog History
Page 3
Changelog History
Page 3
-
v0.3.0 Changes
October 15, 2021https://www.sea-ql.org/SeaORM/blog/2021-10-15-whats-new-in-0.3.0
- ๐ Built-in Rocket support
ConnectOptions
let mut opt = ConnectOptions::new("protocol://username:[email protected]/database".to_owned()); opt.max_connections(100) .min_connections(5) .connect_timeout(Duration::from_secs(8)) .idle_timeout(Duration::from_secs(8)); let db = Database::connect(opt).await?;
- [#211] Throw error if none of the db rows are affected
assert_eq!( Update::one(cake::ActiveModel { name: Set("Cheese Cake".to_owned()), ..model.into_active_model() }) .exec(&db) .await, Err(DbErr::RecordNotFound( "None of the database rows are affected".to_owned() )) ); // update many remains the same assert_eq!( Update::many(cake::Entity) .col_expr(cake::Column::Name, Expr::value("Cheese Cake".to_owned())) .filter(cake::Column::Id.eq(2)) .exec(&db) .await, Ok(UpdateResult { rows_affected: 0 }) );
- [#223]
ActiveValue::take()
&ActiveValue::into_value()
withoutunwrap()
- 0๏ธโฃ [#205] Drop
Default
trait bound ofPrimaryKeyTrait::ValueType
- [#222] Transaction & streaming
- โก๏ธ [#210] Update
ActiveModelBehavior
API - [#240] Add derive
DeriveIntoActiveModel
andIntoActiveValue
trait - ๐ [#237] Introduce optional serde support for model code generation
- [#246] Add
#[automatically_derived]
to all derived implementations
-
v0.2.6 Changes
October 09, 2021- [#224] [sea-orm-cli] Date & Time column type mapping
- Escape rust keywords with
r#
raw identifier
-
v0.2.5 Changes
October 06, 2021 -
v0.2.4 Changes
October 01, 2021https://www.sea-ql.org/SeaORM/blog/2021-10-01-whats-new-in-0.2.4
- [#186] [sea-orm-cli] Foreign key handling
- [#191] [sea-orm-cli] Unique key handling
- [#182]
find_linked
join with alias - [#202] Accept both
postgres://
andpostgresql://
- ๐ [#208] Support feteching T, (T, U), (T, U, P) etc
- [#209] Rename column name & column enum variant
- ๐ [#207] Support
chrono::NaiveDate
&chrono::NaiveTime
- ๐ Support
Condition::not
(from sea-query)
-
v0.2.3 Changes
September 22, 2021 -
v0.2.1 Changes
September 04, 2021- โก๏ธ Update dependencies
-
v0.1.3 Changes
August 30, 2021- ๐ [#108] Remove impl TryGetable for Option