Rack::Attack v6.6.1 Release Notes

Release Date: 2022-04-14 // 10 months ago
  • 🛠 Fixed

    • 🛠 Fixes deprecation warning in redis 4.6+ ([@ixti])

Previous changes from v6.6.0

  • ➕ 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=