0.6.0
https://www.sea-ql.org/blog/2022-02-07-whats-new-in-0.6.0/
New Features
- Migration Support by @billy1624 in #335
- Support
DateTime<Utc>
&DateTime<Local>
by @billy1624 in #489 - Add
max_lifetime
connection option by @billy1624 in #493
Enhancements
- Model with Generics by @billy1624 in #400
- Add Poem example by @sunli829 in #446
- Codegen
column_name
proc_macro attribute by @billy1624 in #433 - Easy joins with MockDatabase #447 by @cemoktra in #455
Bug Fixes
- CLI allow generate entity with url without password by @billy1624 in #436
- Support up to 6-ary composite primary key by @billy1624 in #423
- Fix FromQueryResult when Result is redefined by @tasn in #495
- Remove
r#
prefix when derivingFromQueryResult
by @smrtrfszm in #494
Breaking Changes
- Name conflict of foreign key constraints when two entities have more than one foreign keys by @billy1624 in #417
Fixed Issues
- Is it possible to have 4 values Composite Key? #352
- Support
DateTime<Utc>
&DateTime<Local>
#381 - Codegen
column_name
proc_macro attribute if column name isn't in snake case #395 - Model with Generics #402
- Foreign key constraint collision when multiple keys exist between the same two tables #405
- sea-orm-cli passwordless database user causes "No password was found in the database url" error #435
- Testing joins with MockDatabase #447
- Surface max_lifetime connection option #475
New Contributors
- @sunli829 made their first contribution in #446
- @tasn made their first contribution in #495
- @smrtrfszm made their first contribution in #494
- @cemoktra made their first contribution in #455
Full Changelog: 0.5.0...0.6.0