Skip to content

Releases: mchev/banhammer

v2.3.2

20 Sep 18:22
5a792d0
Compare
Choose a tag to compare
  • 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.1

23 Aug 16:50
6193903
Compare
Choose a tag to compare

v2.3.0

24 May 10:15
9821abe
Compare
Choose a tag to compare
  • Added UUID support
  • Added Configurable model support

Thanks to @KieranLProctor for this one

v2.2.0

12 Mar 15:24
fef240f
Compare
Choose a tag to compare
  • Laravel 11 support

v2.1.0

07 Jan 12:34
Compare
Choose a tag to compare
  • [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

07 Jan 11:47
Compare
Choose a tag to compare

This new version introduce the block by country middleware

v1.2.1

10 Jun 16:58
Compare
Choose a tag to compare
  • Add scopeBannedByType in Bannable.php. Thanks to @YazeedAlsaif
  • Fix N+1 Issue (#8)

v1.2.0

02 Mar 17:31
Compare
Choose a tag to compare
  • 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

21 Feb 17:27
Compare
Choose a tag to compare
  • Fix : Update cache on unban expired command

v1.1.4

21 Feb 17:19
Compare
Choose a tag to compare
  • 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