Releases: szjani/precore
Releases · szjani/precore
2.1.0
New features
- New finder methods in collection related classes that return
Optional
. Functions::call()
.TryTo
monad to gracefully handle exceptions. For more information see the documentation.
Bugfixes
Numbers::compare()
issue in case of floats is fixed now.
Precore 2.1 requires PHP 5.5.
2.0.0
New features
Optional
added, coming from Guava and Java 8Collections::emptyIterator()
FluentIterable
implementsCountable
,map()
andflatMap()
were added based on Java 8 naming conventionsIterators::each()
Range
supports booleans andDateTime
s, serialization is fixed (now usesToStringHelper
)
Backward incompatible changes
Arrays::sortWith()
has been removedChunkProvider
must return anOptional
.Optional::absent()
means the iteration must be stoppedIterators::skip()
has been renamed toIterators::advance()
Iterators
never reset the givenIterator
from now- Removed
Iterator
andIteratorAggregate
support inToStringHelper