8000 DoctrineCacheBundle deprecated · Issue #13275 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

DoctrineCacheBundle deprecated #13275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hackzilla opened this issue Feb 28, 2020 · 2 comments
Closed

DoctrineCacheBundle deprecated #13275

hackzilla opened this issue Feb 28, 2020 · 2 comments
Labels
Milestone

Comments

@hackzilla
Copy link
Contributor

I've started getting this message, and other similar messages, in my Symfony v3 app.

Using the "memcached" type for cache "metadata_cache_driver" is deprecated since DoctrineBundle 1.12 and will be dropped in 2.0. Please use the "service" or "pool" types exclusively.

After digging, I have found out that DoctrineCacheBundle has been deprecated.

This bundle is deprecated; it will not be updated for Symfony 5. If you want to use doctrine/cache in Symfony, please configure the services manually. When using Symfony, we no longer recommend configuring doctrine/cache through this bundle. Instead, you should use symfony/cache for your cache needs. However, the deprecation does not extend to doctrine/cache, you'll be able to use those classes as you did so far.

https://github.com/doctrine/DoctrineCacheBundle

However, the page on Symfony about Doctrine Configuration, still talks about the old way.
https://symfony.com/doc/current/reference/configuration/doctrine.html#caching-drivers

@javiereguiluz
Copy link
Member

@nicolas-grekas as you know everything about Symfony + Cache ... could you please help us here? What should we change in the docs? Thanks!

@nicolas-grekas
Copy link
Member
7D60

Yes our doc should be updated. Maybe recipes could help, but @weaverryan knows this well also :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
0