File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+ ## [ 6.6.0] - 2022-01-29
6+
7+ ### Added
8+
9+ - Ability to have access to the ` request ` object instead of only ` env ` (still can access env with ` request.env ` ) when
10+ customizing throttle and blocklist responses with new methods ` Rack::Attack.blocklisted_responder= ` and
11+ ` Rack::Attack.throttled_responder= ` which yield the request to your lambda. ([ @NikolayRys ] )
12+
13+ ### Deprecated
14+
15+ - ` Rack::Attack.blocklisted_response= `
16+ - ` Rack::Attack.throttled_response= `
17+
518## [ 6.5.0] - 2021-02-07
619
720### Added
@@ -251,6 +264,8 @@ so your custom code is less prone to race conditions ([#282](https://github.com/
251264 - Remove unused variable
252265 - Extract mandatory options to constants
253266
267+
268+ [ 6.6.0 ] : https://github.com/rack/rack-attack/compare/v6.5.0...v6.6.0/
254269[ 6.5.0 ] : https://github.com/rack/rack-attack/compare/v6.4.0...v6.5.0/
255270[ 6.4.0 ] : https://github.com/rack/rack-attack/compare/v6.3.1...v6.4.0/
256271[ 6.3.1 ] : https://github.com/rack/rack-attack/compare/v6.3.0...v6.3.1/
@@ -286,3 +301,4 @@ so your custom code is less prone to race conditions ([#282](https://github.com/
286301
287302[ @fatkodima ] : https://github.com/fatkodima
288303[ @rofreg ] : https://github.com/rofreg
304+ [ @NikolayRys ] : https://github.com/NikolayRys
Original file line number Diff line number Diff line change 22
33module Rack
44 class Attack
5- VERSION = '6.5 .0'
5+ VERSION = '6.6 .0'
66 end
77end
You can’t perform that action at this time.
0 commit comments