Skip to content

Commit

Permalink
Fix upgrade guide for 2.20 (doctrine#11504)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored Jun 18, 2024
1 parent 6874448 commit 066ec1a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 066ec1a

Please sign in to comment.