Skip to content

Commit d0ec4de

Browse files
committed
Bump gem version to v6.6.0
1 parent 3eca60d commit d0ec4de

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

Diff for: CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
All 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

Diff for: lib/rack/attack/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Rack
44
class Attack
5-
VERSION = '6.5.0'
5+
VERSION = '6.6.0'
66
end
77
end

0 commit comments

Comments
 (0)