mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Bump gem version to v6.6.0
This commit is contained in:
parent
3eca60dba1
commit
d0ec4de69b
2 changed files with 17 additions and 1 deletions
16
CHANGELOG.md
16
CHANGELOG.md
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
module Rack
|
||||
class Attack
|
||||
VERSION = '6.5.0'
|
||||
VERSION = '6.6.0'
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue