diff --git a/UPGRADE-3.1.md b/UPGRADE-3.1.md index 969c5ef799..eddac865e8 100644 --- a/UPGRADE-3.1.md +++ b/UPGRADE-3.1.md @@ -83,6 +83,11 @@ 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. + HttpKernel ---------- diff --git a/UPGRADE-4.0.md b/UPGRADE-4.0.md index 2e5f22379a..2f965b0cc2 100644 --- a/UPGRADE-4.0.md +++ b/UPGRADE-4.0.md @@ -75,6 +75,9 @@ FrameworkBundle - `"form.type.submit"` - `"form.type.reset"` + * The service `serializer.mapping.cache.apc` has been removed; use + `serializer.mapping.cache.doctrine.apc` instead. + HttpKernel ---------- diff --git a/src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md b/src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md index afdcac2da5..28e45f9c27 100644 --- a/src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md +++ b/src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md @@ -7,7 +7,8 @@ CHANGELOG * Added `Controller::json` to simplify creating JSON responses when using the Serializer component * Deprecated absolute template paths support in the template name parser * 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 ----- diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/config/serializer.xml b/src/Symfony/Bundle/FrameworkBundle/Resources/config/serializer.xml index 752588c37e..d5b5093fb6 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Resources/config/serializer.xml +++ b/src/Symfony/Bundle/FrameworkBundle/Resources/config/serializer.xml @@ -38,12 +38,16 @@ - + %serializer.mapping.cache.prefix% + + The "%service_id%" service is deprecated since Symfony 3.1 and will be removed in 4.0. Use "serializer.mapping.cache.doctrine.apc" instead + +