Skip to content

Version 7.0.0

Compare
Choose a tag to compare
@MortalFlesh MortalFlesh released this 21 Apr 16:33
· 20 commits to master since this release
bed1eed

7.0.0 - 2022-04-21

  • [BC] Require php 8.1
  • [BC] Drop recursive option in from creators
  • [BC] Drop non-generic variants of the collections
  • Use phpstan generics only
    • Add phpstan annotations
    • [BC] Remove explicit types in the generic collections
    • Drop dependency on MF/TypeValidator
  • Use readonly properties in Immutable collections to ensure immutability
  • Add KVPair class
  • Add more methods
    • Immutable/Generic/ICollection
      • Add forAll
      • Add implode
    • Immutable/Generic/IList, Immutable/Generic/ISeq
      • Add concat (concatList, concatSeq)
      • Add mapi
      • Add sort
      • Add sortDescending
      • Add sortBy
      • Add sortDescendingBy
      • Add unique
      • Add uniqueBy
      • Add reverse
      • Add sum
      • Add sumBy
      • Add min
      • Add minBy
      • Add max
      • Add maxBy
      • Add append
      • Add chunkBySize
      • Add splitInto
      • Add collect
      • Add countBy
      • Add groupBy
      • Add toSeq
    • Immutable/Generic/ISeq (only)
      • Add skip
      • Add skipWhile
      • Add toList
    • Immutable/Generic/IMap, Mutable/Generic/IMap
      • Add fromPairs
      • Add pairs
      • Add toList
      • Add totoSeq
    • Immutable/ITuple
      • Add fst static methods
      • Add snd static methods
    • Mutable/Generic/IList
      • Add concat
      • Add concatList
      • Add mapi
      • Add sort
      • Add sortDescending
      • Add sortBy
      • Add sortDescendingBy
      • Add unique
      • Add uniqueBy
      • Add reverse
      • Add sum
      • Add sumBy
      • Add min
      • Add minBy
      • Add max
      • Add maxBy
      • Add append
      • Add toSeq
  • Optimize callbacks and their execution with real number of arguments