All notable changes to laravel-ban
will be documented in this file.
3.0.0 - 2017-08-27
Cog\Ban\Contracts\Ban
moved toCog\Contracts\Ban\Ban
Cog\Ban\Contracts\HasBans
moved toCog\Contracts\Ban\HasBans
Cog\Ban\Contracts\BanService
moved toCog\Contracts\Ban\BanService
- All classes namespaces moved from
Cog\Ban\*
toCog\Laravel\Ban\*
- Renamed database table
ban
tobans
- Renamed database column
owned_by_id
tobannable_id
- Renamed database column
owned_by_type
tobannable_type
- Renamed trait
HasBans
toBannable
- Renamed contract
HasBans
toBannable
- Renamed
Ban::whereOwnedBy($bannable)
toBan::whereBannable($bannable)
- Renamed Ban model relation
ownedBy
tobannable
- Dropped Laravel Ownership Dependency (#9)
- Removed
owner
method from Ban model - Removed
getOwner
method from Ban model
2.1.0 - 2017-03-21
withBanned
,withoutBanned
,onlyBanned
scopes added to all bannable models
HasBans
is a collection of traitsHasBannedAtHelpers
,HasBannedAtScope
,HasBansRelation
now
2.0.1 - 2017-03-19
- Events properties are public now: #4
2.0.0 - 2017-03-06
- Contract
CanBeBanned
renamed toHasBans
- Trait
CanBeBanned
renamed toHasBans
- Initial release