Skip to content

Commit

Permalink
Bump gem version to v6.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Jan 29, 2022
1 parent 3eca60d commit d0ec4de
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to this project will be documented in this file.

## [6.6.0] - 2022-01-29

### Added

- Ability to have access to the `request` object instead of only `env` (still can access env with `request.env`) when
customizing throttle and blocklist responses with new methods `Rack::Attack.blocklisted_responder=` and
`Rack::Attack.throttled_responder=` which yield the request to your lambda. ([@NikolayRys])

### Deprecated

- `Rack::Attack.blocklisted_response=`
- `Rack::Attack.throttled_response=`

## [6.5.0] - 2021-02-07

### Added
Expand Down Expand Up @@ -251,6 +264,8 @@ so your custom code is less prone to race conditions ([#282](https://github.com/
- Remove unused variable
- Extract mandatory options to constants


[6.6.0]: https://github.com/rack/rack-attack/compare/v6.5.0...v6.6.0/
[6.5.0]: https://github.com/rack/rack-attack/compare/v6.4.0...v6.5.0/
[6.4.0]: https://github.com/rack/rack-attack/compare/v6.3.1...v6.4.0/
[6.3.1]: https://github.com/rack/rack-attack/compare/v6.3.0...v6.3.1/
Expand Down Expand Up @@ -286,3 +301,4 @@ so your custom code is less prone to race conditions ([#282](https://github.com/

[@fatkodima]: https://github.com/fatkodima
[@rofreg]: https://github.com/rofreg
[@NikolayRys]: https://github.com/NikolayRys
2 changes: 1 addition & 1 deletion lib/rack/attack/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Rack
class Attack
VERSION = '6.5.0'
VERSION = '6.6.0'
end
end

0 comments on commit d0ec4de

Please sign in to comment.