[FrameworkBundle][Serializer] Fix APC cache service name and deprecate old name
This commit is contained in:
parent
3a165e551d
commit
88ef89c8dc
@ -83,6 +83,11 @@ FrameworkBundle
|
|||||||
- `"form.type.submit"`
|
- `"form.type.submit"`
|
||||||
- `"form.type.reset"`
|
- `"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.
|
||||||
|
|
||||||
HttpKernel
|
HttpKernel
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
@ -75,6 +75,9 @@ FrameworkBundle
|
|||||||
- `"form.type.submit"`
|
- `"form.type.submit"`
|
||||||
- `"form.type.reset"`
|
- `"form.type.reset"`
|
||||||
|
|
||||||
|
* The service `serializer.mapping.cache.apc` has been removed; use
|
||||||
|
`serializer.mapping.cache.doctrine.apc` instead.
|
||||||
|
|
||||||
HttpKernel
|
HttpKernel
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
@ -7,7 +7,8 @@ CHANGELOG
|
|||||||
* Added `Controller::json` to simplify creating JSON responses when using the Serializer component
|
* Added `Controller::json` to simplify creating JSON responses when using the Serializer component
|
||||||
* Deprecated absolute template paths support in the template name parser
|
* Deprecated absolute template paths support in the template name parser
|
||||||
* Deprecated using core form types without dependencies as services
|
* Deprecated using core form types without dependencies as services
|
||||||
* added `Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector`
|
* Added `Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector`
|
||||||
|
* Deprecated service `serializer.mapping.cache.apc` (use `serializer.mapping.cache.doctrine.apc` instead)
|
||||||
|
|
||||||
3.0.0
|
3.0.0
|
||||||
-----
|
-----
|
||||||
|
@ -38,12 +38,16 @@
|
|||||||
</service>
|
</service>
|
||||||
|
|
||||||
<!-- Cache -->
|
<!-- Cache -->
|
||||||
<service id="serializer.mapping.cache.apc" class="Doctrine\Common\Cache\ApcCache" public="false">
|
<service id="serializer.mapping.cache.doctrine.apc" class="Doctrine\Common\Cache\ApcCache" public="false">
|
||||||
<call method="setNamespace">
|
<call method="setNamespace">
|
||||||
<argument>%serializer.mapping.cache.prefix%</argument>
|
<argument>%serializer.mapping.cache.prefix%</argument>
|
||||||
</call>
|
</call>
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
|
<service id="serializer.mapping.cache.apc" parent="serializer.mapping.cache.doctrine.apc">
|
||||||
|
<deprecated>The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0. Use "serializer.mapping.cache.doctrine.apc" instead</deprecated>
|
||||||
|
</service>
|
||||||
|
|
||||||
<!-- Encoders -->
|
<!-- Encoders -->
|
||||||
<service id="serializer.encoder.xml" class="Symfony\Component\Serializer\Encoder\XmlEncoder" public="false">
|
<service id="serializer.encoder.xml" class="Symfony\Component\Serializer\Encoder\XmlEncoder" public="false">
|
||||||
<tag name="serializer.encoder" />
|
<tag name="serializer.encoder" />
|
||||||
|
Reference in New Issue
Block a user