Skip to content

3.0.0

Compare
Choose a tag to compare
@antonkomarev antonkomarev released this 27 Aug 13:29
· 102 commits to master since this release

Upgrade instructions from v2 to v3

Added

  • Laravel 5.5 support (#7)
  • Add package auto discovery for L5.5 (#8)
  • Auto-loading migrations

Changed

  • Cog\Ban\Contracts\Ban moved to Cog\Contracts\Ban\Ban
  • Cog\Ban\Contracts\HasBans moved to Cog\Contracts\Ban\HasBans
  • Cog\Ban\Contracts\BanService moved to Cog\Contracts\Ban\BanService
  • All classes namespaces moved from Cog\Ban\* to Cog\Laravel\Ban\*
  • Renamed database table ban to bans
  • Renamed database column owned_by_id to bannable_id
  • Renamed database column owned_by_type to bannable_type
  • Renamed trait HasBans to Bannable
  • Renamed contract HasBans to Bannable
  • Renamed Ban::whereOwnedBy($bannable) to Ban::whereBannable($bannable)
  • Renamed Ban model relation ownedBy to bannable

Removed

  • Dropped Laravel Ownership Dependency (#9)
  • Removed owner method from Ban model
  • Removed getOwner method from Ban model

View the changes from 2.1.1 to 3.0.0