What's Changed
New Features
- Move field aliasing methods to Grammar class as public overridable API by @dercoder in #3476
- PHPORM-305 Deprecate "array" cast storing as JSON-encoded string by @GromNaN in #3495
- Add advanced type definition for Atlas Search Indexes by @GromNaN in #3234
- PHPORM-491 Support \SortDirection enum in Query\Builder::orderBy() by @babaduk47 in #3507
Fixed
- Update generics on hybrid relations by @bskl in #3489
- Fix MongoStore increment behavior for expired cache entries by @zigzagdev in #3467
- Fix incorrect behaviour when comparing castable attributes in
originalIsEquivalentmethod by @guram-vashakidze in #3439 - Make
EmbedsRelations::embedsManyandEmbedsRelations::embedsOnepublic by @GromNaN in #2588 - fix: Sync correct timestamps offset by @zigzagdev in #3509
- Fix:
increment&decrementon embedded models to delegate toModel::incrementOrDecrement()by @zigzagdev in #3510 - PHPORM-494 Fix
MongoStore::unserialize()for empty arrays and objects by @GromNaN in #3517
New Contributors
- @dercoder made their first contribution in #3476
- @babaduk47 made their first contribution in #3507
Full Changelog: 5.7.1...5.8.0