Skip to content

Commit

Permalink
minor #19235 [FrameworkBundle] Advise to not use the serializer servi…
Browse files Browse the repository at this point in the history
…ces 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
  • Loading branch information
fabpot committed Jun 30, 2016
2 parents 080962f + 16358d4 commit a680910
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
10 changes: 3 additions & 7 deletions UPGRADE-3.1.md
Expand Up @@ -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
----------
Expand Down
8 changes: 3 additions & 5 deletions UPGRADE-4.0.md
Expand Up @@ -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
----------
Expand Down

0 comments on commit a680910

Please sign in to comment.