Spot2 v2.2.1 Release Notes
Release Date: 2018-11-28 // almost 6 years ago-
Major Changes:
- ➕ Add
$mapper->exec()
method for raw queries (@vlucas) - ➕ Add multiple compound index support (@splio-aleroux)
- ➕ Add multiple compound unique index support (@FlipEverything)
- 0️⃣ 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+
- ➕ Add
Previous changes from 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)