Skip to content

Releases: yiisoft/arrays

Version 3.2.0

01 Feb 05:26
3.2.0
a9e3a33
Compare
Choose a tag to compare
  • Chg #167: Change PHP constraint in composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 (@vjik)
  • Enh #156: Improve psalm types in ArrayHelper::getObjectVars(), ArrayableInterface, ArrayableTrait and
    ArrayAccessTrait (@vjik)
  • Enh #165: Raise the minimum PHP version to 8.1 (@vjik)
  • Bug #165: Explicitly mark nullable parameters (@vjik)
  • Bug #166: ArrayHelper::getValue() returns default value on empty array key (@vjik)
  • Bug #166: ArrayHelper::keyExists() returns false on empty array key (@vjik)

Version 3.1.0

04 Apr 11:07
3.1.0
e07c726
Compare
Choose a tag to compare
  • 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 of ArrayHelper::getObjectVars() method (@Tigrov)
  • Enh #152: Minor ArrayableTrait refactoring (@Tigrov)

Version 3.0.0

12 Jan 12:04
3.0.0
effe8c9
Compare
Choose a tag to compare
  • 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)

Version 2.1.0

20 Aug 04:36
Compare
Choose a tag to compare