Skip to content

Releases: leven-framework/orm

1.4.0

12 Jul 12:08
Compare
Choose a tag to compare
  • rewrote the way props are read from database
    • automatic eager loading to avoid the N+1 problemm
    • any excess props or columns from database will be ignored
  • support for auto-incrementing primary prop
    • primary prop is no longer stored within props column
  • parent props may now optionally be null

1.3.0

07 Jul 11:12
Compare
Choose a tag to compare
  • Query methods tryFirst and getFirst now set limit to 1
  • new EnumConverter for native PHP UnitEnums

1.2.0

05 Jul 14:19
Compare
Choose a tag to compare
  • Collection now has an additional mapAssoc method
  • fixed an issue where setting an indexed prop to null isn't stored properly

1.1.0

30 Jun 18:19
Compare
Choose a tag to compare

improvements to Collection objects:

  • reject/filter now return a new instance of the collection (which makes it partly immutable)
  • new: each, map, filter, empty, count methods

disclaimer: this is kind of a breaking release but since nobody is using orm yet i'm not going to bump the major version number, semver will absolutely be followed in future

1.0.0

28 Apr 08:02
Compare
Choose a tag to compare

first release! seems pretty stable and is already being used in production