What's Changed
PHP 8.2 Compatibility
- Added missing
php: >=8.2constraint tocomposer.json - Updated all classes to use constructor property promotion with
readonly - Replaced concrete
Magento\Framework\Logger\MonologwithPsr\Log\LoggerInterfacein the cron class — the custom logger virtual type indi.xmlis unchanged, cron still logs tovar/log/pronkoconsulting/selective_cache_debug.log
Dependencies
- Removed redundant
symfony/consolefromcomposer.json— it is always provided transitively bymagento/framework
Bug Fixes
- Fixed configuration path prefix from
selectivecache/cron/...topronko_selectivecache/cron/...for namespace consistency
Requirements
- PHP 8.2+
- Magento 2.4.4+
Upgrade Notes
Warning
If you previously saved cron settings under Stores → Configuration → Pronko Consulting → Selective Cache, those values are stored in the database under the old selectivecache/cron/... path and will not be read after upgrading. Re-save the configuration once after upgrading.
Run after upgrading:
bin/magento setup:upgrade
bin/magento cache:flush