Skip to content

Releases: stubbles/stubbles-date

10.0.0 - Time moves forward

30 Nov 12:00
v10.0.0
4d31f22

Choose a tag to compare

BC breaks

  • raised minimum required PHP version to 8.3

Other changes

  • ensured compatibility with PHP 8.5

9.0.0 - Time flies

31 Dec 13:06
v9.0.0
0b72097

Choose a tag to compare

BC breaks

  • raised minimum required PHP version to 8.2

8.0.1 - Sorry, I have to repeat my question

10 Dec 16:50

Choose a tag to compare

  • fixed type hints in various doc comments

8.0.0 - Are you my type?

10 Dec 16:12

Choose a tag to compare

BC breaks

  • raised minimum required PHP version to 7.3
  • parameter $expected of stubbles\date\assert\equalsDate now requires a string

Other changes

  • fixed various possible bugs due to incorrect type usage

7.0.0 - Seven all the way

10 Dec 16:11

Choose a tag to compare

BC breaks

  • raised minimum required PHP version to 7.0.0
  • introduced scalar type hints and strict type checking

6.0.0 - Evolution

27 Jun 14:10

Choose a tag to compare

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

24 Jun 14:39

Choose a tag to compare

  • 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

24 Jun 14:39

Choose a tag to compare

  • added stubbles\date\span\Month::currentOrLastWhenFirstDay()

5.4.0 - Compatibility is a new feature

24 Jun 14:38

Choose a tag to compare

  • ensure output of stubbles\date\span\CustomDatespan::asString() is compatible with what stubbles\date\span\parse() can parse

5.3.0 - This week is not weak

24 Jun 14:38

Choose a tag to compare

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()