doctrine / DoctrineMongoDBBundle

Integrates Doctrine MongoDB ODM with Symfony
http://symfony.com/doc/current/bundles/DoctrineMongoDBBundle/index.html
MIT License
379 stars 230 forks source link

Fix symfony 6.4/7.0 deprecations #809

Closed Nyoob closed 9 months ago

Nyoob commented 9 months ago

Is there already a plan when symfony 7 will be supported?

User Deprecated: The "Doctrine\Bundle\MongoDBBundle\CacheWarmer\PersistentCollectionCacheWarmer::warmUp()" method will require a new "string|null $buildDir" argument in the next major version of its interface "Symfony\Component\HttpKernel\CacheWarmer\WarmableInterface", not defining it is deprecated.

User Deprecated: The "Doctrine\Bundle\MongoDBBundle\CacheWarmer\ProxyCacheWarmer::warmUp()" method will require a new "string|null $buildDir" argument in the next major version of its interface "Symfony\Component\HttpKernel\CacheWarmer\WarmableInterface", not defining it is deprecated.

User Deprecated: The "Doctrine\Bundle\MongoDBBundle\CacheWarmer\HydratorCacheWarmer::warmUp()" method will require a new "string|null $buildDir" argument in the next major version of its interface "Symfony\Component\HttpKernel\CacheWarmer\WarmableInterface", not defining it is deprecated.

GromNaN commented 9 months ago

We are actively working on a new major version 5.0 that will support Symfony 6.4 and 7.0

The deprecation have been fixed in https://github.com/doctrine/DoctrineMongoDBBundle/pull/789

lchhieu commented 9 months ago

Still haven't support symfony 7 yet ?

malarzm commented 9 months ago

@lchhieu Symfony 7 support is part of the 5.0 release like @GromNaN mentioned, you can track its progress here https://github.com/doctrine/DoctrineMongoDBBundle/milestone/34. Please try helping out instead of posting such questions