Skip to content

Releases: rack/rack-attack

v6.7.0

01 Aug 21:35
d82c9fd
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.6.1...v6.7.0

v6.6.1

14 Apr 01:56
v6.6.1
f5f92f4
Compare
Choose a tag to compare

Details in CHANGELOG entry.

v6.6.0

29 Jan 19:33
v6.6.0
d0ec4de
Compare
Choose a tag to compare

Details in CHANGELOG entry.

v6.5.0

07 Feb 21:15
v6.5.0
12a8390
Compare
Choose a tag to compare

Details in CHANGELOG entry.

v6.4.0

24 Jan 01:51
v6.4.0
6328ddc
Compare
Choose a tag to compare

Details in CHANGELOG entry.

v6.2.2

18 Dec 16:25
Compare
Choose a tag to compare

Fixed

v6.2.1

18 Dec 14:49
3654293
Compare
Choose a tag to compare

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)

v6.2.0

18 Dec 14:48
9bfec1a
Compare
Choose a tag to compare

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

18 Dec 14:48
c3c6398
Compare
Choose a tag to compare

Added

  • Provide throttle discriminator in the env throttle_data

v6.0.0

18 Apr 00:13
6045b82
Compare
Choose a tag to compare

Added

  • #blocklist and #safelist name argument (the first one) is now optional.
  • Added support to subscribe only to specific event types via ActiveSupport::Notifications, e.g. subscribe to the
    throttle.rack_attack or the blocklist.rack_attack event.

Changed

  • Changed ActiveSupport::Notifications event naming to comply with the recommneded format.

Deprecated

  • Subscriptions via ActiveSupport::Notifications to the "rack.attack" event will continue to work (receive event
    notifications), but it is going to be removed in a future version. Replace the event name with /rack_attack/ to
    continue to be subscribed to all events, or "throttle.rack_attack" e.g. for specific type of events only.

Removed

  • Removed support for ruby 2.2.
  • Removed support for obsolete memcache-client as a cache store.
  • Removed deprecated methods #blacklist and #whitelist (use #blocklist and #safelist instead).