Changelog History
Page 1
-
v2.8.1 Changes
December 04, 2020๐ 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
-
v2.8.0 Changes
December 04, 2020๐ 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
- ๐ 8130: Improve CLI config documentation thanks to @gbirke
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
-
v2.7.5 Changes
December 04, 2020๐ 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
-
v2.7.4 Changes
October 11, 2020๐ 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 Changes
May 27, 20202.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
7989: Fix issues detected by psalm on 2.7 thanks to @orklah
BC Break,Bug
- โช 8138: Revert changes to embeddable mapping in 2.7 thanks to @beberlei
๐ Deprecation,Improvement
- ๐ 7953: Address deprecations from persistence thanks to @greg0ire
-
v2.7.2 Changes
March 21, 20202.7.2
- Total issues resolved: 4
- Total pull requests resolved: 5
- Total contributors: 8
๐ Documentation
๐ Bug
- 8031: Undefined alias for Embeddable in 2.7.1 thanks to @vicdelfant
- 8030: Problem with Proxies on PHP 7.4.2 with typed properties thanks to @bizley
- 8023: Put into cache using root entity name thanks to @peterkeatingie
- 7969: Child entity not retrieved from array cache thanks to @peterkeatingie
- 8055: Fix regression in 2.7.1 when
mysqli
is used with discriminator column that is not a string thanks to @mpdude - 8050: [GH-7633] disallow cache partial objects thanks to @beberlei
- 8036: Fix inherited embeddables and nesting after AnnotationDriver change #8006 thanks to @malarzm
- 7633: Partial objects get cached and break "actual" objects thanks to @Amunak
-
v2.7.1 Changes
February 15, 2020๐ฆ A notable change of this version is the introduction of
ocramius/package-versions
to provide version information, most importantly when using the Doctrine CLI. That also means that you cannot rely onDoctrine\ORM\Version::VERSION
constant anymore going forward it will always point to 2.7.1-DEV.โก๏ธ When you update, also make sure to include an update to
doctrine/persistence
version 1.3.6 anddoctrine/reflection
1.12.7.1
- Total issues resolved: 4
- Total pull requests resolved: 11
- Total contributors: 11
๐ Bug
- 8006: Make Embeddable not transient thanks to @malarzm
- ๐ 7987: [GH-7982] no sql executor leads to parse error thanks to @beberlei
- ๐ 7983: Null offset access in DQL parser thanks to @ntzm
- 7974: [GH-7505] Bug in SimpleObjectHydrator when using inheritance with same field thanks to @beberlei and @m-r-r
- ๐ 7940: [GH-7864] Bugfix in PersistentCollection::removeElement for EXTRA_LAZY. thanks to @beberlei
- 7934: Fix Trying to access array offset on value of type null thanks to @BenMorel
- 7957: Fix version information thanks to @lcobucci
๐ Documentation
- โก๏ธ 7973: Just a micro grammar update. thanks to @DocFX
- ๐ 7619: Update improving-performance.rst to reflect current state of PHP ecosystem thanks to @Majkl578
- ๐ 7500: Prefer PhpFileCache for caching docs thanks to @shadowhand
๐ CI,Deprecation
- ๐ 7956: Ignore Doctrine\Common\Persistence\ObjectManagerDecorator deprecation thanks to @lcobucci
๐ Bug,Regression
- โช 7937: Revert SchemaTool change to check for foreign key support thanks to @beberlei and @fmathieu1
BC Break,Bug
-
v2.7.0 Changes
November 19, 2019๐ This release solves Symfony 5.0 compatibility issues, some small improvements, and adds various deprecation notices.
โฌ๏ธ Please read carefully the upgrade to 2.7 notes to know more about the reasons and how to fix the deprecation messages.
- Total issues resolved: 1
- Total pull requests resolved: 15
- Total contributors: 10
๐ Deprecation
- ๐ฆ 7911: Be explicit about which Doctrine package in message thanks to @lcobucci
- ๐ 7909: Add deprecation messages thanks to @lcobucci
- ๐ 7901: Add deprecation warnings for 2.7.x thanks to @lcobucci
- ๐ 7701: Split and deprecate AbstractQuery#useResultCache() thanks to @someniatko
CI
- 7904: Make sure composer files are valid thanks to @greg0ire
- โ 7600: [2.7] CI: Test against PHP 7.4snapshot instead of nightly (8.0) thanks to @Majkl578
๐ Improvement
- 7876: Fix compat of commands with Symfony 5 thanks to @nicolas-grekas
- 7829: Skip Paginator LIMIT subquery and WHERE IN if query do not have LIMIT thanks to @Seb33300
- 7723: Allow Symfony 5.0 thanks to @nicolas-grekas
- 7710: Prettified arrays in tool command orm:mapping:describe thanks to @rtek
- 7340: Fix config template for PHPUnit >= 7.2 thanks to @guilliamxavier
BC Break,Improvement
๐ Documentation
- โก๏ธ 7382: Update homepage thanks to @Majkl578
๐ Bug
- ๐ 7326: Cherry-pick #7307 to fix remaining usages of deprecated ClassLoader and Inflector from doctrine/common thanks to @nicolas-grekas
- 7079: Fix getJoinTableName for sqlite with schema attribute thanks to @mairo744
๐ BC Break,Deprecation,Improvement
- ๐ 6803: Deprecation of EntityManager copy method thanks to @SenseException
-
v2.6.6 Changes
November 18, 2019๐ This release solves the violation of our BC guarantees, we apologise for impacting existing software.
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
BC Break,Bug
-
v2.6.5 Changes
November 18, 2019๐ This release fixes some important bugs (including a few regressions related to the paginator component and cleaning collections when using
DEFERRED_EXPLICIT
).It also marks the EOL for the v2.6.x series since we'll soon be releasing v2.7.0.
- Total issues resolved: 9
- Total pull requests resolved: 23
- Total contributors: 24
๐ Bug,Regression
- 7905: [Paginator] Fix type conversion during hydration of pagination limit subquery thanks to @akorz, @lcobucci, and @ostrolucky
- 7862: Using
ArrayCollection->clear
over an entity marked to be persisted, doesn't create correspondingDELETE
statements thanks to @ferrastas and @ostrolucky - 7861: Delete statements will not be created using
clear
thanks to @ferrastas
๐ Bug
- 7869: UnitOfWork::clear() misses $eagerLoadingEntities thanks to @BenMorel
- 7865: #7837 paginate with custom identifier types even with enabled DQL query cache thanks to @Ocramius
- 7856: Fix underscore naming strategy behaviour with numbers thanks to @lcobucci
- 7855: Numbers in a string using underscore naming strategy thanks to @vuras
- ๐ 7850: Don't merge PersistentCollection orderBy with criteria in matching() thanks to @nlx-lars
- ๐ 7842: #7841 SchemaTool generates extra diff for platforms without FK support thanks to @vpArth
- 7764: #7763 escape quotes in field comments thanks to @guillaume-a
- 7763: "doctrine:mapping:import" does not escape quotes in field comments thanks to @guillaume-a
- 7684: only replace '_id' at end of columnName thanks to @rharink
CI
- โ 7889: Use quoted collation declaration when available, fixes test suite when running against DBAL 2.10+ thanks to @ajgarlag
๐ Documentation
- ๐ 7884: [Documentation] Advanced field value... - missing entity alias thanks to @rogeriolino
- ๐ 7880: Update documentation to recommend DQL over QueryBuilder when possible thanks to @kuraobi and @javiereguiluz
- ๐ป 7871: AbstractQuery::getSingleScalarResult() throws exception when no result thanks to @BenMorel
- 7858: Invalid version in Doctrine\ORM\Version::VERSION thanks to @guillaumesmo
- 7849: Mention SQL logger impact on batch processing thanks to @axi
- ๐ 7838: Fix the name of ClassMetadata in documentation thanks to @samnela
- ๐ 7768: Fix EntityManagerHelper's documentation (it can't accept an array of paths) thanks to @mickaelandrieu
- 7727: [doc] Finish incomplete definition of class UTCDateTimeType thanks to @madand
- 7671: Added missing "the" thanks to @jschaedl
- ๐ 7667: Fixes example One-To-One, Self-referencing thanks to @jschaedl
- ๐ป 7443: Added doc about exception in Query#getOneOrNullResult() thanks to @naitsirch and @Mynyx
- 7298: Add a missing type in Query::getFirstResult PHPDoc thanks to @dunglas
๐ Improvement