Releases: BlackBonjour/stdlib
Releases · BlackBonjour/stdlib
3.3.1
3.3.0
3.2.1
Added
- Nothing
Changed
- Restricted compatibility to max PHP 8.0 only
Deprecated
- Nothing
Removed
- Nothing
Fixed
- Nothing
3.2.0
3.1.0
Added
- #37 Introduced
MapInterface::getIterator, affecting
HashMap,MapandSequenceare now deprecated and will be removed with the next major version
Changed
- Nothing
Deprecated
- All public methods in
Sequencethat come fromStdObject(Sequence::__toString,
Sequence::clone,Sequence::equals,Sequence::hashCode)
Removed
- Nothing
Fixed
- Nothing
3.0.0
Added
- Introduced
StdString::createFromArrayOfCharto create aStdStringinstance fromCharacter[] - Constructor of
StdStringwill throw anInvalidArgumentExceptionin case an invalid encoding was fetched from usingmb_internal_encoding - #36 Added all possible types from PHPs internal function gettype() as new constants for
Assert::typeOfandAssert::validateto use
Changed
- #29 Bumped PHPUnit to version 9.*
- Constructor of
StdStringno longer supports other types than strings HashMapcan now throwJsonExceptionas it usesjson_encodeto stringify injected keys of type array
Deprecated
- Nothing
Removed
- #28 Dropped support for PHP 7.3 and lower
- #30
Util\Arrayswas removed - Remove the useless feature to create a
StdStringinstance from anotherStdStringinstance (if still needed, just clone that instance instead!)
Fixed
CachedGeneratorwould throw errors in case the injectedGeneratoryielded keys that weren't of type string or integer
2.2.0
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
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