From d9e52e660c9d2db90c7569067101068665f24ea9 Mon Sep 17 00:00:00 2001 From: Julien Loizelet Date: Fri, 26 Jul 2024 11:37:11 +0900 Subject: [PATCH] feat(*): Add compatibility with 6.6 (#155) --- .github/workflows/end-to-end-auto-prepend-test-suite.yml | 2 +- .github/workflows/end-to-end-multisite.yml | 2 +- .github/workflows/end-to-end-test-suite.yml | 6 +++--- .github/workflows/release-test.yml | 2 +- .github/workflows/release.yml | 2 +- CHANGELOG.md | 7 +++++++ crowdsec.php | 6 +++--- inc/Constants.php | 2 +- readme.txt | 4 ++-- 9 files changed, 20 insertions(+), 13 deletions(-) diff --git a/.github/workflows/end-to-end-auto-prepend-test-suite.yml b/.github/workflows/end-to-end-auto-prepend-test-suite.yml index 329bcb6..eb1815d 100644 --- a/.github/workflows/end-to-end-auto-prepend-test-suite.yml +++ b/.github/workflows/end-to-end-auto-prepend-test-suite.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.4", "6.5" ] + wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.5", "6.6" ] php-version: [ "7.2", "7.4", "8.0" ] exclude: - { php-version: "7.4", wp-version: "4.9" } diff --git a/.github/workflows/end-to-end-multisite.yml b/.github/workflows/end-to-end-multisite.yml index 6617d5c..0dc76e6 100644 --- a/.github/workflows/end-to-end-multisite.yml +++ b/.github/workflows/end-to-end-multisite.yml @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: false matrix: - wp-version: [ "4.9", "5.9", "6.5" ] + wp-version: [ "4.9", "5.9", "6.6" ] php-version: [ "7.2" ] subsite: ["site1", "site2"] diff --git a/.github/workflows/end-to-end-test-suite.yml b/.github/workflows/end-to-end-test-suite.yml index 27bc9d1..c2db209 100644 --- a/.github/workflows/end-to-end-test-suite.yml +++ b/.github/workflows/end-to-end-test-suite.yml @@ -34,11 +34,11 @@ jobs: php-version: '7.2' - wp-version: '6.0' php-version: '8.0' - - wp-version: '6.5' + - wp-version: '6.6' php-version: '7.2' - - wp-version: '6.5' + - wp-version: '6.6' php-version: '8.0' - - wp-version: '6.5' + - wp-version: '6.6' php-version: '8.3' name: End-to-end test suite diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml index f6aa567..b61a828 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test.yml @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: false matrix: - wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.5" ] + wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.6" ] php-version: [ "7.2", "7.4", "8.0" ] exclude: - { php-version: "7.4", wp-version: "4.9" } diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9bba6dc..2b1294d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -166,7 +166,7 @@ jobs: strategy: fail-fast: false matrix: - wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.5" ] + wp-version: [ "4.9", "5.0", "5.9", "6.0", "6.6" ] php-version: [ "7.2", "7.4", "8.0" ] exclude: - { php-version: "7.4", wp-version: "4.9" } diff --git a/CHANGELOG.md b/CHANGELOG.md index b5921ce..c965852 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- +## [2.6.7](https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v2.6.7) - 2024-07-26 +[_Compare with previous release_](https://github.com/crowdsecurity/cs-wordpress-bouncer/compare/v2.6.6...v2.6.7) +### Added + +- Add compatibility with WordPress 6.6 + +--- ## [2.6.6](https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v2.6.6) - 2024-06-20 [_Compare with previous release_](https://github.com/crowdsecurity/cs-wordpress-bouncer/compare/v2.6.5...v2.6.6) diff --git a/crowdsec.php b/crowdsec.php index 31013bf..fdea350 100644 --- a/crowdsec.php +++ b/crowdsec.php @@ -4,7 +4,7 @@ * 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.6 + * Version: 2.6.7 * Author: CrowdSec * Author URI: https://www.crowdsec.net/ * Github: https://github.com/crowdsecurity/cs-wordpress-bouncer @@ -12,8 +12,8 @@ * License URI: https://opensource.org/licenses/MIT * Requires PHP: 7.2 * Requires at least: 4.9 - * Tested up to: 6.5 - * Stable tag: 2.6.6 + * Tested up to: 6.6 + * Stable tag: 2.6.7 * Text Domain: crowdsec-wp * First release: 2021. */ diff --git a/inc/Constants.php b/inc/Constants.php index 9a5afc5..e237edf 100644 --- a/inc/Constants.php +++ b/inc/Constants.php @@ -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.6'; + public const VERSION = 'v2.6.7'; } diff --git a/readme.txt b/readme.txt index 905372d..f686238 100644 --- a/readme.txt +++ b/readme.txt @@ -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.5 -Stable tag: 2.6.6 +Tested up to: 6.6 +Stable tag: 2.6.7 Requires PHP: 7.2 License: MIT License URI: https://opensource.org/licenses/MIT