Skip to content

Releases: orchestral/model

v2.1.4

16 Apr 05:26
Compare
Choose a tag to compare
  • Implement changes to Illuminate\Auth\UserInterface on v4.1.26 which fixes a vulnerability to authentication with remember me.

v2.1.3

16 Apr 05:25
Compare
Choose a tag to compare
  • Add Orchestra\Model\User::activate(), Orchestra\Model\User::deactivate() and Orchestra\Model\User::suspend() helpers.
  • Implement PSR-4 autoloading structure.

v2.1.2

10 Feb 14:03
Compare
Choose a tag to compare
  • Use Orchestra\Model\User::whereHas('roles') to get filtered search instead of doing join query.

v2.1.1

12 Jan 12:49
Compare
Choose a tag to compare
  • Fixes Orchestra\Model\User::isNot() and Orchestra\Model\User::isNotAny() helper class.
  • Rename Orchestra\Model\User::resolveRolesAsArray() to Orchestra\Model\User::getRoles() with visibility changed to public. Additionally allow relations to be loaded from cache if it's available instead of querying the database each time it being used.
  • Serialize storage value on user_meta to allow adding value other than string.

v2.1.0

11 Jan 00:56
Compare
Choose a tag to compare
  • Add support for Laravel 4.1 and Orchestra Platform 2.1.
  • Implement PSR-2 coding standard.
  • Implement Orchestra\Notifier\RecipientInterface.
  • Abstract Orchestra\Model\Memory\UserMetaRepository and Orchestra\Model\Memory\UserMetaProvider from orchestra/foundation which allow it to be used outside of Orchestra Platform.
  • Add multiple helpers method to Orchestra\Model\User:
    • attachRole()
    • detachRole()
    • is()
    • isAny()
    • isNot()
    • isNotAny()

v2.0.1

21 Oct 03:29
Compare
Choose a tag to compare
  • Implement PSR-2 coding standard.

v2.0.0

07 Oct 12:54
Compare
Choose a tag to compare
  • Move orchestra/model out of orchestra/foundation component to allow relevant models to be used directly in orchestra/auth.