Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit d6c2dd1

Browse files
committed
Documented zend-serializer removal in migration document.
1 parent 58f8fa8 commit d6c2dd1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/book/migration/to-v3-0.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,23 @@ $ composer require zendframework/zend-mvc-plugin-prg
218218
`Zend\Mvc\Controller\Plugin\PostRedirectGet` becomes
219219
`Zend\Mvc\Plugin\Prg\PostRedirectGet`. However, it is still mapped as `prg()`.
220220

221+
## Serializer integration
222+
223+
In version 2, zend-mvc exposed a `SerializerAdapterManager` service by default, and
224+
provided specifications to zend-modulemanager's `ServiceListener`
225+
to allow modules to provide serializer configuration.
226+
227+
This functionality is now removed from zend-mvc. It is now exposed directly by
228+
the [zend-serializer](https://github.com/zendframework/zend-serializer) component
229+
itself. To add it, install zend-serializer
230+
231+
```bash
232+
$ composer require zendframework/zend-serializer
233+
```
234+
235+
Note: the above assumes you have already installed zend-component-installer, per
236+
the section above on [dependency reduction](#dependency-reduction).
237+
221238
## Validator integration
222239

223240
In version 2, zend-mvc exposed a `ValidatorManager` service by default, and

0 commit comments

Comments
 (0)