Tags: krisbuist/doctrine-orm
Tags
### Release Notes for [3.1.0](https://github.com/doctrine/orm/milesto… …ne/143) Feature release (minor) ### 3.1.0 - Total issues resolved: **0** - Total pull requests resolved: **11** - Total contributors: **2** #### Deprecation - [11330: Use EnumReflectionProperty class from persistence package ](doctrine#11330) thanks to @greg0ire - [11294: Translate comment into code and annotations](doctrine#11294) thanks to @greg0ire - [11211: Deprecate array access](doctrine#11211) thanks to @greg0ire #### Improvement - [11325: Bump Doctrine Collections to 2.2](doctrine#11325) thanks to @derrabus - [11261: Validate more variadic parameters](doctrine#11261) thanks to @derrabus - [11260: Throw if a variadic parameter contains unexpected named arguments](doctrine#11260) thanks to @derrabus #### Static Analysis - [11276: Remove implicit casts in FileLock.php](doctrine#11276) thanks to @greg0ire - [11275: Account for inversedBy being a non-falsy-string or null](doctrine#11275) thanks to @greg0ire - [11272: Improve static analysis on AttachEntityListenersListener](doctrine#11272) thanks to @greg0ire - [11214: Replace more occurrences of array access](doctrine#11214) thanks to @greg0ire #### Documentation,Improvement - [11212: Follow up on array access deprecation](doctrine#11212) thanks to @greg0ire
### Release Notes for [2.19.0](https://github.com/doctrine/orm/milest… …one/145) ### 2.19.0 - Total issues resolved: **0** - Total pull requests resolved: **5** - Total contributors: **4** #### Documentation - [11335: Prepare releases 2.19 and 3.1](doctrine#11335) thanks to @derrabus #### Improvement - [11332: Refator array&doctrine#95;map into simple loop for performance](doctrine#11332) thanks to @beberlei - [11234: Remove references to deprecated constants from Lexer](doctrine#11234) thanks to @derrabus #### Deprecation - [11309: Deprecate invalid method call](doctrine#11309) thanks to @greg0ire #### Deprecation,Improvement - [11228: Add TokenType class](doctrine#11228) thanks to @connorhu
### Release Notes for [2.18.3](https://github.com/doctrine/orm/milest… …one/148) ### 2.18.3 - Total issues resolved: **0** - Total pull requests resolved: **2** - Total contributors: **2** CI -- - [11336: Bump CI workflows](doctrine#11336) thanks to @derrabus #### Bug - [11314: Fix SchemaTool::getSchemaFromMetadata() uniqueConstraint without a predefined name](doctrine#11314) thanks to @rmotaln
### Release Notes for [3.0.2](https://github.com/doctrine/orm/milesto… …ne/147) ### 3.0.2 - Total issues resolved: **0** - Total pull requests resolved: **3** - Total contributors: **2** #### Code Style - [11324: Remove PHP 7 workarounds](doctrine#11324) thanks to @derrabus #### Bug - [11308: Throw a full-fledged exception on invalid call](doctrine#11308) thanks to @greg0ire #### Improvement - [11305: Remove extra word](doctrine#11305) thanks to @greg0ire
### Release Notes for [2.18.2](https://github.com/doctrine/orm/milest… …one/146) ### 2.18.2 - Total issues resolved: **0** - Total pull requests resolved: **4** - Total contributors: **2** #### Static Analysis - [11326: Psalm 5.22.2](doctrine#11326) thanks to @derrabus - [11320: PHPStan 1.10.59](doctrine#11320) thanks to @derrabus - [11298: Fix sqlWalker::walkSimpleArithmeticExpression phpdoc](doctrine#11298) thanks to @VincentLanglet #### Bug - [11315: Address deprecations from Collection 2.2](doctrine#11315) thanks to @derrabus
### Release Notes for [3.0.1](https://github.com/doctrine/orm/milesto… …ne/142) 3.0.x bugfix release (patch) ### 3.0.1 - Total issues resolved: **1** - Total pull requests resolved: **12** - Total contributors: **8** #### BC Break,Bug - [11287: Allow (Array)ParameterType in QueryBuilder](doctrine#11287) thanks to @derrabus #### Test Suite - [11265: Remove unused trait](doctrine#11265) thanks to @greg0ire #### Documentation - [11257: &doctrine#91;Documentation&doctrine#93; Adding link to Postgres upgrade article](doctrine#11257) thanks to @ThomasLandauer - [11224: Clean up outdated sentence](doctrine#11224) thanks to @BenMorel - [11222: Update PHP requirement in README.md](doctrine#11222) thanks to @andreybolonin - [11221: Update version ORM from 2 to 3 in docs](doctrine#11221) thanks to @andreybolonin - [11219: Bump dependencies in the "getting started" docs page](doctrine#11219) thanks to @derrabus - [11218: DoctrineSetup was renamed to ORMSetup](doctrine#11218) thanks to @derrabus #### Bug - [11243: Remove broken assertion from DateAddFunction and DateSubFunction](doctrine#11243) thanks to @ondrejmirtes - [11242: fix: support array-type arg in QB variadic calls](doctrine#11242) thanks to @simPod - [11240: 3.0 - DQL AST - assert(is&doctrine#95;numeric($sql)) is wrong in DateAddFunction and DateSubFunction](doctrine#11240) thanks to @ondrejmirtes #### Static Analysis - [11226: Be less restrictive in DiscriminatorColumnMapping phpdoc](doctrine#11226) thanks to @VincentLanglet CI -- - [11210: Switch back to stable dependencies](doctrine#11210) thanks to @derrabus
### Release Notes for [2.18.1](https://github.com/doctrine/orm/milest… …one/144) ### 2.18.1 - Total issues resolved: **0** - Total pull requests resolved: **9** - Total contributors: **4** #### Test Suite - [11288: Backport QueryParameterTest](doctrine#11288) thanks to @derrabus CI -- - [11281: Fix StaticAnalysis folder reference](doctrine#11281) thanks to @connorhu #### Bug - [11270: Treat '0' as a legitimate trim char](doctrine#11270) thanks to @greg0ire - [11200: Ignore subclasses without discriminatorValue when generating discriminator column condition SQL](doctrine#11200) thanks to @DemoniacDeath #### Documentation - [11269: docs: recommend safer way to disable logging](doctrine#11269) thanks to @greg0ire - [11266: More valid docs](doctrine#11266) thanks to @greg0ire - [11252: Make docs valid according to guides 0.3.3](doctrine#11252) thanks to @greg0ire - [11220: Point link to correct upgrade guide](doctrine#11220) thanks to @greg0ire - [11207: Update branches in README](doctrine#11207) thanks to @derrabus
### Release Notes for [3.0.0](https://github.com/doctrine/orm/milesto… …ne/1) ### 3.0.0 - Total issues resolved: **9** - Total pull requests resolved: **241** - Total contributors: **22** #### Improvement - [11205: Run Rector on the source code](doctrine#11205) thanks to @greg0ire - [11085: XmlDriver: remove dead code](doctrine#11085) thanks to @staabm - [10986: Drop support for unserializing old serialization formats](doctrine#10986) thanks to @greg0ire - [10984: Allow VarExporter 7](doctrine#10984) thanks to @derrabus - [10843: Declare compatibility with DBAL 4](doctrine#10843) thanks to @derrabus - [10805: Validate phpunit.xml against PHPUnit 10 schema](doctrine#10805) thanks to @greg0ire - [10730: Migrate to the object API of Join{Column,Table}Mapping](doctrine#10730) thanks to @greg0ire - [10729: Make the join table name and join column name mandatory](doctrine#10729) thanks to @greg0ire - [10723: Migrate to the object API of AssociationMapping](doctrine#10723) thanks to @greg0ire - [10698: Move joinColumnFieldNames down the class hierarchy](doctrine#10698) thanks to @greg0ire - [10696: Add templating for getOwningSide](doctrine#10696) thanks to @greg0ire - [10688: Introduce method to get to the owning side](doctrine#10688) thanks to @greg0ire - [10682: Make sure unneeded fields are not present](doctrine#10682) thanks to @greg0ire - [10681: Rework association mapping hierarchy](doctrine#10681) thanks to @greg0ire - [10650: Improve named constructors' phpdoc](doctrine#10650) thanks to @greg0ire - [10649: Use valid relationships](doctrine#10649) thanks to @greg0ire - [10646: Migrate basic entity persister to the object API of association mapping](doctrine#10646) thanks to @greg0ire - [10641: Move $(sourceToTarget|targetToSource)KeyColumns down](doctrine#10641) thanks to @greg0ire - [10637: Move properties down](doctrine#10637) thanks to @greg0ire - [10636: Move joinTableColumns down](doctrine#10636) thanks to @greg0ire - [10629: Migrate to embedded class mapping object API](doctrine#10629) thanks to @greg0ire - [10628: Migrate to DiscriminatorColumnMapping's object API](doctrine#10628) thanks to @greg0ire - [10617: Use Rector to migrate to the object API of FieldMapping](doctrine#10617) thanks to @greg0ire - [10613: Extract AssociationMapping in its own DTO](doctrine#10613) thanks to @greg0ire - [10542: Stabilize DBAL version constraint](doctrine#10542) thanks to @derrabus - [10352: Leverage new `ArrayParameterType` constants](doctrine#10352) thanks to @derrabus - [10332: Drop doctrine/lexer 2](doctrine#10332) thanks to @greg0ire - [10326: Cleanup code from PR10313 from 2.14.x](doctrine#10326) thanks to @michnovka - [10323: Migrate Doctrine\ORM\Internal\CommitOrder to PHP 8.1](doctrine#10323) thanks to @derrabus - [10305: Clean-up code after PR10288 merge](doctrine#10305) thanks to @michnovka - [10286: Remove `setAccessible()` calls](doctrine#10286) thanks to @derrabus - [10285: Modernize `Closure::fromCallable()` calls](doctrine#10285) thanks to @derrabus - [10259: Drop support for Symfony 4](doctrine#10259) thanks to @derrabus - [10210: Migrate Cache namespace to php 8](doctrine#10210) thanks to @greg0ire - [10203: Purge annotations from /lib](doctrine#10203) thanks to @greg0ire - [10185: Remove last remnants of the YAML driver](doctrine#10185) thanks to @greg0ire - [10173: Bump DBAL to 3.5 and remove BC hacks](doctrine#10173) thanks to @derrabus - [9968: Stabilize the DBAL dependency](doctrine#9968) thanks to @derrabus - [9957: Drop unmaintained Symfony versions](doctrine#9957) thanks to @derrabus - [9956: Flag properties as readonly if possible](doctrine#9956) thanks to @derrabus and @greg0ire - [9954: Remove obsolete PHP version checks](doctrine#9954) thanks to @derrabus - [9925: Require PHP 8.1](doctrine#9925) thanks to @derrabus - [9885: Address API removals from upstream](doctrine#9885) thanks to @greg0ire - [9535: Leverage the `Stringable` interface](doctrine#9535) thanks to @derrabus - [9413: Remove check for `getSQLResultCasing()`](doctrine#9413) thanks to @derrabus - [9293: Enable PHPCS rules for PHP 8.0](doctrine#9293) thanks to @derrabus - [9290: &doctrine#91;RFC&doctrine#93; Drop support for PHP 7.4](doctrine#9290) thanks to @derrabus - [9104: Changed EntityRepository count method $criteria parameter to optional](doctrine#9104) thanks to @soltmar - [9069: Remove support for DBAL 2](doctrine#9069) thanks to @derrabus - [7195: Move orm exception up](doctrine#7195) thanks to @greg0ire #### Deprecation - [11165: Allow XML validation to be disabled but keep it enabled by default.](doctrine#11165) thanks to @jwage - [8460: Deprecate EntityManager::clear with argument of one entity class and EntityRepository::clear ](doctrine#8460) thanks to @beberlei - [8459: Deprecate EntityManager::flush with $entity argument](doctrine#8459) thanks to @beberlei - [11147: Remove irrelevant PHP version checks](doctrine#11147) thanks to @greg0ire - [11045: Dynamically resolve AUTO to SEQUENCE or IDENTITY](doctrine#11045) thanks to @greg0ire - [10635: Introduce and leverage more convenience methods](doctrine#10635) thanks to @greg0ire - [10634: Remove wrong comparison](doctrine#10634) thanks to @greg0ire - [10633: Check only owning relationships](doctrine#10633) thanks to @greg0ire - [10506: Migrate Parser to PHP 8](doctrine#10506) thanks to @greg0ire - [10440: Migrate entity manager to PHP 8 syntax](doctrine#10440) thanks to @greg0ire - [10379: Remove ClassMetadataInfo](doctrine#10379) thanks to @greg0ire - [10378: Migrate classes with the fewest changes](doctrine#10378) thanks to @greg0ire - [10374: Migrate classes with the fewest changes to PHP 8](doctrine#10374) thanks to @greg0ire - [10309: Drop doctrine/lexer 1](doctrine#10309) thanks to @greg0ire - [10227: Migrate Expr and Lexer to PHP 8 syntax](doctrine#10227) thanks to @greg0ire - [10219: Migrate AST namespace to PHP 8 syntax](doctrine#10219) thanks to @greg0ire - [10177: Purge annotations](doctrine#10177) thanks to @greg0ire - [10118: Use intersection types](doctrine#10118) thanks to @greg0ire - [10113: Migrate to attributes](doctrine#10113) thanks to @greg0ire - [10102: Address method rename](doctrine#10102) thanks to @greg0ire - [9835: Migrate Configuration to PHP 8 syntax](doctrine#9835) thanks to @greg0ire - [9829: Address removals of doctrine-dbal](doctrine#9829) thanks to @MarcBrillault - [9815: Address deprecation of supportsForeignKeyConstraints()](doctrine#9815) thanks to @greg0ire - [9800: Migrate tests to PHP8 syntax](doctrine#9800) thanks to @greg0ire - [9776: Migrate to PHP 8: AbstractQuery and child classes](doctrine#9776) thanks to @greg0ire - [9758: Use native type declaration for naming strategies](doctrine#9758) thanks to @greg0ire - [9740: Build with DBAL 4@dev on PostgreSQL](doctrine#9740) thanks to @morozov - [9738: Address some deprecations](doctrine#9738) thanks to @greg0ire - [9735: Build with DBAL 4@dev on MySQL and MariaDB](doctrine#9735) thanks to @morozov - [9634: Remove deprecated handling of custom ObjectRepository implementations](doctrine#9634) thanks to @derrabus - [9462: Remove PHP 7 code](doctrine#9462) thanks to @derrabus - [9395: Stabilize DBAL dependency](doctrine#9395) thanks to @derrabus - [9291: Replace mocks with middlewares](doctrine#9291) thanks to @derrabus - [9094: Bump required PHP version to 7.4](doctrine#9094) thanks to @derrabus - [9085: Refactor ORMException into an interface](doctrine#9085) thanks to @greg0ire - [6673: Add support for updatable columns](doctrine#6673) thanks to @lcobucci - [6671: Add support for insertable columns](doctrine#6671) thanks to @lcobucci #### Bug - [11071: Remove wrong assertion](doctrine#11071) thanks to @greg0ire - [11061: Fix calls to removed lock methods](doctrine#11061) thanks to @derrabus - [10995: Fix array parameters with DBAL 4](doctrine#10995) thanks to @derrabus - [10728: Declare options property](doctrine#10728) thanks to @greg0ire - [10354: Fix build for DBAL 4](doctrine#10354) thanks to @derrabus - [9924: Adjust casing of `SQLitePlatform` for DBAL 4](doctrine#9924) thanks to @derrabus #### BC Break - [11013: Enforce native type declarations](doctrine#11013) thanks to @greg0ire - [10998: Sever ties to common](doctrine#10998) thanks to @greg0ire - [10985: Remove partial syntax in DQL](doctrine#10985) thanks to @greg0ire - [10975: Change EntityPersister return type](doctrine#10975) thanks to @greg0ire - [10969: Use lazy ghosts unconditionally](doctrine#10969) thanks to @greg0ire - [10968: Reject ID collisions in identity map unconditionally](doctrine#10968) thanks to @greg0ire - [10964: Updated order of mapping attribute parameters](doctrine#10964) thanks to @soltmar - [10778: Disallow lifecycle callbacks on embedded classes](doctrine#10778) thanks to @greg0ire - [10777: Turn deprecation into an exception](doctrine#10777) thanks to @greg0ire - [10769: Remove Notify change tracking policy](doctrine#10769) thanks to @greg0ire - [10768: Enable XML validation unconditionally](doctrine#10768) thanks to @greg0ire - [10764: Cleanup bc layers](doctrine#10764) thanks to @greg0ire - [10741: Cleanup bc layers](doctrine#10741) thanks to @greg0ire - [10699: Narrow down parameter types for quote strategies](doctrine#10699) thanks to @greg0ire - [10667: Throw on invalid one to one](doctrine#10667) thanks to @greg0ire - [10520: Turn deprecation from doctrine#10470 into an exception in 3.0.x](doctrine#10520) thanks to @mpdude - [10509: Migrate the rest of the source code to PHP 8 syntax](doctrine#10509) thanks to @greg0ire - [10503: Migrate ClassMetadata to PHP 8 syntax](doctrine#10503) thanks to @greg0ire - [10500: Stop relying on underscores to indicate property visibility](doctrine#10500) thanks to @greg0ire - [10497: Migrate more classes to PHP 8 syntax](doctrine#10497) thanks to @greg0ire - [10496: Migrate database driver to PHP 8 syntax](doctrine#10496) thanks to @greg0ire - [10463: Make missing inheritance declaration a failure](doctrine#10463) thanks to @mpdude - [10448: Migrate ParserResult to PHP 8 syntax](doctrine#10448) thanks to @greg0ire - [10414: Remove concrete table inheritance](doctrine#10414) thanks to @mpdude - [10402: Migrate remaining exceptions to PHP 8 syntax](doctrine#10402) thanks to @greg0ire - [10380: Migrate exceptions to PHP 8 syntax](doctrine#10380) thanks to @greg0ire - [10375: Remove deprecated methods and classes](doctrine#10375) thanks to @greg0ire - [10347: Allow Lexer 3](doctrine#10347) thanks to @derrabus - [10346: Modernize QueryExpressionVisitor](doctrine#10346) thanks to @derrabus - [10303: Remove `$entityAnnotationClasses` and `getReader()`](doctrine#10303) thanks to @derrabus - [10272: Remove InExpression](doctrine#10272) thanks to @derrabus - [10196: Add `$lockMode` parameter to `EntityManager::refresh()`](doctrine#10196) thanks to @michnovka - [10192: Remove the Annotation interface](doctrine#10192) thanks to @derrabus - [10175: Remove DriverChain](doctrine#10175) thanks to @derrabus - [10172: Remove EntityManager::create()](doctrine#10172) thanks to @derrabus - [10151: Add native types to annotation classes](doctrine#10151) thanks to @derrabus - [10114: Remove SQL resultset mapping](doctrine#10114) thanks to @greg0ire - [10084: Migrate collections to PHP 8 syntax](doctrine#10084) thanks to @greg0ire - [10053: Add types to PersisterHelper](doctrine#10053) thanks to @derrabus - [10052: Add types to mapping builders](doctrine#10052) thanks to @derrabus - [9976: Add types to EntityListenerResolver](doctrine#9976) thanks to @derrabus and @greg0ire - [9962: Add types to ProxyFactory](doctrine#9962) thanks to @derrabus and @greg0ire - [9953: Resolve QueryBuilder deprecations](doctrine#9953) thanks to @derrabus - [9911: Show Expr::countDistinct() and Expr::concat() use variable-length argument lists](doctrine#9911) thanks to @craigfrancis - [9909: Show Expr::countDistinct() and Expr::concat() use variable-length argument lists](doctrine#9909) thanks to @craigfrancis - [9900: Migrate part of the tools namespace to PHP8 syntax](doctrine#9900) thanks to @greg0ire - [9852: Migrate Internal namespace to PHP8](doctrine#9852) thanks to @MarcBrillault and @greg0ire - [9851: Migrate more code to PHP8](doctrine#9851) thanks to @greg0ire - [9838: Stop allowing identity columns emulation](doctrine#9838) thanks to @greg0ire - [9828: migrate Tools/Schema* to php8.0](doctrine#9828) thanks to @MarcBrillault and @greg0ire - [9798: Made setters parameters mandatory](doctrine#9798) thanks to @derrabus - [9755: Require new argument to joinColumnName()](doctrine#9755) thanks to @greg0ire - [9741: Make UnderscoreNamingStrategy number-aware only](doctrine#9741) thanks to @greg0ire - [9713: Remove last references to ClassMetadataInfo](doctrine#9713) thanks to @greg0ire - [9705: Remove support for Type::canRequireSQLConversion()](doctrine#9705) thanks to @morozov - [9665: Drop support for persistence 2](doctrine#9665) thanks to @derrabus - [9662: Remove the doctrine binary](doctrine#9662) thanks to @derrabus - [9640: Remove console helper](doctrine#9640) thanks to @derrabus - [9631: Add native types to reflection property classes](doctrine#9631) thanks to @derrabus - [9614: Remove support for `ObjectManagerAware`](doctrine#9614) thanks to @derrabus - [9597: Remove support for entity namespace aliases](doctrine#9597) thanks to @greg0ire - [9551: Split TreeWalker and SqlWalker](doctrine#9551) thanks to @derrabus - [9524: Add native types to SQLFilter](doctrine#9524) thanks to @derrabus - [9520: Remove `TreeWalkerChainIterator`](doctrine#9520) thanks to @derrabus - [9515: Add native types to EntityRepository](doctrine#9515) thanks to @derrabus - [9508: Add native types to caches](doctrine#9508) thanks to @derrabus - [9502: Remove `Proxy` marker interface](doctrine#9502) thanks to @derrabus - [9500: Remove quoting methods from ClassMetadata](doctrine#9500) thanks to @derrabus - [9498: Remove various deprecated methods and properties](doctrine#9498) thanks to @derrabus - [9490: Add native types to QueryBuilder](doctrine#9490) thanks to @derrabus - [9488: Remove ability to merge detached entities](doctrine#9488) thanks to @derrabus - [9485: Remove ability to flush the EM partially](doctrine#9485) thanks to @derrabus - [9471: Remove ability to clear the UoW partially](doctrine#9471) thanks to @derrabus - [9469: Add native types to persisters](doctrine#9469) thanks to @derrabus - [9456: Remove support for Doctrine Cache](doctrine#9456) thanks to @derrabus - [9450: Add more native types to entity manager implementations](doctrine#9450) thanks to @derrabus - [9447: Remove deprecated Setup class](doctrine#9447) thanks to @derrabus - [9428: Removing the deprecated Named (Native) Queries in Metadata/EntityRepository](doctrine#9428) thanks to @sir-kain - [9403: Remove MultiGetRegion and add native types to Region implementations](doctrine#9403) thanks to @derrabus - [9400: Add native types to CacheLogger implementations](doctrine#9400) thanks to @derrabus - [9396: Add native types to EntityHydrator](doctrine#9396) thanks to @derrabus - [9392: Remove old cache accessors and mutators from query classes](doctrine#9392) thanks to @derrabus - [9367: Remove `AbstractIdGenerator::generate()` and add native types to ID generators](doctrine#9367) thanks to @derrabus - [9359: Add native types to console classes](doctrine#9359) thanks to @derrabus - [9358: Remove `Configuration::ensureProductionSettings()`](doctrine#9358) thanks to @derrabus - [9353: Add native types to `AbstractHydrator` and child classes](doctrine#9353) thanks to @derrabus - [9348: Remove support for Doctrine Cache in second level cache](doctrine#9348) thanks to @derrabus - [9308: &doctrine#91;doctrineGH-9277&doctrine#93; remove deprecated `PHPDriver`](doctrine#9308) thanks to @beberlei - [9292: Add types to entity manager](doctrine#9292) thanks to @derrabus - [9278: Remove EntityManager::transactional()](doctrine#9278) thanks to @derrabus - [9259: Do not use AbstractPlatform::canEmulateSchemas()](doctrine#9259) thanks to @morozov - [9251: Remove `Setup::registerAutoloadDirectory()`](doctrine#9251) thanks to @derrabus - [9227: Remove the `Version` class](doctrine#9227) thanks to @derrabus - [9226: Remove code generators](doctrine#9226) thanks to @derrabus - [9076: Remove AbstractHydrator::hydrateRow()](doctrine#9076) thanks to @derrabus - [9070: Remove `Query::iterate()`](doctrine#9070) thanks to @derrabus - [9045: Remove TABLE and UUID strategies](doctrine#9045) thanks to @derrabus - [8654: Removed EntityManagerInteface::copy()](doctrine#8654) thanks to @smilesrg - [8319: Fix variadic args in Expr](doctrine#8319) thanks to @simPod - [7199: Inherit from homonym exception in parent package](doctrine#7199) thanks to @greg0ire #### Static Analysis - [11012: Use native return type declarations in Debug class](doctrine#11012) thanks to @greg0ire - [10701: Introduce convenience methods to narrow types](doctrine#10701) thanks to @greg0ire - [10700: fix wrong phpdoc](doctrine#10700) thanks to @greg0ire - [10697: Narrow down ClassMetadata::associationMappings type](doctrine#10697) thanks to @greg0ire - [10687: Make indexBy/orderBy easier to understand for SA](doctrine#10687) thanks to @greg0ire - [10367: Migrate files with the least changes to PHP 8](doctrine#10367) thanks to @greg0ire - [9974: Update Psalm config](doctrine#9974) thanks to @derrabus - [9778: Precise phpdoc of getRootEntities](doctrine#9778) thanks to @VincentLanglet - [9742: Run static analysis with DBAL 4@dev](doctrine#9742) thanks to @morozov - [9613: Document that entity names have to be FQCNs now](doctrine#9613) thanks to @derrabus CI -- - [11011: Prepare CI for stable DBAL 4](doctrine#11011) thanks to @derrabus - [10971: Restore job with --prefer-lowest](doctrine#10971) thanks to @greg0ire - [9734: Build with DBAL 4@dev on SQLite](doctrine#9734) thanks to @morozov #### BC Break,Improvement - [11001: Remove schema visitors](doctrine#11001) thanks to @derrabus - [10612: Extract embedded class mapping into its own DTO](doctrine#10612) thanks to @greg0ire - [10609: Extract discriminator column mapping into its own DTO](doctrine#10609) thanks to @greg0ire - [10607: Field mapping DTO](doctrine#10607) thanks to @greg0ire - [9329: Add types to `UnitOfWork`](doctrine#9329) thanks to @derrabus #### Documentation - [10954: docs: remove reference to removed yaml configuration option](doctrine#10954) thanks to @dannyvankooten - [10853: Remove outdated comment](doctrine#10853) thanks to @greg0ire - [10782: Remove missed note about deprecated drivers](doctrine#10782) thanks to @andersonamuller - [10596: Remove contradictory comment of ORMException](doctrine#10596) thanks to @SenseException - [9963: Flag QueryType as internal](doctrine#9963) thanks to @derrabus - [7073: README.md typo?](doctrine#7073) thanks to @Dadibom #### Test Suite - [10910: Remove PHPUnit polyfills](doctrine#10910) thanks to @greg0ire - [10644: Become strict about notices and warnings](doctrine#10644) thanks to @greg0ire - [10631: Remove obsolete `RequiresPhp` attributes](doctrine#10631) thanks to @derrabus - [10567: Forbid PHPUnit annotations](doctrine#10567) thanks to @derrabus - [10559: Convert PHPUnit annotations to attributes](doctrine#10559) thanks to @chr-hertel - [10492: PHPUnit 10](doctrine#10492) thanks to @derrabus - [9959: Use intersection types in tests](doctrine#9959) thanks to @derrabus and @greg0ire - [9869: Fix broken mocks due to removal of `Driver::getSchemaManager()`](doctrine#9869) thanks to @derrabus - [9832: Run test with DBAL 4](doctrine#9832) thanks to @greg0ire - [9814: Remove MockBuilderCompatibilityTools](doctrine#9814) thanks to @derrabus - [9728: Test MySQL DDL using explicit table options](doctrine#9728) thanks to @morozov - [9724: Remove ConnectionMock](doctrine#9724) thanks to @morozov - [9722: Remove DriverResultMock](doctrine#9722) thanks to @morozov - [9717: Remove ConnectionMock::delete()](doctrine#9717) thanks to @morozov - [9716: Remove DatabasePlatformMock](doctrine#9716) thanks to @morozov - [9715: Remove some mock classes](doctrine#9715) thanks to @morozov - [9709: Remove non-API DriverConnectionMock methods](doctrine#9709) thanks to @morozov - [9422: Remove DBAL 2 compatible SQL logging](doctrine#9422) thanks to @derrabus - [9402: Make test types compatible with Doctrine DBAL 4.0.x-dev](doctrine#9402) thanks to @morozov #### Documentation,Test Suite - [10793: Remove remaining references to the `merge()` operation](doctrine#10793) thanks to @mpdude and @beberlei #### BC Break,Static Analysis - [10556: Add more native types to entity manager](doctrine#10556) thanks to @derrabus - [10243: Migrate persisters to PHP 8 syntax](doctrine#10243) thanks to @greg0ire - [10214: Migrate function nodes to PHP 8 syntax](doctrine#10214) thanks to @greg0ire - [9978: Add types to `Node::dispatch()`](doctrine#9978) thanks to @derrabus and @greg0ire - [9923: Add native types to QuoteStrategy classes](doctrine#9923) thanks to @derrabus - [9620: Add native types to ResultSetMapping](doctrine#9620) thanks to @derrabus #### BC Break,Bug - [9950: Fix DBAL 4 compatibility](doctrine#9950) thanks to @derrabus #### CI,Improvement - [9727: Run builds with DBAL 4.0.x-dev](doctrine#9727) thanks to @morozov #### Failing Test,Improvement,New Feature,Pick to master,Requires merge/review,WIP - [7825: Improved support for Mapped Superclasses](doctrine#7825) thanks to @andrews05 #### BC Break,Documentation - [7196: Document exception-splitting-related BC-breaks](doctrine#7196) thanks to @greg0ire
### Release Notes for [2.18.0](https://github.com/doctrine/orm/milest… …one/137) Feature release (minor) ### 2.18.0 - Total issues resolved: **0** - Total pull requests resolved: **5** - Total contributors: **1** #### Improvement - [11195: Use a more specific type for getSqlStatements()](doctrine#11195) thanks to @greg0ire - [11180: Allow doctrine/lexer 3](doctrine#11180) thanks to @greg0ire - [11148: Flatten directory tree on 2.18](doctrine#11148) thanks to @greg0ire - [11183: Remove remaining submodules](doctrine#11183) thanks to @greg0ire CI -- - [11181: Look for lib remnants in hidden files](doctrine#11181) thanks to @greg0ire
PreviousNext