This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
Releases: zendframework/zend-serializer
Releases · zendframework/zend-serializer
zend-serializer 2.9.1
Added
- #39 adds support for PHP 7.3.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-serializer 2.9.0
Added
- #37 adds support to the
PhpSerialize
adapter to allow it to support the
PHP 7$options
parameter ofunserialize
, and, specifically, theallowed_classes
parameter.
A new options class,PhpSerializeOptions
, now allows setting theunserialize_class_whitelist
option, which may be one oftrue
(any class may be unserialized; current behavior),false
(no class may be unserialized), or anarray
of class names that are explicitly allowed to
be unserialized. An instance of this class may now be passed to thePhpSerialize
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.
zend-serializer 2.7.2
Added
- #17 adds and publishes the documentation to https://zendframework.github.com/zend-serializer/
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.
zend-serializer 2.7.1
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #15 fixes the
Module::init()
method to properly receive aModuleManager
instance, and not expect aModuleEvent
.
zend-serializer 2.7.0
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 aAdapterPluginManager
instance.ConfigProvider
, which maps the serviceSerializerAdapterManager
to the above factory.Module
, which does the same asConfigProvider
, but specifically for zend-mvc applications. It also provices a specification toZend\ModuleManager\Listener\ServiceListener
to allow modules to provide serializer configuration.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-serializer 2.6.1
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #13 updates the zend-stdlib dependency to
^2.7 || ^3.0
, as it can work with either version.
zend-serializer 2.6.0
Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #2 updates the component to allow usage with zend-servicemanager v3.