Skip to content

Releases: spotorm/spot2

v2.2.1

28 Nov 17:51
e4ada95
Compare
Choose a tag to compare

Major Changes:

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

21 May 05:12
Compare
Choose a tag to compare

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

09 Sep 21:25
Compare
Choose a tag to compare

Major Changes:

  • Support for column aliases with the new column option in the Entity fields definition
  • Added better quoting of fields and table names for all queries (thanks @potfur)
  • Various style fixes and cleanup work (thanks @localheinz)

v2.1.6

10 Jul 16:49
Compare
Choose a tag to compare
  • 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