v1.1.4
This commit is contained in:
parent
d6e6011c3d
commit
1dd5809016
606 changed files with 21760 additions and 3778 deletions
|
|
@ -1,5 +1,53 @@
|
|||
== Changelog ==
|
||||
|
||||
= 1.1.4 =
|
||||
|
||||
_Release date: 2026-06-02_
|
||||
|
||||
**Highlights**
|
||||
|
||||
* Full dev tooling setup (PHPCS, PHPStan level 9, PHPUnit) and first test suite
|
||||
* WordPress 7.1 and PHP 8.5 compatibility declared
|
||||
|
||||
**Added**
|
||||
|
||||
* Composer dev tooling: PHPCS/WPCS, PHPStan (level 9), PHPUnit, PHPCompatibility
|
||||
* phpstan.neon, phpcs.xml, phpunit.xml configuration
|
||||
* PHPUnit test suite (22 tests, 54 assertions): plugin headers, Config, Rate_Limiter
|
||||
* bin/deploy.sh: automated ZIP generation with production vendor only
|
||||
* docs/: db-migrations.md, known-issues.md
|
||||
|
||||
**Changed**
|
||||
|
||||
* Tested up to WordPress 7.1; PHP compatibility extended to 8.5
|
||||
* PHPStan level upgraded from 8 to 9
|
||||
* `IDRIVEE2_MEDIA_VERSION` constant defined in plugin main file; replaces `get_file_data()` call in enqueue
|
||||
* Admin page: proper `sanitize_key()` for `$_GET['page']`, type-check for `$_POST['test_file']`
|
||||
* deploy.sh: switched from `composer update` to `composer install` for reproducible builds from lock file
|
||||
* Logger stats: switched to `time() - ($n * DAY_IN_SECONDS)` arithmetic for consistent UTC dates
|
||||
* uninstall.php: variable renamed to satisfy WP prefix naming rules
|
||||
|
||||
**Fixed**
|
||||
|
||||
* WP_Filesystem null guard before file operations in Media_Uploader
|
||||
* Type-safety on all `get_option()`/`get_transient()` results (guards against mixed types)
|
||||
* Rate_Limiter arithmetic: transient value narrowed to int before subtraction
|
||||
* robotstxt-updater.php: short ternary operators replaced, `serialize()` annotated
|
||||
* Media_Uploader deletion queue: malformed `timestamp=0` entries now requeued instead of deleted immediately
|
||||
* Logger: UTC-consistent date arithmetic in both `track_s3_operation()` and `get_s3_stats()`
|
||||
|
||||
**Compatibility**
|
||||
|
||||
* WordPress: 6.8 - 7.1
|
||||
* PHP: 8.2 - 8.5
|
||||
|
||||
**Tests**
|
||||
|
||||
* PHP Coding Standards: 3.13.5 (0 errors)
|
||||
* WordPress Coding Standards: 3.3.0 (0 violations)
|
||||
* PHPStan: Level 9, 0 errors
|
||||
* PHPCompatibility scan: 8.2-8.5
|
||||
|
||||
= 1.1.3 =
|
||||
|
||||
_Release date: 2026-02-04_
|
||||
|
|
|
|||
Loading…
Reference in a new issue