1.0 KiB
1.0 KiB
Release Notes: SeaORM 2.0.0-rc.22
(since 2.0.0-rc.21)
New Features
DatabaseExecutor unified executor type (#2839)
Added a unified DatabaseExecutor type that wraps either a &DatabaseConnection or &DatabaseTransaction. This moves the SchemaManagerConnection pattern from sea-orm-migration into sea-orm core, providing:
DatabaseExecutorenum for unified handling of connections and transactionsIntoDatabaseExecutortrait for ergonomic conversionsSchemaManagerConnectiontype alias for backward compatibilitySchemaManagerConnectionExttrait for migration-specific methods
Bug Fixes
None in this release.
Improvements
Refactor Value array (#2849)
Refactored the internal Value array handling for improved consistency and maintainability.
Refactor CI (#2859)
- Parallelized test compilation for faster CI runs
- Updated
actions/cacheto v5 - Fixed cache keys
sea-orm-sync example
Added and improved the sea-orm-sync example.
Update examples
Updated example code across the repository.