Skip to content

Releases: jungi-php/common

v1.2.0

09 Jul 19:22
v1.2.0
Compare
Choose a tag to compare

Added

  • Function array_equals() that checks if both arrays have the same keys and their values are equal

v1.1.1

27 May 19:15
v1.1.1
Compare
Choose a tag to compare

Added

  • Template type declaration at Equatable::equals(). PHPStorm 2022.1 now handles generics types in @method tags, and it's also helpful when using an analysis tool.
  • Missing @param tag at Option::some()
  • Missing @param tags in local functions
  • Missing @template tags in static methods of Result
  • Missing @template tags in static methods of Option

v1.1.0

30 Oct 12:10
v1.1.0
Compare
Choose a tag to compare

Added

  • Function iterable_search() that returns the first key where the given value is equal.

v1.0.0

04 Sep 18:26
v1.0.0
Compare
Choose a tag to compare

Stable version.

v0.3.0

22 Aug 19:38
v0.3.0
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  • Add Option::orElseTo()
  • Add Result::mapOr()
  • Add Result::mapOrElse()
  • Add Option::mapOr()
  • Add Option::mapOrElse()

v0.2.0

21 Aug 18:44
v0.2.0
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release
  • Make Result variants lowercase
  • Make Option variants lowercase

v0.1.1

21 Aug 14:48
v0.1.1
Compare
Choose a tag to compare
v0.1.1 Pre-release
Pre-release
  • Make constructors of Option child types protected
  • Make constructors of Result child types protected

Initial

20 Aug 19:14
v0.1.0
Compare
Choose a tag to compare
Initial Pre-release
Pre-release
v0.1.0

v0.1.0