v1.1.1
π Fixed
β’ Fixed critical caching issue causing:
__PHP_Incomplete_Class returned
when loading report drivers across multiple requests/commands
π§ Root Cause
β’ ReportDriverData DTOs were being cached directly
β’ Laravel cache serialized the object
β’ Subsequent loads restored it as __PHP_Incomplete_Class
β
Solution
β’ Cache now stores normalized array payloads only
β’ DTOs are rebuilt on every load() call
β’ Added defensive guards to detect and purge stale cached objects
π‘οΈ Improvements
β’ Safer cache strategy across:
β’ CLI commands
β’ queued jobs
β’ multi-request lifecycles
β’ Eliminates hard-to-debug cache corruption issues
If upgrading from v1.1.0, clear cache once:
php artisan optimize:clear
rm -rf storage/framework/cache/data/*
- Optional (but recommended)
If this package is already used in your x-change app:
composer update 3neti/report-registry
php artisan optimize:clear
Summary
β’ v1.1.0 β feature + contract refinement
β’ v1.1.1 β production stability fix (important)