SuperClosure v2.2.0 Release Notes

Release Date: 2015-12-05 // over 8 years ago
  • What's Changed

    • โž• Added support for PHP 7.
    • โž• Added support for version 2.x of @nikic's PHP Parser.
    • โž• Added a bindTo() method to SerializableClosure to match Closure's interface.
    • Replaced vendored hash_equals() implementation with the one in symfony/polyfill-php56.
    • ๐Ÿ›  Fixed an issue that caused the "class" value of some closures' locations to be reported incorrectly.
    • ๐Ÿ›  Fixed an issue with some edge cases related the closure binding and scope during unserialization.
    • ๐Ÿ›  Fixed an unserialization issue where SuperClosures in user variables were not being unboxed.
    • ๐Ÿ‘Œ Improved error handling in the Serializer when the data being unserialized is invalid.

    Credits

    Lessons Learned

    ๐Ÿ‘€ > It's ParseError not ParseException.