Releases: briannesbitt/Carbon
Releases · briannesbitt/Carbon
3.11.1
What's Changed
- Get last errors to return false by @MizouziE in CarbonPHP/carbon#70
- Remove "ς" for singular Greek year and month accusative form by @kylekatarnls in CarbonPHP/carbon#75
- Create dedicated interfaces for constants by @kylekatarnls in CarbonPHP/carbon#76
- Fix: isoFormat('MMMM') for sl_SI not working by @hoRacy in CarbonPHP/carbon#65
- Add test for parse 0 and empty string by @kylekatarnls in CarbonPHP/carbon#62
- Drop (dead) code for PHP 7 by @kylekatarnls in CarbonPHP/carbon#59
- Fix month/week/unit translation using fallback locale while main locale has it set by @kylekatarnls in CarbonPHP/carbon#77
- Fix English meridiem when another locale is used as fallback by @kylekatarnls in CarbonPHP/carbon#78
- Don't clone when casting from immutable to immutable by @kylekatarnls in CarbonPHP/carbon#85
- Fix Yiddish translation for time difference by @yisraeldov in #3273
- Fix
withTestNow()to restore previous test state instead of clearing it by @kyryl-bogach in #3283
New Contributors
- @MizouziE made their first contribution in CarbonPHP/carbon#70
- @hoRacy made their first contribution in CarbonPHP/carbon#65
- @yisraeldov made their first contribution in #3273
- @kyryl-bogach made their first contribution in #3283
Full Changelog: CarbonPHP/carbon@3.11.0...3.11.1
3.11.0
Complete commits list: CarbonPHP/carbon@3.10.3...3.11.0
Summary:
- Allow symfony 8 by @Chris53897 in CarbonPHP/carbon#73
- Micro-optimization for standalone months translation by @kylekatarnls in CarbonPHP/carbon#68
- Support passing Unit enums to sub method and update type-hints by @hackel in #3250
- Align Bangla locale files with English reference strings by @imhayatunnabi in #3257
- Comprehensive Yiddish (yi_US) locale update by @BenyominMandel in #3267
New Contributors
- @imhayatunnabi made their first contribution in #3257
- @BenyominMandel made their first contribution in #3267
3.10.3
Complete commits list: CarbonPHP/carbon@3.10.2...3.10.3
Summary:
- Fix grammar mistakes in lt.php localization by @sammyaxe in #3215
- Fix resetMessages memory consumption by @kylekatarnls in CarbonPHP/carbon#58
New Contributors
3.10.2
Complete commits list: CarbonPHP/carbon@3.10.1...3.10.2
Summary:
- Replace
]1,Inf[with[-Inf,Inf]generic catch-all (fallback) by @kylekatarnls in CarbonPHP/carbon#54 - Change
?selfreturn type to?staticin Creator Trait by @Disservin in #3213 - Fix 0 second diff edge case in translations by @Joeb454 in #3218
New Contributors
- @Disservin made their first contribution in #3213
- @Joeb454 made their first contribution in #3218
3.10.1
Complete commits list: CarbonPHP/carbon@3.10.0...3.10.1
Summary:
- Fix rounding issue in
CarbonInterval::make()by @kylekatarnls in CarbonPHP/carbon#51
3.10.0
Complete commits list: CarbonPHP/carbon@3.9.1...3.10.0
Summary:
- Allow passing
$optionstofromSerialized()by @kylekatarnls in CarbonPHP/carbon#33 - Limit the number of recurrences by @kylekatarnls in CarbonPHP/carbon#34
- Make CarbonPeriod serialization compatible with v2 by @kylekatarnls in CarbonPHP/carbon#37
- fix: add dynamic return type for
tz()by @nesl247 in CarbonPHP/carbon#42 - Simplify period unserialization process by @kylekatarnls in CarbonPHP/carbon#44
- Use serialization to set days property on intervals by @kylekatarnls in CarbonPHP/carbon#43
- Fix undefined constant self::DEFAULT_LOCALE error by @aavtukhovich in CarbonPHP/carbon#45
- Update Divehi months by @kylekatarnls in CarbonPHP/carbon#46
- Prioritize timezones matching ->format('T') for getAbbreviatedName() by @kylekatarnls in CarbonPHP/carbon#47
- Update month abbreviation for Latin Serbian by @kylekatarnls in CarbonPHP/carbon#49
- Fix plural for Urdu, Sindhi and Arab Panjabi by @kylekatarnls in #3201
New Contributors
- @nesl247 made their first contribution in CarbonPHP/carbon#42
- @aavtukhovich made their first contribution in CarbonPHP/carbon#45
3.9.1
Complete commits list: CarbonPHP/carbon@3.9.0...3.9.1
Summary:
- Localization: added milliseconds and microseconds to Russian locale by @daniser in #3169
- Fix overflow issue for is-month by @kylekatarnls in #3170
- Fix ->is('02-29') by @kylekatarnls in #3171
- Fix Incorrect Type Inference when Declaring Macros by @liamduckett in #3174
- feat: Apply Laravel fallback locale by @daniser in #3168
- Add missing @param-closure-this by @kylekatarnls in #3175
- Add missing type for method parameter by @riesjart in #3176
- Update sponsors by @github-actions in #3177
- [Danish] 2-letter day abbreviations + 3-letter abbreviation of ‘May’ by @kokoshneta in #3183
- Update sponsors by @github-actions in #3186
- Reduce segfault risk in PHP 8.3.20 by @kylekatarnls in #3187
New Contributors
3.9.0
Complete commits list: CarbonPHP/carbon@3.8.6...3.9.0
Summary:
- Add
isNowOrFuture()andisNowOrPast()methods by @AndrewMast in CarbonPHP/carbon#27 - Add ReturnTypeWillChange to createFromTimestamp by @cdburgess in CarbonPHP/carbon#22
New Contributors
- @cdburgess made their first contribution in CarbonPHP/carbon#22
- @AndrewMast made their first contribution in CarbonPHP/carbon#27
3.8.6
Complete commits list: 3.8.5...3.8.6
Summary:
- Fix Turkmen week day name order by @kylekatarnls in #3152
- Test Laravel ongoing v13 by @kylekatarnls in #3155
3.8.5
Complete commits list: 3.8.4...3.8.5
Summary:
- Fix CarbonInterval PHPDoc by @kylekatarnls in #3130
- Fix time unit abbreviations and format mismatches for Azerbaijani translation by @novruzrhmv in #3144
New Contributors
- @novruzrhmv made their first contribution in #3144