Rack::Attack v6.6.1 Release Notes

Release Date: 2022-04-14 // 3 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=