# Changelog

All notable changes to this project will be documented in this file, in reverse chronological order by release.

## 2.9.1 - 2019-10-19

### Added

- [zendframework/zend-serializer#39](https://github.com/zendframework/zend-serializer/pull/39) adds support for PHP 7.3.

### Changed

- Nothing.

### Deprecated

- Nothing.

### Removed

- Nothing.

### Fixed

- Nothing.

## 2.9.0 - 2018-05-14

### Added

- [zendframework/zend-serializer#37](https://github.com/zendframework/zend-serializer/pull/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

- [zendframework/zend-serializer#34](https://github.com/zendframework/zend-serializer/pull/34) removes a redundant dependency on a Doctrine package.

## 2.8.1 - 2017-11-20

### Added

- Nothing.

### Deprecated

- Nothing.

### Removed

- Nothing.

### Fixed

- [zendframework/zend-serializer#26](https://github.com/zendframework/zend-serializer/pull/26)
  Travis: Remove fast finish flag
- [zendframework/zend-serializer#32](https://github.com/zendframework/zend-serializer/pull/32)
  Travis: fix doctrine/instantiator on PHP-5.6
- [zendframework/zend-serializer#27](https://github.com/zendframework/zend-serializer/pull/27)
  CS fixes for new coding standard
- [zendframework/zend-serializer#25](https://github.com/zendframework/zend-serializer/pull/25)
  Travis: Move coverage to latest-env to make composer.lock usefull again
- [zendframework/zend-serializer#30](https://github.com/zendframework/zend-serializer/issues/30) 
  Fixed unserialize PythonPickle on big endian

## 2.8.0 - 2016-06-21

### Added

- [zendframework/zend-serializer#20](https://github.com/zendframework/zend-serializer/pull/20) adds support
  for laminas-json v3.0.

### Deprecated

- Nothing.

### Removed

- [zendframework/zend-serializer#20](https://github.com/zendframework/zend-serializer/pull/20) removes support
  for PHP 5.5.

### Fixed

- Nothing.

## 2.7.2 - 2016-05-11

### Added

- [zendframework/zend-serializer#17](https://github.com/zendframework/zend-serializer/pull/17) adds and
  publishes the documentation to https://laminas.github.com/laminas-serializer/

### Deprecated

- Nothing.

### Removed

- [zendframework/zend-serializer#16](https://github.com/zendframework/zend-serializer/pull/16) removes the
  dependency on laminas-math, making it optional. (This was done as the requirement
  is only when using the `PythonPickle` adapter.)

### Fixed

- [zendframework/zend-serializer#9](https://github.com/zendframework/zend-serializer/pull/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.

## 2.7.1 - 2016-04-18

### Added

- Nothing.

### Deprecated

- Nothing.

### Removed

- Nothing.

### Fixed

- [zendframework/zend-serializer#15](https://github.com/zendframework/zend-serializer/pull/15) fixes the
  `Module::init()` method to properly receive a `ModuleManager` instance, and
  not expect a `ModuleEvent`.

## 2.7.0 - 2016-04-06

### Added

- [zendframework/zend-serializer#14](https://github.com/zendframework/zend-serializer/pull/14) exposes the
  package as a Laminas component and/or generic configuration provider, by adding the
  following:
  - `AdapterPluginManagerFactory`, which can be consumed by container-interop /
    laminas-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
    laminas-mvc applications. It also provices a specification to
    `Laminas\ModuleManager\Listener\ServiceListener` to allow modules to provide
    serializer configuration.

### Deprecated

- Nothing.

### Removed

- Nothing.

### Fixed

- Nothing.

## 2.6.1 - 2016-02-03

### Added

- Nothing.

### Deprecated

- Nothing.

### Removed

- Nothing.

### Fixed

- [zendframework/zend-serializer#13](https://github.com/zendframework/zend-serializer/pull/13) updates the
  laminas-stdlib dependency to `^2.7 || ^3.0`, as it can work with either version.

## 2.6.0 - 2016-02-02

### Added

- Nothing.

### Deprecated

- Nothing.

### Removed

- Nothing.

### Fixed

- [zendframework/zend-serializer#2](https://github.com/zendframework/zend-serializer/pull/2) updates the component
  to use laminas-servicemanager v3. This involves updating the `AdapterPluginManager`
  to follow changes to `Laminas\ServiceManager\AbstractPluginManager`, and updating
  the `Serializer` class to inject an empty `ServiceManager` into instances of
  the `AbstractPluginManager` that it creates.
