All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.1.0 - 2023-09-13
groupRows
now supports grouping by multiple columns.- Integer array keys can now be used for row grouping.
- PHP 8.1+ is now required.
2.0.0 - 2023-02-08
- New set of methods for retrieving and validating array key types:
requireStrKey
getOptionalStrKey
requireNumericKey
getOptionalNumericKey
requireIntKey
getOptionalIntKey
requireBoolKey
getOptionalBoolKey
- Moved all functions to static methods in an
ArrayUtils
class for easier usage. - PHP 7.4+ is now required.
1.1.2 - 2022-03-16
- Added template to
group_rows
so static analyzers can determine the return type. - PHP 7.3+ is now required.
1.1.1 - 2020-03-18
- Implemented native parameter and return type declarations.
- PHP 7.2+ is now required.
1.1.0 - 2016-05-24
group_rows
now supportsTraversable
objects in addition to arrays.
1.0.1 - 2016-01-14
group_rows
now correctly handles rows containing afalse
group column value.
1.0.0 - 2016-01-13
- Initial release