mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-04-27 15:07:41 +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.
|
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
|
## [6.4.0] - 2021-01-23
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
@ -232,6 +251,7 @@ so your custom code is less prone to race conditions ([#282](https://github.com/
|
||||||
- Remove unused variable
|
- Remove unused variable
|
||||||
- Extract mandatory options to constants
|
- 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.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.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/
|
[6.3.0]: https://github.com/rack/rack-attack/compare/v6.2.2...v6.3.0/
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
module Rack
|
module Rack
|
||||||
class Attack
|
class Attack
|
||||||
VERSION = '6.4.0'
|
VERSION = '6.5.0'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue