v1.9.1
This commit is contained in:
parent
a558ac478c
commit
fe4af85929
1 changed files with 79 additions and 36 deletions
|
|
@ -1,5 +1,39 @@
|
|||
== Changelog ==
|
||||
|
||||
= 1.9.1 =
|
||||
|
||||
_Release date: 2026-11-04_
|
||||
|
||||
**Highlights**
|
||||
|
||||
* Compatibility window raised to WordPress 7.0 - 7.2 and PHP 8.3 - 8.6, verified with PHPCompatibility, wp-compat, and live testing on WordPress 7.2-beta4 / PHP 8.6.0RC3.
|
||||
|
||||
**Changed**
|
||||
|
||||
* Minimum supported versions raised: WordPress 7.0 (was 5.3) and PHP 8.3 (was 8.0). `Requires at least`, `Tested up to`, and `Requires PHP` updated in the plugin header and readme.txt; `phpcs.xml` scans the new range (`testVersion 8.3-8.6`, `minimum_supported_wp_version 7.0`); composer.json now requires PHP >= 8.3; `bin/preflight.sh` PHPCompatibility fallback range updated to 8.3-8.6.
|
||||
* Tested up to WordPress 7.2 (validated on WordPress 7.2-beta4, single site, PHP 8.6.0RC3) and up to PHP 8.6 (PHPCompatibility scan clean on 8.6; runtime validated on 8.6.0RC3).
|
||||
* Real code floors from the compatibility tests, for the record: the full-range PHPCompatibility scan (5.6-8.6) reports zero errors from PHP 7.4 upwards, and wp-compat reports no WordPress API newer than 5.3 in use — the declared 7.0/8.3 minimums reflect the project support policy (latest WordPress release plus the two previous majors), not a code limitation.
|
||||
* Admin menu icon (site admin and network admin) switched from the `dashicons-camera` font glyph to an SVG icon shipped as a base64 `data:image/svg+xml` URI — the same camera glyph extracted from the WordPress 7.2 dashicons sprite, so the icon looks identical but renders crisp at any DPI. Data-URI SVG menu icons are supported by every WordPress version in the support window, unlike the `wp_get_icon()` inline SVG API introduced in WordPress 7.2 ([wordpress-develop #12270](https://github.com/WordPress/wordpress-develop/pull/12270)); verified against the menu icon rendering code of 7.2-beta4.
|
||||
* Dev tooling refreshed via `composer update`: PHPStan 2.2.8 -> 2.3.5, wp-compat 1.5.0 -> 3.0.1, wordpress-stubs 6.9.4 -> 7.1.2, PHPUnit 9.6.36 -> 9.6.38, phpstan-wordpress 2.0.3 -> 2.0.4, wp-hooks/wordpress-core 1.12.0 -> 1.13.0, nikic/php-parser 5.8.0 -> 5.9.0. No production dependency changes (Action Scheduler remains 3.9.3; its `Requires at least: 6.5` header caveat re-verified — no WP-version runtime gate at 3.9.3).
|
||||
|
||||
**Added**
|
||||
|
||||
* PHPStan level documented at 9 — the maximum analysis level the codebase passes with zero errors and no baseline (level 10 reports 536 errors, dominated by strict `mixed` handling of `global $wpdb`; the upgrade path is tracked in `docs/ROADMAP.md`). The `ROBOTSTXT_MEDIAAUDIT_MENU_ICON` constant is covered by the PHPStan plugin-constant stubs.
|
||||
|
||||
**Compatibility**
|
||||
|
||||
* WordPress: 7.0 - 7.2 (tested on 7.2-beta4)
|
||||
* PHP: 8.3 - 8.6 (tested on 8.6.0RC3; scan-verified code floor: 7.4)
|
||||
* WP-CLI: 2.x
|
||||
* MariaDB: 11.4 or newer (unchanged)
|
||||
|
||||
**Tests**
|
||||
|
||||
* PHP Coding Standards (PHPCompatibility): 8.3 - 8.6, 0 errors; full-range 5.6 - 8.6 scan run to establish the real code floor (7.4)
|
||||
* WordPress Coding Standards (WPCS): 0 errors
|
||||
* PHPStan 2.3.5: level 9, 0 errors, no baseline
|
||||
* PHPUnit: 12 tests, 55 assertions (plugin header tests included)
|
||||
|
||||
= 1.9.0 =
|
||||
|
||||
_Release date: 2026-08-24_
|
||||
|
|
|
|||
Loading…
Reference in a new issue