Releases: briannesbitt/Carbon
Releases · briannesbitt/Carbon
2.53.1
2.53.0
Complete commits list: 2.52.0...2.53.0
Summary:
2.52.0
2.51.1
2.51.0
2.50.0
Complete commits list: 2.49.0...2.50.0
Summary:
- Added #2353 Use the return value from callback in
withTestNow()
- Added #2351
avoidMutation()
method to copy an instance only if mutable - Fixed #2349 polish translation causing a runtime error
- Fixed PHP 8.1 compatibility #2319 #2364
- Fixed #2368 Precision bug when converting float with leading zero in decimal part of a timestamp
- Refactored typing #2367 #2366 #2365 #2359 #2360
2.49.0
Complete commits list: 2.48.1...2.49.0
Summary:
- Added #2332 instantiation method
Carbon::createStrict()
- Added #2344 Doctrine Types Annotations
- Fixed #2336 Belarusian translation
- Fixed #2337 passing null to non-nullable arguments
⚠️ Changed ac6f8dd negative interval strings (such as-30 minutes
) used inCarbonPeriod
constructor are now considered as the step of the period and no longer as the start/end date (previously referring tonow - interval
)
2.48.1
Complete commits list: 2.48.0...2.48.1
Summary:
- Fixed unwanted timezone mutation when calling
floatDiffInRealDays()
,floatDiffInRealWeeks()
,floatDiffInRealMonths()
, orfloatDiffInRealYears()
2.47.1
Complete commits list: 2.47.0...2.47.1
Summary:
- Fixed unwanted timezone mutation when calling
floatDiffInRealDays()
,floatDiffInRealWeeks()
,floatDiffInRealMonths()
, orfloatDiffInRealYears()
2.48.0
Complete commits list: 2.47.0...2.48.0
Summary: