Tags give the ability to mark specific points in history as being important
  • 2.9.3
    ### Release Notes for [2.9.3](https://github.com/doctrine/orm/milestone/94)
    
    2.9.x bugfix release (patch)
    
    ### 2.9.3
    
    - Total issues resolved: **2**
    - Total pull requests resolved: **5**
    - Total contributors: **5**
    
     - [8758: Restore bc for annotations](https://github.com/doctrine/orm/pull/8758) thanks to @greg0ire
     - [8756: fix: handle repeatable attributes](https://github.com/doctrine/orm/pull/8756) thanks to @ph-fritsche
     - [8753: Edge-case regression with 2.9.x](https://github.com/doctrine/orm/issues/8753) thanks to @albe
     - [8742: Add ReturnTypeWillChange to ReflectionEmbeddedProperty](https://github.com/doctrine/orm/pull/8742) thanks to @derrabus
     - [8734: Fix metadata constructor inference by phpstan](https://github.com/doctrine/orm/pull/8734) thanks to @VincentLanglet
    
    #### Bug
    
     - [8740: Make ClassMetadata covariant](https://github.com/doctrine/orm/pull/8740) thanks to @VincentLanglet
    
  • 2.9.2
    ### Release Notes for [2.9.2](https://github.com/doctrine/orm/milestone/93)
    
    ### 2.9.2
    
    - Total issues resolved: **1**
    - Total pull requests resolved: **5**
    - Total contributors: **6**
    
     - [8732: [GH-8723] Remove use of nullability to automatically detect nullable status](https://github.com/doctrine/orm/pull/8732) thanks to @beberlei and @jmsche
     - [8724: Add automatic type detection for Embedded.](https://github.com/doctrine/orm/pull/8724) thanks to @Warxcell
     - [8708: Fix ClassMetadaInfo template inference](https://github.com/doctrine/orm/pull/8708) thanks to @VincentLanglet
    
    #### Bug
    
     - [8722: Fix metadata cache compatibility layer](https://github.com/doctrine/orm/pull/8722) thanks to @alcaeus
     - [8710: Handle generic parameters in UnitOfWork](https://github.com/doctrine/orm/pull/8710) thanks to @franmomu
    
  • 2.9.1
    ### Release Notes for [2.9.1](https://github.com/doctrine/orm/milestone/92)
    
    ### 2.9.1
    
    - Total issues resolved: **1**
    - Total pull requests resolved: **1**
    - Total contributors: **2**
    
     - [8713: Stop using Webmozart to fix error in Query/Parser](https://github.com/doctrine/orm/pull/8713) thanks to @peter-gribanov
     - [8711:  Attempted to load class "Assert"](https://github.com/doctrine/orm/issues/8711) thanks to @ben29
    
  • 2.9.0
    ### Release Notes for [2.9.0](https://github.com/doctrine/orm/milestone/84)
    
    Feature release (minor)
    
    ### 2.9.0
    
    - Total issues resolved: **18**
    - Total pull requests resolved: **30**
    - Total contributors: **18**
    
    CI
    --
    
     - [8691: Check for use of deprecated API with Psalm](https://github.com/doctrine/orm/pull/8691) thanks to @alcaeus
    
     - [8678: [Gh-8589] A new approach to non-nullable typed associations for BC](https://github.com/doctrine/orm/pull/8678) thanks to @beberlei
     - [8677: [GH-8676] Allow nested annotations to work without parents as attributes](https://github.com/doctrine/orm/pull/8677) thanks to @beberlei and @Nemo64
     - [8671: Reflect that default EntityManager is not always named `default`](https://github.com/doctrine/orm/pull/8671) thanks to @simPod
     - [8646: [GH-8327] Make EntityManagerProvider compatible with expected DoctrineBundle usage](https://github.com/doctrine/orm/pull/8646) thanks to @beberlei and @PowerKiKi
     - [8642: How to create schema using Schema tool in v2.9.x?](https://github.com/doctrine/orm/issues/8642) thanks to @simPod
     - [8629: Fields for unique constraints](https://github.com/doctrine/orm/pull/8629) thanks to @beberlei and @alexander-schranz
     - [8613: Reintroduce PHP 7.1 support](https://github.com/doctrine/orm/pull/8613) thanks to @beberlei
     - [8589: Fix typed properties for default metadata (#7939)](https://github.com/doctrine/orm/pull/8589) thanks to @Lustmored and @beberlei
     - [8553: Bump doctrine/deprecations to at least v0.5.3](https://github.com/doctrine/orm/pull/8553) thanks to @beberlei
     - [8517: [GH-8458] Properly deprecate ConvertDoctrine1Schema](https://github.com/doctrine/orm/pull/8517) thanks to @beberlei
     - [8472: [GH-8471] Deprecate Partial DQL syntax and forcing partial loads.](https://github.com/doctrine/orm/pull/8472) thanks to @beberlei
     - [8466: Introduce doctrine/deprecations](https://github.com/doctrine/orm/pull/8466) thanks to @beberlei
     - [8439: Use typed properties for default metadata for #7939](https://github.com/doctrine/orm/pull/8439) thanks to @Lustmored and @beberlei
     - [8438: DDC-2076 Remove useless join over target table of ManyToMany relationship](https://github.com/doctrine/orm/pull/8438) thanks to @plfort
     - [8417: Restrict EntityManagerInterface::getRepository](https://github.com/doctrine/orm/pull/8417) thanks to @VincentLanglet
     - [8382: [GH-6396] Allow custom hydrators access to meta columns](https://github.com/doctrine/orm/pull/8382) thanks to @beberlei
     - [8378: [GH-6578] Add validation that inherited entity class is mapped in discriminator.](https://github.com/doctrine/orm/pull/8378) thanks to @beberlei
     - [8377: Add Doctrine\ORM\Query\Expr::mod()](https://github.com/doctrine/orm/pull/8377) thanks to @beberlei and @holtkamp
     - [8375: Support for Array parameters in SQL filters](https://github.com/doctrine/orm/pull/8375) thanks to @beberlei and @doctrinebot
     - [8357: Add psalm annotation to ArrayCollection of Parameters](https://github.com/doctrine/orm/pull/8357) thanks to @snapshotpl
     - [8266: [GH-8265] Prototype for Attribute Metadata Driver](https://github.com/doctrine/orm/pull/8266) thanks to @beberlei
     - [7936: [GH-5202] Implement Query::HINT_READ_ONLY flag](https://github.com/doctrine/orm/pull/7936) thanks to @beberlei and @doctrinebot
     - [7918: Add support for INDEX BY an associated entity (2.8.x)](https://github.com/doctrine/orm/pull/7918) thanks to @andrews05 and @crtl
    
    #### Improvement
    
     - [8672: Allow installing doctrine/cache 2.0](https://github.com/doctrine/orm/pull/8672) thanks to @alcaeus
     - [8548: Adding details to types in PHPDoc](https://github.com/doctrine/orm/pull/8548) thanks to @orklah
     - [8544: Add type declarations where backwards-compatible](https://github.com/doctrine/orm/pull/8544) thanks to @greg0ire
     - [8380: [GH-7128] Improve OneToManyRequiresMappedBy Exception message](https://github.com/doctrine/orm/pull/8380) thanks to @beberlei and @jakumi
    
    #### Deprecation,New Feature
    
     - [8651: Introduce PSR-6 for metadata caching](https://github.com/doctrine/orm/pull/8651) thanks to @alcaeus
    
    #### Deprecation
    
     - [8592: Deprecated Named Native and DQL Queries](https://github.com/doctrine/orm/issues/8592) thanks to @beberlei
     - [8524: [GH-8327] Deprecate EntityManagerHelper for a provider abstraction.](https://github.com/doctrine/orm/pull/8524) thanks to @beberlei and @PowerKiKi
     - [8383: Deprecated notify change tracking policy](https://github.com/doctrine/orm/issues/8383) thanks to @beberlei
     - [8381: [GH-6855] Prevent unsupported lifecycle callback mapping on embedded classes.](https://github.com/doctrine/orm/pull/8381) thanks to @beberlei
    
    #### New Feature,Question
    
     - [7762: Psalm support](https://github.com/doctrine/orm/issues/7762) thanks to @zerkms
    
  • 2.8.5
    ### Release Notes for [2.8.5](https://github.com/doctrine/orm/milestone/91)
    
    2.8.x bugfix release (patch)
    
    ### 2.8.5
    
    - Total issues resolved: **0**
    - Total pull requests resolved: **15**
    - Total contributors: **9**
    
    CI
    --
    
     - [8701: Allow Symfony 6.0](https://github.com/doctrine/orm/pull/8701) thanks to @jderusse
    
    #### Bug
    
     - [8700: Fix undefined index](https://github.com/doctrine/orm/pull/8700) thanks to @deguif
     - [8604: Fix psalm param typehint for OneToManyAssociationBuilder::setOrderBy method](https://github.com/doctrine/orm/pull/8604) thanks to @janatjak
     - [8566: SimpleObjectHydrator: skip unsuit custom type before convert it](https://github.com/doctrine/orm/pull/8566) thanks to @tweet9ra
    
     - [8699: Fix some static analysis issues](https://github.com/doctrine/orm/pull/8699) thanks to @greg0ire
     - [8698: Fix cache deprecation](https://github.com/doctrine/orm/pull/8698) thanks to @deguif
     - [8649: ConvertDoctrine1Schema: Fix Doctrine 1 `notnull` field import](https://github.com/doctrine/orm/pull/8649) thanks to @aweelex
     - [8644: Describe return types more accurately](https://github.com/doctrine/orm/pull/8644) thanks to @greg0ire
     - [8600: Remove internal tag from computeChangeSet](https://github.com/doctrine/orm/pull/8600) thanks to @VincentLanglet
     - [8594: Ensure test is suffixed with Test](https://github.com/doctrine/orm/pull/8594) thanks to @greg0ire
    
    #### Improvement
    
     - [8636: Update ignore rules to reflect current situation](https://github.com/doctrine/orm/pull/8636) thanks to @greg0ire
     - [8634: upgrade static tools](https://github.com/doctrine/orm/pull/8634) thanks to @orklah
     - [8627: Add baseline files for static analyzers](https://github.com/doctrine/orm/pull/8627) thanks to @greg0ire
     - [8617: Upgrade to doctrine/coding-standard 9](https://github.com/doctrine/orm/pull/8617) thanks to @greg0ire
     - [8552: Fix remaining warnings from the phpunit9 upgrade](https://github.com/doctrine/orm/pull/8552) thanks to @acoulton
    
  • 2.8.4
    ### Release Notes for [2.8.4](https://github.com/doctrine/orm/milestone/90)
    
    2.8.x bugfix release (patch)
    
    ### 2.8.4
    
    - Total issues resolved: **1**
    - Total pull requests resolved: **3**
    - Total contributors: **4**
    
    #### BC Break,Bug
    
     - [8595: Statement in Where-Clause are not wrapped in brackets anymore](https://github.com/doctrine/orm/issues/8595) thanks to @LinkingYou
    
    #### Regression
    
     - [8591: Return case insensitive check](https://github.com/doctrine/orm/pull/8591) thanks to @DmitriiBezborodnikov
    
    #### Bug
    
     - [8590: Fix phpdoc of ClassMetadataInfo::getIdentifierValues](https://github.com/doctrine/orm/pull/8590) thanks to @VincentLanglet
     - [8586: Additional psalm param typehint for orderBy argument in findBy method](https://github.com/doctrine/orm/pull/8586) thanks to @KartaviK
    
  • 2.8.3
    ### Release Notes for [2.8.3](https://github.com/doctrine/orm/milestone/88)
    
    2.8.x bugfix release (patch)
    
    ### 2.8.3
    
    - Total issues resolved: **4**
    - Total pull requests resolved: **10**
    - Total contributors: **12**
    
     - [8575: Exception when calling toIterable without parameters](https://github.com/doctrine/orm/issues/8575) thanks to @flack
     - [8533: Add test coverage for passing optimistic lock version as string](https://github.com/doctrine/orm/pull/8533) thanks to @acoulton
     - [8507: Address move away from master](https://github.com/doctrine/orm/pull/8507) thanks to @greg0ire
     - [8384: [GH-6394] Bugfix: IdentifierFlattener support for association non-object values.](https://github.com/doctrine/orm/pull/8384) thanks to @beberlei and @tobiasstadler
    
    #### Bug
    
     - [8564: Adding DIR to include statement to fix issue with pathing](https://github.com/doctrine/orm/pull/8564) thanks to @cybercitizen7
     - [8508: Proposed fix for #8499](https://github.com/doctrine/orm/pull/8508) thanks to @diego-ninja
     - [8495: Fix bug when using Result Cache with Query::toIterable](https://github.com/doctrine/orm/pull/8495) thanks to @Warxcell
     - [8493: Relax assertion](https://github.com/doctrine/orm/pull/8493) thanks to @greg0ire and @martinolmr
     - [8483: Fix single scalar hydrator memory leak on exception](https://github.com/doctrine/orm/pull/8483) thanks to @olsavmic
     - [8453: Fixes parenthesis when \n is involved](https://github.com/doctrine/orm/pull/8453) thanks to @Warxcell
    
    #### BC Break,Bug
    
     - [8503: Incompatibility between `getArrayResult()` new type hint and use of `indexBy()`](https://github.com/doctrine/orm/issues/8503) thanks to @benjamintoussaint
    
    #### Improvement,Missing Tests
    
     - [7315: Fix memory leak in AbstractHydrator](https://github.com/doctrine/orm/pull/7315) thanks to @zlikavac32
    
  • 2.8.2
    ### Release Notes for [2.8.2](https://github.com/doctrine/orm/milestone/86)
    
    ### 2.8.2
    
    - Total issues resolved: **4**
    - Total pull requests resolved: **10**
    - Total contributors: **11**
    
     - [8467: [GH-8410] Fix memory leak in new toIterable and state bug.](https://github.com/doctrine/orm/pull/8467) thanks to @beberlei and @simonberger
     - [8448: Relax contract of EntityListenerResolver so it doesn't require class name](https://github.com/doctrine/orm/pull/8448) thanks to @ostrolucky
     - [8426: Fix --complete flag in orm:ensure-production-settings command](https://github.com/doctrine/orm/pull/8426) thanks to @alexander-schranz
     - [8412: fixed memory leak while iterating results](https://github.com/doctrine/orm/pull/8412) thanks to @stlrnz
     - [8392: [GH-8231] Bugfix: Missed dirty check synchronization check.](https://github.com/doctrine/orm/pull/8392) thanks to @beberlei and @skurfuerst
    
    #### Documentation
    
     - [8420: Set 2.8 as current supported version](https://github.com/doctrine/orm/pull/8420) thanks to @SenseException
    
    #### Bug
    
     - [8401: Identifier type is not set when many2many relations are deleted](https://github.com/doctrine/orm/pull/8401) thanks to @yoshz
     - [8376: [GH-7486] Bugfix: failing when clearing empty cache is wrong semantics](https://github.com/doctrine/orm/pull/8376) thanks to @beberlei
     - [8374: Fix invalid psalm annotation](https://github.com/doctrine/orm/pull/8374) thanks to @micheh
     - [8328: Infer `datetime_immutable` DBAL type for `\DateTimeImmutable` instance parameters](https://github.com/doctrine/orm/pull/8328) thanks to @vhenzl
    
  • 2.8.1
    ### Release Notes for [2.8.1](https://github.com/doctrine/orm/milestone/83)
    
    ### 2.8.1
    
    - Total issues resolved: **4**
    - Total pull requests resolved: **2**
    - Total contributors: **5**
    
     - [8371: Fix ambiguous case where an entity is also a Traversable](https://github.com/doctrine/orm/pull/8371) thanks to @beberlei
     - [8370: [GH-8366] Catch additional Persistence MappingException](https://github.com/doctrine/orm/pull/8370) thanks to @beberlei and @garak
     - [8369: The class 'DateTime' was not found in the chain configured namespaces App\Entity since update to doctrine/orm 2.8](https://github.com/doctrine/orm/issues/8369) thanks to @fabien007
     - [8367: Break in 2.8: The class 'DateTime' was not found in the chain configured namespaces](https://github.com/doctrine/orm/issues/8367) thanks to @kerbert101
     - [8365: Break in 2.8: Cannot bind QueryBuilder parameters with \IteratorAggregate entities: leads to incorrect SQL generated code](https://github.com/doctrine/orm/issues/8365) thanks to @ambroisemaupate
    
  • 2.8.0
    ### Release Notes for [2.8.0](https://github.com/doctrine/orm/milestone/76)
    
    ### 2.8.0
    
    - Total issues resolved: **6**
    - Total pull requests resolved: **10**
    - Total contributors: **13**
    
     - [8332: Upgrade Psalm to v4.1.1](https://github.com/doctrine/orm/pull/8332) thanks to @beberlei
     - [8291: Validate Embeddable associations in SchemaValidator](https://github.com/doctrine/orm/pull/8291) thanks to @kejwmen
     - [8137: Deprecation notices from doctrine/inflector 1.4](https://github.com/doctrine/orm/issues/8137) thanks to @W0rma
     - [7885: Introduce `getIterable()` on AbstractQuery](https://github.com/doctrine/orm/pull/7885) thanks to @simPod
    
    #### New Feature
    
     - [8140: add possibility to use sql comments in the DQL syntax](https://github.com/doctrine/orm/pull/8140) thanks to @philippe-levan
    
    #### Documentation
    
     - [8130: Improve CLI config documentation](https://github.com/doctrine/orm/pull/8130) thanks to @gbirke
    
    #### Hacktoberfest,Improvement
    
     - [8069: Convert PHPUnit @expectedException into method call](https://github.com/doctrine/orm/issues/8069) thanks to @beberlei
    
    #### Deprecation
    
     - [7955: EntityManagerInterface extends deprecated Doctrine\Common\Persistence\ObjectManager](https://github.com/doctrine/orm/issues/7955) thanks to @vanoostrum
     - [7928: Deprecate EntityRepository#clear()](https://github.com/doctrine/orm/pull/7928) thanks to @kokspflanze and @lcobucci
    
    #### CI,Improvement
    
     - [7948: Add stage that runs before Test to allow fast failures on Sqlite/phpcs](https://github.com/doctrine/orm/pull/7948) thanks to @beberlei
    
    #### Requires merge/review
    
     - [7946: Throw OptimisticLockException when connection::commit() returns false](https://github.com/doctrine/orm/pull/7946) thanks to @chosroes
    
    #### Improvement
    
     - [7941: Allow DQL functions to specify return type](https://github.com/doctrine/orm/pull/7941) thanks to @Grafikart
    
    #### Improvement,Requires merge/review
    
     - [6990: Centralize class deprecations](https://github.com/doctrine/orm/pull/6990) thanks to @greg0ire
    
  • 2.7.5
    ### Release Notes for [2.7.5](https://github.com/doctrine/orm/milestone/81)
    
    ### 2.7.5
    
    - Total issues resolved: **0**
    - Total pull requests resolved: **3**
    - Total contributors: **3**
    
     - [8348: [GH-8229] Prevent Illegal Inheritance Override](https://github.com/doctrine/orm/pull/8348) thanks to @beberlei
     - [8329: Fix SQL alias generation regression for simple inheritance ](https://github.com/doctrine/orm/pull/8329) thanks to @rogregoire
    
    #### Bug
    
     - [7660: Fixed commit order](https://github.com/doctrine/orm/pull/7660) thanks to @tomaszgaw
    
  • 2.7.4
    ### Release Notes for [2.7.4](https://github.com/doctrine/orm/milestone/80)
    
    ### 2.7.4
    
    - Total issues resolved: **0**
    - Total pull requests resolved: **8**
    - Total contributors: **8**
    
     - [8286: psalm fixes](https://github.com/doctrine/orm/pull/8286) thanks to @orklah
     - [8150: Infer return type information with Psalter](https://github.com/doctrine/orm/pull/8150) thanks to @greg0ire
     - [8107: Fix QueryBuilder::getParameter() on parameter names with colons](https://github.com/doctrine/orm/pull/8107) thanks to @tom93
    
    #### Bug
    
     - [8277: Fix OrderByItem parser to proceed with SimpleArithmetic expression before function](https://github.com/doctrine/orm/pull/8277) thanks to @ipernet
     - [8234:  Fix for bug #8229 (id column from parent class renamed in child class)](https://github.com/doctrine/orm/pull/8234) thanks to @cziegenberg
     - [8122: Prohibits class typo in the discriminator map](https://github.com/doctrine/orm/pull/8122) thanks to @gquemener
    
    #### Documentation
    
     - [8223: Change  preferred cache driver for metadata and query caches](https://github.com/doctrine/orm/pull/8223) thanks to @bcremer
     - [8109: Add alert to "avoid persisting detached entities"](https://github.com/doctrine/orm/pull/8109) thanks to @Pictor13
    
  • v2.7.3
    v2.7.3
  • v2.7.2
    dafe298c · Fix phpdoc (#8074) ·
    v2.7.2
  • v2.7.1
    v2.7.1
  • v2.7.0
    4d763ca4 · Bump up version ·
    v2.7.0
    
    [![Build Status](https://travis-ci.org/doctrine/orm.svg?branch=v2.7.0)](https://travis-ci.org/doctrine/orm)
    
    This release solves Symfony 5.0 compatibility issues, some small improvements, and adds
    various deprecation notices.
    
    Please read carefully the [upgrade to 2.7
    notes](https://github.com/doctrine/orm/blob/2.7/UPGRADE.md#upgrade-to-27) to know more
    about the reasons and how to fix the deprecation messages.
    
    ---
    
    - Total issues resolved: **1**
    - Total pull requests resolved: **15**
    - Total contributors: **10**
    
    Deprecation
    -----------
    
     - [7911: Be explicit about which Doctrine package in message](https://github.com/doctrine/orm/pull/7911) thanks to @lcobucci
     - [7909: Add deprecation messages](https://github.com/doctrine/orm/pull/7909) thanks to @lcobucci
     - [7901: Add deprecation warnings for 2.7.x](https://github.com/doctrine/orm/pull/7901) thanks to @lcobucci
     - [7701: Split and deprecate AbstractQuery#useResultCache()](https://github.com/doctrine/orm/pull/7701) thanks to @someniatko
    
    CI
    --
    
     - [7904: Make sure composer files are valid](https://github.com/doctrine/orm/pull/7904) thanks to @greg0ire
     - [7600: [2.7] CI: Test against PHP 7.4snapshot instead of nightly (8.0)](https://github.com/doctrine/orm/pull/7600) thanks to @Majkl578
    
    Improvement
    -----------
    
     - [7876: Fix compat of commands with Symfony 5](https://github.com/doctrine/orm/pull/7876) thanks to @nicolas-grekas
     - [7829: Skip Paginator LIMIT subquery and WHERE IN if query do not have LIMIT](https://github.com/doctrine/orm/issues/7829) thanks to @Seb33300
     - [7723: Allow Symfony 5.0](https://github.com/doctrine/orm/pull/7723) thanks to @nicolas-grekas
     - [7710: Prettified arrays in tool command orm:mapping:describe](https://github.com/doctrine/orm/pull/7710) thanks to @rtek
     - [7340: Fix config template for PHPUnit >= 7.2](https://github.com/doctrine/orm/pull/7340) thanks to @guilliamxavier
    
    BC Break,Improvement
    --------------------
    
     - [7863: Paginator: Skip limit subquery if not required](https://github.com/doctrine/orm/pull/7863) thanks to @Seb33300
    
    Documentation
    -------------
    
     - [7382: Update homepage](https://github.com/doctrine/orm/pull/7382) thanks to @Majkl578
    
    Bug
    ---
    
     - [7326: Cherry-pick #7307 to fix remaining usages of deprecated ClassLoader and Inflector from doctrine/common](https://github.com/doctrine/orm/pull/7326) thanks to @nicolas-grekas
     - [7079: Fix getJoinTableName for sqlite with schema attribute](https://github.com/doctrine/orm/pull/7079) thanks to @mairo744
    
    BC Break,Deprecation,Improvement
    --------------------------------
    
     - [6803: Deprecation of EntityManager copy method](https://github.com/doctrine/orm/pull/6803) thanks to @SenseException
    
  • v2.6.6
    2d9b9351 · Bump up version ·
    v2.6.6
    
    [![Build Status](https://travis-ci.org/doctrine/orm.svg?branch=v2.6.6)](https://travis-ci.org/doctrine/orm)
    
    This release solves the violation of our BC guarantees, we apologise for
    impacting existing software.
    
    ---
    
    - Total issues resolved: **0**
    - Total pull requests resolved: **1**
    - Total contributors: **1**
    
    BC Break,Bug
    ------------
    
     - [7908: Fix BC-break on underscore naming strategy](https://github.com/doctrine/orm/pull/7908) thanks to @lcobucci
    
  • v2.6.5
    16751d21 · Bump up version ·
    v2.6.5
    
    [![Build Status](https://travis-ci.org/doctrine/orm.svg?branch=v2.6.5)](https://travis-ci.org/doctrine/orm)
    
    This release fixes some bugs (including a few regressions related to the
    paginator component and cleaning collections when using `DEFERRED_EXPLICIT`).
    
    It also marks the EOL for the v2.6.x series since we'll soon be
    releasing v2.7.0.
    
    --------------------------------------------
    
    - Total issues resolved: **9**
    - Total pull requests resolved: **23**
    - Total contributors: **24**
    
    Bug,Regression
    --------------
    
     - [7905: [Paginator] Fix type conversion during hydration of pagination limit subquery](https://github.com/doctrine/orm/pull/7905) thanks to @akorz, @lcobucci, and @ostrolucky
     - [7862: Using `ArrayCollection->clear` over an entity marked to be persisted, doesn't create corresponding `DELETE` statements](https://github.com/doctrine/orm/issues/7862) thanks to @ferrastas and @ostrolucky
     - [7861: Delete statements will not be created using `clear` ](https://github.com/doctrine/orm/pull/7861) thanks to @ferrastas
    
    Bug
    ---
    
     - [7869: UnitOfWork::clear() misses $eagerLoadingEntities](https://github.com/doctrine/orm/pull/7869) thanks to @BenMorel
     - [7865: #7837 paginate with custom identifier types even with enabled DQL query cache](https://github.com/doctrine/orm/pull/7865) thanks to @Ocramius
     - [7856: Fix underscore naming strategy behaviour with numbers](https://github.com/doctrine/orm/pull/7856) thanks to @lcobucci
     - [7855: Numbers in a string using underscore naming strategy](https://github.com/doctrine/orm/issues/7855) thanks to @vuras
     - [7850: Don't merge PersistentCollection orderBy with criteria in matching()](https://github.com/doctrine/orm/pull/7850) thanks to @nlx-lars
     - [7842: #7841 SchemaTool generates extra diff for platforms without FK support](https://github.com/doctrine/orm/pull/7842) thanks to @vpArth
     - [7764: #7763 escape quotes in field comments](https://github.com/doctrine/orm/pull/7764) thanks to @guillaume-a
     - [7763: "doctrine:mapping:import" does not escape quotes in field comments](https://github.com/doctrine/orm/issues/7763) thanks to @guillaume-a
     - [7684: only replace '_id' at end of columnName](https://github.com/doctrine/orm/pull/7684) thanks to @rharink
    
    CI
    ------
    
     - [7889: Use quoted collation declaration when available, fixes test suite when running against DBAL 2.10+](https://github.com/doctrine/orm/pull/7889) thanks to @ajgarlag
    
    Documentation
    -------------
    
     - [7884: [Documentation] Advanced field value... - missing entity alias](https://github.com/doctrine/orm/pull/7884) thanks to @rogeriolino
     - [7880: Update documentation to recommend DQL over QueryBuilder when possible](https://github.com/doctrine/orm/pull/7880) thanks to @kuraobi and @javiereguiluz
     - [7871: AbstractQuery::getSingleScalarResult() throws exception when no result](https://github.com/doctrine/orm/pull/7871) thanks to @BenMorel
     - [7858: Invalid version in Doctrine\ORM\Version::VERSION](https://github.com/doctrine/orm/issues/7858) thanks to @guillaumesmo
     - [7849: Mention SQL logger impact on batch processing](https://github.com/doctrine/orm/pull/7849) thanks to @axi
     - [7838: Fix the name of ClassMetadata in documentation](https://github.com/doctrine/orm/pull/7838) thanks to @samnela
     - [7768: Fix EntityManagerHelper's documentation (it can't accept an array of paths)](https://github.com/doctrine/orm/pull/7768) thanks to @mickaelandrieu
     - [7727: [doc] Finish incomplete definition of class UTCDateTimeType](https://github.com/doctrine/orm/pull/7727) thanks to @madand
     - [7671: Added missing "the"](https://github.com/doctrine/orm/pull/7671) thanks to @jschaedl
     - [7667: Fixes example One-To-One, Self-referencing](https://github.com/doctrine/orm/pull/7667) thanks to @jschaedl
     - [7443: Added doc about exception in Query#getOneOrNullResult()](https://github.com/doctrine/orm/pull/7443) thanks to @naitsirch and @Mynyx
     - [7298: Add a missing type in Query::getFirstResult PHPDoc](https://github.com/doctrine/orm/pull/7298) thanks to @dunglas
    
    Improvement
    -----------
    
     - [7851: Remove not used variable $reflFieldValue in ObjectHydrator](https://github.com/doctrine/orm/pull/7851) thanks to @peter-gribanov
    
  • v2.6.4
    v2.6.4
    
    [![Build Status](https://travis-ci.org/doctrine/orm.svg?branch=v2.6.4)](https://travis-ci.org/doctrine/orm)
    
    In this release we've fixes many bugs (including a performance regression) and
    made the v2.x series compatible with PHP 7.4.
    
    --------------------------------------------
    
    - Total issues resolved: **11**
    - Total pull requests resolved: **32**
    - Total contributors: **30**
    
    Improvement
    -----------
    
     - [7785: Fix "access array offset on value of type null" PHP 7.4 notices](https://github.com/doctrine/orm/pull/7785) thanks to @mlocati
     - [7142: Rename this repository to doctrine/orm](https://github.com/doctrine/orm/issues/7142) thanks to @greg0ire
    
    Bug
    ------------------
    
     - [7821: Bug: #7820 paginator ignores dbal type conversions in identifiers](https://github.com/doctrine/orm/pull/7821) thanks to @Ocramius
     - [7778: Guard L2C regions against corrupted data](https://github.com/doctrine/orm/pull/7778) thanks to @umpirsky
     - [7767: PersistentCollection::matching() does not respect the collections native sorting](https://github.com/doctrine/orm/issues/7767) thanks to @stephanschuler
     - [7766: Respect collection orderBy meta when matching()](https://github.com/doctrine/orm/pull/7766) thanks to @stephanschuler
     - [7761: Do not modify UOW on PersistentCollection::clear() when owner has DEFFERED_EXPLICIT change tracking policy](https://github.com/doctrine/orm/pull/7761) thanks to @paxal
     - [7750: Fix incorrect return of null values in L2C](https://github.com/doctrine/orm/pull/7750) thanks to @AlexSmerw
     - [7737: Fix MEMBER_OF comparison when using criteria in query builder](https://github.com/doctrine/orm/pull/7737) thanks to @Smartel1
     - [7735: Null in fields value in Cached Entity several times on day on high-load project.](https://github.com/doctrine/orm/issues/7735) thanks to @AlexSmerw
     - [7630: Fix #7629 - `scheduledForSynchronization` leaks memory when using `@ORM\ChangeTrackingPolicy("DEFERRED_EXPLICIT")`](https://github.com/doctrine/orm/pull/7630) thanks to @yethee
     - [7528: Prevent `UnitOfWork` lookup for DBAL types specified in `Doctrine\ORM\Query#setParameter()`](https://github.com/doctrine/orm/pull/7528) thanks to @Ocramius
     - [7322: JoinedSubclassPersister pass identifier types on delete](https://github.com/doctrine/orm/pull/7322) thanks to @dennisenderink and @fred-jan
     - [7266: Call to a member function resolveAssociationEntries() on boolean {"detail":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function resolveAssociationEntries() on boolean at /www/vendor/doctrine/orm/lib/Doctrine/ORM/Cache/DefaultQueryCache.php:140)"}](https://github.com/doctrine/orm/issues/7266) thanks to @mingmingxianseng
     - [4632: DDC-3789: Paginator does not convert entity ids if they are value objects](https://github.com/doctrine/orm/issues/4632) thanks to @doctrinebot
    
    Documentation
    -------------
    
     - [7818: Add note into docs about not using SimpleAnnotationReader](https://github.com/doctrine/orm/pull/7818) thanks to @SenseException
     - [7791: Fix preFlush event documentation stating incorrectly that flush can be called safely](https://github.com/doctrine/orm/pull/7791) thanks to @Steveb-p
     - [7753: Add ORM annotations in getting-started docs](https://github.com/doctrine/orm/pull/7753) thanks to @SenseException and @wajdijurry
     - [7744: Fixed a typo-error](https://github.com/doctrine/orm/pull/7744) thanks to @noobshow
     - [7732: [Documentation] Missing comma fix](https://github.com/doctrine/orm/pull/7732) thanks to @lchrusciel
     - [7729: Update DATE_ADD and DATE_SUB docs](https://github.com/doctrine/orm/pull/7729) thanks to @JoppeDC
     - [7672: Added cross-links to relevant documentation](https://github.com/doctrine/orm/pull/7672) thanks to @jschaedl
     - [7612: Update ordered-associations.rst](https://github.com/doctrine/orm/pull/7612) thanks to @spirlici
     - [7610: Change APC to OPcache in improving-performance.rst ](https://github.com/doctrine/orm/pull/7610) thanks to @smtchahal
     - [7596: Correct method names and broken link in docs](https://github.com/doctrine/orm/pull/7596) thanks to @mbessolov
     - [7577: Fix of single link to dbal docs in advanced-configuration.rst](https://github.com/doctrine/orm/pull/7577) thanks to @SenseException
     - [7572: Remove codeigniter Framework example](https://github.com/doctrine/orm/pull/7572) thanks to @SenseException
     - [7571: Fix typo in inheritance mappings docs](https://github.com/doctrine/orm/pull/7571) thanks to @batwolf
     - [7557: Change Stackoverflow tag to doctrine-orm](https://github.com/doctrine/orm/pull/7557) thanks to @malarzm
     - [7551: [2.6] Migrate repository name doctrine/doctrine2 -> doctrine/orm](https://github.com/doctrine/orm/pull/7551) thanks to @Majkl578
     - [7530: Documentation error typo fix: s/Used-defined/User-Defined](https://github.com/doctrine/orm/pull/7530) thanks to @vladyslavstartsev
     - [7519: #7518 Fixed type mismatch between `EntityRepository#__construct()` and its documented constructor arguments](https://github.com/doctrine/orm/pull/7519) thanks to @koftikes
     - [7518: `EntityRepository::__construct()` expects `Doctrine\ORM\EntityManager` instead of actual required `EntityManagerInterface`](https://github.com/doctrine/orm/issues/7518) thanks to @koftikes
     - [7490: Fix broken link](https://github.com/doctrine/orm/pull/7490) thanks to @vladyslavstartsev
     - [7483: Fixed a minor syntax issue](https://github.com/doctrine/orm/pull/7483) thanks to @javiereguiluz
    
    CI
    -----------------
    
     - [7794: Fix test compatibility with DBAL 2.10.x-dev](https://github.com/doctrine/orm/pull/7794) thanks to @lcobucci
     - [7731: Replace custom install script with add-on](https://github.com/doctrine/orm/pull/7731) thanks to @greg0ire
     - [7473: Incremental CS checks in 2.x branches](https://github.com/doctrine/orm/pull/7473) thanks to @Majkl578
    
  • v2.6.3
    43482097 · Bump up version ·
    v2.6.3
    
    [![Build Status](https://travis-ci.org/doctrine/doctrine2.svg?branch=v2.6.3)](https://travis-ci.org/doctrine/doctrine2)
    
    This release provides fixes for many things, specially:
    
    - Regression in commit order calculation
    - BC-break in `EntityManager#find()` using optimistic lock outside of
      transaction
    - PHP 7.3 compatibility issues
    
    --------------------------------------------
    
    - Total issues resolved: **8**
    - Total pull requests resolved: **26**
    - Total contributors: **26**
    
    Documentation
    -------------
    
     - [7472: fix incorrect phpdoc typehint](https://github.com/doctrine/doctrine2/pull/7472) thanks to @seferov
     - [7465: Fixes tiny typo in the 'Working with DateTime instances' documentation](https://github.com/doctrine/doctrine2/pull/7465) thanks to @unguul
     - [7444: Fixed URLs of doctrine-mapping.xsd in docs](https://github.com/doctrine/doctrine2/pull/7444) thanks to @naitsirch
     - [7441: $hydrationMode throughout can be a string as well as int (for custom modes)](https://github.com/doctrine/doctrine2/pull/7441) thanks to @asgrim
     - [7435: Fix a typo on Documentation](https://github.com/doctrine/doctrine2/pull/7435) thanks to @oguzdumanoglu
     - [7434: Removed FAQ paragraph stating public variables are disallowed](https://github.com/doctrine/doctrine2/pull/7434) thanks to @naitsirch and @flaushi
     - [7423: Update association-mapping.rst](https://github.com/doctrine/doctrine2/pull/7423) thanks to @ThomasLandauer
     - [7421: JIRA to Github issues on Limitations and Known Issues](https://github.com/doctrine/doctrine2/pull/7421) thanks to @seferov
     - [7412: Some formatting improvements](https://github.com/doctrine/doctrine2/pull/7412) thanks to @ThomasLandauer
     - [7411: Autoload error when following the Getting Started Guide](https://github.com/doctrine/doctrine2/issues/7411) thanks to @ThomasLandauer
     - [7401: [docs] Fix docblock in `inheritance-mapping.rst`](https://github.com/doctrine/doctrine2/pull/7401) thanks to @bobdenotter
     - [7397: Update getting-started.rst](https://github.com/doctrine/doctrine2/pull/7397) thanks to @eibt
     - [7394: Class 'Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver' not found](https://github.com/doctrine/doctrine2/issues/7394) thanks to @ekosynth
     - [7378: Typo fix](https://github.com/doctrine/doctrine2/pull/7378) thanks to @BenMorel
     - [7377: Fix query andX doctype](https://github.com/doctrine/doctrine2/pull/7377) thanks to @sserbin
     - [7374: Deprecation message in documentation for YAML](https://github.com/doctrine/doctrine2/pull/7374) thanks to @SenseException and @iltar
     - [7360: Document getPartialReference() properly](https://github.com/doctrine/doctrine2/pull/7360) thanks to @lcobucci
    
    Bug
    ---
    
     - [7471: Fix parameter value processing for objects with unloaded metadata](https://github.com/doctrine/doctrine2/pull/7471) thanks to @alcaeus
     - [7367: Fix for BC break in 2.6.2 when calling EM::find() with LockMode::OPTIMISTIC outside of a TX](https://github.com/doctrine/doctrine2/pull/7367) thanks to @timdev
     - [7328: Handle removed parameters by tree walker in Paginator](https://github.com/doctrine/doctrine2/pull/7328) thanks to @plfort
     - [7325: Make code php 7.3 lint-compatible](https://github.com/doctrine/doctrine2/pull/7325) thanks to @paxal
     - [7317: [XML] Fix default value of many-to-many order-by to ASC](https://github.com/doctrine/doctrine2/pull/7317) thanks to @alexdenvir
     - [7260: Fix the handling of circular references in the commit order calculator](https://github.com/doctrine/doctrine2/pull/7260) thanks to @stof
     - [6830: fix applying column options on foreign key columns](https://github.com/doctrine/doctrine2/pull/6830) thanks to @Tobion
    
    Improvement
    -----------
    
     - [7428: CI: Test against PHP 7.3](https://github.com/doctrine/doctrine2/pull/7428) thanks to @Majkl578
     - [7363: Fix compatibility with phan](https://github.com/doctrine/doctrine2/pull/7363) thanks to @philippe-unitiz
     - [7345: Correct DOMDocument constructor in test](https://github.com/doctrine/doctrine2/pull/7345) thanks to @guilliamxavier
     - [7307: Fix remaining usages of deprecated ClassLoader and Inflector from doctrine/common](https://github.com/doctrine/doctrine2/pull/7307) thanks to @Majkl578 and @simonwelsh