All notable changes to cybercog/laravel-ban
will be documented in this file.
4.9.0 - 2024-03-05
- (#95) Added Laravel 11 support
4.8.0 - 2023-02-24
- (#89) Added Laravel 10 support
- (#89) Dropped PHP 7.x support
- (#89) Dropped Laravel 5.5 support
- (#89) Dropped Laravel 5.6 support
- (#89) Dropped Laravel 5.7 support
- (#89) Dropped Laravel 5.8 support
- (#89) Dropped Laravel 6 support
- (#89) Dropped Laravel 7 support
- (#89) Dropped Laravel 8 support
4.7.0 - 2022-02-05
- (#81) Added Laravel 9 support
4.6.1 - 2021-03-18
- (#72) Fixed typo in
LogsOutBannedUser
middleware variable
4.6.0 - 2021-03-08
- (#71) Added Inertia support
4.5.0 - 2020-12-05
- (#66) Added PHP 8.x support
4.4.0 - 2020-09-26
- (#63) Added configurable redirect url for the banned users
4.3.0 - 2020-09-09
- (#61) Added Laravel 8.x support
4.2.1 - 2020-03-06
- Added Laravel 7.x support
4.2.0 - 2019-09-26
4.1.0 - 2019-09-04
- (#48) Laravel 6.0 support
4.0.0 - 2019-02-26
- Laravel 5.8 support
- All methods are strict typed now
- Laravel 5.1, 5.2, 5.3 and 5.4 support
3.5.0 - 2018-10-07
- (#35) Ban
created_by_type
&created_by_id
are fillable now
3.4.0 - 2018-09-21
- (#29) Add
datetime
cast for thedeleted_at
attribute
- (#30) Fixed bannable models ban & unban with applied BannedAtScope
3.3.0 - 2018-09-16
- (#27) Add
isPermanent
&isTemporary
ban checks
- (#27) Stop trying to parse
null
value forexpired_at
as Carbon value
3.2.0 - 2018-09-09
3.1.0 - 2018-02-08
- (#18) Laravel 5.6 support
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
- (#9) Dropped Laravel Ownership Dependency
- 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
- (#4) Events properties are public now
2.0.0 - 2017-03-06
- Contract
CanBeBanned
renamed toHasBans
- Trait
CanBeBanned
renamed toHasBans
- Initial release