Releases: briannesbitt/Carbon
Releases · briannesbitt/Carbon
2.60.0
Complete commits list: 2.59.1...2.60.0
Summary:
- Updated #2647 Sorani language (ckb locale) — @swarakaka
- Updated #2646 Align Kurmanji language with CLDR data (ku locale) — Unicode
- Fixed #2640 Fixes updating locale when app instance changes in Octane — @nunomaduro
- Fixed #2645 Make Laravel ServiceProvider more resilient — @kylekatarnls
- Removed #2641 false positives fixed by PHPStan — @kylekatarnls
New Contributors
- @nunomaduro made their first contribution in #2640
2.59.1
Complete commits list: 2.59.0...2.59.1
Summary:
- Fixed #2632 Php 8.2 utf8_encode deprecation — @erikn69
- Fixed #2635 regression for MacroExtension — @evertharmeling
New Contributors
- @erikn69 made their first contribution in #2632
- @evertharmeling made their first contribution in #2635
2.59.0
Complete commits list: 2.58.0...2.59.0
Summary:
- Added #2631 Support for PHPStan 1.7.14 — @kylekatarnls
- Added #2616 Exception for endless periods — @kylekatarnls
- Fixed #2595 Update Slovak translations — @AlterwebStudio
- Fixed #2614 Months translations in Czech — @waclaw66
- Fixed #2607 Improved typehint for year of
CarbonInterval
— @kang8 - Fixed #2622 Replaced deprecated
${var}
string interpolation patterns (PHP 8.2) — @jnoordsij - Refactored #2612 Simplify some regex — @lucasmichot
- Refactored #2608 Use expectExceptionObject assertion for consistency — @lucasmichot
New Contributors
2.58.0
Complete commits list: 2.57.0...2.58.0
Summary:
- Added #2573
QUARTERS_PER_YEAR
constant - Added #2571 Kurdish (sorani) language
- Added #2578 property getters for exceptions
- Added #2590 support for
DateTime
andDateTimeImmutable
insetTestNow()
- Fixed #2581
floorMonth()
for last day of month - Fixed #2557 Week declension in Mongolian for "ago"
- Fixed #2584 Danish translations
- Fixed #2588 Allow plus prefix for numeric timezone
- Fixed #2536 Compatibility with Symfony hybrid setup
- Fixed #2561 Exceptions handling in
withTestNow()
- Fixed #2549 #2551 PHP 8.1 incompatibility and deprecations
- Refactor #2564 #2574 #2577 #2597 #2596 #2601 #2598 #2599
- Improved tests #2560 #2563 #2575 #2592
New Contributors 🎉
- @sumonst21 made their first contribution in #2554
- @rogervila made their first contribution in #2573
- @swara-mohammed made their first contribution in #2571
- @kokoshneta made their first contribution in #2585
- @yuraplohov made their first contribution in #2590
2.57.0
Complete commits list: 2.56.0...2.57.0
Summary:
2.56.0
Complete commits list: 2.55.2...2.56.0
Summary:
- Added #2528 CarbonPeriod Handle infinite recurrences when parsing period string by @dbohn
- Added #2537 Allow precision 0 in Carbon DBAL types by @kdaniel95
- Added #2507 Support for PHPStan 1.*
- Fixed #2520 Replace Polish ending in grouped units
- Fixed #2529 Allow strings in comparison methods
⚠️ Breaking change:null
now fallback to"now"
, as it's still ambigus, we highly encourage you not to comparenull
to date/Carbon instances and do null-check before comparison.
New Contributors 🎉
- @dbohn made their first contribution in #2528
- @kdaniel95 made their first contribution in #2537
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