Skip to content

Releases: MortalFlesh/MFCollectionsPHP

Version 8.3.0

13 Dec 08:14
1820ec3
Compare
Choose a tag to compare

8.3.0 - 2023-12-13

  • Support php 8.3 and update dependencies

Version 8.2.0

28 Nov 11:56
0beef53
Compare
Choose a tag to compare

8.2.0 - 2023-11-28

  • Add Immutable/Generic/IList::partition method

Version 7.2.0

28 Nov 11:55
4575713
Compare
Choose a tag to compare

7.2.0 - 2023-11-28

  • Add Immutable/Generic/IList::partition method

Version 8.1.1

28 Nov 11:55
ff94cdf
Compare
Choose a tag to compare

8.1.1 - 2023-11-25

  • Fix return type of sortBy and sortByDescending methods

Version 7.1.1

28 Nov 11:54
1037c97
Compare
Choose a tag to compare

7.1.1 - 2023-11-25

  • Fix return type of sortBy and sortByDescending methods

Version 8.0.0

12 Apr 08:47
92308ea
Compare
Choose a tag to compare

8.0.0 - 2023-04-12

  • [BC] Require php 8.2 and update dependencies
  • Add readonly attribute to classes
    • Immutable/Generic/KVPair
    • Immutable/Generic/ListCollection
    • Immutable/Generic/Map
    • Range

Version 7.0.0

21 Apr 16:33
bed1eed
Compare
Choose a tag to compare

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