Zend Serializer v2.9.0 Release Notes

Release Date: 2018-05-14 // over 5 years ago
  • โž• Added

    • ๐Ÿ‘ #37 adds support to the PhpSerialize adapter to allow it to support the PHP 7 $options parameter of unserialize, and, specifically, the allowed_classes parameter. A new options class, PhpSerializeOptions, now allows setting the unserialize_class_whitelist option, which may be one of true (any class may be unserialized; current behavior), false (no class may be unserialized), or an array of class names that are explicitly allowed to be unserialized. An instance of this class may now be passed to the PhpSerialize constructor in order to set the intended/expected behavior.

    ๐Ÿ”„ Changed

    • Nothing.

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • ๐Ÿ“ฆ #34 removes a redundant dependency on a Doctrine package.