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
Add support for CollectionInterface::reduce() (#87)
All exceptions now implement a base CollectionException interface
Introduce Sort enum
Support column(), sort(), and where() on non-object collection types
Changed
Minimum PHP version supported is 8.1
Every method now has parameter and return type hints; if extending classes or implementing interfaces, you may need to change method signatures to upgrade
The second parameter of CollectionInterface::sort() now uses the new Sort enum instead of a string
Audit all template annotations and clean up Psalm and PHPStan types for correctness; if using static analysis in projects, this may require changes to your type annotations
ArrayInterface no longer extends \Serializable, and the serialize() and unserialize() methods have been removed from AbstractArray; however, AbstractArray still supports serialization through implementing __serialize() and __unserialize()