All notable changes to this project will be documented in this file, in reverse chronological order by release.
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.PythonPickle
adapter.)PhpSerialize
adapter to raise an exception during
deserialization if the value is not serialized, restoring behavior to match
the other adapters.Module::init()
method to properly receive a ModuleManager
instance, and
not expect a ModuleEvent
.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.^2.7 || ^3.0
, as it can work with either version.AdapterPluginManager
to follow changes to Zend\ServiceManager\AbstractPluginManager
, and updating
the Serializer
class to inject an empty ServiceManager
into instances of
the AbstractPluginManager
that it creates.