Skip to content

Releases: orchestral/model

v3.1.8

24 Jun 23:22
Compare
Choose a tag to compare
  • Allow Orchestra\Model\Traits\OwnedByTrait and Orchestra\Model\Traits\OwnsTrait to accept null instead of just Illuminate\Database\Eloquent\Model.

v3.3.0

10 Jun 23:26
Compare
Choose a tag to compare
  • Update support to Laravel Framework v5.3.
  • Remove Trait suffix and deprecate old traits.
  • Add Orchestra\Model\Traits\Searchable.
  • Add getMetaData() and setMetaData() to Orchestra\Model\Traits\Metable.
  • Allow to set null value when using Orchestra\Model\Traits\Metable::putMetaData().
  • Ensure that Orchestra\Model\User::getRoles() would only query the database for roles relationship once.

v3.2.5

09 Jun 22:42
Compare
Choose a tag to compare
  • Ensure that Orchestra\Model\User::getRoles() would only query the database for roles relationship once.

v3.1.7

09 Jun 22:42
Compare
Choose a tag to compare
  • Ensure that Orchestra\Model\User::getRoles() would only query the database for roles relationship once.

v3.2.4

20 May 00:49
Compare
Choose a tag to compare
  • Allow to set null value when using Orchestra\Model\Traits\Metable::putMetaData().

v3.2.3

19 Apr 22:43
Compare
Choose a tag to compare
  • Fixes missing default value on Orchestra\Model\Traits\Metable::getMetaData().

v3.2.2

19 Apr 22:43
Compare
Choose a tag to compare
  • Add getMetaData() and setMetaData() to Orchestra\Model\Traits\Metable.

v3.2.1

18 Mar 00:44
Compare
Choose a tag to compare
  • Remove Trait suffix and deprecate old traits.
  • Add Orchestra\Model\Traits\Searchable.

v3.2.0

20 Dec 11:42
Compare
Choose a tag to compare
  • Update support to Laravel Framework v5.2.
  • Use Orchestra\Contracts\Authorization\Authorizable contract.
  • Remove default morphClass properties.
  • Only hash password (using mutator) when rehashing is required.
  • Add Orchestra\Model\Observer\Role::saving() to disable adding "Guest" as a role.
  • Add Orchestra\Model\Traits\OwnedByTrait.
  • Add Orchestra\Model\Traits\OwnsTrait.
  • Refactor Orchestra\Model\Observer\Role::updating().
  • Add Orchestra\Model\Plugins\RefreshOnCreate.
  • Allow customizing searchable fields/attributes via Orchestra\Model\User::$searchable.
  • Add Orchestra\Model\Eloquent::transaction() method to execute model using transaction.

v3.1.6

13 Dec 20:05
Compare
Choose a tag to compare
  • Add Orchestra\Model\Eloquent::transaction() method to execute model using transaction.