Skip to content

Commit

Permalink
Add upgrade note about property hooks (#11636)
Browse files Browse the repository at this point in the history
People that might have experimented with property hooks while still
using ORM < 2.20.0 need to know that they need to remove their
experiment or upgrade to a version that explicitly supports them.
  • Loading branch information
greg0ire authored Oct 9, 2024
1 parent 0e48b19 commit 8a25b26
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Upgrade to 2.20

## Explictly forbid property hooks

Property hooks are not supported yet by Doctrine ORM. Until support is added,
they are explicitly forbidden because the support would result in a breaking
change in behavior.

Progress on this is tracked at https://github.com/doctrine/orm/issues/11624 .

## 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
Expand Down

0 comments on commit 8a25b26

Please sign in to comment.