Releases: doctrine/orm
2.9.0
Release Notes for 2.9.0
Feature release (minor)
2.9.0
- Total issues resolved: 18
- Total pull requests resolved: 30
- Total contributors: 18
Changes
- 8691: Check for use of deprecated API with Psalm thanks to @alcaeus
- 8678: [Gh-8589] A new approach to non-nullable typed associations for BC thanks to @beberlei
- 8677: [GH-8676] Allow nested annotations to work without parents as attributes thanks to @beberlei and @Nemo64
- 8671: Reflect that default EntityManager is not always named
default
thanks to @simPod - 8646: [GH-8327] Make EntityManagerProvider compatible with expected DoctrineBundle usage thanks to @beberlei and @PowerKiKi
- 8642: How to create schema using Schema tool in v2.9.x? thanks to @simPod
- 8629: Fields for unique constraints thanks to @beberlei and @alexander-schranz
- 8613: Reintroduce PHP 7.1 support thanks to @beberlei
- 8589: Fix typed properties for default metadata (#7939) thanks to @Lustmored and @beberlei
- 8553: Bump doctrine/deprecations to at least v0.5.3 thanks to @beberlei
- 8517: [GH-8458] Properly deprecate ConvertDoctrine1Schema thanks to @beberlei
- 8472: [GH-8471] Deprecate Partial DQL syntax and forcing partial loads. thanks to @beberlei
- 8466: Introduce doctrine/deprecations thanks to @beberlei
- 8439: Use typed properties for default metadata for #7939 thanks to @Lustmored and @beberlei
- 8438: DDC-2076 Remove useless join over target table of ManyToMany relationship thanks to @plfort
- 8417: Restrict EntityManagerInterface::getRepository thanks to @VincentLanglet
- 8382: [GH-6396] Allow custom hydrators access to meta columns thanks to @beberlei
- 8378: [GH-6578] Add validation that inherited entity class is mapped in discriminator. thanks to @beberlei
- 8377: Add Doctrine\ORM\Query\Expr::mod() thanks to @beberlei and @holtkamp
- 8375: Support for Array parameters in SQL filters thanks to @beberlei and @doctrinebot
- 8357: Add psalm annotation to ArrayCollection of Parameters thanks to @snapshotpl
- 8266: [GH-8265] Prototype for Attribute Metadata Driver thanks to @beberlei
- 7936: [GH-5202] Implement Query::HINT_READ_ONLY flag thanks to @beberlei and @doctrinebot
- 7918: Add support for INDEX BY an associated entity (2.8.x) thanks to @andrews05 and @crtl
Improvement
- 8672: Allow installing doctrine/cache 2.0 thanks to @alcaeus
- 8548: Adding details to types in PHPDoc thanks to @orklah
- 8544: Add type declarations where backwards-compatible thanks to @greg0ire
- 8380: [GH-7128] Improve OneToManyRequiresMappedBy Exception message thanks to @beberlei and @jakumi
Deprecation,New Feature
Deprecation
- 8592: Deprecated Named Native and DQL Queries thanks to @beberlei
- 8524: [GH-8327] Deprecate EntityManagerHelper for a provider abstraction. thanks to @beberlei and @PowerKiKi
- 8383: Deprecated notify change tracking policy thanks to @beberlei
- 8381: [GH-6855] Prevent unsupported lifecycle callback mapping on embedded classes. thanks to @beberlei
New Feature,Question
- 7762: Psalm support thanks to @zerkms
2.8.5
Release Notes for 2.8.5
2.8.x bugfix release (patch)
2.8.5
- Total issues resolved: 0
- Total pull requests resolved: 15
- Total contributors: 9
CI
- 8701: Allow Symfony 6.0 thanks to @jderusse
Bug
-
8700: Fix undefined index thanks to @deguif
-
8604: Fix psalm param typehint for OneToManyAssociationBuilder::setOrderBy method thanks to @janatjak
-
8566: SimpleObjectHydrator: skip unsuit custom type before convert it thanks to @tweet9ra
-
8698: Fix cache deprecation thanks to @deguif
-
8649: ConvertDoctrine1Schema: Fix Doctrine 1
notnull
field import thanks to @aweelex -
8644: Describe return types more accurately thanks to @greg0ire
-
8600: Remove internal tag from computeChangeSet thanks to @VincentLanglet
Improvement
- 8636: Update ignore rules to reflect current situation thanks to @greg0ire
- 8634: upgrade static tools thanks to @orklah
- 8627: Add baseline files for static analyzers thanks to @greg0ire
- 8617: Upgrade to doctrine/coding-standard 9 thanks to @greg0ire
- 8552: Fix remaining warnings from the phpunit9 upgrade thanks to @acoulton
2.8.4
Release Notes for 2.8.4
2.8.x bugfix release (patch)
2.8.4
- Total issues resolved: 1
- Total pull requests resolved: 3
- Total contributors: 4
BC Break,Bug
Regression
Bug
2.8.3
Release Notes for 2.8.3
2.8.x bugfix release (patch)
2.8.3
-
Total issues resolved: 4
-
Total pull requests resolved: 10
-
Total contributors: 12
-
8575: Exception when calling toIterable without parameters thanks to @flack
-
8533: Add test coverage for passing optimistic lock version as string thanks to @acoulton
-
8507: Address move away from master thanks to @greg0ire
-
8384: [GH-6394] Bugfix: IdentifierFlattener support for association non-object values. thanks to @beberlei and @tobiasstadler
Bug
- 8564: Adding DIR to include statement to fix issue with pathing thanks to @cybercitizen7
- 8508: Proposed fix for #8499 thanks to @diego-ninja
- 8495: Fix bug when using Result Cache with Query::toIterable thanks to @Warxcell
- 8493: Relax assertion thanks to @greg0ire and @martinolmr
- 8483: Fix single scalar hydrator memory leak on exception thanks to @olsavmic
- 8453: Fixes parenthesis when \n is involved thanks to @Warxcell
BC Break,Bug
- 8503: Incompatibility between
getArrayResult()
new type hint and use ofindexBy()
thanks to @benjamintoussaint
Improvement,Missing Tests
2.8.2
Release Notes for 2.8.2
2.8.2
- Total issues resolved: 4
- Total pull requests resolved: 10
- Total contributors: 11
Documentation
Bug
- 8401: Identifier type is not set when many2many relations are deleted thanks to @yoshz
- 8376: [GH-7486] Bugfix: failing when clearing empty cache is wrong semantics thanks to @beberlei
- 8374: Fix invalid psalm annotation thanks to @micheh
- 8328: Infer
datetime_immutable
DBAL type for\DateTimeImmutable
instance parameters thanks to @vhenzl - 8467: [GH-8410] Fix memory leak in new toIterable and state bug. thanks to @beberlei and @simonberger
- 8448: Relax contract of EntityListenerResolver so it doesn't require class name thanks to @ostrolucky
- 8426: Fix --complete flag in orm:ensure-production-settings command thanks to @alexander-schranz
- 8412: fixed memory leak while iterating results thanks to @stlrnz
- 8392: [GH-8231] Bugfix: Missed dirty check synchronization check. thanks to @beberlei and @skurfuerst
2.8.1
Release Notes for 2.8.1
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 thanks to @beberlei
-
8370: [GH-8366] Catch additional Persistence MappingException 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 thanks to @fabien007
-
8367: Break in 2.8: The class 'DateTime' was not found in the chain configured namespaces thanks to @kerbert101
-
8365: Break in 2.8: Cannot bind QueryBuilder parameters with \IteratorAggregate entities: leads to incorrect SQL generated code thanks to @ambroisemaupate
2.8.0
Release Notes for 2.8.0
2.8.0
-
Total issues resolved: 6
-
Total pull requests resolved: 10
-
Total contributors: 13
-
8332: Upgrade Psalm to v4.1.1 thanks to @beberlei
-
8291: Validate Embeddable associations in SchemaValidator thanks to @kejwmen
-
8137: Deprecation notices from doctrine/inflector 1.4 thanks to @W0rma
-
7885: Introduce
getIterable()
on AbstractQuery thanks to @simPod
New Feature
Documentation
Hacktoberfest,Improvement
Deprecation
- 7955: EntityManagerInterface extends deprecated Doctrine\Common\Persistence\ObjectManager thanks to @vanoostrum
- 7928: Deprecate EntityRepository#clear() thanks to @kokspflanze and @lcobucci
CI,Improvement
Requires merge/review
Improvement
2.7.5
Release Notes for 2.7.5
2.7.5
-
Total issues resolved: 0
-
Total pull requests resolved: 2
-
Total contributors: 2
-
8348: [GH-8229] Prevent Illegal Inheritance Override thanks to @beberlei
-
8329: Fix SQL alias generation regression for simple inheritance thanks to @rogregoire
2.7.4
Release Notes for 2.7.4
2.7.4
-
Total issues resolved: 0
-
Total pull requests resolved: 8
-
Total contributors: 8
-
8286: psalm fixes thanks to @orklah
-
8150: Infer return type information with Psalter thanks to @greg0ire
-
8107: Fix QueryBuilder::getParameter() on parameter names with colons thanks to @tom93
Bug
- 8277: Fix OrderByItem parser to proceed with SimpleArithmetic expression before function thanks to @ipernet
- 8234: Fix for bug #8229 (id column from parent class renamed in child class) thanks to @cziegenberg
- 8122: Prohibits class typo in the discriminator map thanks to @gquemener
Documentation
v2.7.3
2.7.3
-
Total issues resolved: 1
-
Total pull requests resolved: 5
-
Total contributors: 4
-
8158: Allow doctrine/common 3 and doctrine/persistence 2 thanks to @greg0ire
-
8062: Convert PHP to SQL for new object expression thanks to @jeroenvdheuvel