Releases: doctrine/orm
2.16.2
Release Notes for 2.16.2
2.16.x bugfix release (patch)
2.16.2
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 5
Bugfixes
- 10915: Mitigate problems with
EntityManager::flush()
reentrance since 2.16.0 (Take 2) thanks to @mpdude
Static Analysis
Documentation
2.16.1
Release Notes for 2.16.1
2.16.x bugfix release (patch)
2.16.1
- Total issues resolved: 0
- Total pull requests resolved: 10
- Total contributors: 6
Static Analysis
- 10895: PHPStan 1.10.28, Psalm 5.14.1 thanks to @derrabus
- 10870: Fix return type of
getSingleScalarResult
thanks to @whatUwant
Bug,Regression
- 10884: Fix broken changeset computation for entities loaded through fetch=EAGER + using inheritance thanks to @mpdude
Documentation
- 10883: Document more clearly that the insert order is an implementation detail thanks to @mpdude
- 10866: Add an UPGRADE notice about the potential changes in commit order thanks to @mpdude
- 10862: Update branch metadata thanks to @greg0ire
Bug
- 10881: Use a dedicated exception for the check added in #10785 thanks to @mpdude
- 10865: Add possibility to set reportFieldsWhereDeclared in ORMSetup thanks to @W0rma
- 9301: Fix UnitOfWork->originalEntityData is missing not-modified collections after computeChangeSet thanks to @olsavmic
Bug,Deprecation
2.16.0
Release Notes for 2.16.0
2.16.0
- Total issues resolved: 0
- Total pull requests resolved: 15
- Total contributors: 7
New Feature
Improvements
-
10848: Use properties instead of getters to read property/class names via reflection thanks to @nicolas-grekas
-
10832: Decouple public API from Doctrine\Persistence\Proxy thanks to @nicolas-grekas
-
10785: Add a safeguard against multiple objects competing for the same identity map entry thanks to @mpdude
-
10735: Make it possible to have non-NULLable self-referencing associations when using application-provided IDs thanks to @mpdude
-
10547: Compute the commit order (inserts/deletes) on the entity level thanks to @mpdude
-
10833: Cleanup psalm-type AutogenerateMode thanks to @nicolas-grekas
-
10598: Support not Insertable/Updateable columns for entities with
JOINED
inheritance type thanks to @e-vil-dev
Deprecation
- 10743: Make EntityPersisters tell the UoW about post insert IDs early thanks to @mpdude
- 10455: Make Annotations/Attribute mapping drivers report fields for the classes where they are declared thanks to @mpdude
Static Analysis
Test Suite
2.15.5
Release Notes for 2.15.5
2.15.x bugfix release (patch)
2.15.5
- Total issues resolved: 0
- Total pull requests resolved: 2
- Total contributors: 2
Bugfixes
2.15.4
Release Notes for 2.15.4
2.15.x bugfix release (patch)
2.15.4
- Total issues resolved: 0
- Total pull requests resolved: 18
- Total contributors: 8
Documentation
- 10847: Remove toc thanks to @greg0ire
- 10828: Match namespace in XML file with namespace in XSD file thanks to @greg0ire
- 10812: Remove lone dash thanks to @greg0ire
- 10800: Explain
EntityManager::getReference()
peculiarities thanks to @mpdude
Static Analysis
- 10842: PHPStan 1.10.25, Psalm 5.13.1 thanks to @derrabus
- 10804: Follow recommendation about multiline type thanks to @greg0ire
- 10802: Upgrade to Psalm 5.13 thanks to @greg0ire
CI
Bug
- 10819: Fix cloning entities when using lazy-ghost proxies thanks to @nicolas-grekas
- 10813: Let XML driver treat <id> field attributes same as regular <field> tag thanks to @Greg0
- 10806: Fix enum change set recomputation on single entity thanks to @rmikalkenas
- 10791: Avoid creating unmanaged proxy instances for referred-to entities during
merge()
thanks to @mpdude - 10789: distinct() updates QueryBuilder state correctly thanks to @macroparts
- 10786: Fix attach entity listener when reset class metadata factory thanks to @vuongxuongminh
Test Suite
- 10807: Move three "Ticket/"-style tests to the right namespace thanks to @mpdude
- 10803: Fix unserialize() errors when running tests on PHP 8.3 thanks to @nicolas-grekas
- 10798: Resort on Query::HINT_FORCE_PARTIAL_LOAD less thanks to @greg0ire
Code Style
2.15.3
Release Notes for 2.15.3
2.15.x bugfix release (patch)
2.15.3
- Total issues resolved: 0
- Total pull requests resolved: 11
- Total contributors: 8
Bugfixes
- 10762: Don't call canEmulateSchemas in SchemaTool when possible thanks to @nicolas-grekas
- 10759: Don't call deprecated getSQLResultCasing and usesSequenceEmulatedIdentityColumns when we know the platform thanks to @nicolas-grekas
- 10758: revert: transform backed enum to value thanks to @Gwemox
- 10747: fix: OneToManyPersister does not take custom identifier types into account for orphan removal thanks to @wtfzdotnet
- 10645: Restore document proxy state to uninitialized on load exception thanks to @notrix
- 10763: Defer removing removed entities from to-many collections until after transaction commit thanks to @mpdude
Static Analysis
- 10771: PHPStan 1.10.18, Psalm 5.12.0 thanks to @derrabus
- 10740: Remove useless ignore rule thanks to @greg0ire
Test Suite
- 10780: Avoid partial thanks to @greg0ire
Documentation
2.15.2
Release Notes for 2.15.2
2.15.x bugfix release (patch)
2.15.2
- Total issues resolved: 0
- Total pull requests resolved: 8
- Total contributors: 8
Documentation
- 10734: Document pdo_sqlite requirement for tests thanks to @greg0ire
- 10708: Correct docs link thanks to @mbabker
- 10686: Documentation typo thanks to @edent
Bugfixes
- 10666: Create
ReflectionReadonlyProperty
from their declaring class so their value can be set thanks to @MatTheCat - 10643: Fix single table inheritance with intermediate abstract class(es) thanks to @htto
- 10508: Fix id hash of entity with enum as identifier thanks to @Gwemox
- 10486: Fix to-many collections left in dirty state after entities are removed by the UoW thanks to @mpdude
Deprecation fixes
2.15.1
Release Notes for 2.15.1
2.15.1
- Total issues resolved: 0
- Total pull requests resolved: 6
- Total contributors: 4
Bug
- 10684: Support unserializing 2.14 ParserResult instances thanks to @derrabus
- 10671: Fix attribute ManyToMany mapping thanks to @BoShurik
Static Analysis
- 10679: Upgrade to Psalm 5.11.0 thanks to @greg0ire
- 10677: Upgrade to Psalm 5.10.0 thanks to @greg0ire
Documentation
2.15.0
Release Notes for 2.15.0
Feature release (minor)
2.15.0
- Total issues resolved: 1
- Total pull requests resolved: 30
- Total contributors: 8
New Features
- 10234: Support
NOT
expression thanks to @remi-san
Improvements
- 10601: Support options like charset and collation on DiscriminatedColumn thanks to @JanTvrdik
- 10599: fix(persistent-collection): check association is not nullable before using it as an array thanks to @amina-seraoui
- 10473: Allow to-many associations on mapped superclasses w/ ResolveTargetEntityListener thanks to @mpdude
- 10397: Factor out logic that tracks mapping inheritance thanks to @mpdude
- 10351: Allow
doctrine/instantiator
2 thanks to @derrabus
Deprecations
- 10654: Deprecate usage of
@JoinColumn
on the inverse side of one-to-one associations thanks to @mpdude - 10519: Deprecate overriding associations not inherited from a mapped superclass thanks to @mpdude
- 10470: Deprecate overriding fields/associations inherited from other entities thanks to @mpdude
- 10423: Add deprecations for "table per class" inheritance thanks to @mpdude
Bugfixes
- 10554: Make "targetEntity must not be a mapped superclass" a lazy check thanks to @mpdude and @alexander-schranz
Static Analysis
- 10602: Remove duplicate array shape thanks to @greg0ire
- 10478: Move psalm types to ClassMetadata thanks to @greg0ire
- 10442: Add embedded class mapping array shape thanks to @greg0ire
- 10430: Use FieldMapping array shape even more thanks to @greg0ire
- 10408: Field mapping improvements thanks to @greg0ire
- 10403: Reuse association mapping array shape thanks to @greg0ire
- 10381: Use more precise types for class strings thanks to @greg0ire
- 10372: Use the same type as in the DBAL thanks to @greg0ire
- 10365: Address new behavior of $firstResult thanks to @greg0ire
- 10156: Identity map cannot contains null value thanks to @PowerKiKi
- 10513: Use array shapes where appropriate thanks to @greg0ire
Test Suite
- 10569: Address deprecation of fetchAll() thanks to @greg0ire
- 10545: Make data providers static thanks to @derrabus
- 10464: Fix some tests that were missed in #10431 thanks to @mpdude
- 10406: Test with a stable PHPUnit thanks to @derrabus
Code Style
- 10477: Remove underscore prefix on private variables thanks to @greg0ire
- 10465: Remove commented-out code sections thanks to @mpdude
Documentation
2.14.3
Release Notes for 2.14.3
2.14.3
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 5
Bugfixes
- 10630: Fixed xsd schema for support FQCN type thanks to @tmihalicka
- 10587: Handle null comparisons in
ManyToManyPersister
thanks to @MatTheCat
Documentation
- 10642: fix syntax array association on partial index documentation thanks to @yobrx
- 10620: fix typo in HydrationCompleteHandler doc thanks to @ecourtial