From 24f36be6a8b5c3b3cb6709a10eecbcb7c548d164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Thu, 21 Dec 2023 11:50:57 +0100 Subject: [PATCH] Update Doctrine ODM and Persistence dependencies --- UPGRADE-5.0.md | 1 + composer.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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",