Tags: doctrine/orm
Tags
### Release Notes for [3.6.0](https://github.com/doctrine/orm/milesto… …ne/189) Feature release (minor) ### 3.6.0 - Total issues resolved: **0** - Total pull requests resolved: **21** - Total contributors: **13** #### Documentation - [12313: doc: do not mention `InverseJoinColumn` since it’s only with PHP 8.0](#12313) thanks to @alexislefebvre #### Deprecation - [12279: Deprecate string default expressions](#12279) thanks to @greg0ire - [12273: Deprecate FieldMapping::$default](#12273) thanks to @greg0ire - [12126: Deprecate specifying nullable on primary key columns](#12126) thanks to @greg0ire - [12051: Stop using QueryBuilder::getRootAlias()](#12051) thanks to @greg0ire #### New Feature - [12268: Add hints to QueryBuilder](#12268) thanks to @pmaasz - [12165: Add commands for inspecting configured listeners](#12165) thanks to @HypeMC - [12071: Add JSON format option for orm:mapping:describe command output](#12071) thanks to @stlgaits - [12065: Use enum values from enumType in DiscriminatorColumn and check DiscriminatorMap values against it](#12065) thanks to @whataboutpereira #### Improvement - [12232: SQLFilter: replace internal array shape with class](#12232) thanks to @derrabus - [12214: Stop using deprecated Collections constants](#12214) thanks to @derrabus - [12198: Update DQL arbitrary joins to use the ON keyword instead of WITH](#12198) thanks to @stof - [12110: Allow Symfony 8](#12110) thanks to @derrabus - [12095: Performance optimization in `ScalarColumnHydrator::hydrateAllData()`](#12095) thanks to @maxm86545 - [12068: QueryBuilder: prevent misuse of DELETE with LIMIT](#12068) thanks to @janedbal - [12196: Add deprecation messages for methods that were only annotated as being `@deprecated`](#12196) thanks to @mpdude - [12131: Feature: add support for `ClassLocator`](#12131) thanks to @rela589n #### Bug - [12138: fix pull request URL](#12138) thanks to @xabbuh #### Test Suite - [12135: Add missing assertion in test](#12135) thanks to @greg0ire CI -- - [12112: Include stability in coverage file key](#12112) thanks to @derrabus - [12102: Run tests with Symfony 8](#12102) thanks to @derrabus
### Release Notes for [3.5.8](https://github.com/doctrine/orm/milesto… …ne/199) 3.5.x bugfix release (patch) ### 3.5.8 - Total issues resolved: **0** - Total pull requests resolved: **6** - Total contributors: **2** #### Test Suite - [12309: Remove obsolete VarExporter feature detection](#12309) thanks to @derrabus - [12307: Explicitly set a cache in testDisablingXmlValidationIsPossible](#12307) thanks to @derrabus - [12287: Add ORDER BY clause to more test cases](#12287) thanks to @greg0ire #### Improvement - [12308: Allow Symfony 8](#12308) thanks to @derrabus CI -- - [12303: Removes Guides from our dependencies](#12303) thanks to @derrabus #### Static Analysis,Test Suite - [12301: Fix PHPStan and test errors after DBAL 4.4 and Symfony 7.4 releases](#12301) thanks to @derrabus
### Release Notes for [2.20.9](https://github.com/doctrine/orm/milest… …one/195) 2.20.x bugfix release (patch) ### 2.20.9 - Total issues resolved: **0** - Total pull requests resolved: **9** - Total contributors: **5** #### Bug - [12300: Support Symfony Console 8](#12300) thanks to @derrabus - [12285: Fix check for composite foreign key](#12285) thanks to @HypeMC - [11397: Fix eager fetch composite foreign key](#11397) thanks to @Brajk19 CI -- - [12292: Bump actions/checkout from 5 to 6](#12292) thanks to @dependabot[bot] - [12291: Bump doctrine/.github/.github/workflows/release-on-milestone-closed.yml from 12.2.0 to 13.0.0](#12291) thanks to @dependabot[bot] - [12290: Bump doctrine/.github/.github/workflows/coding-standards.yml from 12.2.0 to 13.0.0](#12290) thanks to @dependabot[bot] - [12289: Bump doctrine/.github/.github/workflows/documentation.yml from 12.2.0 to 13.0.0](#12289) thanks to @dependabot[bot] - [12288: Bump doctrine/.github/.github/workflows/composer-lint.yml from 12.2.0 to 13.0.0](#12288) thanks to @dependabot[bot] #### Documentation - [12281: Fix documentation about default values](#12281) thanks to @greg0ire
### Release Notes for [3.5.7](https://github.com/doctrine/orm/milesto… …ne/198) 3.5.x bugfix release (patch) ### 3.5.7 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** #### Bug - [12269: Undo merge from 3.6.x into 3.5.x](#12269) thanks to @greg0ire
### Release Notes for [3.5.4](https://github.com/doctrine/orm/milesto… …ne/194) 3.5.x bugfix release (patch) ### 3.5.4 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** #### Improvement - [12262: Address default expression deprecation](#12262) thanks to @greg0ire
### Release Notes for [2.20.8](https://github.com/doctrine/orm/milest… …one/193) 2.20.x bugfix release (patch) ### 2.20.8 - Total issues resolved: **0** - Total pull requests resolved: **4** - Total contributors: **3** CI -- - [12257: Bump doctrine/.github from 12.1.0 to 12.2.0](#12257) thanks to @dependabot[bot] - [12247: Setup composer lint workflow](#12247) thanks to @greg0ire #### Bug - [12254: fix: handling of empty array in SQL condition generation](#12254) thanks to @elliotbruneel #### Documentation - [12248: Drop link to mailing list](#12248) thanks to @greg0ire
### Release Notes for [3.5.3](https://github.com/doctrine/orm/milesto… …ne/192) 3.5.x bugfix release (patch) ### 3.5.3 - Total issues resolved: **0** - Total pull requests resolved: **13** - Total contributors: **5** #### Bug - [12236: bugfix - add fieldAlias for entities in dto](#12236) thanks to @eltharin - [12217: Fix DBAL deprecation](#12217) thanks to @derrabus - [12208: Handle quoted PK columns properly on DBAL 4](#12208) thanks to @derrabus - [12201: Fix missing import](#12201) thanks to @derrabus - [12142: Prefer non-deprecated AbstractAsset API](#12142) thanks to @derrabus - [12219: Move introduction outside of paragraph about 3.x](#12219) thanks to @greg0ire #### Test Suite - [12218: Ignore DBAL deprecation that we cannot fix (yet)](#12218) thanks to @derrabus - [12202: Add missing "Test" suffix](#12202) thanks to @greg0ire - [12161: Switch to IgnoreDeprecations](#12161) thanks to @greg0ire - [12146: PHPUnit 11](#12146) thanks to @greg0ire CI -- - [12188: Add a CI job that fails on deprecations](#12188) thanks to @derrabus #### Documentation - [12175: Remove Database and Model First chapters that said little of value.](#12175) thanks to @beberlei - [12148: docs: generation strategies: differences between DBAL 3 and 4](#12148) thanks to @lucasmirloup
### Release Notes for [2.20.7](https://github.com/doctrine/orm/milest… …one/191) 2.20.x bugfix release (patch) ### 2.20.7 - Total issues resolved: **0** - Total pull requests resolved: **25** - Total contributors: **10** CI -- - [12240: Bump actions/upload-artifact from 4 to 5](#12240) thanks to @dependabot[bot] - [12239: Bump actions/download-artifact from 5 to 6](#12239) thanks to @dependabot[bot] - [12227: Bump doctrine/.github from 10.1.0 to 12.0.0](#12227) thanks to @dependabot[bot] - [12223: Bump doctrine/.github from 8.0.0 to 10.1.0](#12223) thanks to @dependabot[bot] - [12185: Bump doctrine/.github from 7.3.0 to 8.0.0](#12185) thanks to @dependabot[bot] - [12180: add jobs using PHP 8.5 in the CI](#12180) thanks to @xabbuh - [12139: Bump actions/checkout from 4 to 5](#12139) thanks to @dependabot[bot] - [12127: Bump actions/download-artifact from 4 to 5](#12127) thanks to @dependabot[bot] #### Improvement - [12238: Avoid triggering a deprecation notice in doctrine/collections](#12238) thanks to @mpdude - [12216: Use docs builder in ORM repo](#12216) thanks to @paulinevos #### Documentation - [12233: Docs: fix typos and grammar across reference docs](#12233) thanks to @alisolphp #### Test Suite - [12220: Escape library as a table name in tests (#12170)](#12220) thanks to @mbeccati - [12200: Fix DQL JOIN syntax in two test cases](#12200) thanks to @mpdude - [12003: Remove calls to `getMockForAbstractClass()`](#12003) thanks to @derrabus #### Bug - [12212: Revert "Fix fields of transient classes being considered duplicate with `reportFieldsWhereDeclared` (#11769)"](#12212) thanks to @mpdude - [12190: Fix collection filtering API for `IN`/`NOT IN` comparisons that require type conversions](#12190) thanks to @mpdude - [12187: [GH-9219] Add support for toIterable over mixed or scalar results.](#12187) thanks to @beberlei - [12183: Paginator with output walker returns count 0 when the query has previously been executed](#12183) thanks to @mpdude - [12182: do not call setAccessible() on PHP >= 8.1](#12182) thanks to @xabbuh - [12181: use the empty string instead of null as an array offset](#12181) thanks to @xabbuh - [12174: Do not eagerly set metadata from `ResolveTargetEntityListener`](#12174) thanks to @mpdude - [11895: Fix `IN`/`NOT IN` expression handling and support enums when matching on to-many-collections](#11895) thanks to @mpdude #### Code Style - [12134: PHPCS 3.13.2](#12134) thanks to @greg0ire - [12133: PHPStan 2.1.22](#12133) thanks to @greg0ire - [12053: chore: remove run-all.sh](#12053) thanks to @alexislefebvre
PreviousNext