All Versions
35
Latest Version
Avg Release Cycle
100 days
Latest Release
1577 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v6.0.0 Changes
April 18, 2019โ Added
#blocklistand#safelistname argument (the first one) is now optional.- โ Added support to subscribe only to specific event types via
ActiveSupport::Notifications, e.g. subscribe to thethrottle.rack_attackor theblocklist.rack_attackevent.
๐ Changed
- ๐ Changed
ActiveSupport::Notificationsevent naming to comply with the recommended format. - ๐ Changed
ActiveSupport::Notificationsevent so that the 5th yielded argument to the#subscribemethod is now aHashinstead of aRack::Attack::Request, to comply withActiveSupports spec. The original request object is still accessible, being the value of the hash's:requestkey.
๐ Deprecated
- ๐ Subscriptions via
ActiveSupport::Notificationsto the"rack.attack"event will continue to work (receive event notifications), but it is going to be removed in a future version. Replace the event name with/rack_attack/to continue to be subscribed to all events, or"throttle.rack_attack"e.g. for specific type of events only.
โ Removed
- โ Removed support for ruby 2.2.
- โ Removed support for obsolete memcache-client as a cache store.
- โ Removed deprecated methods
#blacklistand#whitelist(use#blocklistand#safelistinstead).
-
v5.4.2 Changes
October 31, 2018๐ Fixed
- ๐ Fix unexpected error when using
redis3 and any store which is not proxied
๐ Changed
- ๐ป Provide better information in
MisconfiguredStoreErrorexception message to aid end-user debugging
- ๐ Fix unexpected error when using
-
v5.4.1 Changes
September 29, 2018๐ Fixed
- ๐ Make
ActiveSupport::Cache::MemCacheStorealso work as excepted when initialized with pool options (e.g.pool_size). Thank you @jdelStrother.
- ๐ Make
-
v5.4.0 Changes
July 02, 2018โ Added
- ๐ Support "plain"
Redisas a cache store backend (#280). Thanks @bfad and @ryandv. - When overwriting
Rack::Attack.throttled_responseyou can now access the exact epoch integer that was used for caching
so your custom code is less prone to race conditions (#282). Thanks @doliveirakn.
Dependency changes
- Explictly declare ancient
rack 0.xseries as incompatible in gemspec
- ๐ Support "plain"
-
v5.3.2 Changes
June 25, 2018๐ Fixed
- ๐ Don't raise exception
The Redis cache store requires the redis gemwhen usingActiveSupport::Cache::MemoryStoreas a cache store backend
- ๐ Don't raise exception
-
v5.3.1 Changes
June 21, 2018๐ Fixed
- ๐ Make
ActiveSupport::Cache::RedisCacheStorealso work as excepted when initialized with pool options (e.g.pool_size)
- ๐ Make
-
v5.3.0 Changes
June 19, 2018โ Added
- โ Add support for
ActiveSupport::Cache::RedisCacheStoreas a store backend (#340 and #350)
- โ Add support for
-
v5.2.0 Changes
March 29, 2018โ Added
- Shorthand for blocking an IP address
Rack::Attack.blocklist_ip("1.2.3.4")(#320) - Shorthand for blocking an IP subnet
Rack::Attack.blocklist_ip("1.2.0.0/16")(#320) - Shorthand for safelisting an IP address
Rack::Attack.safelist_ip("5.6.7.8")(#320) - Shorthand for safelisting an IP subnet
Rack::Attack.safelist_ip("5.6.0.0/16")(#320) - Throw helpful error message when using
allow2banbut cache store is misconfigured (#315) - Throw helpful error message when using
fail2banbut cache store is misconfigured (#315)
- Shorthand for blocking an IP address
-
v5.1.0 Changes
March 10, 2018 -
v5.0.1 Changes
August 11, 2016- Fixes arguments passed to deprecated internal methods. (#198)