Skip to content

Commit 16cbc16

Browse files
authored
Document BC break (#9143)
Closes #9141
1 parent 94bc137 commit 16cbc16

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

UPGRADE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Upgrade to 2.10
22

3+
## BC Break: `UnitOfWork` now relies on SPL object IDs, not hashes
4+
5+
When calling the following methods, you are now supposed to use the result of
6+
`spl_object_id()`, and not `spl_object_hash()`:
7+
- `UnitOfWork::clearEntityChangeSet()`
8+
- `UnitOfWork::setOriginalEntityProperty()`
9+
310
## BC Break: Removed `TABLE` id generator strategy
411

512
The implementation was unfinished for 14 years.

0 commit comments

Comments
 (0)