Tags: millsoft/orm
Tags
### Release Notes for [2.13.3](https://github.com/doctrine/orm/milest… …one/117) ### 2.13.3 - Total issues resolved: **0** - Total pull requests resolved: **7** - Total contributors: **3** CI -- - [10106: Bump CI workflows](doctrine#10106) thanks to @greg0ire #### Test Suite - [10101: Assert that serialization leaves PersistentCollection usable](doctrine#10101) thanks to @greg0ire - [10100: Forward compat attributes](doctrine#10100) thanks to @greg0ire #### Documentation - [10099: Fix attribute reference](doctrine#10099) thanks to @greg0ire - [10094: Fix heading levels for the embeddable tutorial](doctrine#10094) thanks to @stof #### Static Analysis - [10072: Remove return type override](doctrine#10072) thanks to @greg0ire #### Bug,Regression - [10058: Fix using enums with the QueryBuilder](doctrine#10058) thanks to @HypeMC
### Release Notes for [2.13.2](https://github.com/doctrine/orm/milest… …one/116) 2.13.x bugfix release (patch) ### 2.13.2 - Total issues resolved: **0** - Total pull requests resolved: **11** - Total contributors: **8** #### Static Analysis - [10054: Mark ClassMetadataInfo::sequenceGeneratorDefinition as nullable](doctrine#10054) thanks to @greg0ire - [10033: PHPStan 1.8.5, Psalm 4.27.0](doctrine#10033) thanks to @derrabus - [9983: Add phpdoc for ClassMetadataInfo::discriminatorColumn property](doctrine#9983) thanks to @VincentLanglet #### Bug - [10041: Fix ArrayHydration of enums](doctrine#10041) thanks to @michnovka #### Documentation - [10028: More strange break lines in inheritance-mapping.rst](doctrine#10028) thanks to @carlosbuenosvinos - [9994: Update query-builder.rst](doctrine#9994) thanks to @achasinh - [9848: Improve orphan removal documentation - recommend using cascade=persist ](doctrine#9848) thanks to @olsavmic CI -- - [10020: Bump Ubuntu version and shared workflows](doctrine#10020) thanks to @derrabus #### Code Style - [10009: Upgrade to doctrine/coding-standard 10.0.0](doctrine#10009) thanks to @greg0ire #### Test Suite - [10008: Fail gracefully if EM could not be constructed in tests](doctrine#10008) thanks to @derrabus #### Bug,Reverted - [9995: Fix EnumType not being hydrated with HYDRATE&doctrine#95;ARRAY](doctrine#9995) thanks to @kvush
### Release Notes for [2.13.1](https://github.com/doctrine/orm/milest… …one/114) ### 2.13.1 - Total issues resolved: **0** - Total pull requests resolved: **5** - Total contributors: **2** #### Deprecation - [9980: Undeprecate LifecycleEventArgs](doctrine#9980) thanks to @franmomu #### Documentation - [9979: Update documentation to not use deprecated method](doctrine#9979) thanks to @franmomu - [9971: Update branch metadata](doctrine#9971) thanks to @derrabus #### Static Analysis - [9977: Backport type fixes for EntityListenerResolver](doctrine#9977) thanks to @derrabus #### Test Suite - [9972: Remove calls to deprecated `Type::getName()`](doctrine#9972) thanks to @derrabus
### Release Notes for [2.13.0](https://github.com/doctrine/orm/milest… …one/110) Feature release (minor) ### 2.13.0 - Total issues resolved: **0** - Total pull requests resolved: **37** - Total contributors: **10** #### Improvement - [9969: Address DBAL 3.4 deprecations](doctrine#9969) thanks to @derrabus - [9915: Make EntityManager `@final` and its constructor public](doctrine#9915) thanks to @nicolas-grekas - [9903: schema tool: remove useless text from --dump-sql output](doctrine#9903) thanks to @glaszig - [9839: Use proper API for introspection of tables](doctrine#9839) thanks to @morozov - [9780: Kill call&doctrine#95;user&doctrine#95;func(&doctrine#95;array)](doctrine#9780) thanks to @derrabus - [9737: Improve compatibility with DBAL 4 for MySQL, MariaDB and PostgreSQL](doctrine#9737) thanks to @morozov - [9730: Forward compatibility with DBAL 4](doctrine#9730) thanks to @morozov - [6728: Validate XML mapping against XSD file](doctrine#6728) thanks to @greg0ire #### Static Analysis - [9965: Improve phpdoc for ClassMetadataInfo](doctrine#9965) thanks to @VincentLanglet - [9826: Improve phpdoc for Configuration](doctrine#9826) thanks to @greg0ire - [9794: Add type for AssociationMapping](doctrine#9794) thanks to @VincentLanglet - [9756: Document types as they are passed](doctrine#9756) thanks to @greg0ire - [9751: Update Psalm baseline](doctrine#9751) thanks to @derrabus #### Deprecation - [9945: Deprecate QueryBuilder APIs exposing its internal state](doctrine#9945) thanks to @derrabus - [9906: Deprecate `LifecycleEventArgs`](doctrine#9906) thanks to @franmomu - [9876: Change parent classes in some events](doctrine#9876) thanks to @franmomu - [9833: Deprecate reliance on sequence-emulated identity columns](doctrine#9833) thanks to @greg0ire - [9809: Deprecate passing null to Query::setFirstResult()](doctrine#9809) thanks to @greg0ire - [9791: Deprecate calling setters without arguments](doctrine#9791) thanks to @derrabus - [9786: Prepare split of output walkers and tree walkers](doctrine#9786) thanks to @derrabus - [9784: Deprecate passing null to Query::setDQL()](doctrine#9784) thanks to @greg0ire - [9765: Deprecate omitting the alias in QueryBuilder::update() and delete()](doctrine#9765) thanks to @Hanmac - [9747: Deprecate omitting second argument to joinColumnName() ](doctrine#9747) thanks to @greg0ire - [9704: Reference ClassMetadataInfo less a 8000 nd less](doctrine#9704) thanks to @greg0ire #### Test Suite - [9938: Stop passing event manager to constructor](doctrine#9938) thanks to @greg0ire - [9895: Avoid SQL assertions](doctrine#9895) thanks to @greg0ire - [9808: Remove calls to deprecated `MockBuilder::setMethods()`](doctrine#9808) thanks to @derrabus - [9806: Rename Abstract*Test to *TestCase](doctrine#9806) thanks to @derrabus - [9796: Add missing import](doctrine#9796) thanks to @derrabus - [9790: MockTreeWalker should be an SqlWalker](doctrine#9790) thanks to @derrabus - [9789: Move duplicate fixture into dedicated file](doctrine#9789) thanks to @derrabus #### New Feature - [9936: Support native enum hydration when using `NEW` operator](doctrine#9936) thanks to @romm - [9655: Allow setting column options like `charset` and `collation` on `JoinTable`, `JoinColumn` and `InverseJoinColumn`](doctrine#9655) thanks to @ruudk #### Improvement,Static Analysis - [9932: Add helper function `TreeWalkerAdapter::getMetadataForDqlAlias()`](doctrine#9932) thanks to @derrabus - [9837: Address deprecation of getDatabasePlatform()](doctrine#9837) thanks to @greg0ire - [9801: Widen types](doctrine#9801) thanks to @greg0ire #### Documentation - [9766: Document future argument better](doctrine#9766) thanks to @greg0ire
### Release Notes for [2.12.4](https://github.com/doctrine/orm/milest… …one/113) 2.12.x bugfix release (patch) ### 2.12.4 - Total issues resolved: **0** - Total pull requests resolved: **18** - Total contributors: **7** #### Test Suite - [9966: fix: class normalisation test](doctrine#9966) thanks to @Tofandel - [9930: Simplify `LanguageRecognitionTest`](doctrine#9930) thanks to @derrabus - [9914: Avoid supportsCreateDropDatabase()](doctrine#9914) thanks to @greg0ire - [9907: Add tests for SQL output feature](doctrine#9907) thanks to @greg0ire - [9892: Address array object type deprecation](doctrine#9892) thanks to @greg0ire - [9874: Migrate more usages of SchemaTool::createSchema()](doctrine#9874) thanks to @greg0ire - [9823: Backport fixes from upstream branch](doctrine#9823) thanks to @greg0ire #### Static Analysis - [9964: Psalm 4.26.0 & build failures with DBAL 3.4.0](doctrine#9964) thanks to @derrabus - [9941: Psalm 4.25.0, PHPStan 1.8.2](doctrine#9941) thanks to @derrabus - [9922: Widen types for DiscriminatorMap](doctrine#9922) thanks to @derrabus - [9887: PHPStan 1.8.0](doctrine#9887) thanks to @derrabus - [9865: Psalm 4.24.0, PHPStan 1.7.15](doctrine#9865) thanks to @derrabus - [9858: PHP CodeSniffer 3.7.1, PHPStan 1.7.14](doctrine#9858) thanks to @derrabus #### Documentation - [9943: Update branch info in README and .doctrine-project.json](doctrine#9943) thanks to @derrabus - [9880: Fix typo in AbstractQuery](doctrine#9880) thanks to @CarlSchwan - [9871: preUpdate: Add restriction that changed field needs to be in computed…](doctrine#9871) thanks to @ThomasLandauer #### Bug - [9927: Allow custom object types as foreign keys](doctrine#9927) thanks to @louisezetterlund - [9870: &doctrine#91;doctrineGH-9807&doctrine#93; Fix: initialize potentially empty collections at the hydration complete](doctrine#9870) thanks to @popov-a-e
### Release Notes for [2.12.3](https://github.com/doctrine/orm/milest… …one/112) 2.12.x bugfix release (patch) ### 2.12.3 - Total issues resolved: **0** - Total pull requests resolved: **16** - Total contributors: **3** #### Static Analysis - [9844: PHPStan 1.7.13](doctrine#9844) thanks to @derrabus - [9843: Flip conditional extension of legacy AnnotationDriver class](doctrine#9843) thanks to @derrabus - [9842: PHP CodeSniffer 3.7](doctrine#9842) thanks to @derrabus - [9818: Document missing possible types](doctrine#9818) thanks to @greg0ire - [9812: PHPStan 1.7.9](doctrine#9812) thanks to @derrabus - [9802: Fix wrong types](doctrine#9802) thanks to @greg0ire - [9785: PHPStan 1.7.0](doctrine#9785) thanks to @derrabus - [9779: Document callable as possible](doctrine#9779) thanks to @greg0ire - [9746: Better phpdoc tests](doctrine#9746) thanks to @greg0ire #### Test Suite - [9841: Add missing property declaration](doctrine#9841) thanks to @derrabus - [9805: Remove empty test file](doctrine#9805) thanks to @derrabus #### CI,Test Suite - [9840: Run tests on PHP 8.2](doctrine#9840) thanks to @derrabus #### Documentation - [9769: Add use statement](doctrine#9769) thanks to @greg0ire - [9749: Omit version number in README](doctrine#9749) thanks to @greg0ire CI -- - [9732: Exclude /ci from distribution packages](doctrine#9732) thanks to @derrabus #### Bug - [9619: Make Reflection available to ConvertMappingCommand](doctrine#9619) thanks to @bartholdbos
### Release Notes for [2.12.2](https://github.com/doctrine/orm/milest… …one/111) 2.12.x bugfix release (patch) ### 2.12.2 - Total issues resolved: **0** - Total pull requests resolved: **17** - Total contributors: **8** #### Improvement - [9723: Allow doctrine/deprecations 1.0](doctrine#9723) thanks to @derrabus #### Static Analysis - [9718: Psalm 4.23, PHPStan 1.6.3](doctrine#9718) thanks to @derrabus - [9708: Fix psalm annotation for Entity attribute](doctrine#9708) thanks to @michnovka - [9703: Update ClassMetadataInfo::table definition](doctrine#9703) thanks to @pbourdet - [9688: PHPStan 1.6.1](doctrine#9688) thanks to @derrabus - [9682: PHPStan 1.6.0](doctrine#9682) thanks to @derrabus - [9677: Document ORM drivers only really load ORM metadata](doctrine#9677) thanks to @greg0ire - [9676: Fix HydrationException::invalidDiscriminatorValue parameter type](doctrine#9676) thanks to @franmomu - [9675: Fix type on ClassMetadata discriminatorMap](doctrine#9675) thanks to @franmomu #### Test Suite - [9707: Remove some ConnectionMock methods](doctrine#9707) thanks to @morozov - [9706: Remove unused OrmTestCase::getTestEntityManager() parameters](doctrine#9706) thanks to @morozov - [9692: Use ClassMetadata over ClassMetadataInfo in tests](doctrine#9692) thanks to @greg0ire - [9683: Remove dynamic property declarations](doctrine#9683) thanks to @derrabus #### Documentation - [9699: Add missing use statement](doctrine#9699) thanks to @ThomasLandauer - [9698: use valid link syntax](doctrine#9698) thanks to @ThomasLandauer - [9691: Reference ClassMetadaInfo less](doctrine#9691) thanks to @greg0ire #### Bug - [9679: Drop SymfonyStyle&doctrine#91;listing&doctrine#93; for sqls](doctrine#9679) thanks to @simPod
### Release Notes for [2.12.1](https://github.com/doctrine/orm/milest… …one/109) 2.12.x bugfix release (patch) ### 2.12.1 - Total issues resolved: **0** - Total pull requests resolved: **1** - Total contributors: **1** #### Bug - [9671: Conditionally extend the old `AnnotationDriver` class](doctrine#9671) thanks to @derrabus
### Release Notes for [2.12.0](https://github.com/doctrine/orm/milest… …one/106) Feature release (minor) ### 2.12.0 - Total issues resolved: **1** - Total pull requests resolved: **52** - Total contributors: **8** #### Deprecation,Documentation - [9661: Deprecate the doctrine binary](doctrine#9661) thanks to @derrabus #### Test Suite - [9658: Fix IdentifierFlattenerEnumIdTest](doctrine#9658) thanks to @michnovka - [9649: Fix test file/class names](doctrine#9649) thanks to @michnovka - [9612: Skip tests requiring ObjectManagerAware](doctrine#9612) thanks to @derrabus - [9489: Avoid calling `merge()`](doctrine#9489) thanks to @derrabus - [9479: Remove useless catches](doctrine#9479) thanks to @derrabus - [9472: Skip tests related to PersistentObject if that class is missing](doctrine#9472) thanks to @derrabus - [9451: Streamline cache creation in tests](doctrine#9451) thanks to @derrabus - [9423: Introduce `assertQueryCount()`](doctrine#9423) thanks to @derrabus - [9418: Switch tests to the middleware logging system](doctrine#9418) thanks to @derrabus - [9404: Rework some tests that use hardcoded DBAL mocks](doctrine#9404) thanks to @morozov #### Bug - [9657: Fix enum hydration when fetching partial results](doctrine#9657) thanks to @michnovka - [9580: Check if association already contains object ](doctrine#9580) thanks to @klammbueddel - [9459: Check requirements for metadata drivers](doctrine#9459) thanks to @derrabus - [9656: Indicate support for `doctrine/persistence` 3](doctrine#9656) thanks to @derrabus #### Deprecation,Improvement - [9646: Improve exception message](doctrine#9646) thanks to @greg0ire - [9511: Replace `TreeWalkerChainIterator` with a generator](doctrine#9511) thanks to @derrabus - [9443: Introduce `DoctrineSetup` as a replacement for `Setup`](doctrine#9443) thanks to @derrabus #### Deprecation - [9641: Deprecate console helper](doctrine#9641) thanks to @derrabus - [9592: Deprecate or throw on namespace alias usage](doctrine#9592) thanks to @greg0ire - [9533: Deprecate custom `ObjectRepository` implementations](doctrine#9533) thanks to @derrabus - [9532: Un-deprecate the current proxy mechanism](doctrine#9532) thanks to @derrabus - [9512: Document deprecation of `AbstractCollectionPersister` helpers](doctrine#9512) thanks to @derrabus - [9475: Deprecate methods removed in 3.0](doctrine#9475) thanks to @derrabus - [9397: Deprecate MultiGetRegion](doctrine#9397) thanks to @derrabus #### Static Analysis - [9633: Leverage generic persistence event classes](doctrine#9633) thanks to @derrabus - [9621: Fix types on ResultSetMapping](doctrine#9621) thanks to @derrabus - [9603: Implement int-mask-of where appropriate](doctrine#9603) thanks to @greg0ire - [9566: Fix types on `walkLiteral()` and `walkLikeExpression()`](doctrine#9566) thanks to @derrabus - [9565: Fix type on `SqlWalker::walkPathExpression()`](doctrine#9565) thanks to @derrabus - [9553: Document tree walker class strings](doctrine#9553) thanks to @derrabus - [9552: Use literal types for `JOIN&doctrine#95;TYPE&doctrine#95;*` constants](doctrine#9552) thanks to @derrabus - [9549: Leverage Lexer's Token type](doctrine#9549) thanks to @derrabus - [9541: Improve templating](doctrine#9541) thanks to @greg0ire - [9527: Document QueryComponent array shape](doctrine#9527) thanks to @derrabus - [9525: Fix more types on EntityRepository and FilterCollection](doctrine#9525) thanks to @derrabus - [9492: Fix types on QueryBuilder](doctrine#9492) thanks to @derrabus - [9474: Fix types on EntityRepository](doctrine#9474) thanks to @derrabus - [9401: Fix types on CacheLogger implementations](doctrine#9401) thanks to @derrabus #### New Feature - [9629: Support Enum IDs and search by Enum fields](doctrine#9629) thanks to @michnovka - [9616: Support enums as default values](doctrine#9616) thanks to @derrabus and @jgroc-de - [9497: Add support for array of enums](doctrine#9497) thanks to @dreadnip - [9373: Support enum cases as parameters](doctrine#9373) thanks to @derrabus #### Improvement - [9587: Implement colocated mapping driver](doctrine#9587) thanks to @greg0ire - [9578: Leverage `MemcachedAdapter::isSupported()`](doctrine#9578) thanks to @derrabus - [9481: Rename `DoctrineSetup` to `ORMSetup`](doctrine#9481) thanks to @derrabus - [9480: Modernize `strpos()` calls](doctrine#9480) thanks to @derrabus - [9453: Support enums in findBy() calls](doctrine#9453) thanks to @derrabus - [9019: validate schema command: allow to debug missing schema updates list](doctrine#9019) thanks to @COil #### Deprecation,Static Analysis - [9507: Fix types on caches](doctrine#9507) thanks to @derrabus #### Deprecation,Static Analysis,Test Suite - [9466: Fix types on persisters](doctrine#9466) thanks to @derrabus #### Documentation - [9448: Document the new `DoctrineSetup` class](doctrine#9448) thanks to @derrabus
### Release Notes for [2.11.3](https://github.com/doctrine/orm/milest… …one/108) 2.11.x bugfix release (patch) ### 2.11.3 - Total issues resolved: **0** - Total pull requests resolved: **10** - Total contributors: **6** #### Bug - [9663: ScalarColumnHydrator: prevent early-bail on falsy values](doctrine#9663) thanks to @MrMitch - [9623: explicitly use the non-deprecated ORMException](doctrine#9623) thanks to @BenoitDuffez - [9589: Fix type errors with XML export on PHP 8.1](doctrine#9589) thanks to @vrestihnat #### Static Analysis - [9648: Fix static analysis for Persistence 2.5](doctrine#9648) thanks to @derrabus - [9607: PHPStan 1.5.0](doctrine#9607) thanks to @derrabus - [9590: Ignore deprecation from Persistence](doctrine#9590) thanks to @greg0ire - [9577: Baseline Psalm errors caused by DBAL 3.3.3](doctrine#9577) thanks to @derrabus #### Documentation - [9639: Fix composer install in contributing readme](doctrine#9639) thanks to @ruudk - [9611: Remove "Description of" PHPDoc](doctrine#9611) thanks to @derrabus - [9598: Use correct syntax for external links](doctrine#9598) thanks to @greg0ire
PreviousNext