Releases: briannesbitt/Carbon
Releases ยท briannesbitt/Carbon
2.55.2
Complete commits list: 2.55.1...2.55.2
Summary:
- Fixed #2514 Support classmap-authoritative composer option (thanks to @andriesreitsma)
2.55.1
Complete commits list: 2.55.0...2.55.1
Summary:
- Fixed #2512 Move translator definition outside autoload
2.55.0
Complete commits list: 2.54.0...2.55.0
Summary:
- Added #2488 "skip" option in
forHumans()
anddiffForHumans()
- Added #2509 Symfony 6 support
- Added #2497 composer docs section (thanks to @lucasmichot)
- Fixed #2492 Past declensions in Polish
- Fixed #2506 nds_DE translation
- Fixed #2490 Documentation (thanks to @Jo-chana)
- Fixed #2452 Throw exception on wrong unit added
- Fixed #2503 Remove work-around for PHP bug 81458
- Changed #2501 Throw exception on invalid timezone ID in
setTestNowAndTimezone()
- Improved code style #2487 (thanks to @lucasmichot)
- Improved tests #2494 #2495 #2496 (thanks to @lucasmichot)
New Contributors ๐
- @Jo-chana made their first contribution in #2490
- @Chris53897 made their first contribution in #2509
2.54.0
Complete commits list: 2.53.1...2.54.0
Summary:
- Fixed #2481 Make time handling with
setTestNow()
closest to real time behaviorโ ๏ธ see BC notice for this change #2481 (comment) the BC only changes the way to mock time in tests (which will no longer fake the timezone by default) behavior outside testing env is not impacted.
- Fixed #2433 Fix Malay meridiem
- Fixed #2478 Fix Latvian short name for months
- Fixed #2479 Fix month plural for Gujarati
- Fixed #2452 Throw exception on wrong unit added
- Added #2484
setTestNowAndTimezone()
- Refactored tests and CI (thanks to @lucasmichot)
New Contributors ๐
- @wouterj made their first contribution in #2453
- @ozldmezot made their first contribution in #2478
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