- Enh #156: Improve psalm types in
ArrayHelper::getObjectVars()
,ArrayableInterface
,ArrayableTrait
andArrayAccessTrait
(@vjik)
- New #139: Add
ArrayHelper::parametrizedMerge()
method that allows to merge two or more arrays recursively with specified depth (@vjik) - New #149, #152: Add
ArrayrHelper::renameKey()
(@vjik, @Tigrov) - Enh #140: Remove
null
from return type ofArrayHelper::getObjectVars()
method (@Tigrov) - Enh #152: Minor
ArrayableTrait
refactoring (@Tigrov)
- Enh #115: Raise required PHP version to
^8.0
, move union type hints from annotations to methods' signatures (@xepozz, @vjik) - Enh #122: Add getters' support (keys like "getMyProperty()") to
ArrayHelper
(@vjik) - Bug #103:
ArrayableTrait::toArray()
returned an invalid result when no fields were specified (@ganigeorgiev) - New #137: Add methods
ArrayHelper::addValue()
andArrayHelper::addValueByPath()
(@Kutuzovska)
- Enh #111: Add support for escaping delimiter while parsing path (@arogachev, @vjik)
- New #91: Add
ArrayHelper::group()
that groups the array according to a specified key (@sagittaracc) - New #96: Add support for iterable objects to
ArrayHelper::map()
,ArrayHelper::index()
,ArrayHelper::group()
,ArrayHelper::htmlEncode()
andArrayHelper::htmlDecode
(@vjik) - Chg #99: Finalize
ArrayHelper
andArraySorter
(@vjik) - Bug #101: Fix incorrect default value returned from
ArrayHelper::getValue()
when key does not exist and default is array (@vjik)
- Chg: Update
yiisoft/strings
dependency (@samdark)
- Initial release