Skip to content

Commit 31a4d9b

Browse files
Merge pull request #118 from julienloizelet/feat/6.1-compatibility
feat(*): Prepare release 1.10.0
2 parents 212fc01 + c99ab71 commit 31a4d9b

File tree

6 files changed

+15
-10
lines changed

6 files changed

+15
-10
lines changed

.github/workflows/markdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414

1515
- name: Clone sources
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717
with:
1818
path: extension
1919

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
echo "VERSION_NUMBER=$(echo ${{ github.event.inputs.tag_name }} | sed 's/v//g' )" >> $GITHUB_ENV
3838
3939
- name: Clone sources
40-
uses: actions/checkout@v2
40+
uses: actions/checkout@v3
4141

4242
- name: Check version ${{ env.VERSION_NUMBER }} consistency in files
4343
# Check crowdsec.php, readme.txt, inc/Constants.php and CHANGELOG.md

CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [?.?.?](https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v1.10.0) - 2022-??-??
7+
## [1.10.0](https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v1.10.0) - 2022-12-01
88
[_Compare with previous release_](https://github.com/crowdsecurity/cs-wordpress-bouncer/compare/v1.9.0...v1.10.0)
99
### Changed
10+
- Modify ban and captcha walls templating for W3C validity
1011
- Do not use cache tags for `memcached` as it is discouraged
11-
- Replace unauthorized chars by underscore _ in cache key
12-
### Fixed
13-
- Fix ban and captcha walls W3C validity
12+
- Replace unauthorized chars by underscore `_` in cache keys
13+
### Added
14+
- Add tests for WordPress 6.1
1415

1516
---
1617

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.9.0
7+
* Version: 1.10.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: 6.1
16-
* Stable tag: 1.9.0
16+
* Stable tag: 1.10.0
1717
* Text Domain: crowdsec-wp
1818
* First release: 2021.
1919
*/

inc/Constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Constants extends LibConstants
2222
public const CROWDSEC_DEBUG_LOG_PATH = __DIR__ . '/../logs/debug.log';
2323
public const CROWDSEC_CACHE_PATH = __DIR__ . '/../.cache';
2424
public const CROWDSEC_CONFIG_PATH = __DIR__ . '/standalone-settings.php';
25-
public const CROWDSEC_BOUNCER_USER_AGENT = 'WordPress CrowdSec Bouncer/v1.9.0';
25+
public const CROWDSEC_BOUNCER_USER_AGENT = 'WordPress CrowdSec Bouncer/v1.10.0';
2626
public const CROWDSEC_BOUNCER_GEOLOCATION_DIR = __DIR__ . '/../geolocation';
2727
public const CROWDSEC_BOUNCER_TLS_DIR = __DIR__ . '/../tls';
2828

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: 6.1
7-
Stable tag: 1.9.0
7+
Stable tag: 1.10.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.10 (2022-12-01) =
48+
49+
- Modify ban and captcha walls templating for W3C validity
50+
4751
= 1.9 (2022-09-15) =
4852

4953
- Add TLS authentication option

0 commit comments

Comments
 (0)