Skip to content

Releases: orchestral/model

v3.6.0

02 May 07:37
Compare
Choose a tag to compare

Added

  • Added Orchestra\Model\Eloquent::column().
  • Added Orchestra\Model\Listeners\UserAccess.

Changes

  • Update support to Laravel Framework 5.6.
  • Rename the following classes:
    • Orchestra\Model\Memory\UserMetaProvider to Orchestra\Model\Memory\UserProvider.
    • Orchestra\Model\Memory\UserMetaRepository to Orchestra\Model\Memory\UserRepository.
  • Rename the following traits:
    • Orchestra\Model\Traits\CheckRoles to Orchestra\Model\Concerns\CheckRoles.
    • Orchestra\Model\Traits\Faker to Orchestra\Model\Concerns\Faker.
    • Orchestra\Model\Traits\Metable to Orchestra\Model\Concerns\Metable.
    • Orchestra\Model\Traits\OwnedBy to Orchestra\Model\Concerns\OwnedBy.
    • Orchestra\Model\Traits\Owns to Orchestra\Model\Concerns\Owns.
    • Orchestra\Model\Traits\Searchable to Orchestra\Model\Concerns\Searchable.

v3.5.6

27 Feb 02:18
Compare
Choose a tag to compare

Fixes

  • Fixes type-hint declarations.

v3.5.5

21 Feb 05:22
Compare
Choose a tag to compare

Fixes

  • Fixes Orchestra\Model\Value\Meta method declaration and add tests to avoid regression issues.

v3.5.4

21 Feb 05:22
Compare
Choose a tag to compare

Added

  • Add Orchestra\Model\Eloquent::saveIfExists().
  • Add Orchestra\Model\Eloquent::saveIfExistsOrFail().

Changes

  • Unset roles relationship when sync, attach or detach roles.

v3.5.3

29 Nov 01:09
Compare
Choose a tag to compare

Changes

  • Remove orchestra/notifier dependencies.

v3.5.2

28 Nov 01:34
Compare
Choose a tag to compare

Changes

  • Use available fromJson() and castAttributeAsJson() on Orchestra\Model\Traits\Metable.

v3.5.1

28 Nov 01:34
Compare
Choose a tag to compare

Added

  • Add Orchestra\Model\Traits\Faker.
  • Add Orchestra\Model\Traits\OwnedBy::scopeOwnedBy() and Orchestra\Model\Traits\Owns::scopeOwns() query scope method.

Changes

  • Orchestra\Model\Plugins\RefreshOnCreate should refresh the model using Illuminate\Database\Eloquent\Model::refresh() method.

v3.5.0

03 Sep 05:27
Compare
Choose a tag to compare

Changes

  • Update support to Laravel Framework 5.5.

v3.4.0

03 May 03:20
Compare
Choose a tag to compare

Changes

  • Update support to Laravel Framework 5.4.

v3.3.7

19 Apr 02:57
Compare
Choose a tag to compare
  • Add Orchestra\Model\Value\Metable::getOriginalMetaData().