Releases: mchev/banhammer
Releases · mchev/banhammer
v2.3.2
- The banned scope now accepts a boolean parameter to retrieve unbanned models as well, e.g.,
Model::banned(false)
. Big thanks to @onlime for the contribution!
v2.3.0
- Added UUID support
- Added Configurable model support
Thanks to @KieranLProctor for this one
v2.1.0
- [feature request]: Expiration date for banned IPs #10
Is it now possible to add an expiration date when banning an IP (or multiple)
IP::ban("8.8.8.8", [], now()->addMinutes(10));
v2.0.0
This new version introduce the block by country middleware
v1.2.1
- Add scopeBannedByType in Bannable.php. Thanks to @YazeedAlsaif
- Fix N+1 Issue (#8)
v1.2.0
- Adding Metas (cutom properties) to bans.
You may have to run php artisan migrate
if you are upgrading from v1.1.x
v1.1.5
- Fix : Update cache on unban expired command
v1.1.4
- Adding created by relation in IPs collection.
- Removing ID in IPs collection.
- Grouping by IPs to prevent duplicate IPs with the banned() method on IP.
- Caching IP list for better performances