Skip to content

Commit 92d91a2

Browse files
feat(*): Prepare release 1.5.0
1 parent b0f8f29 commit 92d91a2

File tree

6 files changed

+29
-4
lines changed

6 files changed

+29
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77

8+
## [1.5.0] - 2022-06-09
9+
10+
### Added
11+
- Add configuration to set captcha flow cache lifetime
12+
### Changed
13+
- Use cache instead of session to store some captcha flow values
14+
### Fixed
15+
- Fix wrong deleted decisions count during cache refresh
16+
817
## [1.4.3] - 2022-05-13
918

1019
### Fixed

crowdsec.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin URI: https://github.com/crowdsecurity/cs-wordpress-bouncer
55
* Description: Safer Together. Protect your WordPress application with CrowdSec.
66
* Tags: crowdsec-bouncer, wordpress, security, firewall, captcha, ip-scanner, ip-blocker, ip-blocking, ip-address, ip-database, ip-range-check, crowdsec, ban-hosts, ban-management, anti-hacking, hacker-protection, captcha-image, captcha-generator, captcha-generation, captcha-service
7-
* Version: 1.4.3
7+
* Version: 1.5.0
88
* Author: CrowdSec
99
* Author URI: https://www.crowdsec.net/
1010
* Github: https://github.com/crowdsecurity/cs-wordpress-blocker
@@ -13,7 +13,7 @@
1313
* Requires PHP: 7.2
1414
* Requires at least: 4.9
1515
* Tested up to: 5.9
16-
* Stable tag: 1.4.3
16+
* Stable tag: 1.5.0
1717
* Text Domain: crowdsec-wp
1818
* First release: 2021.
1919
*/

docs/USER_GUIDE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,18 @@ The duration between re-asking LAPI about an already checked bad IP.
170170
Minimum 1 second. Note that this setting can not be apply in stream mode.
171171

172172

173+
***
174+
175+
`Caching configuration → Captcha flow cache lifetime`
176+
177+
The lifetime of cached captcha flow for some IP.
178+
179+
If a user has to interact with a captcha wall,
180+
we store in cache some values in order to know if he has to resolve or not the captcha again.
181+
182+
Minimum 1 second. Default: 86400 seconds.
183+
184+
173185
***
174186

175187

14.2 KB
Loading

inc/constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ function crowdsecDefineConstants(string $crowdsecRandomLogFolder)
88
define('CROWDSEC_DEBUG_LOG_PATH', __DIR__."/../logs/$crowdsecRandomLogFolder/debug.log");
99
define('CROWDSEC_CACHE_PATH', __DIR__.'/../.cache');
1010
define('CROWDSEC_CONFIG_PATH', __DIR__.'/standalone-settings.php');
11-
define('CROWDSEC_BOUNCER_USER_AGENT', 'WordPress CrowdSec Bouncer/v1.4.3');
11+
define('CROWDSEC_BOUNCER_USER_AGENT', 'WordPress CrowdSec Bouncer/v1.5.0');
1212
}
1313
}

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://crowdsec.net/
44
Tags: crowdsec-bouncer, wordpress, security, firewall, captcha, ip-scanner, ip-blocker, ip-blocking, ip-address, ip-database, ip-range-check, crowdsec, ban-hosts, ban-management, anti-hacking, hacker-protection, captcha-image, captcha-generator, captcha-generation, captcha-service
55
Requires at least: 4.9
66
Tested up to: 5.9
7-
Stable tag: 1.4.3
7+
Stable tag: 1.5.0
88
Requires PHP: 7.2
99
License: MIT
1010
License URI: https://opensource.org/licenses/MIT
@@ -44,6 +44,10 @@ This WordPress plugin is a "bouncer", which purpose is to block detected attacks
4444

4545
== Changelog ==
4646

47+
= 1.5 (2022-06-09) =
48+
49+
- Use cache instead of session to store some values
50+
4751
= 1.4 (2022-04-07) =
4852

4953
- Do not bounce PHP CLI

0 commit comments

Comments
 (0)