Releases: orchestral/model
Releases · orchestral/model
v3.1.8
v3.3.0
- Update support to Laravel Framework v5.3.
- Remove
Trait
suffix and deprecate old traits. - Add
Orchestra\Model\Traits\Searchable
. - Add
getMetaData()
andsetMetaData()
toOrchestra\Model\Traits\Metable
. - Allow to set
null
value when usingOrchestra\Model\Traits\Metable::putMetaData()
. - Ensure that
Orchestra\Model\User::getRoles()
would only query the database forroles
relationship once.
v3.2.5
v3.1.7
v3.2.4
v3.2.3
v3.2.2
v3.2.1
v3.2.0
- 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.