minor #19235 [FrameworkBundle] Advise to not use the serializer services related to the cache (Ener-Getick)

This PR was merged into the 3.1 branch.

Discussion
----------

[FrameworkBundle] Advise to not use the serializer services related to the cache

| Q             | A
| ------------- | ---
| Branch?       | 3.1
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Advise to not use the serializer services related to the cache.

Commits
-------

16358d4 [FrameworkBundle] Update the UPGRADING files Advise to not use the service `serializer.mapping.cache.apc` anymore
This commit is contained in:
Fabien Potencier 2016-06-30 11:50:45 +02:00
commit a680910010
2 changed files with 6 additions and 12 deletions

View File

@ -88,13 +88,9 @@ FrameworkBundle
- `"form.type.submit"`
- `"form.type.reset"`
* The service `serializer.mapping.cache.apc` has been deprecated in favor of
`serializer.mapping.cache.doctrine.apc` to be consistent with the validator
cache service. If you are using `serializer.mapping.cache.apc`, use
`serializer.mapping.cache.doctrine.apc` instead.
* The `framework.serializer.cache` option has been deprecated. APCu should now
be automatically used when available so you can remove this configuration key.
* The `framework.serializer.cache` option and the service
`serializer.mapping.cache.apc` have been deprecated. APCu should now be
automatically used when available.
HttpKernel
----------

View File

@ -77,11 +77,9 @@ FrameworkBundle
- `"form.type.submit"`
- `"form.type.reset"`
* The service `serializer.mapping.cache.apc` has been removed; use
`serializer.mapping.cache.doctrine.apc` instead.
* The `framework.serializer.cache` option has been removed. APCu should now
be automatically used when available so you can remove this configuration key.
* The `framework.serializer.cache` option and the service
`serializer.mapping.cache.apc` have been removed. APCu should now
be automatically used when available.
HttpKernel
----------