Complete commits list: 2.22.3...2.23.0
Summary:
- #1841 Made Carbon compatible with new PHP 8 signatures of DateTime
- #1840 Added short form or year for year in Turkish
- #1837 Fixed Finnish translation
- Fixed alternate numbers in hours
- #1817 Use alternative numbers in translated duration strings
- #1831 Fixed global translator caching
- #1834 Fixed language detection in Lumen
- #1833 Improved cast() methods: now they can handle native PHP date classes and sub-classes
- Added Carbon::toDateTimeImmutable(), CarbonInterval::toDateInterval(), CarbonPeriod::toDatePeriod()
- Fixed recurrences count for CarbonPeriod created from DatePeriod
- #1822 Changed short units in Polish
- #1774 Added CarbonPeriod methods: starts(At/After/Before), ends(At/After/Before)
- #1826 Added cast() method and traits mixins to CarbonInterval and CarbonPeriod
- #1825 Added floor/ceil/round methods on CarbonInterval and CarbonPeriod
- #1829 Improved CarbonPeriod JSON serialization
- #1830 Added contains() in CarbonPeriod
- Added getIncludedStartDate() and getIncludedEndDate() in CarbonPeriod
- Added follows(), isFollowedBy() and isConsecutiveWith() in CarbonPeriod
- #1822 Fix Polish short units
- #1814 Allow to use mixins and macros with PHP 7.4 and 8
- Fixed equalTo/notEqualTo in CarbonPeriod to ignore mutability of start/end dates
- #1774 Added CarbonPeriod methods: starts(At/After/Before), ends(At/After/Before)
- #1826 Added cast() method and traits mixins to CarbonInterval and CarbonPeriod
- #1825 Added floor/ceil/round methods on CarbonInterval and CarbonPeriod
- #1782 Fixed from_now Chinese translation