Skip to content

#v1.1.1

Latest

Choose a tag to compare

@3neti 3neti released this 16 Apr 23:21

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

⚠️ Upgrade Note
If upgrading from v1.1.0, clear cache once:
php artisan optimize:clear
rm -rf storage/framework/cache/data/*

  1. 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)