diff --git a/UPGRADE-5.0.md b/UPGRADE-5.0.md index 033fa602..c57bccd7 100644 --- a/UPGRADE-5.0.md +++ b/UPGRADE-5.0.md @@ -2,6 +2,7 @@ UPGRADE FROM 4.x to 5.0 ======================= * Add support for Symfony 7.0 and require at least Symfony 6.4 +* `doctrine/mongodb-odm` 2.6 and `doctrine/persistence` 3.0 are required * The `doctrine:mongodb:tail-cursor` command and `Doctrine\Bundle\MongoDBBundle\Cursor\TailableCursorProcessorInterface` interface have been dropped. You should use diff --git a/composer.json b/composer.json index fdd0dda1..32c2ec8a 100644 --- a/composer.json +++ b/composer.json @@ -27,8 +27,8 @@ "php": "^8.1", "ext-mongodb": "^1.5", "composer-runtime-api": "^2.0", - "doctrine/mongodb-odm": "^2.3", - "doctrine/persistence": "^2.2 || ^3.0", + "doctrine/mongodb-odm": "^2.6", + "doctrine/persistence": "^3.0", "psr/log": "^1.0 || ^2.0 || ^3.0", "symfony/config": "^6.4 || ^7.0", "symfony/console": "^6.4 || ^7.0",