This commit is contained in:
Javier Casares 2026-11-04 17:33:03 +00:00
commit 44e2366e16

View file

@ -1,5 +1,39 @@
== Changelog ==
= 1.2.4 =
_Release date: 2026-11-04_
**Highlights**
* WordPress 7.2 compatibility, including the refactored native AI client. PHP support documented up to 8.6.
**Fixed**
* "Request timeout" setting was ignored whenever the WordPress AI client passes an explicit request timeout to the HTTP API (observed on WordPress 7.2, whose AI client was refactored onto a shared builder base class): explicit arguments bypass the `http_request_timeout` filter the plugin relied on. The configured timeout is now also applied through the `wp_ai_client_default_request_timeout` filter (available since WordPress 7.0), so the setting works identically on WordPress 7.0 through 7.2+.
* Settings `request_timeout` values stored as non-numeric garbage now fall back to the schema default (60 s) instead of being cast to `0`.
**Changed**
* Tested up to WordPress 7.2. The plugin was verified against the WordPress 7.2 development tree (7.2-beta4): the AI client's public API used by the plugin (`wp_ai_client_prompt()`, `using_system_instruction()`, `generate_text()`, `is_supported_for_text_generation()`, `wp_supports_ai()`) is unchanged — the builder methods are now proxied through a shared `WP_AI_Client_Builder` base class.
* Minimum PHP version raised from 5.6 to 8.3 (ROBOTSTXT ecosystem support floor). For the record, the code still passes a full-range PHPCompatibility 5.6-8.6 scan — 8.3 is a support-policy decision, not a code limitation.
* PHP support documented up to 8.6. Verified with PHPCompatibility and the full test suite on PHP 8.6.
* Static analysis raised to the maximum strictness: PHPStan now runs at `level: max` (10 as of PHPStan 2.3) with zero errors and no baseline. Tooling updated (PHPStan 2.3.5, WordPress stubs 7.1, PHPUnit 9.6.38); no runtime dependencies were added.
**Compatibility**
* WordPress: 7.0 - 7.2
* PHP: 8.3 - 8.6
* WP-CLI: 2.12 or newer
**Tests**
* PHP Coding Standards: WordPress-Core, WordPress-Docs, WordPress-Extra (0 errors, 0 warnings)
* PHPCompatibility: 8.3 - 8.6 (declared range) and 5.6 - 8.6 (informational full range) — 0 errors
* PHPStan: level max/10, no baseline (incl. wp-compat @ Requires at least 7.0)
* PHPUnit: 64/64 tests passing (single-site) on WordPress 7.2-beta4 / PHP 8.6, including new tests for both request-timeout filters
* composer audit: no known CVEs
= 1.2.3 =
_Release date: 2026-08-24_