diff --git a/README.md b/README.md index 794b928..ab52df6 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,8 @@ From your WordPress dashboard: ### Minimum Requirements - WordPress 6.8+ -- PHP 8.1+ (PHP 8.3 recommended) +- PHP 8.2+ (PHP 8.3 recommended) +- Patched PHP: 8.2.35, 8.3.36, 8.4.27, 8.5.12 or later fix the critical "php2shell" RCE vulnerabilities (CVE-2026-109618, CVE-2026-109619). PHP 8.1 and earlier no longer receive security fixes. - MySQL 5.0+ (MySQL 5.6+ recommended) - cURL PHP extension - mbstring PHP extension diff --git a/docker/README.md b/docker/README.md index 52eccb5..2e518bc 100644 --- a/docker/README.md +++ b/docker/README.md @@ -51,7 +51,8 @@ From your WordPress dashboard: ### Minimum Requirements - WordPress 6.8+ -- PHP 8.1+ (PHP 8.3 recommended) +- PHP 8.2+ (PHP 8.3 recommended) +- Patched PHP: 8.2.35, 8.3.36, 8.4.27, 8.5.12 or later fix the critical "php2shell" RCE vulnerabilities (CVE-2026-109618, CVE-2026-109619). PHP 8.1 and earlier no longer receive security fixes. - MySQL 5.0+ (MySQL 5.6+ recommended) - cURL PHP extension - mbstring PHP extension diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index c894453..b0c2c3b 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -2,14 +2,14 @@ name: progress-agentic-rag-plugin services: php-lint: - image: php:8.1-cli + image: php:8.3-cli working_dir: /plugin volumes: - ..:/plugin command: ["sh", "docker/scripts/lint-php.sh"] phpunit: - image: php:8.1-cli + image: php:8.3-cli working_dir: /plugin environment: PHPUNIT_COVERAGE: ${PHPUNIT_COVERAGE:-0} @@ -30,7 +30,7 @@ services: command: ["sh", "docker/scripts/run-playwright.sh"] release-check: - image: php:8.1-cli + image: php:8.3-cli working_dir: /plugin environment: RELEASE_DIR: ${RELEASE_DIR:-build/progress-agentic-rag-connector} diff --git a/progress-agentic-rag.php b/progress-agentic-rag.php index 91b10c6..432ab5c 100644 --- a/progress-agentic-rag.php +++ b/progress-agentic-rag.php @@ -8,9 +8,9 @@ * Plugin Name: Progress Agentic RAG connector * Plugin URI: https://github.com/nuclia/wordpress-plugin * Description: Index WordPress content into Progress Agentic RAG and power knowledge-base search. - * Version: 1.0.3 + * Version: 1.1.0 * Requires at least: 6.8 - * Requires PHP: 8.1 + * Requires PHP: 8.2 * Author: Progress Software * Author URI: https://www.progress.com/ * License: GPL v3 or later @@ -29,8 +29,8 @@ } // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound -- Public plugin constants already use the Progress Agentic RAG prefix. -define( 'PROGRESS_AGENTIC_RAG_VERSION', '1.0.3' ); -define( 'PROGRESS_AGENTIC_RAG_MIN_PHP_VERSION', '8.1' ); +define( 'PROGRESS_AGENTIC_RAG_VERSION', '1.1.0' ); +define( 'PROGRESS_AGENTIC_RAG_MIN_PHP_VERSION', '8.2' ); define( 'PROGRESS_AGENTIC_RAG_MIN_WP_VERSION', '6.8' ); define( 'PROGRESS_AGENTIC_RAG_FILE', __FILE__ ); define( 'PROGRESS_AGENTIC_RAG_PATH', plugin_dir_path( __FILE__ ) ); diff --git a/readme.txt b/readme.txt index d6c023b..ed30e68 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: progresssoftware Tags: search, ai, knowledge-base, rag, indexing Requires at least: 6.8 Tested up to: 7.1 -Stable tag: 1.0.3 -Requires PHP: 8.1 +Stable tag: 1.1.0 +Requires PHP: 8.2 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -69,6 +69,13 @@ value is passed as the second argument. == Changelog == += 1.1.0 = + +* Breaking: minimum PHP raised from 8.1 to 8.2. PHP 8.1 no longer receives security + fixes, including for the critical "php2shell" RCE vulnerabilities (CVE-2026-109618, + CVE-2026-109619). Update to PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 or later (8.3+ recommended). +* Dev: PHP lint and PHPUnit in CI now run on PHP 8.3. + = 1.0.3 = * Security: hardened the front-end proxy — allow-listed and size-capped request paths, diff --git a/tests/phpunit/bootstrap.php b/tests/phpunit/bootstrap.php index 62c1356..cdd4f5a 100644 --- a/tests/phpunit/bootstrap.php +++ b/tests/phpunit/bootstrap.php @@ -13,7 +13,7 @@ if ( ! defined( 'PROGRESS_AGENTIC_RAG_VERSION' ) ) { define( 'PROGRESS_AGENTIC_RAG_VERSION', '1.0.0' ); - define( 'PROGRESS_AGENTIC_RAG_MIN_PHP_VERSION', '8.1' ); + define( 'PROGRESS_AGENTIC_RAG_MIN_PHP_VERSION', '8.2' ); define( 'PROGRESS_AGENTIC_RAG_MIN_WP_VERSION', '6.8' ); define( 'PROGRESS_AGENTIC_RAG_FILE', dirname( __DIR__, 2 ) . '/progress-agentic-rag.php' ); define( 'PROGRESS_AGENTIC_RAG_PATH', dirname( __DIR__, 2 ) . '/' );