Skip to content

4.0.0

Compare
Choose a tag to compare
@antonkomarev antonkomarev released this 09 Sep 16:07
· 34 commits to master since this release

Added

  • Ownable models got new isOwnedByDefaultOwner method which automatically try to resolve current user.

Changed

  • Contracts namespace changed from Cog\Ownership\Contracts to Cog\Contracts\Laravel\Ownership
  • Classes namespace changed from Cog\Ownership to Cog\Laravel\Ownership
  • ModelObserver renamed to OwnableObserver
  • HasOwner contract renamed to Ownable

View the changes from 3.1.0 to 4.0.0