From cf3528e04f1259df8a5c6a7bbeea63d208c76de2 Mon Sep 17 00:00:00 2001 From: Gonzalo Rodriguez Date: Thu, 29 Mar 2018 11:43:45 -0300 Subject: [PATCH 1/2] Clarify in the CHANGELOG exact ruby version affected --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index afce862..5355727 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ All notable changes to this project will be documented in this file. ## [5.1.0] - 2018-03-10 - - Fixes edge case bug when using ruby 2.5 and redis [#253](https://github.com/kickstarter/rack-attack/issues/253) ([#271](https://github.com/kickstarter/rack-attack/issues/271)) + - Fixes edge case bug when using ruby 2.5.0 and redis [#253](https://github.com/kickstarter/rack-attack/issues/253) ([#271](https://github.com/kickstarter/rack-attack/issues/271)) - Throws errors with better semantics when missing or misconfigured store caches to aid in developers debugging their configs ([#274](https://github.com/kickstarter/rack-attack/issues/274)) - Removed legacy code that was originally intended for Rails 3 apps ([#264](https://github.com/kickstarter/rack-attack/issues/264)) From 8cbd64c0e9bd1015324bdba0b1f70689286da9a7 Mon Sep 17 00:00:00 2001 From: Gonzalo Rodriguez Date: Thu, 29 Mar 2018 15:31:14 -0300 Subject: [PATCH 2/2] Update CHANGELOG after 5.2.0 release --- CHANGELOG.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5355727..6b93015 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,12 +3,14 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [5.2.0] - 2018-03-29 + ### Added -- Shorthand for blocking an IP address `Rack::Attack.blocklist_ip("1.2.3.4")` -- Shorthand for blocking an IP subnet `Rack::Attack.blocklist_ip("1.2.0.0/16")` -- Shorthand for safelisting an IP address `Rack::Attack.safelist_ip("5.6.7.8")` -- Shorthand for safelisting an IP subnet `Rack::Attack.safelist_ip("5.6.0.0/16")` +- Shorthand for blocking an IP address `Rack::Attack.blocklist_ip("1.2.3.4")` ([#320](https://github.com/kickstarter/rack-attack/pull/320)) +- Shorthand for blocking an IP subnet `Rack::Attack.blocklist_ip("1.2.0.0/16")` ([#320](https://github.com/kickstarter/rack-attack/pull/320)) +- Shorthand for safelisting an IP address `Rack::Attack.safelist_ip("5.6.7.8")` ([#320](https://github.com/kickstarter/rack-attack/pull/320)) +- Shorthand for safelisting an IP subnet `Rack::Attack.safelist_ip("5.6.0.0/16")` ([#320](https://github.com/kickstarter/rack-attack/pull/320)) - Throw helpful error message when using `allow2ban` but cache store is misconfigured ([#315](https://github.com/kickstarter/rack-attack/issues/315)) - Throw helpful error message when using `fail2ban` but cache store is misconfigured ([#315](https://github.com/kickstarter/rack-attack/issues/315)) @@ -101,7 +103,8 @@ All notable changes to this project will be documented in this file. - Remove unused variable - Extract mandatory options to constants -[Unreleased]: https://github.com/kickstarter/rack-attack/compare/v5.1.0...HEAD/ +[Unreleased]: https://github.com/kickstarter/rack-attack/compare/v5.2.0...HEAD/ +[5.2.0]: https://github.com/kickstarter/rack-attack/compare/v5.1.0...v5.2.0/ [5.1.0]: https://github.com/kickstarter/rack-attack/compare/v5.0.1...v5.1.0/ [5.0.1]: https://github.com/kickstarter/rack-attack/compare/v5.0.0...v5.0.1/ [5.0.0]: https://github.com/kickstarter/rack-attack/compare/v4.4.1...v5.0.0/