All Versions
35
Latest Version
Avg Release Cycle
100 days
Latest Release
1079 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v6.6.1 Changes
April 14, 2022๐ Fixed
- ๐ Fixes deprecation warning in redis 4.6+ ([@ixti])
-
v6.6.0 Changes
January 29, 2022โ Added
- Ability to have access to the
request
object instead of onlyenv
(still can access env withrequest.env
) when customizing throttle and blocklist responses with new methodsRack::Attack.blocklisted_responder=
andRack::Attack.throttled_responder=
which yield the request to your lambda. ([@NikolayRys])
๐ Deprecated
Rack::Attack.blocklisted_response=
Rack::Attack.throttled_response=
- Ability to have access to the
-
v6.5.0 Changes
February 07, 2021โ Added
- Added ability to normalize throttle discriminator by setting
Rack::Attack.throttle_discriminator_normalizer
(@fatkodima)
Example:
Rack::Attack.throttle_discriminator_normalizer = ->(discriminator) { ... }
or disable default normalization with:
Rack::Attack.throttle_discriminator_normalizer = nil
โ Removed
- โฌ๏ธ Dropped support for ruby v2.4
- โฌ๏ธ Dropped support for rails v5.1
- Added ability to normalize throttle discriminator by setting
-
v6.4.0 Changes
January 23, 2021โ Added
- โ Added support for ruby v3.0
โ Removed
- โฌ๏ธ Dropped support for ruby v2.3
-
v6.3.1 Changes
May 21, 2020๐ Fixed
- โ Warning when using
ActiveSupport::Cache::RedisCacheStore
as a cache store with rails 5.2.4.3 (#482) (@rofreg)
- โ Warning when using
-
v6.3.0 Changes
April 26, 2020โ Added
Rack::Attack.reset!
to reset state (#436) (@fatkodima)Rack::Attack.throttled_response_retry_after_header=
setting that enables aRetry-After
response header when client is throttled (#440) (@fatkodima)
๐ Changed
- ๐ง No longer swallow Redis non-connection errors if Redis is configured as cache store (#450) (@fatkodima)
๐ Fixed
- ๐ง
Rack::Attack.clear_configuration
also clearsblocklisted_response
andthrottled_response
back to defaults
-
v6.2.2 Changes
December 17, 2019๐ Fixed
- ๐ Fixed occasional
Redis::FutureNotReady
error (#445) (@fatkodima)
- ๐ Fixed occasional
-
v6.2.1 Changes
October 30, 2019๐ Fixed
- โ Remove unintended side-effects on Rails app initialization order. It was potentially affecting the order of
config/initializers/*
in respect to gems initializers (#457)
- โ Remove unintended side-effects on Rails app initialization order. It was potentially affecting the order of
-
v6.2.0 Changes
October 12, 2019โ Added
- Failsafe on Redis error replies in RedisCacheStoreProxy (#421) (@cristiangreco)
- ๐ Rack::Attack middleware is now auto added for Rails 5.1+ apps to simplify gem setup (#431) (@fatkodima)
- You can disable Rack::Attack with
Rack::Attack.enabled = false
(#431) (@fatkodima)
-
v6.1.0 Changes
July 11, 2019โ Added
- Provide throttle discriminator in the env
throttle_data
- Provide throttle discriminator in the env