mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Bump gem version to v6.5
This commit is contained in:
parent
f3f0df3fc0
commit
12a8390d2d
2 changed files with 21 additions and 1 deletions
20
CHANGELOG.md
20
CHANGELOG.md
|
|
@ -2,6 +2,25 @@
|
|||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [6.5.0] - 2021-02-07
|
||||
|
||||
### Added
|
||||
|
||||
- Added ability to normalize throttle discriminator by setting `Rack::Attack.throttle_discriminator_normalizer` (@fatkodima)
|
||||
|
||||
Example:
|
||||
|
||||
Rack::Attack.throttle_discriminator_normalizer = ->(discriminator) { ... }
|
||||
|
||||
or disable default normalization with:
|
||||
|
||||
Rack::Attack.throttle_discriminator_normalizer = nil
|
||||
|
||||
### Removed
|
||||
|
||||
- Dropped support for ruby v2.4
|
||||
- Dropped support for rails v5.1
|
||||
|
||||
## [6.4.0] - 2021-01-23
|
||||
|
||||
### Added
|
||||
|
|
@ -232,6 +251,7 @@ so your custom code is less prone to race conditions ([#282](https://github.com/
|
|||
- Remove unused variable
|
||||
- Extract mandatory options to constants
|
||||
|
||||
[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/
|
||||
[6.3.0]: https://github.com/rack/rack-attack/compare/v6.2.2...v6.3.0/
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
module Rack
|
||||
class Attack
|
||||
VERSION = '6.4.0'
|
||||
VERSION = '6.5.0'
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue