v0.2
Buttload of BC Breaks π
New things:
Enum
andSet
inheritance (you can remove values in descendant classes; LSP is ok with that)- Add set operators (intersect, subtract...) on
Set
s - All interval sets are now iterable
- Added
getStartEnd()
to all interval types - Added faster
modifyDataByStream()
method forDate/NightIntervalDataSets
Call::with()
andwithArgs()
for group calls (moved fromArr
)IntersectComparable
interface for comparing how intervals intersectArr::sortComparable()
for sorting arrays of objects implementingComparable
interface- More options on encoding conversion
- Many classes implement
Dumpable
interface for more readable debug dumps
Fixes:
- Fixed comparison of
FloatInterval
- Fixed intersections in
TimeInterval
andDayOfYearInterval
- Fix uneven mode for
RoundRobinIterator
BC Breaks:
- Minimum PHP version is now 7.2
Enums
andSets
are no longer singleton values (no longer comparable with===
)TimeInterval
andDayOfYearInterval
no longer implementInterval
interface, but rather newModuloInterval
interfaceTimeInterval
andDateTimeInterval
no longer implementsOpenClosedInterval
. Time intervals are always closed start and open end- Sequences refactored; methods from
Sequence
moved toIntCalc
- Removed
doForEach()
fromArr
andImmutableArray
; useCall::with()
Environment
deprecated; useOs
PowersOfTwo
moved toMath
namespaceHttpResponseStatus
now does not include Curl error codes; AddedHttpOrCurlResponseStatus
- All constructors called as
new static()
now are final - Experimantal
SimplePdo
is now deprecated and will be removed later
Removed old things and stuffs:
- Removed
NonIterable
interface (use PHPStan checks) - Removed
Mail/*
- Removed
Collection
- Removed
Regexp
- Removed
Inflector
(methodunderscore
moved toStr
)