Tags: doctrine/orm
Tags
### Release Notes for [3.3.3](https://github.com/doctrine/orm/milesto… …ne/176) 3.3.x bugfix release (patch) ### 3.3.3 - Total issues resolved: **0** - Total pull requests resolved: **16** - Total contributors: **5** #### Improvement - [11924: prefer primary key constraints over Index::isPrimary()](#11924) thanks to @xabbuh - [11914: do not use deprecated index features](#11914) thanks to @xabbuh - [11912: [#6823] pass unquoted identifier folding to AbstractPlatform](#11912) thanks to @xabbuh - [11911: disable detecting modified indexes with DBAL 4.3](#11911) thanks to @xabbuh - [11908: use the platform to quote table names](#11908) thanks to @xabbuh - [11907: do not use deprecated foreign key constraint features](#11907) thanks to @xabbuh - [11906: no longer use Table::columnsAreIndexed()](#11906) thanks to @xabbuh - [11903: do not use deprecated primary key constraint features](#11903) thanks to @xabbuh - [11900: replace Index::overrules() with custom checks](#11900) thanks to @xabbuh - [11882: favor Table::addPrimaryKeyConstraint() over Table::setPrimaryKey()](#11882) thanks to @xabbuh #### Documentation - [11919: Update composite-primary-keys.rst](#11919) thanks to @WinterSilence - [11905: [DOC]: fix setFileExtension() xml mapping documentation](#11905) thanks to @rela589n - [11883: adapt assertions for new consistent PRIMARY KEY formatting](#11883) thanks to @xabbuh - [11837: Restore logic exception](#11837) thanks to @greg0ire CI -- - [11877: Iso phpunit config](#11877) thanks to @greg0ire #### Bug - [11825: FIX - nested dto's doesn't have arguments in good order and Dto with only objects bug](#11825) thanks to @eltharin
### Release Notes for [2.20.3](https://github.com/doctrine/orm/milest… …one/175) 2.20.x bugfix release (patch) ### 2.20.3 - Total issues resolved: **0** - Total pull requests resolved: **13** - Total contributors: **12** #### Bug - [11917: Fix the initialization of lazy-ghost proxies with postLoad listeners](#11917) thanks to @stof - [11826: Clone query hints and parameters in `LimitSubqueryOutputWalker` constructor](#11826) thanks to @aprat84 - [11707: [DDC-551] fix, add filter support in oneToOne relation 2.20.x](#11707) thanks to @jorenMartens #### Documentation - [11894: Fix URL's in xml-mapping.rst](#11894) thanks to @DavidPetrasek - [11891: Add more detailed caveats for using the Collection filtering API](#11891) thanks to @mpdude - [11889: Fix docs typo (nulable -> nullable)](#11889) thanks to @Rixafy - [11885: Avoid triple stars](#11885) thanks to @greg0ire - [11833: Fix DQL example with composite key](#11833) thanks to @HypeMC - [11832: UPGRADE.md: fix typo](#11832) thanks to @gharlan #### Code Style - [11881: Upgrade to doctrine/coding-standard 13](#11881) thanks to @greg0ire #### Test Suite - [11866: Fix non-deterministic test](#11866) thanks to @mbeccati CI -- - [11863: Bump doctrine/.github from 7.2.1 to 7.2.2](#11863) thanks to @dependabot[bot] #### Improvement - [11845: Update message of `ORMInvalidArgumentException`](#11845) thanks to @lacatoire
### Release Notes for [3.3.2](https://github.com/doctrine/orm/milesto… …ne/174) 3.3.x bugfix release (patch) ### 3.3.2 - Total issues resolved: **0** - Total pull requests resolved: **3** - Total contributors: **2** #### Improvement - [11811: Address quoteIdentifier() deprecation](#11811) thanks to @greg0ire #### Test Suite - [11807: Display Doctrine deprecations when running PHPUnit](#11807) thanks to @greg0ire #### Documentation - [11791: UPGRADE: Document QueryBuilder::setParameters() Type enforcement](#11791) thanks to @jonnyeom
### Release Notes for [2.20.2](https://github.com/doctrine/orm/milest… …one/173) 2.20.x bugfix release (patch) ### 2.20.2 - Total issues resolved: **0** - Total pull requests resolved: **4** - Total contributors: **3** #### Bug - [11799: Fix invalid enum value in array of enums](#11799) thanks to @HypeMC - [11792: 11783 failure with indexed relation](#11792) thanks to @dbannik - [11769: Fix fields of transient classes being considered duplicate with `reportFieldsWhereDeclared`](#11769) thanks to @HypeMC #### Static Analysis - [11793: Ignore deprecations from doctrine/common](#11793) thanks to @greg0ire
### Release Notes for [3.3.1](https://github.com/doctrine/orm/milesto… …ne/171) ### 3.3.1 - Total issues resolved: **0** - Total pull requests resolved: **9** - Total contributors: **5** #### Improvement - [11725: Use properties over array keys](#11725) thanks to @greg0ire #### Documentation - [11693: UPGRADE: mention `SqlWalker` deprecations in 3.3](#11693) thanks to @janedbal - [11685: Remove YAML doc example](#11685) thanks to @greg0ire - [11672: Update branch metadata](#11672) thanks to @greg0ire - [11344: Change the lock mode in the "Aggregate Fields" cookbook (aggregate-fields.rst) article.](#11344) thanks to @d-ph CI -- - [11681: Tell dependabot to target 2.20.x](#11681) thanks to @derrabus - [11678: Close stale pull requests](#11678) thanks to @derrabus #### Test Suite - [11674: Drop DBAL 2 compat code](#11674) thanks to @derrabus #### Bug - [11549: Allow overriding association's cascade](#11549) thanks to @malarzm
### Release Notes for [2.20.1](https://github.com/doctrine/orm/milest… …one/168) 2.20.x bugfix release (patch) ### 2.20.1 - Total issues resolved: **0** - Total pull requests resolved: **24** - Total contributors: **14** #### Documentation - [11770: Fix docs examples for mappings overrides](#11770) thanks to @HypeMC - [11716: Add `isEmpty()` method to the Extra Lazy Associations tutorial](#11716) thanks to @acasademont - [11709: Fix `Events::onFlush` and `PostFlush()` documentation: events are always raised](#11709) thanks to @lyrixx - [11673: Update README](#11673) thanks to @greg0ire - [11667: Experiment with literalinclude](#11667) thanks to @greg0ire - [11613: Add missing generated option to documentation](#11613) thanks to @alexander-schranz #### Bug - [11768: Check hint value before considering instance read-only](#11768) thanks to @pbreteche - [11694: BUG: When changing SQLFilter parameter, resulting SQL query is not generated correctly](#11694) thanks to @dbannik - [10065: Lazy and eager collection refresh inconsistency](#10065) thanks to @goetas #### Test Suite - [11757: Order result](#11757) thanks to @greg0ire - [11676: Fix PHPUnit deprecations](#11676) thanks to @derrabus #### Static Analysis - [11756: Upgrade to PHPStan 2](#11756) thanks to @greg0ire - [11732: Raise PHPStan level to 7](#11732) thanks to @greg0ire - [11719: Ignore deprecation about StaticReflectionService](#11719) thanks to @greg0ire - [11677: Psalm 5.26.1](#11677) thanks to @derrabus CI -- - [11753: Run static analysis checks on PHP 8.4](#11753) thanks to @greg0ire - [11743: Bump doctrine/.github from 5.3.0 to 6.0.0](#11743) thanks to @dependabot[bot] - [11704: Drop Psalm](#11704) thanks to @beberlei - [11697: Run tests against PostgreSQL 17](#11697) thanks to @IndraGunawan - [11680: Bump doctrine/.github from 5.1.0 to 5.2.0](#11680) thanks to @dependabot[bot] - [11671: Bump doctrine/.github from 5.1.0 to 5.2.0](#11671) thanks to @dependabot[bot] - [11736: Avoid coverage upload for merge up pull requests](#11736) thanks to @greg0ire #### Documentation,Stale - [11556: [Docs] unitofwork.rst: php => PHP](#11556) thanks to @k00ni #### Bug,Stale - [11453: Allow classname in 'value' attribute of xml discriminator-mapping field](#11453) thanks to @MatteoFeltrin
### Release Notes for [3.3.0](https://github.com/doctrine/orm/milesto… …ne/163) Feature release (minor) ### 3.3.0 - Total issues resolved: **0** - Total pull requests resolved: **12** - Total contributors: **8** #### New Feature - [11666: Auto-detect values for EnumType columns](#11666) thanks to @derrabus - [11576: Add support for using nested DTOs](#11576) thanks to @eltharin - [11575: Allow named Arguments to be passed to Dto](#11575) thanks to @eltharin - [11528: Add `createNamedParameter` to `QueryBuilder`](#11528) thanks to @norkunas #### Improvement - [11657: Support for DBAL 4.2 EnumType in SchemaTool](#11657) thanks to @beberlei - [11560: Remove unused $pkColumns when gathering columns](#11560) thanks to @smoothie - [11557: Make CountWalker use COUNT(*) when $distinct is explicitly set to false (#11552)](#11557) thanks to @d-ph - [11365: Reintroduce PARTIAL, but only for non-object hydration.](#11365) thanks to @beberlei - [11653: [GH-8471] Undeprecate PARTIAL for objects in DQL](#11653) thanks to @beberlei #### Documentation - [11619: add nested new in EBNF documentation](#11619) thanks to @eltharin #### Static Analysis - [11579: Precise EntityRepository::count return type](#11579) thanks to @VincentLanglet #### Deprecation - [11512: Deprecate DatabaseDriver](#11512) thanks to @greg0ire
### Release Notes for [3.2.3](https://github.com/doctrine/orm/milesto… …ne/167) 3.2.x bugfix release (patch) ### 3.2.3 - Total issues resolved: **0** - Total pull requests resolved: **2** - Total contributors: **2** - [11614: Guides as dev dependency](#11614) thanks to @greg0ire #### Test Suite - [11592: Fix compatibility with DBAL 4.2](#11592) thanks to @derrabus
### Release Notes for [2.20.0](https://github.com/doctrine/orm/milest… …one/151) ### 2.20.0 - Total issues resolved: **0** - Total pull requests resolved: **13** - Total contributors: **6** #### Test Suite - [11660: test: cover all transactional methods in `EntityManagerTest::testItPreservesTheOriginalExceptionOnRollbackFailure()`](#11660) thanks to @simPod #### Improvement - [11647: [GH-8471] undeprecate partials completly](#11647) thanks to @beberlei - [11628: Prepare PHP 8.4 support: Prevent property hooks from being used](#11628) thanks to @beberlei - [11366: Undeprecate PARTIAL for array hydration.](#11366) thanks to @beberlei - [11188: Fix different first/max result values taking up query cache space ](#11188) thanks to @mpdude #### Static Analysis - [11643: Remove vendor prefix of PHPDoc referencing class-string](#11643) thanks to @derrabus - [11639: Let PHPStan detect deprecated usages](#11639) thanks to @derrabus #### Deprecation - [11641: Deprecate the `\Doctrine\ORM\Query\Parser::setCustomOutputTreeWalker()` method](#11641) thanks to @mpdude #### Documentation - [11640: Stop recommending vendor-prefixed PHPDoc](#11640) thanks to @derrabus - [11636: Add upgrade note about property hooks](#11636) thanks to @greg0ire - [11504: Fix upgrade guide for 2.20](#11504) thanks to @derrabus CI -- - [11631: Add CI job for PHP 8.4](#11631) thanks to @greg0ire #### Bug - [11621: EntityGenerator lifecycle callbacks](#11621) thanks to @timum-viw
### Release Notes for [2.19.8](https://github.com/doctrine/orm/milest… …one/166) 2.19.x bugfix release (patch) ### 2.19.8 - Total issues resolved: **0** - Total pull requests resolved: **10** - Total contributors: **5** - [11655: Submodule cleanup](#11655) thanks to @greg0ire #### Bug - [11646: Run risky code in finally block](#11646) thanks to @greg0ire - [11625: Make nullable parameters explicit in generated entities](#11625) thanks to @derrabus #### Documentation - [11644: Remove a misleading comment](#11644) thanks to @mpdude - [11618: unclosed `]` in attributes-reference.rst](#11618) thanks to @n0099 - [11615: Move orphan metadata to where it belongs](#11615) thanks to @greg0ire #### Static Analysis - [11635: PHPStan 1.12.6](#11635) thanks to @derrabus - [11585: PHPStan 1.12](#11585) thanks to @derrabus #### CI,Documentation - [11627: Replace custom directives with native option](#11627) thanks to @greg0ire CI -- - [11616: Bump doctrine/.github from 5.0.1 to 5.1.0](#11616) thanks to @dependabot[bot]
PreviousNext