Releases: spotorm/spot2
Releases · spotorm/spot2
v2.2.1
Major Changes:
- Add
$mapper->exec()
method for raw queries (@vlucas) - Add multiple compound index support (@splio-aleroux)
- Add multiple compound unique index support (@FlipEverything)
- Field
default
(if given) is now used as default value (#215) (@Arzaroth) - Add multiple database config support (@dasper)
- Fix for field alias mapping bug (#237, #145) (@FlipEverything)
- Add function support to ordering and grouping (@FlipEverything)
Announcements:
- In the next minor release (v2.3) we will drop PHP<5.6 support.
- We are thinking about dropping the currently unofficial HHVM support and focus our efforts on PHP7+
v2.2.0
Major Changes:
- Scopes enhancements - scopes can now be used directly off relation names (#135) (thanks @nebulousGirl)
- Foreign key support for relations (thanks @nebulousGirl)
- Automatic saving, updating, and deleting of related entities with the optional
$mapper->save($entity, ['related' => true])
flag (thanks @nebulousGirl) - Add support for column aliases to foreign keys (#157) (thanks @FlipEverything)
- Custom Query Operator support (#161) (thanks @marcojetson)
v2.1.7
v2.1.6
- Added 'afterLoad' event that fires with fully loaded entities (thanks @kayladnls)
- General cleanup of .travis.yml for Ci builds (thanks @localheinz)
- Limit depth of toArray with relations to single level by default (thanks @jakefolio)
- Added PHP 7.0 in Travis Ci build