Releases: stubbles/stubbles-date
Releases · stubbles/stubbles-date
10.0.0 - Time moves forward
9.0.0 - Time flies
BC breaks
- raised minimum required PHP version to 8.2
8.0.1 - Sorry, I have to repeat my question
- fixed type hints in various doc comments
8.0.0 - Are you my type?
BC breaks
- raised minimum required PHP version to 7.3
- parameter
$expectedofstubbles\date\assert\equalsDatenow requires a string
Other changes
- fixed various possible bugs due to incorrect type usage
7.0.0 - Seven all the way
BC breaks
- raised minimum required PHP version to 7.0.0
- introduced scalar type hints and strict type checking
6.0.0 - Evolution
BC breaks
- dropped support for PHP 5.4 and 5.5
- removed all get*() methods, were deprecated since 5.2.0
Other changes
- added
stubbles\date\assert\equalsDate()
5.5.1 - Monthly reports, now bugfixed
- fixed
stubbles\date\span\Month::currentOrLastWhenFirstDay()to return current month for days not the first of month
5.5.0 - Monthly reports, now less painful
- added
stubbles\date\span\Month::currentOrLastWhenFirstDay()
5.4.0 - Compatibility is a new feature
- ensure output of
stubbles\date\span\CustomDatespan::asString()is compatible with whatstubbles\date\span\parse()can parse
5.3.0 - This week is not weak
BC breaks
- changed string representation of
stubbles\date\span\Week, is now in format "2015-W05" instead of "05" only
Other changes
- added
stubbles\date\span\Week::number() - added
stubbles\date\span\Week::fromString() - added
stubbles\date\span\Datespan::type()