@@ -5,13 +5,34 @@ Please follow the instructions for your specific version to ensure a smooth upgr
55
66---
77
8+ ## Upgrading from 0.15.x to 0.16.x
9+
10+ ### 1) Deprecated ` Flow\ETL\DataFrame::renameAll* ` methods
11+
12+ Methods:
13+ - ` Flow\ETL\DataFrame::renameAll() ` ,
14+ - ` Flow\ETL\DataFrame::renameAllLowerCase() ` ,
15+ - ` Flow\ETL\DataFrame::renameAllUpperCase() ` ,
16+ - ` Flow\ETL\DataFrame::renameAllUpperCaseFirst() ` ,
17+ - ` Flow\ETL\DataFrame::renameAllUpperCaseWord() ` ,
18+
19+ Were deprecated in favor of using new method: ` DataFrame::renameEach() ` with proper ` RenameEntryStrategy ` object.
20+
21+ ### 2) Deprecated ` RenameAllCaseTransformer ` & ` RenameStrReplaceAllEntriesTransformer `
22+
23+ Selected transformers were deprecated in favor of using ` DataFrame::renameEach() ` with related ` RenameEntryStrategy ` :
24+ - ` RenameAllCaseTransformer ` -> ` RenameCaseTransformer ` ,
25+ - ` RenameStrReplaceAllEntriesTransformer ` -> ` RenameReplaceStrategy ` ,
26+
27+ ---
28+
829## Upgrading from 0.14.x to 0.15.x
930
10- ### 1) Removed ` Flow\ETL\Row\Schema\Matcher ` and implementations
11- Schema Matcher was the initial attempt to implement a schema evolution next to schema validation that over
12- time got replaced with different implementation of Schema Validator.
31+ ### 1) Removed ` Flow\ETL\Row\Schema\Matcher ` and implementations
32+ Schema Matcher was the initial attempt to implement a schema evolution next to schema validation that over
33+ time got replaced with a different implementation of Schema Validator.
1334
14- ### 2) Renamed ` Flow\ETL\Row\Schema ` namespace into ` Flow\ETL\Schema ` .
35+ ### 2) Renamed ` Flow\ETL\Row\Schema ` namespace into ` Flow\ETL\Schema ` .
1536This means all classes related to Schema now live under ` Flow\ETL\Schema ` namespace.
1637
1738---
@@ -24,7 +45,7 @@ The old method is now deprecated and will be removed in the next release.
2445
2546### 2) Replaced ` Flow\ETL\Function\ScalarFunction\TypedScalarFunction ` with ` Flow\ETL\Function\ScalarFunction\ScalarResult ` .
2647
27- The old interface was used to allow define the return type of the ScalarFunctions.
48+ The old interface was used to allow defining the return type of the ScalarFunctions.
2849It was replaced with a ScalarResult value object that is much more flexible than the interface,
2950because it's allowing to return any type dynamically without making the scalar function stateful.
3051
@@ -52,10 +73,10 @@ type_structure([
5273
5374From now options for:
5475
55- - to_dbal_table_insert()
56- - to_db_table_update()
76+ - ` to_dbal_table_insert() `
77+ - ` to_db_table_update() `
5778
58- are passed as an objects (instance of UpdateOptions|InsertOptions interfaces) and they are platform specific,
79+ are passed as objects (instance of UpdateOptions|InsertOptions interfaces) and they are platform specific,
5980so please use the proper class for the platform you are using.
6081
6182- PostgreSQL
@@ -71,9 +92,9 @@ so please use the proper class for the platform you are using.
7192## Upgrading from 0.8.x to 0.10.x
7293
7394
74- ### 1) Providing multiple paths to single extractor
95+ ### 1) Providing multiple paths to a single extractor
7596
76- From now in order to read from multiple locations use ` from_all(Extractor ...$extractors) : Exctractor ` extractor.
97+ From now to read from multiple locations use ` from_all(Extractor ...$extractors) : Exctractor ` extractor.
7798
7899Before:
79100``` php
@@ -118,7 +139,7 @@ from_parquet(path(__DIR__ . '/data/1.parquet'))->withSchema($schema);
118139
119140### 1) Joins
120141
121- In order to support joining bigger datasets, we had to move from initial NestedLoop join algorithm into Hash Join algorithm.
142+ To support joining bigger datasets, we had to move from initial NestedLoop join algorithm into Hash Join algorithm.
122143
123144- the only supported coin expression is ` = ` (equals) that can be grouped with ` AND ` and ` OR ` operators.
124145- ` joinPrefix ` is now always required, and by default is set to 'joined_ '
@@ -134,8 +155,8 @@ Above changes were introduced in all 3 types of joins:
134155
135156### 2) GroupBy
136157
137- From now on, DataFrame::groupBy() method will return GroupedDataFrame object, which is nothing more than a GroupBy
138- statement Builder. In order to get the results you first need to define the aggregation functions or optionally pivot the data.
158+ From now on, ` DataFrame::groupBy() ` method will return ` GroupedDataFrame ` object, which is nothing more than a GroupBy
159+ statement Builder. To get the results, you first need to define the aggregation functions or optionally pivot the data.
139160
140161## Upgrading from 0.6.x to 0.7.x
141162
@@ -188,7 +209,7 @@ DataFrame::parallelize() method is deprecated, and it will be removed, instead u
188209
189210### 6) Rows in batch - Extractors
190211
191- From now, file based Extractors will always throw one Row at time, in order to merge them into bigger groups
212+ From now, file- based Extractors will always throw one Row at time, in order to merge them into bigger groups
192213use ` DataFrame::batchSize(int $size) ` just after extractor method.
193214
194215Before:
@@ -218,7 +239,7 @@ Affected extractors:
218239- Text
219240- XML
220241- Avro
221- - DoctrineDBAL - rows_in_batch wasn't removed but now results are thrown row by row, instead of whole page.
242+ - DoctrineDBAL - ` rows_in_batch ` wasn't removed, but now results are thrown row by row, instead of whole page.
222243- GoogleSheet
223244
224245### 7) ` GoogleSheetExtractor `
0 commit comments