Skip to content

Commit 12a8390

Browse files
committed
Bump gem version to v6.5
1 parent f3f0df3 commit 12a8390

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

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

5+
## [6.5.0] - 2021-02-07
6+
7+
### Added
8+
9+
- Added ability to normalize throttle discriminator by setting `Rack::Attack.throttle_discriminator_normalizer` (@fatkodima)
10+
11+
Example:
12+
13+
Rack::Attack.throttle_discriminator_normalizer = ->(discriminator) { ... }
14+
15+
or disable default normalization with:
16+
17+
Rack::Attack.throttle_discriminator_normalizer = nil
18+
19+
### Removed
20+
21+
- Dropped support for ruby v2.4
22+
- Dropped support for rails v5.1
23+
524
## [6.4.0] - 2021-01-23
625

726
### Added
@@ -232,6 +251,7 @@ so your custom code is less prone to race conditions ([#282](https://github.com/
232251
- Remove unused variable
233252
- Extract mandatory options to constants
234253

254+
[6.5.0]: https://github.com/rack/rack-attack/compare/v6.4.0...v6.5.0/
235255
[6.4.0]: https://github.com/rack/rack-attack/compare/v6.3.1...v6.4.0/
236256
[6.3.1]: https://github.com/rack/rack-attack/compare/v6.3.0...v6.3.1/
237257
[6.3.0]: https://github.com/rack/rack-attack/compare/v6.2.2...v6.3.0/

lib/rack/attack/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Rack
44
class Attack
5-
VERSION = '6.4.0'
5+
VERSION = '6.5.0'
66
end
77
end

0 commit comments

Comments
 (0)