8000 Tags · justeen35/orm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: justeen35/orm

Tags

v2.7.0

Toggle v2.7.0's commit message

Verified

This tag was signed with the committer’s verified signature.
lcobucci Luís Cobucci
v2.7.0

[![Build Status](https://travis-ci.org/doctrine/orm.svg?branch=v2.7.0)](https://travis-ci.org/doctrine/orm)

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](https://github.com/doctrine/orm/blob/2.7/UPGRADE.md#upgrade-to-27) 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](doctrine#7911) thanks to @lcobucci
 - [7909: Add deprecation messages](doctrine#7909) thanks to @lcobucci
 - [7901: Add deprecation warnings for 2.7.x](doctrine#7901) thanks to @lcobucci
 - [7701: Split and deprecate AbstractQuery#useResultCache()](doctrine#7701) thanks to @someniatko

CI
--

 - [7904: Make sure composer files are valid](doctrine#7904) thanks to @greg0ire
 - [7600: &doctrine#91;2.7&doctrine#93; CI: Test against PHP 7.4snapshot instead of nightly (8.0)](doctrine#7600) thanks to @Majkl578

Improvement
-----------

 - [7876: Fix compat of commands with Symfony 5](doctrine#7876) thanks to @nicolas-grekas
 - [7829: Skip Paginator LIMIT subquery and WHERE IN if query do not have LIMIT](doctrine#7829) thanks to @Seb33300
 - [7723: Allow Symfony 5.0](doctrine#7723) thanks to @nicolas-grekas
 - [7710: Prettified arrays in tool command orm:mapping:describe](doctrine#7710) thanks to @rtek
 - [7340: Fix config template for PHPUnit >= 7.2](doctrine#7340) thanks to @guilliamxavier

BC Break,Improvement
--------------------

 - [7863: Paginator: Skip limit subquery if not required](doctrine#7863) thanks to @Seb33300

Documentation
-------------

 - [7382: Update homepage](doctrine#7382) thanks to @Majkl578

Bug
---

 - [7326: Cherry-pick doctrine#7307 to fix remaining usages of deprecated ClassLoader and Inflector from doctrine/common](doctrine#7326) thanks to @nicolas-grekas
 - [7079: Fix getJoinTableName for sqlite with schema attribute](doctrine#7079) thanks to @mairo744

BC Break,Deprecation,Improvement
--------------------------------

 - [6803: Deprecation of EntityManager copy method](doctrine#6803) thanks to @SenseException

v2.6.6

Toggle v2.6.6's commit message

Verified

This tag was signed with the committer’s verified signature.
lcobucci Luís Cobucci
v2.6.6

[![Build Status](https://travis-ci.org/doctrine/orm.svg?branch=v2.6.6)](https://travis-ci.org/doctrine/orm)

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

 - [7908: Fix BC-break on underscore naming strategy](doctrine#7908) thanks to @lcobucci

v2.6.5

Toggle v2.6.5's commit message

Verified

This tag was signed with the committer’s verified signature.
lcobucci Luís Cobucci
v2.6.5

[![Build Status](https://travis-ci.org/doctrine/orm.svg?branch=v2.6.5)](https://travis-ci.org/doctrine/orm)

This release fixes some 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: &doctrine#91;Paginator&doctrine#93; Fix type conversion during hydration of pagination limit subquery](doctrine#7905) thanks to @akorz, @lcobucci, and @ostrolucky
 - [7862: Using `ArrayCollection->clear` over an entity marked to be persisted, doesn't create corresponding `DELETE` statements](doctrine#7862) thanks to @ferrastas and @ostrolucky
 - [7861: Delete statements will not be created using `clear` ](doctrine#7861) thanks to @ferrastas

Bug
---

 - [7869: UnitOfWork::clear() misses $eagerLoadingEntities](doctrine#7869) thanks to @BenMorel
 - [7865: doctrine#7837 paginate with custom identifier types even with enabled DQL query cache](doctrine#7865) thanks to @Ocramius
 - [7856: Fix underscore naming strategy behaviour with numbers](doctrine#7856) thanks to @lcobucci
 - [7855: Numbers in a string using underscore naming strategy](doctrine#7855) thanks to @vuras
 - [7850: Don't merge PersistentCollection orderBy with criteria in matching()](doctrine#7850) thanks to @nlx-lars
 - [7842: doctrine#7841 SchemaTool generates extra diff for platforms without FK support](doctrine#7842) thanks to @vpArth
 - [7764: doctrine#7763 escape quotes in field comments](doctrine#7764) thanks to @guillaume-a
 - [7763: "doctrine:mapping:import" does not escape quotes in field comments](doctrine#7763) thanks to @guillaume-a
 - [7684: only replace '&doctrine#95;id' at end of columnName](doctrine#7684) thanks to @rharink

CI
------

 - [7889: Use quoted collation declaration when available, fixes test suite when running against DBAL 2.10+](doctrine#7889) thanks to @ajgarlag

Documentation
-------------

 - [7884: &doctrine#91;Documentation&doctrine#93; Advanced field value... - missing entity alias](doctrine#7884) thanks to @rogeriolino
 - [7880: Update documentation to recommend DQL over QueryBuilder when possible](doctrine#7880) thanks to @kuraobi and @javiereguiluz
 - [7871: AbstractQuery::getSingleScalarResult() throws exception when no result](doctrine#7871) thanks to @BenMorel
 - [7858: Invalid version in Doctrine\ORM\Version::VERSION](doctrine#7858) thanks to @guillaumesmo
 - [7849: Mention SQL logger impact on batch processing](doctrine#7849) thanks to @axi
 - [7838: Fix the name of ClassMetadata in documentation](doctrine#7838) thanks to @samnela
 - [7768: Fix EntityManagerHelper's documentation (it can't accept an array of paths)](doctrine#7768) thanks to @mickaelandrieu
 - [7727: &doctrine#91;doc&doctrine#93; Finish incomplete definition of class UTCDateTimeType](doctrine#7727) thanks to @madand
 - [7671: Added missing "the"](doctrine#7671) thanks to @jschaedl
 - [7667: Fixes example One-To-One, Self-referencing](doctrine#7667) thanks to @jschaedl
 - [7443: Added doc about exception in Query#getOneOrNullResult()](doctrine#7443) thanks to @Naitsirch and @Mynyx
 - [7298: Add a missing type in Query::getFirstResult PHPDoc](doctrine#7298) thanks to @dunglas

Improvement
-----------

 - [7851: Remove not used variable $reflFieldValue in ObjectHydrator](doctrine#7851) thanks to @peter-gribanov

v2.6.4

Toggle v2.6.4's commit message

Verified

This tag was signed with the committer’s verified signature.
lcobucci Luís Cobucci
v2.6.4

[![Build Status](https://travis-ci.org/doctrine/orm.svg?branch=v2.6.4)](https://travis-ci.org/doctrine/orm)

In this release we've fixes many bugs (including a performance regression) and
made the v2.x series compatible with PHP 7.4.

--------------------------------------------

- Total issues resolved: **11**
- Total pull requests resolved: **32**
- Total contributors: **30**

Improvement
-----------

 - [7785: Fix "access array offset on value of type null" PHP 7.4 notices](doctrine#7785) thanks to @mlocati
 - [7142: Rename this repository to doctrine/orm](doctrine#7142) thanks to @greg0ire

Bug
------------------

 - [7821: Bug: doctrine#7820 paginator ignores dbal type conversions in identifiers](doctrine#7821) thanks to @Ocramius
 - [7778: Guard L2C regions against corrupted data](doctrine#7778) thanks to @umpirsky
 - [7767: PersistentCollection::matching() does not respect the collections native sorting](doctrine#7767) thanks to @stephanschuler
 - [7766: Respect collection orderBy meta when matching()](doctrine#7766) thanks to @stephanschuler
 - [7761: Do not modify UOW on PersistentCollection::clear() when owner has DEFFERED&doctrine#95;EXPLICIT change tracking policy](doctrine#7761) thanks to @paxal
 - [7750: Fix incorrect return of null values in L2C](doctrine#7750) thanks to @AlexSmerw
 - [7737: Fix MEMBER&doctrine#95;OF comparison when using criteria in query builder](doctrine#7737) thanks to @Smartel1
 - [7735: Null in fields value in Cached Entity several times on day on high-load project.](doctrine#7735) thanks to @AlexSmerw
 - [7630: Fix doctrine#7629 - `scheduledForSynchronization` leaks memory when using `@ORM\ChangeTrackingPolicy("DEFERRED&doctrine#95;EXPLICIT")`](doctrine#7630) thanks to @yethee
 - [7528: Prevent `UnitOfWork` lookup for DBAL types specified in `Doctrine\ORM\Query#setParameter()`](doctrine#7528) thanks to @Ocramius
 - [7322: JoinedSubclassPersister pass identifier types on delete](doctrine#7322) thanks to @dennisenderink and @fred-jan
 - [7266: Call to a member function resolveAssociationEntries() on boolean {"detail":"&doctrine#91;object&doctrine#93; (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function resolveAssociationEntries() on boolean at /www/vendor/doctrine/orm/lib/Doctrine/ORM/Cache/DefaultQueryCache.php:140)"}](doctrine#7266) thanks to @mingmingxianseng
 - [4632: DDC-3789: Paginator does not convert entity ids if they are value objects](doctrine#4632) thanks to @doctrinebot

Documentation
-------------

 - [7818: Add note into docs about not using SimpleAnnotationReader](doctrine#7818) thanks to @SenseException
 - [7791: Fix preFlush event documentation stating incorrectly that flush can be called safely](doctrine#7791) thanks to @Steveb-p
 - [7753: Add ORM annotations in getting-started docs](doctrine#7753) thanks to @SenseException and @wajdijurry
 - [7744: Fixed a typo-error](doctrine#7744) thanks to @noobshow
 - [7732: &doctrine#91;Documentation&doctrine#93; Missing comma fix](doctrine#7732) thanks to @lchrusciel
 - [7729: Update DATE&doctrine#95;ADD and DATE&doctrine#95;SUB docs](doctrine#7729) thanks to @JoppeDC
 - [7672: Added cross-links to relevant documentation](doctrine#7672) thanks to @jschaedl
 - [7612: Update ordered-associations.rst](doctrine#7612) thanks to @spirlici
 - [7610: Change APC to OPcache in improving-performance.rst ](doctrine#7610) thanks to @smtchahal
 - [7596: Correct method names and broken link in docs](doctrine#7596) thanks to @mbessolov
 - [7577: Fix of single link to dbal docs in advanced-configuration.rst](doctrine#7577) thanks to @SenseException
 - [7572: Remove codeigniter Framework example](doctrine#7572) thanks to @SenseException
 - [7571: Fix typo in inheritance mappings docs](doctrine#7571) thanks to @batwolf
 - [7557: Change Stackoverflow tag to doctrine-orm](doctrine#7557) thanks to @malarzm
 - [7551: &doctrine#91;2.6&doctrine#93; Migrate repository name doctrine/doctrine2 -> doctrine/orm](doctrine#7551) thanks to @Majkl578
 - [7530: Documentation error typo fix: s/Used-defined/User-Defined](doctrine#7530) thanks to @vladyslavstartsev
 - [7519: doctrine#7518 Fixed type mismatch between `EntityRepository#&doctrine#95;&doctrine#95;construct()` and its documented constructor arguments](doctrine#7519) thanks to @koftikes
 - [7518: `EntityRepository::&doctrine#95;&doctrine#95;construct()` expects `Doctrine\ORM\EntityManager` instead of actual required `EntityManagerInterface`](doctrine#7518) thanks to @koftikes
 - [7490: Fix broken link](doctrine#7490) thanks to @vladyslavstartsev
 - [7483: Fixed a minor syntax issue](doctrine#7483) thanks to @javiereguiluz

CI
-----------------

 - [7794: Fix test compatibility with DBAL 2.10.x-dev](doctrine#7794) thanks to @lcobucci
 - [7731: Replace custom install script with add-on](doctrine#7731) thanks to @greg0ire
 - [7473: Incremental CS checks in 2.x branches](doctrine#7473) thanks to @Majkl578

v2.6.3

Toggle v2.6.3's commit message

Verified

This tag was signed with the committer’s verified signature.
lcobucci Luís Cobucci
v2.6.3

[![Build Status](https://travis-ci.org/doctrine/doctrine2.svg?branch=v2.6.3)](https://travis-ci.org/doctrine/doctrine2)

This release provides fixes for many things, specially:

- Regression in commit order calculation
- BC-break in `EntityManager#find()` using optimistic lock outside of
  transaction
- PHP 7.3 compatibility issues

--------------------------------------------

- Total issues resolved: **8**
- Total pull requests resolved: **26**
- Total contributors: **26**

Documentation
-------------

 - [7472: fix incorrect phpdoc typehint](doctrine#7472) thanks to @seferov
 - [7465: Fixes tiny typo in the 'Working with DateTime instances' documentation](doctrine#7465) thanks to @unguul
 - [7444: Fixed URLs of doctrine-mapping.xsd in docs](doctrine#7444) thanks to @Naitsirch
 - [7441: $hydrationMode throughout can be a string as well as int (for custom modes)](doctrine#7441) thanks to @asgrim
 - [7435: Fix a typo on Documentation](doctrine#7435) thanks to @oguzdumanoglu
 - [7434: Removed FAQ paragraph stating public variables are disallowed](doctrine#7434) thanks to @Naitsirch and @flaushi
 - [7423: Update association-mapping.rst](doctrine#7423) thanks to @ThomasLandauer
 - [7421: JIRA to Github issues on Limitations and Known Issues](doctrine#7421) thanks to @seferov
 - [7412: Some formatting improvements](doctrine#7412) thanks to @ThomasLandauer
 - [7411: Autoload error when following the Getting Started Guide](doctrine#7411) thanks to @ThomasLandauer
 - [7401: &doctrine#91;docs&doctrine#93; Fix docblock in `inheritance-mapping.rst`](doctrine#7401) thanks to @bobdenotter
 - [7397: Update getting-started.rst](doctrine#7397) thanks to @eibt
 - [7394: Class 'Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver' not found](doctrine#7394) thanks to @ekosynth
 - [7378: Typo fix](doctrine#7378) thanks to @BenMorel
 - [7377: Fix query andX doctype](doctrine#7377) thanks to @sserbin
 - [7374: Deprecation message in documentation for YAML](doctrine#7374) thanks to @SenseException and @iltar
 - [7360: Document getPartialReference() properly](doctrine#7360) thanks to @lcobucci

Bug
---

 - [7471: Fix parameter value processing for objects with unloaded metadata](doctrine#7471) thanks to @alcaeus
 - [7367: Fix for BC break in 2.6.2 when calling EM::find() with LockMode::OPTIMISTIC outside of a TX](doctrine#7367) thanks to @timdev
 - [7328: Handle removed parameters by tree walker in Paginator](doctrine#7328) thanks to @plfort
 - [7325: Make code php 7.3 lint-compatible](doctrine#7325) thanks to @paxal
 - [7317: &doctrine#91;XML&doctrine#93; Fix default value of many-to-many order-by to ASC](doctrine#7317) thanks to @alexdenvir
 - [7260: Fix the handling of circular references in the commit order calculator](doctrine#7260) thanks to @stof
 - [6830: fix applying column options on foreign key columns](doctrine#6830) thanks to @Tobion

Improvement
-----------

 - [7428: CI: Test against PHP 7.3](doctrine#7428) thanks to @Majkl578
 - [7363: Fix compatibility with phan](doctrine#7363) thanks to @philippe-unitiz
 - [7345: Correct DOMDocument constructor in test](doctrine#7345) thanks to @guilliamxavier
 - [7307: Fix remaining usages of deprecated ClassLoader and Inflector from doctrine/common](doctrine#7307) thanks to @Majkl578 and @simonwelsh

v2.6.2

Toggle v2.6.2's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
Majkl578 Michael Moravec
This release provides fixes for:

 - a regression in parsing of DQL with aggregate functions as arguments in other functions,
 - pessimistic locking without running transaction,
 - using non-deprecated Lexer and Inflector.

- Total issues resolved: **3**
- Total pull requests resolved: **7**
- Total contributors: **5**

Bug:
 - [7296: Fix doctrine#7286: StringPrimary no longer accepts aggregate functions as argument](doctrine#7296) thanks to @Majkl578 and @NothingWeAre
 - [7291: &doctrine#91;2.6&doctrine#93; Fix for doctrine#7068: EntityManager::find() with pessimistic lock should check for transaction](doctrine#7291) thanks to @Majkl578 and @madwizard-thomas
 - [7274: Use non-deprecated version of Lexer and Inflector](doctrine#7274) thanks to @Majkl578
 - [7190: Fix wrong type in phpdoc of `Doctrine\ORM\Id\AbstractIdGenerator#generate()`](doctrine#7190) thanks to @Tobion
 - [7146: &doctrine#91;XML&doctrine#93; Fix default value of one-to-many order-by to ASC](doctrine#7146) thanks to @Awkan

Improvement:
 - [7290: Fix compatibility with DBAL 2.8 (doctrine/dbal#3157)](doctrine#7290) thanks to @Majkl578

Documentation:
 - [7276: Add UPGRADE note for EntityRepository::count()](doctrine#7276) thanks to @Majkl578

v2.6.1

Toggle v2.6.1's commit message

Verified

This tag was signed with the committer’s verified signature.
Ocramius Marco Pivetta
This release provides fixes for:

 * a regression in parsing of `DELETE` DQL queries without a DQL alias
 * a regression in hydration of fields of intermediate classes multi-level single-/multi-table-inheritance
 * a call to an undefined `Doctrine\Common\Cache\MemcachedCache::setMemcache()` method in the setup tooling
 * persistence order for entities with identity through associated entity
 * some persistence issues with join columns with special characters in them, which need to be quoted
 * incorrect SQL parameter type binding in the basic entity persister
 * versioned entity version fields caching within the second level cache

Total issues resolved: **23**

- [6043: Identity through foreign Entities - persist](doctrine#6043) thanks to @Gorjunov
- [6531: Cannot persist parent entity if OneToOne shares the same id](doctrine#6531) thanks to @davidbarratt
- [6701: Fix identity through foreign entities](doctrine#6701) thanks to @vhenzl
- [6939: Error for delete query without alias since 2.6.0](doctrine#6939) thanks to @dmaicher
- [6971: Exception Call to undefined method Doctrine\Common\Cache\MemcachedCache::setMemcache()](doctrine#6971) thanks to @rolando-caldas
- [6988: Inheritance middle-layer doesn't get hydrated](doctrine#6988) thanks to @kbond
- [6997: ManyToManyPersister fails to remove join table entry if there is multiple join columns](doctrine#6997) thanks to @NicolaF
- [7002: Flush new entity with relation when use relation in composite key throws ORMInvalidArgumentException](doctrine#7002) thanks to @samplestudio
- [7003: Cannot persist new entity if primary key contains a foreign key and the referenced object is in state new and its id is not assigned](doctrine#7003) thanks to @NicolaF
- [7012: Fixed updating of entity with quoted identifier join column](doctrine#7012) thanks to @janlanger
- [7021: Fix incorrect variable reference](doctrine#7021) thanks to @lcobucci
- [7031: Tests failing in February (QueryDqlFunctionTest::testDateAdd with "month" dataset)](doctrine#7031) thanks to @Majkl578
- [7032: QueryDqlFunctionTest: Increase delta for testDateAdd() to work in February](doctrine#7032) thanks to @Majkl578
- [7051: Bugfix: Hydrate subclasses of subclasses](doctrine#7051) thanks to @technetium
- [7053: Fixed parser rejecting valid DQL](doctrine#7053) thanks to @carnage
- [7055: Fix date issues once and for all](doctrine#7055) thanks to @lcobucci
- [7059: Querying abstract class in the middle of a hierarchy returns NULL instead of objects](doctrine#7059) thanks to @BenMorel
- [7062: BasicEntityPersister confuses association types with PDO datatypes](doctrine#7062) thanks to @mariusklocke
- [7067: ORM second level cache and version (locking)](doctrine#7067) thanks to @wtorsi
- [7069: Test for Second level cache with Version, DDC doctrine#7067](doctrine#7069) thanks to @wtorsi
- [7077: Fix BC-break on delete without alias DQL](doctrine#7077) thanks to @lcobucci
- [7082: Add failing test for issue doctrine#7062 - BasicEntityPersister confuses association types with PDO datatypes](doctrine#7082) thanks to @mariusklocke
- [7093: Fix updating entities with quoted identifier association](doctrine#7093) thanks to @lcobucci
0