Skip to content

Commit 7647b61

Browse files
feat(*): Add compatibility with WordPress 6.5 (#150)
* ci(test): Add tests for 6.5 * chore(*): Prepare release 2.6.3
1 parent 475a373 commit 7647b61

File tree

9 files changed

+20
-21
lines changed

9 files changed

+20
-21
lines changed

.github/workflows/end-to-end-auto-prepend-test-suite.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
wp-version: [ "4.9", "5.0", "5.2", "5.4", "5.6", "5.8", "6.0", "6.2","6.4" ]
22+
wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.4", "6.5" ]
2323
php-version: [ "7.2", "7.4", "8.0" ]
2424
exclude:
2525
- { php-version: "7.4", wp-version: "4.9" }
2626
- { php-version: "7.4", wp-version: "5.0" }
27-
- { php-version: "7.4", wp-version: "5.2" }
2827
- { php-version: "8.0", wp-version: "4.9" }
2928
- { php-version: "8.0", wp-version: "5.0" }
30-
- { php-version: "8.0", wp-version: "5.2" }
31-
- { php-version: "8.0", wp-version: "5.4" }
3229

3330
name: End-to-end auto-prepend-file mode test suite
3431
runs-on: ubuntu-latest

.github/workflows/end-to-end-multisite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
wp-version: [ "4.9", "6.2", "6.4" ]
27+
wp-version: [ "4.9", "5.9", "6.5" ]
2828
php-version: [ "7.2" ]
2929
subsite: ["site1", "site2"]
3030

.github/workflows/end-to-end-test-suite.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
wp-version: [ "4.9", "5.0", "5.2", "5.4", "5.6", "5.8", "6.0", "6.2", "6.4" ]
22+
wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.4", "6.5" ]
2323
php-version: [ "7.2", "7.4", "8.0" ]
2424
exclude:
2525
- { php-version: "7.4", wp-version: "4.9" }
2626
- { php-version: "7.4", wp-version: "5.0" }
27-
- { php-version: "7.4", wp-version: "5.2" }
2827
- { php-version: "8.0", wp-version: "4.9" }
2928
- { php-version: "8.0", wp-version: "5.0" }
30-
- { php-version: "8.0", wp-version: "5.2" }
31-
- { php-version: "8.0", wp-version: "5.4" }
3229

3330
name: End-to-end test suite
3431
runs-on: ubuntu-latest

.github/workflows/release-test.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,13 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
wp-version: [ "4.9", "5.0", "5.2", "5.4", "5.6", "5.8", "5.9", "6.0", "6.1", "6.3" ]
27+
wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.5" ]
2828
php-version: [ "7.2", "7.4", "8.0" ]
2929
exclude:
3030
- { php-version: "7.4", wp-version: "4.9" }
3131
- { php-version: "7.4", wp-version: "5.0" }
32-
- { php-version: "7.4", wp-version: "5.2" }
3332
- { php-version: "8.0", wp-version: "4.9" }
3433
- { php-version: "8.0", wp-version: "5.0" }
35-
- { php-version: "8.0", wp-version: "5.2" }
36-
- { php-version: "8.0", wp-version: "5.4" }
3734

3835
name: End-to-end release test suite
3936
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,13 @@ jobs:
166166
strategy:
167167
fail-fast: false
168168
matrix:
169-
wp-version: [ "4.9", "5.0", "5.5", "5.9", "6.1", "6.3" ]
169+
wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.5" ]
170170
php-version: [ "7.2", "7.4", "8.0" ]
171171
exclude:
172172
- { php-version: "7.4", wp-version: "4.9" }
173173
- { php-version: "8.0", wp-version: "4.9" }
174174
- { php-version: "7.4", wp-version: "5.0" }
175175
- { php-version: "8.0", wp-version: "5.0" }
176-
- { php-version: "8.0", wp-version: "5.5" }
177176

178177
name: End-to-end release test suite
179178
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
---
88

9+
## [2.6.3](https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v2.6.3) - 2024-04-05
10+
[_Compare with previous release_](https://github.com/crowdsecurity/cs-wordpress-bouncer/compare/v2.6.2...v2.6.3)
11+
12+
### Added
13+
14+
- Add compatibility with WordPress 6.5
15+
16+
---
17+
918
## [2.6.2](https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v2.6.2) - 2024-03-29
1019
[_Compare with previous release_](https://github.com/crowdsecurity/cs-wordpress-bouncer/compare/v2.6.1...v2.6.2)
1120

crowdsec.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
* Plugin URI: https://github.com/crowdsecurity/cs-wordpress-bouncer
55
* Description: Safer Together. Protect your WordPress application with CrowdSec.
66
* Tags: security, captcha, ip-blocker, crowdsec, hacker-protection
7-
* Version: 2.6.2
7+
* Version: 2.6.3
88
* Author: CrowdSec
99
* Author URI: https://www.crowdsec.net/
1010
* Github: https://github.com/crowdsecurity/cs-wordpress-bouncer
1111
* License: MIT
1212
* License URI: https://opensource.org/licenses/MIT
1313
* Requires PHP: 7.2
1414
* Requires at least: 4.9
15-
* Tested up to: 6.4
16-
* Stable tag: 2.6.2
15+
* Tested up to: 6.5
16+
* Stable tag: 2.6.3
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
@@ -21,5 +21,5 @@ class Constants extends LibConstants
2121

2222
public const DEFAULT_BASE_FILE_PATH = __DIR__ . '/../../../../wp-content/uploads/crowdsec/';
2323
public const STANDALONE_CONFIG_PATH = __DIR__ . '/standalone-settings.php';
24-
public const VERSION = 'v2.6.2';
24+
public const VERSION = 'v2.6.3';
2525
}

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Contributors: crowdsec
33
Donate link: https://crowdsec.net/
44
Tags: security, captcha, ip-blocker, crowdsec, hacker-protection
55
Requires at least: 4.9
6-
Tested up to: 6.4
7-
Stable tag: 2.6.2
6+
Tested up to: 6.5
7+
Stable tag: 2.6.3
88
Requires PHP: 7.2
99
License: MIT
1010
License URI: https://opensource.org/licenses/MIT

0 commit comments

Comments
 (0)