Skip to content

Commit a680910

Browse files
committed
minor symfony#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
2 parents 080962f + 16358d4 commit a680910

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

UPGRADE-3.1.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,9 @@ FrameworkBundle
8888
- `"form.type.submit"`
8989
- `"form.type.reset"`
9090

91-
* The service `serializer.mapping.cache.apc` has been deprecated in favor of
92-
`serializer.mapping.cache.doctrine.apc` to be consistent with the validator
93-
cache service. If you are using `serializer.mapping.cache.apc`, use
94-
`serializer.mapping.cache.doctrine.apc` instead.
95-
96-
* The `framework.serializer.cache` option has been deprecated. APCu should now
97-
be automatically used when available so you can remove this configuration key.
91+
* The `framework.serializer.cache` option and the service
92+
`serializer.mapping.cache.apc` have been deprecated. APCu should now be
93+
automatically used when available.
9894

9995
HttpKernel
10096
----------

UPGRADE-4.0.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,9 @@ FrameworkBundle
7777
- `"form.type.submit"`
7878
- `"form.type.reset"`
7979

80-
* The service `serializer.mapping.cache.apc` has been removed; use
81-
`serializer.mapping.cache.doctrine.apc` instead.
82-
83-
* The `framework.serializer.cache` option has been removed. APCu should now
84-
be automatically used when available so you can remove this configuration key.
80+
* The `framework.serializer.cache` option and the service
81+
`serializer.mapping.cache.apc` have been removed. APCu should now
82+
be automatically used when available.
8583

8684
HttpKernel
8785
----------

0 commit comments

Comments
 (0)