Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: ThomasLandauer/orm

Tags

2.8.1

Toggle 2.8.1's commit message

Verified

This tag was signed with the committer’s verified signature.
doctrinebot Doctrine Bot
### Release Notes for [2.8.1](https://github.com/doctrine/orm/milesto…

…ne/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](doctrine#8371) thanks to @beberlei
 - [8370: &doctrine#91;doctrineGH-8366&doctrine#93; Catch additional Persistence MappingException](doctrine#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](doctrine#8369) thanks to @fabien007
 - [8367: Break in 2.8: The class 'DateTime' was not found in the chain configured namespaces](doctrine#8367) thanks to @kerbert101
 - [8365: Break in 2.8: Cannot bind QueryBuilder parameters with \IteratorAggregate entities: leads to incorrect SQL generated code](doctrine#8365) thanks to @ambroisemaupate

2.8.0

Toggle 2.8.0's commit message

Verified

This tag was signed with the committer’s verified signature.
doctrinebot Doctrine Bot
### Release Notes for [2.8.0](https://github.com/doctrine/orm/milesto…

…ne/76)

### 2.8.0

- Total issues resolved: **6**
- Total pull requests resolved: **10**
- Total contributors: **13**

 - [8332: Upgrade Psalm to v4.1.1](doctrine#8332) thanks to @beberlei
 - [8291: Validate Embeddable associations in SchemaValidator](doctrine#8291) thanks to @kejwmen
 - [8137: Deprecation notices from doctrine/inflector 1.4](doctrine#8137) thanks to @W0rma
 - [7885: Introduce `getIterable()` on AbstractQuery](doctrine#7885) thanks to @simPod

#### New Feature

 - [8140: add possibility to use sql comments in the DQL syntax](doctrine#8140) thanks to @philippe-levan

#### Documentation

 - [8130: Improve CLI config documentation](doctrine#8130) thanks to @gbirke

#### Hacktoberfest,Improvement

 - [8069: Convert PHPUnit @ExpectedException into method call](doctrine#8069) thanks to @beberlei

#### Deprecation

 - [7955: EntityManagerInterface extends deprecated Doctrine\Common\Persistence\ObjectManager](doctrine#7955) thanks to @vanoostrum
 - [7928: Deprecate EntityRepository#clear()](doctrine#7928) thanks to @kokspflanze and @lcobucci

#### CI,Improvement

 - [7948: Add stage that runs before Test to allow fast failures on Sqlite/phpcs](doctrine#7948) thanks to @beberlei

#### Requires merge/review

 - [7946: Throw OptimisticLockException when connection::commit() returns false](doctrine#7946) thanks to @chosroes

#### Improvement

 - [7941: Allow DQL functions to specify return type](doctrine#7941) thanks to @Grafikart

#### Improvement,Requires merge/review

 - [6990: Centralize class deprecations](doctrine#6990) thanks to @greg0ire

2.7.5

Toggle 2.7.5's commit message

Verified

This tag was signed with the committer’s verified signature.
doctrinebot Doctrine Bot
### Release Notes for [2.7.5](https://github.com/doctrine/orm/milesto…

…ne/81)

### 2.7.5

- Total issues resolved: **0**
- Total pull requests resolved: **3**
- Total contributors: **3**

 - [8348: &doctrine#91;doctrineGH-8229&doctrine#93; Prevent Illegal Inheritance Override](doctrine#8348) thanks to @beberlei
 - [8329: Fix SQL alias generation regression for simple inheritance ](doctrine#8329) thanks to @rogregoire

#### Bug

 - [7660: Fixed commit order](doctrine#7660) thanks to @tomaszgaw

2.7.4

Toggle 2.7.4's commit message

Verified

This tag was signed with the committer’s verified signature.
doctrinebot Doctrine Bot
### Release Notes for [2.7.4](https://github.com/doctrine/orm/milesto…

…ne/80)

### 2.7.4

- Total issues resolved: **0**
- Total pull requests resolved: **8**
- Total contributors: **8**

 - [8286: psalm fixes](doctrine#8286) thanks to @orklah
 - [8150: Infer return type information with Psalter](doctrine#8150) thanks to @greg0ire
 - [8107: Fix QueryBuilder::getParameter() on parameter names with colons](doctrine#8107) thanks to @tom93

#### Bug

 - [8277: Fix OrderByItem parser to proceed with SimpleArithmetic expression before function](doctrine#8277) thanks to @ipernet
 - [8234:  Fix for bug doctrine#8229 (id column from parent class renamed in child class)](doctrine#8234) thanks to @cziegenberg
 - [8122: Prohibits class typo in the discriminator map](doctrine#8122) thanks to @gquemener

#### Documentation

 - [8223: Change  preferred cache driver for metadata and query caches](doctrine#8223) thanks to @bcremer
 - [8109: Add alert to "avoid persisting detached entities"](doctrine#8109) thanks to @Pictor13

v2.7.0

Toggle v2.7.0's commit message

Verified

This tag was signed with the committer’s verified signature.
lcobucci Luís Cobucci
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](doctrine#7911) thanks to @lcobucci
 - [7909: Add deprecation messages](doctrine#7909) thanks to @lcobucci
 - [7901: Add deprecation warnings for 2.7.x](doctrine#7901) thanks to @lcobucci
 - [7701: Split and deprecate AbstractQuery#useResultCache()](doctrine#7701) thanks to @someniatko

CI
--

 - [7904: Make sure composer files are valid](doctrine#7904) thanks to @greg0ire
 - [7600: &doctrine#91;2.7&doctrine#93; CI: Test against PHP 7.4snapshot instead of nightly (8.0)](doctrine#7600) thanks to @Majkl578

Improvement
-----------

 - [7876: Fix compat of commands with Symfony 5](doctrine#7876) thanks to @nicolas-grekas
 - [7829: Skip Paginator LIMIT subquery and WHERE IN if query do not have LIMIT](doctrine#7829) thanks to @Seb33300
 - [7723: Allow Symfony 5.0](doctrine#7723) thanks to @nicolas-grekas
 - [7710: Prettified arrays in tool command orm:mapping:describe](doctrine#7710) thanks to @rtek
 - [7340: Fix config template for PHPUnit >= 7.2](doctrine#7340) thanks to @guilliamxavier

BC Break,Improvement
--------------------

 - [7863: Paginator: Skip limit subquery if not required](doctrine#7863) thanks to @Seb33300

Documentation
-------------

 - [7382: Update homepage](doctrine#7382) thanks to @Majkl578

Bug
---

 - [7326: Cherry-pick doctrine#7307 to fix remaining usages of deprecated ClassLoader and Inflector from doctrine/common](doctrine#7326) thanks to @nicolas-grekas
 - [7079: Fix getJoinTableName for sqlite with schema attribute](doctrine#7079) thanks to @mairo744

BC Break,Deprecation,Improvement
--------------------------------

 - [6803: Deprecation of EntityManager copy method](doctrine#6803) thanks to @SenseException

v2.6.6

Toggle v2.6.6's commit message

Verified

This tag was signed with the committer’s verified signature.
lcobucci Luís Cobucci
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](doctrine#7908) thanks to @lcobucci

v2.6.5

Toggle v2.6.5's commit message

Verified

This tag was signed with the committer’s verified signature.
lcobucci Luís Cobucci
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: &doctrine#91;Paginator&doctrine#93; Fix type conversion during hydration of pagination limit subquery](doctrine#7905) thanks to @akorz, @lcobucci, and @ostrolucky
 - [7862: Using `ArrayCollection->clear` over an entity marked to be persisted, doesn't create corresponding `DELETE` statements](doctrine#7862) thanks to @ferrastas and @ostrolucky
 - [7861: Delete statements will not be created using `clear` ](doctrine#7861) thanks to @ferrastas

Bug
---

 - [7869: UnitOfWork::clear() misses $eagerLoadingEntities](doctrine#7869) thanks to @BenMorel
 - [7865: doctrine#7837 paginate with custom identifier types even with enabled DQL query cache](doctrine#7865) thanks to @Ocramius
 - [7856: Fix underscore naming strategy behaviour with numbers](doctrine#7856) thanks to @lcobucci
 - [7855: Numbers in a string using underscore naming strategy](doctrine#7855) thanks to @vuras
 - [7850: Don't merge PersistentCollection orderBy with criteria in matching()](doctrine#7850) thanks to @nlx-lars
 - [7842: doctrine#7841 SchemaTool generates extra diff for platforms without FK support](doctrine#7842) thanks to @vpArth
 - [7764: doctrine#7763 escape quotes in field comments](doctrine#7764) thanks to @guillaume-a
 - [7763: "doctrine:mapping:import" does not escape quotes in field comments](doctrine#7763) thanks to @guillaume-a
 - [7684: only replace '&doctrine#95;id' at end of columnName](doctrine#7684) thanks to @rharink

CI
------

 - [7889: Use quoted collation declaration when available, fixes test suite when running against DBAL 2.10+](doctrine#7889) thanks to @ajgarlag

Documentation
-------------

 - [7884: &doctrine#91;Documentation&doctrine#93; Advanced field value... - missing entity alias](doctrine#7884) thanks to @rogeriolino
 - [7880: Update documentation to recommend DQL over QueryBuilder when possible](doctrine#7880) thanks to @kuraobi and @javiereguiluz
 - [7871: AbstractQuery::getSingleScalarResult() throws exception when no result](doctrine#7871) thanks to @BenMorel
 - [7858: Invalid version in Doctrine\ORM\Version::VERSION](doctrine#7858) thanks to @guillaumesmo
 - [7849: Mention SQL logger impact on batch processing](doctrine#7849) thanks to @axi
 - [7838: Fix the name of ClassMetadata in documentation](doctrine#7838) thanks to @samnela
 - [7768: Fix EntityManagerHelper's documentation (it can't accept an array of paths)](doctrine#7768) thanks to @mickaelandrieu
 - [7727: &doctrine#91;doc&doctrine#93; Finish incomplete definition of class UTCDateTimeType](doctrine#7727) thanks to @madand
 - [7671: Added missing "the"](doctrine#7671) thanks to @jschaedl
 - [7667: Fixes example One-To-One, Self-referencing](doctrine#7667) thanks to @jschaedl
 - [7443: Added doc about exception in Query#getOneOrNullResult()](doctrine#7443) thanks to @Naitsirch and @Mynyx
 - [7298: Add a missing type in Query::getFirstResult PHPDoc](doctrine#7298) thanks to @dunglas

Improvement
-----------

 - [7851: Remove not used variable $reflFieldValue in ObjectHydrator](doctrine#7851) thanks to @peter-gribanov