Skip to content

Tags: dbu/orm

Tags

3.0.0-beta1

Toggle 3.0.0-beta1's commit message

Verified

This commit was signed with the committer’s verified signature.
beberlei Benjamin Eberlei
UPGRADE.md is missing two latest merges.

2.16.2

Toggle 2.16.2's commit message

Verified

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

…one/134)

2.16.x bugfix release (patch)

### 2.16.2

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

#### Documentation

 - [10923: basic-mapping: fix new-line rendered in output](doctrine#10923) thanks to @kaznovac
 - [10916: Use required classes for Lifecycle Callback examples](doctrine#10916) thanks to @SerheyDolgushev
 - [10904: Fix link on known issues docs](doctrine#10904) thanks to @hockdudu

#### Bug

 - [10915: Mitigate problems with `EntityManager::flush()` reentrance since 2.16.0 (Take 2)](doctrine#10915) thanks to @mpdude

#### Static Analysis

 - [10907: Add back throws annotation to getSingleScalarResult](doctrine#10907) thanks to @darenas31415

2.16.1

Toggle 2.16.1's commit message

Verified

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

…one/132)

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](doctrine#10895) thanks to @derrabus
 - [10870: Fix return type of `getSingleScalarResult`](doctrine#10870) thanks to @whatUwant

#### Bug,Regression

 - [10884: Fix broken changeset computation for entities loaded through fetch=EAGER + using inheritance](doctrine#10884) thanks to @mpdude

#### Documentation

 - [10883: Document more clearly that the insert order is an implementation detail](doctrine#10883) thanks to @mpdude
 - [10866: Add an UPGRADE notice about the potential changes in commit order](doctrine#10866) thanks to @mpdude
 - [10862: Update branch metadata](doctrine#10862) thanks to @greg0ire

#### Bug

 - [10881: Use a dedicated exception for the check added in doctrine#10785](doctrine#10881) thanks to @mpdude
 - [10865: Add possibility to set reportFieldsWhereDeclared in ORMSetup](doctrine#10865) thanks to @W0rma
 - [9301: Fix UnitOfWork->originalEntityData is missing not-modified collections after computeChangeSet ](doctrine#9301) thanks to @olsavmic

#### Bug,Deprecation

 - [10878: Turn identity map collisions from exception to deprecation notice](doctrine#10878) thanks to @mpdude

2.16.0

Toggle 2.16.0's commit message

Verified

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

…one/126)

### 2.16.0

- Total issues resolved: **0**
- Total pull requests resolved: **15**
- Total contributors: **7**

#### Improvement

 - [10848: Use properties instead of getters to read property/class names via reflection](doctrine#10848) thanks to @nicolas-grekas
 - [10832: Decouple public API from Doctrine\Persistence\Proxy](doctrine#10832) thanks to @nicolas-grekas
 - [10785: Add a safeguard against multiple objects competing for the same identity map entry](doctrine#10785) thanks to @mpdude
 - [10735: Make it possible to have non-NULLable self-referencing associations when using application-provided IDs](doctrine#10735) thanks to @mpdude
 - [10727: Revert "Allow symfony/console 7"](doctrine#10727) thanks to @derrabus
 - [10724: Temporarily allow `symfony/console` 7](doctrine#10724) thanks to @derrabus
 - [10704: Remove unreachable piece of code](doctrine#10704) thanks to @greg0ire
 - [10547: Compute the commit order (inserts/deletes) on the entity level](doctrine#10547) thanks to @mpdude

 - [10833: Cleanup psalm-type AutogenerateMode](doctrine#10833) thanks to @nicolas-grekas
 - [10598: Support not Insertable/Updateable columns for entities with `JOINED` inheritance type](doctrine#10598) thanks to @e-vil-dev

#### Test Suite

 - [10809: Add test to show why delete-before-insert may be challenging](doctrine#10809) thanks to @mpdude

#### Deprecation

 - [10743: Make EntityPersisters tell the UoW about post insert IDs early](doctrine#10743) thanks to @mpdude

#### Static Analysis

 - [10721: Narrow return types for `AbstractQuery::getSingleScalarResult()`](doctrine#10721) thanks to @phansys

#### New Feature

 - [10537: Introduce FilterCollection#restore method](doctrine#10537) thanks to @VincentLanglet

#### Deprecation,Improvement

 - [10455: Make Annotations/Attribute mapping drivers report fields for the classes where they are declared](doctrine#10455) thanks to @mpdude

2.15.5

Toggle 2.15.5's commit message

Verified

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

…one/131)

2.15.x bugfix release (patch)

### 2.15.5

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

 - [10856: Fix/Self deprecation with getQueryCacheImpl](doctrine#10856) thanks to @VincentLanglet

#### Bug

 - [10855: fix: use platform options instead of deprecated custom options](doctrine#10855) thanks to @dunglas

2.15.4

Toggle 2.15.4's commit message

Verified

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

…one/130)

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](doctrine#10847) thanks to @greg0ire
 - [10828: Match namespace in XML file with namespace in XSD file](doctrine#10828) thanks to @greg0ire
 - [10812: Remove lone dash](doctrine#10812) thanks to @greg0ire
 - [10800: Explain `EntityManager::getReference()` peculiarities](doctrine#10800) thanks to @mpdude

#### Static Analysis

 - [10842: PHPStan 1.10.25, Psalm 5.13.1](doctrine#10842) thanks to @derrabus
 - [10804: Follow recommendation about multiline type](doctrine#10804) thanks to @greg0ire
 - [10802: Upgrade to Psalm 5.13](doctrine#10802) thanks to @greg0ire

CI
--

 - [10824: Add dummy title to the sidebar before checking docs](doctrine#10824) thanks to @greg0ire

#### Bug

 - [10819: Fix cloning entities when using lazy-ghost proxies](doctrine#10819) thanks to @nicolas-grekas
 - [10813: Let XML driver treat <id> field attributes same as regular <field> tag](doctrine#10813) thanks to @Greg0
 - [10806: Fix enum change set recomputation on single entity](doctrine#10806) thanks to @rmikalkenas
 - [10791: Avoid creating unmanaged proxy instances for referred-to entities during `merge()`](doctrine#10791) thanks to @mpdude
 - [10789: distinct() updates QueryBuilder state correctly](doctrine#10789) thanks to @macroparts
 - [10786: Fix attach entity listener when reset class metadata factory](doctrine#10786) thanks to @vuongxuongminh

#### Test Suite

 - [10807: Move three "Ticket/"-style tests to the right namespace](doctrine#10807) thanks to @mpdude
 - [10803: Fix unserialize() errors when running tests on PHP 8.3](doctrine#10803) thanks to @nicolas-grekas
 - [10798: Resort on Query::HINT&doctrine#95;FORCE&doctrine#95;PARTIAL&doctrine#95;LOAD less](doctrine#10798) thanks to @greg0ire

#### Code Style

 - [10790: Work around slevomat/coding-standard issues](doctrine#10790) thanks to @greg0ire

2.15.3

Toggle 2.15.3's commit message

Verified

This tag was signed with the committer’s verified signature.
doctrinebot Doctrine Bot
### 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

2.15.2

Toggle 2.15.2's commit message

Verified

This tag was signed with the committer’s verified signature.
doctrinebot Doctrine Bot
### 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

2.15.1

Toggle 2.15.1's commit message

Verified

This tag was signed with the committer’s verified signature.
doctrinebot Doctrine Bot
### 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

2.15.0

Toggle 2.15.0's commit message

Verified

This tag was signed with the committer’s verified signature.
doctrinebot Doctrine Bot
### 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