Skip to content

Commit 8f66105

Browse files
feat(*): Add 6.7 compatibility (#159)
* ci(test): Add WordPress 6.7 in matrix * feat(*): Set 6.7 as last tested version
1 parent 3a54ee6 commit 8f66105

File tree

8 files changed

+67
-26
lines changed

8 files changed

+67
-26
lines changed

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

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,26 @@ jobs:
1818
end-to-end-auto-prepend-file-mode-test-suite:
1919
strategy:
2020
fail-fast: false
21+
# First and last minor versions of each major version
22+
# Highest compatible PHP version
2123
matrix:
22-
wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.5", "6.6" ]
23-
php-version: [ "7.2", "7.4", "8.0" ]
24-
exclude:
25-
- { php-version: "7.4", wp-version: "4.9" }
26-
- { php-version: "7.4", wp-version: "5.0" }
27-
- { php-version: "8.0", wp-version: "4.9" }
28-
- { php-version: "8.0", wp-version: "5.0" }
24+
include:
25+
- wp-version: '4.9'
26+
php-version: '7.2'
27+
- wp-version: '5.0'
28+
php-version: '7.2'
29+
- wp-version: '5.9'
30+
php-version: '7.2'
31+
- wp-version: '5.9'
32+
php-version: '8.0'
33+
- wp-version: '6.0'
34+
php-version: '7.2'
35+
- wp-version: '6.0'
36+
php-version: '8.0'
37+
- wp-version: '6.7'
38+
php-version: '7.2'
39+
- wp-version: '6.7'
40+
php-version: '8.3'
2941

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

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ jobs:
2323
end-to-end-multisite:
2424
strategy:
2525
fail-fast: false
26+
# Last minor version of each major version
27+
# Minimum PHP version compatible with all WordPress versions
2628
matrix:
27-
wp-version: [ "4.9", "5.9", "6.6" ]
29+
wp-version: [ "4.9", "5.9", "6.7" ]
2830
php-version: [ "7.2" ]
2931
subsite: ["site1", "site2"]
3032

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
end-to-end-test-suite:
2626
strategy:
2727
fail-fast: false
28+
# First and last minor versions of each major version
29+
# Highest compatible PHP version
2830
matrix:
2931
include:
3032
- wp-version: '4.9'
@@ -39,9 +41,9 @@ jobs:
3941
php-version: '7.2'
4042
- wp-version: '6.0'
4143
php-version: '8.0'
42-
- wp-version: '6.6'
44+
- wp-version: '6.7'
4345
php-version: '7.2'
44-
- wp-version: '6.6'
46+
- wp-version: '6.7'
4547
php-version: '8.3'
4648

4749
name: End-to-end test suite

.github/workflows/release-test.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,26 @@ jobs:
2323
end-to-end-release-zip-test:
2424
strategy:
2525
fail-fast: false
26+
# First and last minor versions of each major version
27+
# Highest compatible PHP version
2628
matrix:
27-
wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.6" ]
28-
php-version: [ "7.2", "7.4", "8.0" ]
29-
exclude:
30-
- { php-version: "7.4", wp-version: "4.9" }
31-
- { php-version: "7.4", wp-version: "5.0" }
32-
- { php-version: "8.0", wp-version: "4.9" }
33-
- { php-version: "8.0", wp-version: "5.0" }
29+
include:
30+
- wp-version: '4.9'
31+
php-version: '7.2'
32+
- wp-version: '5.0'
33+
php-version: '7.2'
34+
- wp-version: '5.9'
35+
php-version: '7.2'
36+
- wp-version: '5.9'
37+
php-version: '8.0'
38+
- wp-version: '6.0'
39+
php-version: '7.2'
40+
- wp-version: '6.0'
41+
php-version: '8.0'
42+
- wp-version: '6.7'
43+
php-version: '7.2'
44+
- wp-version: '6.7'
45+
php-version: '8.3'
3446

3547
name: End-to-end release test suite
3648
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,14 +164,26 @@ jobs:
164164
end-to-end-release-zip-test:
165165
strategy:
166166
fail-fast: false
167+
# First and last minor versions of each major version
168+
# Highest compatible PHP version
167169
matrix:
168-
wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.6" ]
169-
php-version: [ "7.2", "7.4", "8.0" ]
170-
exclude:
171-
- { php-version: "7.4", wp-version: "4.9" }
172-
- { php-version: "8.0", wp-version: "4.9" }
173-
- { php-version: "7.4", wp-version: "5.0" }
174-
- { php-version: "8.0", wp-version: "5.0" }
170+
include:
171+
- wp-version: '4.9'
172+
php-version: '7.2'
173+
- wp-version: '5.0'
174+
php-version: '7.2'
175+
- wp-version: '5.9'
176+
php-version: '7.2'
177+
- wp-version: '5.9'
178+
php-version: '8.0'
179+
- wp-version: '6.0'
180+
php-version: '7.2'
181+
- wp-version: '6.0'
182+
php-version: '8.0'
183+
- wp-version: '6.7'
184+
php-version: '7.2'
185+
- wp-version: '6.7'
186+
php-version: '8.3'
175187

176188
name: End-to-end release test suite
177189
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
### Added
1313

1414
- Add AppSec component support
15+
- Add compatibility with WordPress 6.7
1516

1617
### Changed
1718

crowdsec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* License URI: https://opensource.org/licenses/MIT
1313
* Requires PHP: 7.2
1414
* Requires at least: 4.9
15-
* Tested up to: 6.6
15+
* Tested up to: 6.7
1616
* Stable tag: 2.7.0
1717
* Text Domain: crowdsec-wp
1818
* First release: 2021.

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ 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.6
6+
Tested up to: 6.7
77
Stable tag: 2.7.0
88
Requires PHP: 7.2
99
License: MIT

0 commit comments

Comments
 (0)