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
Copy file name to clipboardExpand all lines: documentation/upgrading/index.html
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -371,6 +371,13 @@ <h1><a id="flow-php-upgrade-guide" href="#content-upgrade-guide" class="mr-2" ar
371
371
<p>This document provides guidelines for upgrading between versions of Flow PHP.
372
372
Please follow the instructions for your specific version to ensure a smooth upgrade process.</p>
373
373
<hr/>
374
+
<h2><aid="flow-php-upgrading-from-011x-to-014x" href="#content-upgrading-from-011x-to-014x" class="mr-2" aria-hidden="true" title="Permalink">#</a>Upgrading from 0.11.x to 0.14.x</h2>
375
+
<h3><aid="flow-php-1-replaced-flowetldataframevalidate-with-flowetldataframematch" href="#content-1-replaced-flowetldataframevalidate-with-flowetldataframematch" class="mr-2" aria-hidden="true" title="Permalink">#</a>1) Replaced <code>Flow\ETL\DataFrame::validate()</code> with <code>Flow\ETL\DataFrame::match()</code></h3>
376
+
<p>The old method is now deprecated and will be removed in the next release.</p>
377
+
<h3><aid="flow-php-2-replaced-flowetlfunctionscalarfunctiontypedscalarfunction-with-flowetlfunctionscalarfunctionscalarresult" href="#content-2-replaced-flowetlfunctionscalarfunctiontypedscalarfunction-with-flowetlfunctionscalarfunctionscalarresult" class="mr-2" aria-hidden="true" title="Permalink">#</a>2) Replaced <code>Flow\ETL\Function\ScalarFunction\TypedScalarFunction</code> with <code>Flow\ETL\Function\ScalarFunction\ScalarResult</code>.</h3>
378
+
<p>The old interface was used to allow define the return type of the ScalarFunctions.
379
+
It was replaced with a ScalarResult value object that is much more flexible than the interface,
380
+
because it's allowing to return any type dynamically without making the scalar function stateful.</p>
374
381
<h2><aid="flow-php-upgrading-from-010x-to-011x" href="#content-upgrading-from-010x-to-011x" class="mr-2" aria-hidden="true" title="Permalink">#</a>Upgrading from 0.10.x to 0.11.x</h2>
375
382
<h3><aid="flow-php-1-removed-structureelementstructelementstructureelement-from-structuretype-definition" href="#content-1-removed-structureelementstructelementstructureelement-from-structuretype-definition" class="mr-2" aria-hidden="true" title="Permalink">#</a>1) Removed StructureElement/struct_element/structure_element from StructureType Definition</h3>
0 commit comments