File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this project will be documented in this file.
4
4
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
+
5
18
## [ 6.5.0] - 2021-02-07
6
19
7
20
### Added
@@ -251,6 +264,8 @@ so your custom code is less prone to race conditions ([#282](https://github.com/
251
264
- Remove unused variable
252
265
- Extract mandatory options to constants
253
266
267
+
268
+ [ 6.6.0 ] : https://github.com/rack/rack-attack/compare/v6.5.0...v6.6.0/
254
269
[ 6.5.0 ] : https://github.com/rack/rack-attack/compare/v6.4.0...v6.5.0/
255
270
[ 6.4.0 ] : https://github.com/rack/rack-attack/compare/v6.3.1...v6.4.0/
256
271
[ 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/
286
301
287
302
[ @fatkodima ] : https://github.com/fatkodima
288
303
[ @rofreg ] : https://github.com/rofreg
304
+ [ @NikolayRys ] : https://github.com/NikolayRys
Original file line number Diff line number Diff line change 2
2
3
3
module Rack
4
4
class Attack
5
- VERSION = '6.5 .0'
5
+ VERSION = '6.6 .0'
6
6
end
7
7
end
You can’t perform that action at this time.
0 commit comments