Skip to content

Commit

Permalink
feat(*): Add compatibility with WordPress 6.5 (#150)
Browse files Browse the repository at this point in the history
* ci(test): Add tests for 6.5

* chore(*): Prepare release 2.6.3
  • Loading branch information
julienloizelet authored Apr 4, 2024
1 parent 475a373 commit 7647b61
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 21 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/end-to-end-auto-prepend-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,13 @@ jobs:
strategy:
fail-fast: false
matrix:
wp-version: [ "4.9", "5.0", "5.2", "5.4", "5.6", "5.8", "6.0", "6.2","6.4" ]
wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.4", "6.5" ]
php-version: [ "7.2", "7.4", "8.0" ]
exclude:
- { php-version: "7.4", wp-version: "4.9" }
- { php-version: "7.4", wp-version: "5.0" }
- { php-version: "7.4", wp-version: "5.2" }
- { php-version: "8.0", wp-version: "4.9" }
- { php-version: "8.0", wp-version: "5.0" }
- { php-version: "8.0", wp-version: "5.2" }
- { php-version: "8.0", wp-version: "5.4" }

name: End-to-end auto-prepend-file mode test suite
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/end-to-end-multisite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
wp-version: [ "4.9", "6.2", "6.4" ]
wp-version: [ "4.9", "5.9", "6.5" ]
php-version: [ "7.2" ]
subsite: ["site1", "site2"]

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/end-to-end-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,13 @@ jobs:
strategy:
fail-fast: false
matrix:
wp-version: [ "4.9", "5.0", "5.2", "5.4", "5.6", "5.8", "6.0", "6.2", "6.4" ]
wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.4", "6.5" ]
php-version: [ "7.2", "7.4", "8.0" ]
exclude:
- { php-version: "7.4", wp-version: "4.9" }
- { php-version: "7.4", wp-version: "5.0" }
- { php-version: "7.4", wp-version: "5.2" }
- { php-version: "8.0", wp-version: "4.9" }
- { php-version: "8.0", wp-version: "5.0" }
- { php-version: "8.0", wp-version: "5.2" }
- { php-version: "8.0", wp-version: "5.4" }

name: End-to-end test suite
runs-on: ubuntu-latest
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,13 @@ jobs:
strategy:
fail-fast: false
matrix:
wp-version: [ "4.9", "5.0", "5.2", "5.4", "5.6", "5.8", "5.9", "6.0", "6.1", "6.3" ]
wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.5" ]
php-version: [ "7.2", "7.4", "8.0" ]
exclude:
- { php-version: "7.4", wp-version: "4.9" }
- { php-version: "7.4", wp-version: "5.0" }
- { php-version: "7.4", wp-version: "5.2" }
- { php-version: "8.0", wp-version: "4.9" }
- { php-version: "8.0", wp-version: "5.0" }
- { php-version: "8.0", wp-version: "5.2" }
- { php-version: "8.0", wp-version: "5.4" }

name: End-to-end release test suite
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,13 @@ jobs:
strategy:
fail-fast: false
matrix:
wp-version: [ "4.9", "5.0", "5.5", "5.9", "6.1", "6.3" ]
wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.5" ]
php-version: [ "7.2", "7.4", "8.0" ]
exclude:
- { php-version: "7.4", wp-version: "4.9" }
- { php-version: "8.0", wp-version: "4.9" }
- { php-version: "7.4", wp-version: "5.0" }
- { php-version: "8.0", wp-version: "5.0" }
- { php-version: "8.0", wp-version: "5.5" }

name: End-to-end release test suite
runs-on: ubuntu-latest
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

---

## [2.6.3](https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v2.6.3) - 2024-04-05
[_Compare with previous release_](https://github.com/crowdsecurity/cs-wordpress-bouncer/compare/v2.6.2...v2.6.3)

### Added

- Add compatibility with WordPress 6.5

---

## [2.6.2](https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v2.6.2) - 2024-03-29
[_Compare with previous release_](https://github.com/crowdsecurity/cs-wordpress-bouncer/compare/v2.6.1...v2.6.2)

Expand Down
6 changes: 3 additions & 3 deletions crowdsec.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
* Plugin URI: https://github.com/crowdsecurity/cs-wordpress-bouncer
* Description: Safer Together. Protect your WordPress application with CrowdSec.
* Tags: security, captcha, ip-blocker, crowdsec, hacker-protection
* Version: 2.6.2
* Version: 2.6.3
* Author: CrowdSec
* Author URI: https://www.crowdsec.net/
* Github: https://github.com/crowdsecurity/cs-wordpress-bouncer
* License: MIT
* License URI: https://opensource.org/licenses/MIT
* Requires PHP: 7.2
* Requires at least: 4.9
* Tested up to: 6.4
* Stable tag: 2.6.2
* Tested up to: 6.5
* Stable tag: 2.6.3
* Text Domain: crowdsec-wp
* First release: 2021.
*/
Expand Down
2 changes: 1 addition & 1 deletion inc/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ class Constants extends LibConstants

public const DEFAULT_BASE_FILE_PATH = __DIR__ . '/../../../../wp-content/uploads/crowdsec/';
public const STANDALONE_CONFIG_PATH = __DIR__ . '/standalone-settings.php';
public const VERSION = 'v2.6.2';
public const VERSION = 'v2.6.3';
}
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: crowdsec
Donate link: https://crowdsec.net/
Tags: security, captcha, ip-blocker, crowdsec, hacker-protection
Requires at least: 4.9
Tested up to: 6.4
Stable tag: 2.6.2
Tested up to: 6.5
Stable tag: 2.6.3
Requires PHP: 7.2
License: MIT
License URI: https://opensource.org/licenses/MIT
Expand Down

0 comments on commit 7647b61

Please sign in to comment.