Releases: EFTEC/ArrayOne
Releases · EFTEC/ArrayOne
2.7
- 2.7 2024-12-24
- [new] removeConsecutiveDuplicate()
- Compatible with PHP 8.4
2.6.1
- 2.6.1 2024-09-28
- [fixed]
- In 2.6 and lower, many functions detected when the array is null to avoid to do the operation.
- In 2.6.1, many functions detects when the array is empty (including null) to avoid to do the operation.
2.6
- 2.6 2024-09-26
- [new] minRow()
- [new] maxRow()
2.5.1
- 2.5.1 2024-09-20
- [new] keepCol()
- [new] coolRename()
- [new] shuffle()
- [new] updated this file to contain all the definitions.
2.5
- 2.5. 2024-09-20
- [new] keepCol()
- [new] coolRename()
- [new] shuffle()
2.4
- 2.4 2024-08-15
- [update] sort() now allow to group by multiples columns
- [fixed] group() fixed the value returned. If multiples columns are used then, the new grouping column could be split.
- [new] splitColumn() split a column in two or more columns.
2.3
- 2.3 2024-08-10
- [new] sum(),min(),max(),avg(),count(),aggr()
2.2
- 2.2 2024-08-06
- sort() now accepts multiple columns.
2.1
- 2.1 2024-08-03
- removeDuplicate() and group() now accepts multiples columns.
2.0
- 2.00 2024-03-10
- nav() and currentArray() are removed from 2.0. The library was optimized and streamlined, and those functions are redundant.
migration:
// before:
$r=ArrayOne::set($array)->nav('field')->...->all();
// now:
$r=ArrayOne::set($array['field'])->...->all();
// before:
$r=ArrayOne::set($array)->nav('field')->...->currentArray();
// now:
$r=$array;
$r['field']=ArrayOne::set($array['field'])->...->all();