Bump gem version to v6.6.0

This commit is contained in:
Gonzalo 2022-01-29 16:15:15 -03:00
parent 3eca60dba1
commit d0ec4de69b
No known key found for this signature in database
GPG key ID: 319EB6E3DB0D60FA
2 changed files with 17 additions and 1 deletions

View file

@ -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
@ -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/
@ -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

View file

@ -2,6 +2,6 @@
module Rack
class Attack
VERSION = '6.5.0'
VERSION = '6.6.0'
end
end