You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge tag 'v2.6.3' into comparison_strategy_v2.6.3
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
Copy file name to clipboardexpand all lines: docs/en/reference/limitations-and-known-issues.rst
+8-9
Original file line number
Diff line number
Diff line change
@@ -63,16 +63,16 @@ Where the ``attribute_name`` column contains the key and
63
63
``$attributes``.
64
64
65
65
The feature request for persistence of primitive value arrays
66
-
`is described in the DDC-298 ticket <http://www.doctrine-project.org/jira/browse/DDC-298>`_.
66
+
`is described in the DDC-298 ticket <https://github.com/doctrine/doctrine2/issues/3743>`_.
67
67
68
68
Cascade Merge with Bi-directional Associations
69
69
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70
70
71
71
There are two bugs now that concern the use of cascade merge in combination with bi-directional associations.
72
72
Make sure to study the behavior of cascade merge if you are using it:
73
73
74
-
- `DDC-875 <http://www.doctrine-project.org/jira/browse/DDC-875>`_ Merge can sometimes add the same entity twice into a collection
75
-
- `DDC-763 <http://www.doctrine-project.org/jira/browse/DDC-763>`_ Cascade merge on associated entities can insert too many rows through "Persistence by Reachability"
74
+
- `DDC-875 <https://github.com/doctrine/doctrine2/issues/5398>`_ Merge can sometimes add the same entity twice into a collection
75
+
- `DDC-763 <https://github.com/doctrine/doctrine2/issues/5277>`_ Cascade merge on associated entities can insert too many rows through "Persistence by Reachability"
76
76
77
77
Custom Persisters
78
78
~~~~~~~~~~~~~~~~~
@@ -83,8 +83,8 @@ Currently there is no way to overwrite the persister implementation
83
83
for a given entity, however there are several use-cases that can
84
84
benefit from custom persister implementations:
85
85
86
-
- `Add Upsert Support <http://www.doctrine-project.org/jira/browse/DDC-668>`_
87
-
- `Evaluate possible ways in which stored-procedures can be used <http://www.doctrine-project.org/jira/browse/DDC-445>`_
86
+
- `Add Upsert Support <https://github.com/doctrine/doctrine2/issues/5178>`_
87
+
- `Evaluate possible ways in which stored-procedures can be used <https://github.com/doctrine/doctrine2/issues/4946>`_
88
88
89
89
Persist Keys of Collections
90
90
~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -94,7 +94,7 @@ PHP Arrays are ordered hash-maps and so should be the
94
94
evaluate a feature that optionally persists and hydrates the keys
0 commit comments