From 949000f334d9e8fda64cee0f63fe32256f163eef Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Tue, 18 Jun 2024 14:17:18 +0200 Subject: [PATCH] Fix upgrade guide for 2.20 --- UPGRADE.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/UPGRADE.md b/UPGRADE.md index 9e6c0cb2253..e20a8fef89b 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,3 +1,10 @@ +# Upgrade to 2.20 + +## PARTIAL DQL syntax is undeprecated for non-object hydration + +Use of the PARTIAL keyword is not deprecated anymore in DQL when used with a hydrator +that is not creating entities, such as the ArrayHydrator. + # Upgrade to 2.19 ## Deprecate calling `ClassMetadata::getAssociationMappedByTargetField()` with the owning side of an association @@ -15,11 +22,6 @@ to find out. Use `Doctrine\ORM\Query\TokenType::T_*` instead. -## PARTIAL DQL syntax is undeprecated for non-object hydration - -Use of the PARTIAL keyword is not deprecated anymore in DQL when used with a hydrator -that is not creating entities, such as the ArrayHydrator. - # Upgrade to 2.17 ## Deprecate annotations classes for named queries