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
🗄 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
🐛 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
-
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