Skip to content

Latest commit

 

History

History
75 lines (42 loc) · 1.6 KB

CHANGELOG.md

File metadata and controls

75 lines (42 loc) · 1.6 KB

Changelog

All notable changes to banhammer will be documented in this file.

v2.3.2 - 2024-09-20

  • 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 - 2024-08-23

  • PR #15 Fix the return type for the fallback_url. Thanks to @dannydinges

v2.3.0 - 2024-05-24

  • Added UUID support @KieranLProctor
  • Added Configurable model support @KieranLProctor

v2.2.0 - 2024-03-12

  • Laravel 11 support

v2.1.0 - 2024-01-07

  • [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 - 2024-01-07

This new version introduce the block by country middleware

v1.2.0 - 2023-03-02

  • Adding Metas (cutom properties) to bans. @mepsd
  • You may have to run php artisan migrate if you are upgrading from v1.1.x

v1.1.5 - 2023-02-21

  • Fix : Update cache on unban expired command

v1.1.4 - 2023-02-21

  • 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

v1.1.3 - 2023-02-13

  • Fix nullable attribute expired_at

v1.1.2 - 2023-02-13

  • Fix missing alias middleware

v1.1.1 - 2023-02-13

  • New logout.banned middleware
  • Removing auto logging out on auth.bannedmiddleware

v1.1.0 - 2023-02-12

  • New IP Class
  • Scopes expired(), notExpired()
  • Documentation

v1.0.0 - 2023-02-12

First release