You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
13.2.0 breaks Laravel 13 cache when serializable_classes is null #210
We just updated this package from 13.1.0 to 13.2.0 and it broke our Cache due to the automatic registration of serializable_classes in this package's Provider.
Because this package automatically adds its classes to serializable_classes, the serializable_classes is no longer null (now an array) and cache fails for classes outside this package.
if serializable_classes is already null, there is no need for this package to automatically add its classes.
I understand I can set auto_register_serializable_classes to false, and while it solves the issue I'm sure plenty of others will wonder why their cache suddenly fails when performing patch / minor updates.
Happy to make a PR for it unless you want to take it yourself.
Activity
mikebronner commentedon May 28, 2026
@MarcEspiard thanks for sharing and being so detailed in the explanation.
I will add in a check to see if it is null before adding serializable class entries. Will get it done this weekend, most likely.
MarcEspiard commentedon May 31, 2026
@mikebronner Thanks for the quick fix and release!
mikebronner commentedon May 31, 2026
@MarcEspiard absolutely! let me know how it works out :)