Tags: Greg0/doctrine-orm
Tags
### Release Notes for [2.15.3](https://github.com/doctrine/orm/milest… …one/129) 2.15.x bugfix release (patch) ### 2.15.3 - Total issues resolved: **0** - Total pull requests resolved: **11** - Total contributors: **8** #### Test Suite - [10780: Avoid partial](doctrine#10780) thanks to @greg0ire #### Documentation - [10776: Fix missing setFilterSchemaAssetsExpression in phpdoc](doctrine#10776) thanks to @dmitryuk - [10774: Document how to produce DTOs with a result set mapping](doctrine#10774) thanks to @greg0ire #### Static Analysis - [10771: PHPStan 1.10.18, Psalm 5.12.0](doctrine#10771) thanks to @derrabus - [10740: Remove useless ignore rule](doctrine#10740) thanks to @greg0ire - [10763: Defer removing removed entities from to-many collections until after transaction commit](doctrine#10763) thanks to @mpdude #### Bug - [10762: Don't call canEmulateSchemas in SchemaTool when possible](doctrine#10762) thanks to @nicolas-grekas - [10759: Don't call deprecated getSQLResultCasing and usesSequenceEmulatedIdentityColumns when we know the platform](doctrine#10759) thanks to @nicolas-grekas - [10758: revert: transform backed enum to value](doctrine#10758) thanks to @Gwemox - [10747: fix: OneToManyPersister does not take custom identifier types into account for orphan removal](doctrine#10747) thanks to @wtfzdotnet - [10645: Restore document proxy state to uninitialized on load exception](doctrine#10645) thanks to @notrix
### Release Notes for [2.15.2](https://github.com/doctrine/orm/milest… …one/128) 2.15.x bugfix release (patch) ### 2.15.2 - Total issues resolved: **0** - Total pull requests resolved: **8** - Total contributors: **8** #### Improvement - [10737: Fix deprecations from doctrine/lexer](doctrine#10737) thanks to @nicolas-grekas #### Documentation - [10734: Document pdo&doctrine#95;sqlite requirement for tests](doctrine#10734) thanks to @greg0ire - [10708: Correct docs link](doctrine#10708) thanks to @mbabker - [10686: Documentation typo](doctrine#10686) thanks to @edent #### Bug - [10666: Create `ReflectionReadonlyProperty` from their declaring class so their value can be set](doctrine#10666) thanks to @MatTheCat - [10643: Fix single table inheritance with intermediate abstract class(es)](doctrine#10643) thanks to @htto - [10508: Fix id hash of entity with enum as identifier](doctrine#10508) thanks to @Gwemox - [10486: Fix to-many collections left in dirty state after entities are removed by the UoW](doctrine#10486) thanks to @mpdude
### Release Notes for [2.15.1](https://github.com/doctrine/orm/milest… …one/127) ### 2.15.1 - Total issues resolved: **0** - Total pull requests resolved: **6** - Total contributors: **4** #### Bug - [10684: Support unserializing 2.14 ParserResult instances](doctrine#10684) thanks to @derrabus - [10671: Fix attribute ManyToMany mapping](doctrine#10671) thanks to @BoShurik #### Static Analysis - [10679: Upgrade to Psalm 5.11.0](doctrine#10679) thanks to @greg0ire - [10677: Upgrade to Psalm 5.10.0](doctrine#10677) thanks to @greg0ire #### Documentation - [10674: Bump version numbers in the README](doctrine#10674) thanks to @greg0ire - [10668: Added doc for the fields parameter of the UniqueConstraint attribute](doctrine#10668) thanks to @stollr
### Release Notes for [2.15.0](https://github.com/doctrine/orm/milest… …one/121) Feature release (minor) ### 2.15.0 - Total issues resolved: **1** - Total pull requests resolved: **30** - Total contributors: **8** #### Deprecation - [10654: Deprecate usage of `@JoinColumn` on the inverse side of one-to-one associations](doctrine#10654) thanks to @mpdude - [10519: Deprecate overriding associations not inherited from a mapped superclass](doctrine#10519) thanks to @mpdude - [10470: Deprecate overriding fields/associations inherited from other entities](doctrine#10470) thanks to @mpdude - [10423: Add deprecations for "table per class" inheritance](doctrine#10423) thanks to @mpdude #### Static Analysis - [10602: Remove duplicate array shape](doctrine#10602) thanks to @greg0ire - [10478: Move psalm types to ClassMetadata](doctrine#10478) thanks to @greg0ire - [10442: Add embedded class mapping array shape](doctrine#10442) thanks to @greg0ire - [10430: Use FieldMapping array shape even more](doctrine#10430) thanks to @greg0ire - [10408: Field mapping improvements](doctrine#10408) thanks to @greg0ire - [10403: Reuse association mapping array shape](doctrine#10403) thanks to @greg0ire - [10381: Use more precise types for class strings](doctrine#10381) thanks to @greg0ire - [10372: Use the same type as in the DBAL ](doctrine#10372) thanks to @greg0ire - [10365: Address new behavior of $firstResult](doctrine#10365) thanks to @greg0ire - [10156: Identity map cannot contains null value](doctrine#10156) thanks to @PowerKiKi #### Improvement - [10601: Support options like charset and collation on DiscriminatedColumn](doctrine#10601) thanks to @JanTvrdik - [10599: fix(persistent-collection): check association is not nullable before using it as an array](doctrine#10599) thanks to @amina-seraoui - [10473: Allow to-many associations on mapped superclasses w/ ResolveTargetEntityListener](doctrine#10473) thanks to @mpdude - [10397: Factor out logic that tracks mapping inheritance](doctrine#10397) thanks to @mpdude - [10351: Allow `doctrine/instantiator` 2](doctrine#10351) thanks to @derrabus #### Test Suite - [10569: Address deprecation of fetchAll()](doctrine#10569) thanks to @greg0ire - [10545: Make data providers static](doctrine#10545) thanks to @derrabus - [10464: Fix some tests that were missed in doctrine#10431](doctrine#10464) thanks to @mpdude - [10406: Test with a stable PHPUnit](doctrine#10406) thanks to @derrabus #### Bug - [10554: Make "targetEntity must not be a mapped superclass" a lazy check](doctrine#10554) thanks to @mpdude and @alexander-schranz - [10513: Use array shapes where appropriate](doctrine#10513) thanks to @greg0ire #### Code Style - [10477: Remove underscore prefix on private variables](doctrine#10477) thanks to @greg0ire - [10465: Remove commented-out code sections](doctrine#10465) thanks to @mpdude #### Documentation - [10428: Fix version number in UPGRADE.md](doctrine#10428) thanks to @mpdude - [10426: Slight docblock improvements for `CM::parentClasses`](doctrine#10426) thanks to @mpdude #### New Feature - [10234: Support `NOT` expression](doctrine#10234) thanks to @remi-san
### Release Notes for [2.14.3](https://github.com/doctrine/orm/milest… …one/123) ### 2.14.3 - Total issues resolved: **0** - Total pull requests resolved: **5** - Total contributors: **5** #### Documentation - [10642: fix syntax array association on partial index documentation](doctrine#10642) thanks to @yobrx - [10620: fix typo in HydrationCompleteHandler doc](doctrine#10620) thanks to @ecourtial #### Test Suite - [10632: Run tests on SQLite with foreign keys enabled](doctrine#10632) thanks to @derrabus #### Bug - [10630: Fixed xsd schema for support FQCN type](doctrine#10630) thanks to @tmihalicka - [10587: Handle null comparisons in `ManyToManyPersister`](doctrine#10587) thanks to @MatTheCat
### Release Notes for [2.14.2](https://github.com/doctrine/orm/milest… …one/122) 2.14.x bugfix release (patch) ### 2.14.2 - Total issues resolved: **0** - Total pull requests resolved: **42** - Total contributors: **14** #### Static Analysis - [10604: Upgrade to Psalm 5.9.0](doctrine#10604) thanks to @greg0ire - [10575: PHPStan 1.10.6, Psalm 5.8.0](doctrine#10575) thanks to @derrabus - [10540: Mark SqlWalker methods as not deprecated](doctrine#10540) thanks to @stof - [10507: Baseline Psalm errors for DBAL 3.6](doctrine#10507) thanks to @derrabus - [10490: Fix invalid phpdocs missing null](doctrine#10490) thanks to @janedbal - [10476: Hunt down invalid doc blocks](doctrine#10476) thanks to @greg0ire - [10468: Psalm 5.6.0, PHPStan 1.9.14](doctrine#10468) thanks to @derrabus - [10445: Psalm 5.5.0](doctrine#10445) thanks to @derrabus - [10418: Use correct type for FieldMapping#unique](doctrine#10418) thanks to @greg0ire - [10415: Remove ignore rules for fixed issues](doctrine#10415) thanks to @greg0ire #### Documentation - [10589: Added missing ';'](doctrine#10589) thanks to @e2palmes - [10583: docs: Remove incorrect @SequenceGenerator info](doctrine#10583) thanks to @Mika56 - [10539: More precisely document the performance impact of to-one associations towards inheritance hierarchies](doctrine#10539) thanks to @mpdude - [10534: &doctrine#91;Documentation&doctrine#93; consistency order for docblock in association mapping](doctrine#10534) thanks to @MrYamous - [10529: Correct use of PHP attribute](doctrine#10529) thanks to @joshpme - [10526: fix typo in faq.rst](doctrine#10526) thanks to @alzee - [10429: Review the documentation regarding entity inheritance](doctrine#10429) thanks to @mpdude - [10133: Clarify difference between transactional() methods of Connection and EntityManager](doctrine#10133) thanks to @sbusch #### Bug - [10579: add `$isXsdValidationEnabled` to SimplifiedXmlDriver constructor](doctrine#10579) thanks to @dmaicher - [10516: fix: use executeStatement in SchemaTool](doctrine#10516) thanks to @simPod - [10489: Fix forgotten exception throws](doctrine#10489) thanks to @janedbal - [10443: Replace hardcoded name with `Command::getName()` in output message from `UpdateCommand`](doctrine#10443) thanks to @phansys - [10434: Avoid wasting Opcache memory with Paginator queries](doctrine#10434) thanks to @mpdude - [10420: Fix doctrine#9095 by re-applying doctrine#9096](doctrine#10420) thanks to @mpdude - [8797: Avoid unnecessary information in query hints to improve query cache hit ratio](doctrine#8797) thanks to @mpdude - [8415: Fix association handling when there is a MappedSuperclass in the middle of an inheritance hierarchy](doctrine#8415) thanks to @mpdude CI -- - [10563: Skip test instead of commenting it out](doctrine#10563) thanks to @greg0ire - [10480: Run tests with ext-pgsql](doctrine#10480) thanks to @derrabus #### Test Suite - [10560: Skip test instead of commenting it out](doctrine#10560) thanks to @derrabus - [10546: Ignore the cache dir of PHPUnit 10](doctrine#10546) thanks to @derrabus - [10544: Make data providers static](doctrine#10544) thanks to @derrabus - [10502: Remove calls to `assertObjectHasAttribute()`](doctrine#10502) thanks to @derrabus - [10501: Remove calls to `withConsecutive()`](doctrine#10501) thanks to @derrabus - [10498: Use recognized array key](doctrine#10498) thanks to @greg0ire - [10493: Make all data providers static](doctrine#10493) thanks to @derrabus - [10453: Add regression test for a to-many relationship on a base class & mapped superclass in the hierarchy](doctrine#10453) thanks to @mpdude - [10441: Use the right property](doctrine#10441) thanks to @greg0ire - [10433: Make sure tests from doctrine#7837 are actually run](doctrine#10433) thanks to @mpdude - [10424: Fixup GH8127 test case](doctrine#10424) thanks to @mpdude #### Code Style,Static Analysis - [10541: Bump dev tools](doctrine#10541) thanks to @derrabus #### Improvement - [10444: Make Paginator-internal query cacheable in the query cache](doctrine#10444) thanks to @mpdude - [10411: Fill in missing subclasses when loading ClassMetadata](doctrine#10411) thanks to @mpdude
### Release Notes for [2.14.1](https://github.com/doctrine/orm/milest… …one/120) 2.14.x bugfix release (patch) ### 2.14.1 - Total issues resolved: **0** - Total pull requests resolved: **23** - Total contributors: **10** #### Documentation - [10412: Adding link to Attributes reference](doctrine#10412) thanks to @ThomasLandauer - [10399: Fix DDL example for Mapped Superclasses](doctrine#10399) thanks to @mpdude - [10396: Document the meanings of 'inherited' and 'declared' in field mapping information](doctrine#10396) thanks to @mpdude - [10394: Write down what "transient" means](doctrine#10394) thanks to @mpdude - [10393: Place a warning about the uses of traits in the documentation](doctrine#10393) thanks to @mpdude - [10377: fix typo for missing a comma](doctrine#10377) thanks to @fauVictor - [10368: Docs: Removing `type: 'integer'` from mappings](doctrine#10368) thanks to @ThomasLandauer - [10364: Docs: Moving *attributes* mapping to first position](doctrine#10364) thanks to @ThomasLandauer - [10363: Docs: Deleting duplicate mapping example](doctrine#10363) thanks to @ThomasLandauer - [10357: Shorter deprecation message](doctrine#10357) thanks to @derrabus - [10327: Improve and fix TypedFieldMapper docs](doctrine#10327) thanks to @michnovka - [10276: Added warning about query cache in relation to parameters](doctrine#10276) thanks to @antman3351 CI -- - [10404: Stop allowing phpbench's master branch](doctrine#10404) thanks to @greg0ire - [10328: Require dev version of phpbench](doctrine#10328) thanks to @greg0ire #### Improvement - [10395: Sync variable name with class name](doctrine#10395) thanks to @greg0ire - [10342: Add Fully-Qualified class name in UnrecognizedField exception](doctrine#10342) thanks to @Kern046 #### Static Analysis - [10390: Use more accurate phpdoc for OptimisticLockException](doctrine#10390) thanks to @greg0ire - [10382: PHPStan 1.9.8, Psalm 5.4.0](doctrine#10382) thanks to @derrabus - [10359: PHPStan 1.9.5](doctrine#10359) thanks to @derrabus - [10343: Fix Psalm errors with Collection 2.1.2](doctrine#10343) thanks to @derrabus - [10385: Fix initializing lazy objects and get rid of "Typed property must not be accessed before initialization" errors](doctrine#10385) thanks to @nicolas-grekas #### Bug - [10355: Include parameter types in hydration cache key generation](doctrine#10355) thanks to @derrabus - [10088: Ensure consistent original data with enums](doctrine#10088) thanks to @HypeMC
### Release Notes for [2.14.0](https://github.com/doctrine/orm/milest… …one/115) ### 2.14.0 - Total issues resolved: **0** - Total pull requests resolved: **43** - Total contributors: **10** #### Improvement - [10321: Drop forceful loading of annotations](doctrine#10321) thanks to @greg0ire - [10320: Support doctrine/annotations 2](doctrine#10320) thanks to @derrabus - [10301: Allow lexer 2](doctrine#10301) thanks to @greg0ire - [10233: update help for RunDqlCommand](doctrine#10233) thanks to @dmaicher - [10206: Use a more accurate name for $annotationName](doctrine#10206) thanks to @greg0ire - [10123: Allow doctrine/event-manager 2](doctrine#10123) thanks to @derrabus - [10122: Automap events in AttachEntityListenersListener](doctrine#10122) thanks to @HypeMC - [10070: Add support for doctrine/collection 2](doctrine#10070) thanks to @greg0ire #### Static Analysis - [10315: Document stdClass structures used by `CommitOrderCalculator`](doctrine#10315) thanks to @derrabus - [10242: Solve some PHPStan baseline errors](doctrine#10242) thanks to @VincentLanglet - [10238: Use more precise phpdoc](doctrine#10238) thanks to @VincentLanglet - [10231: Make the code easier to statically analyse](doctrine#10231) thanks to @greg0ire - [10224: Document property as non-nullable](doctrine#10224) thanks to @greg0ire - [10218: Ignore PropertyNotSetInConstructor](doctrine#10218) thanks to @greg0ire - [10202: Allow "Expr\Func" as condition in join in PHPDoc](doctrine#10202) thanks to @willemverspyck - [10199: refactor: use list type in SchemaTool](doctrine#10199) thanks to @simPod - [10145: Fix type doc blocks in annotation classes](doctrine#10145) thanks to @derrabus - [10089: Document properties as possibly null](doctrine#10089) thanks to @greg0ire - [10002: Make paginator covariant](doctrine#10002) thanks to @VincentLanglet #### New Feature - [10313: Add TypedFieldMapper for automatic mapping of typed PHP fields to DBAL types](doctrine#10313) thanks to @michnovka - [10288: Allow enum discriminator columns](doctrine#10288) thanks to @michnovka - [10187: Leverage LazyGhostTrait when possible](doctrine#10187) thanks to @nicolas-grekas - [10040: Add lockMode to EntityManager#refresh()](doctrine#10040) thanks to @michnovka - [10302: Add assertions about non nullability](doctrine#10302) thanks to @greg0ire - [10256: Make use statements redundant](doctrine#10256) thanks to @greg0ire - [10162: Use error style for notifications](doctrine#10162) thanks to @greg0ire - [10153: Address dbal deprecations](doctrine#10153) thanks to @greg0ire - [10121: Address deprecation of Table::changeColumn()](doctrine#10121) thanks to @greg0ire - [10116: Address deprecations from DBAL](doctrine#10116) thanks to @greg0ire - [10105: Backport DBAL-related fixes](doctrine#10105) thanks to @greg0ire #### Test Suite - [10282: Control proxy implementation via env](doctrine#10282) thanks to @derrabus - [10197: Backport `NonProxyLoadingEntityManager::refresh()` signature change](doctrine#10197) thanks to @michnovka #### Deprecation,Static Analysis - [10267: Add `$not` constructor parameter to AST classes](doctrine#10267) thanks to @derrabus #### Deprecation - [10212: Add a constructor to `CacheKey`](doctrine#10212) thanks to @derrabus - [10204: Rename internal methods](doctrine#10204) thanks to @greg0ire - [10178: Deprecate the `Annotation` interface](doctrine#10178) thanks to @derrabus - [10098: Deprecate annotation driver](doctrine#10098) thanks to @greg0ire - [10086: Create dedicated event argument classes](doctrine#10086) thanks to @franmomu - [10045: Deprecate `Doctrine\ORM\Proxy\Proxy` and decouple a bit more from `Doctrine\Common\Proxy`](doctrine#10045) thanks to @nicolas-grekas - [9961: Deprecate `EntityManager::create()`](doctrine#9961) thanks to @derrabus #### Documentation,Improvement - [10205: Avoid references to annotations](doctrine#10205) thanks to @greg0ire #### Bug - [10165: Fix calls to `AbstractSchemaManager::createSchema()`](doctrine#10165) thanks to @derrabus #### Deprecation,Documentation - [10161: Make the mapping driver deprecations more obvious](doctrine#10161) thanks to @greg0ire
### Release Notes for [2.13.5](https://github.com/doctrine/orm/milest… …one/119) ### 2.13.5 - Total issues resolved: **0** - Total pull requests resolved: **17** - Total contributors: **5** #### Static Analysis - [10318: PHPStan 1.9.4](doctrine#10318) thanks to @derrabus - [10317: Psalm 5.3.0](doctrine#10317) thanks to @derrabus - [10298: PHPStan 1.9.3](doctrine#10298) thanks to @derrabus - [10291: Psalm 5.2.0](doctrine#10291) thanks to @derrabus - [10257: Leverage Lexer's Token type (follow up)](doctrine#10257) thanks to @greg0ire - [10248: Psalm 5 fixes](doctrine#10248) thanks to @greg0ire - [10247: Fix types for Paginator](doctrine#10247) thanks to @derrabus #### Bug - [10311: add apcu enabled check if apcu extension loaded (doctrine#10310)](doctrine#10311) thanks to @aleksejs1 - [10277: Fix changeset computation for enum arrays](doctrine#10277) thanks to @michnovka - [10274: Fix enum IDs in association mappings](doctrine#10274) thanks to @michnovka #### Code Style - [10295: Bump coding standard to v11](doctrine#10295) thanks to @derrabus #### Test Suite - [10294: Rename `AbstractCommandTest`](doctrine#10294) thanks to @derrabus CI -- - [10287: Run tools on PHP 8.2](doctrine#10287) thanks to @derrabus #### Documentation - [10271: Correct spelling errors](doctrine#10271) thanks to @kalifg - [10264: Upgrade to Psalm 5.1.0](doctrine#10264) thanks to @greg0ire - [10252: Upgrade to Psalm v5](doctrine#10252) thanks to @greg0ire #### Static Analysis,Test Suite - [10261: Bump Psalm to 5.0.0 and fix errors for Symfony 6.2](doctrine#10261) thanks to @derrabus
### Release Notes for [2.13.4](https://github.com/doctrine/orm/milest… …one/118) ### 2.13.4 - Total issues resolved: **0** - Total pull requests resolved: **23** - Total contributors: **8** #### Test Suite - [10239: Adjust expectation](doctrine#10239) thanks to @greg0ire - [10229: Widen parameter type](doctrine#10229) thanks to @greg0ire #### Static Analysis - [10221: Reverse-engineer actual type from code](doctrine#10221) thanks to @greg0ire - [10213: Psalm 4.30.0, PHPStan 1.9.2](doctrine#10213) thanks to @derrabus - [10200: PHPStan 1.9.0](doctrine#10200) thanks to @derrabus - [10182: PHPStan 1.8.11](doctrine#10182) thanks to @derrabus - [10163: Fix build with DBAL 3.5](doctrine#10163) thanks to @derrabus - [10144: Fix FieldMapping for generated key](doctrine#10144) thanks to @ondrejmirtes - [10128: Psalm 4.29](doctrine#10128) thanks to @derrabus - [10115: PHPStan 1.8.8, Psalm 4.28.0](doctrine#10115) thanks to @derrabus CI -- - [10180: Bump CI to PHP 8.2 and latest database versions](doctrine#10180) thanks to @derrabus - [10136: Stop triggering static analysis workflows on tests](doctrine#10136) thanks to @greg0ire #### Documentation - [10179: Remove reference to deprecated DriverChain from docs](doctrine#10179) thanks to @derrabus - [10176: Migrate more references to annotations](doctrine#10176) thanks to @greg0ire - [10174: Adapt use statements to the code](doctrine#10174) thanks to @greg0ire - [10160: Adjust comments](doctrine#10160) thanks to @greg0ire - [10157: Migrate more documentation towards attributes](doctrine#10157) thanks to @greg0ire - [10126: Modernize documentation code](doctrine#10126) thanks to @greg0ire - [10120: Fix grammer in working-with-objects](doctrine#10120) thanks to @jonnyeom - [10104: Add isMemberOf and isInstanceOf to Expr helper list](doctrine#10104) thanks to @ker0x #### Improvement - [10154: Do not export phpstan stuff](doctrine#10154) thanks to @simPod #### Bug - [10110: Fix deprecated trigger help comment](doctrine#10110) thanks to @davidromani - [10074: Fix change set computation with enums](doctrine#10074) thanks to @HypeMC
PreviousNext