Skip to content

Releases: BlackBonjour/stdlib

3.3.1

01 Jun 12:07

Choose a tag to compare

Added

  • Nothing

Changed

  • Lowered requirements

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

3.3.0

24 May 15:06

Choose a tag to compare

Added

  • #39 Compatibility for PHP 8.1

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

3.2.1

24 May 14:22

Choose a tag to compare

Added

  • Nothing

Changed

  • Restricted compatibility to max PHP 8.0 only

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

3.2.0

01 Aug 19:32

Choose a tag to compare

Added

  • Nothing

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • #38 Fixed empty delimiter for StdString::explode()
  • PHP8 compatibility

3.1.0

03 Oct 11:54

Choose a tag to compare

Added

  • #37 Introduced MapInterface::getIterator, affecting
    HashMap, Map and Sequence are now deprecated and will be removed with the next major version

Changed

  • Nothing

Deprecated

  • All public methods in Sequence that come from StdObject (Sequence::__toString,
    Sequence::clone, Sequence::equals, Sequence::hashCode)

Removed

  • Nothing

Fixed

  • Nothing

3.0.0

03 Jul 18:43
7c6d434

Choose a tag to compare

Added

  • Introduced StdString::createFromArrayOfChar to create a StdString instance from Character[]
  • Constructor of StdString will throw an InvalidArgumentException in case an invalid encoding was fetched from using mb_internal_encoding
  • #36 Added all possible types from PHPs internal function gettype() as new constants for Assert::typeOf and Assert::validate to use

Changed

  • #29 Bumped PHPUnit to version 9.*
  • Constructor of StdString no longer supports other types than strings
  • HashMap can now throw JsonException as it uses json_encode to stringify injected keys of type array

Deprecated

  • Nothing

Removed

  • #28 Dropped support for PHP 7.3 and lower
  • #30 Util\Arrays was removed
  • Remove the useless feature to create a StdString instance from another StdString instance (if still needed, just clone that instance instead!)

Fixed

  • CachedGenerator would throw errors in case the injected Generator yielded keys that weren't of type string or integer

2.2.0

08 May 17:26

Choose a tag to compare

Added

  • slice() and sort() to MapInterface and all classes implementing that interface

Changed

  • Assert::typeOf and Assert::validate supporting value type object

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • HashMap losing string identifier after sort

2.1.0

25 Mar 22:11

Choose a tag to compare

2.1.0 - 2019-03-25

Added

  • ArrayUtils
  • Sequence
  • toArray() to MapInterface and all classes implementing that interface

Changed

  • Nothing

Deprecated

  • Arrays

Removed

  • Nothing

Fixed

  • Nothing

2.0.0

22 Nov 16:29
61d7722

Choose a tag to compare

Added

  • CachedGenerator

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • #23 Drop support for PHP 7.1

Fixed

  • Nothing

1.0.1

12 Oct 18:53

Choose a tag to compare

Added

  • Nothing

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • #24 Fixed HashMap::current returning false for NULL values