Rack::Attack v6.5.0 Release Notes

Release Date: 2021-02-07 // 9 months ago
  • ➕ 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

Previous changes from v6.4.0

  • ➕ Added

    • ➕ Added support for ruby v3.0

    ✂ Removed

    • ⬇️ Dropped support for ruby v2.3