@weierophinney weierophinney released this May 14, 2018 · 5 commits to master since this release

Assets 2

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.

@weierophinney weierophinney released this May 11, 2016 · 97 commits to master since this release

Assets 2

Added

Deprecated

  • Nothing.

Removed

  • #16 removes the dependency on zend-math, making it optional. (This was done as the requirement is only when using the PythonPickle adapter.)

Fixed

  • #9 fixes the behavior of the PhpSerialize adapter to raise an exception during deserialization if the value is not serialized, restoring behavior to match the other adapters.
May 9, 2016
zend-serializer 2.4.10

@weierophinney weierophinney released this Apr 18, 2016 · 115 commits to master since this release

Assets 2

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #15 fixes the Module::init() method to properly receive a ModuleManager instance, and not expect a ModuleEvent.

@weierophinney weierophinney released this Apr 6, 2016 · 120 commits to master since this release

Assets 2

Added

  • #14 exposes the package as a ZF component and/or generic configuration provider, by adding the following:
    • AdapterPluginManagerFactory, which can be consumed by container-interop / zend-servicemanager to create and return a AdapterPluginManager instance.
    • ConfigProvider, which maps the service SerializerAdapterManager to the above factory.
    • Module, which does the same as ConfigProvider, but specifically for zend-mvc applications. It also provices a specification to Zend\ModuleManager\Listener\ServiceListener to allow modules to provide serializer configuration.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.