Releases: cybercog/laravel-ban
Releases · cybercog/laravel-ban
4.1.0
4.0.0
Added
- Laravel 5.8 support
Changed
- All methods are strict typed now
Removed
- Laravel 5.1, 5.2, 5.3 and 5.4 support
3.5.0
Added
- Ban
created_by_type
&created_by_id
are fillable now (#35)
3.4.0
3.3.0
3.2.0
Added
3.1.0
3.0.1
Upgrade PHPUnit to 6.0 to fix Laravel 5.5 support.
3.0.0
Upgrade instructions from v2 to v3
Added
Changed
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
Removed
- Dropped Laravel Ownership Dependency (#9)
- Removed
owner
method from Ban model - Removed
getOwner
method from Ban model