Rack::Attack v6.6.0 Release Notes

Release Date: 2022-01-29 // about 2 years ago
  • ➕ Added

    • Ability to have access to the request object instead of only env (still can access env with request.env) when customizing throttle and blocklist responses with new methods Rack::Attack.blocklisted_responder= and Rack::Attack.throttled_responder= which yield the request to your lambda. ([@NikolayRys])

    🗄 Deprecated

    • Rack::Attack.blocklisted_response=
    • Rack::Attack.throttled_response=