Releases: briannesbitt/Carbon
Releases · briannesbitt/Carbon
3.8.2
Complete commits list: 3.8.1...3.8.2
Summary:
- Fix immutable return for
setUnitNoOverflow
by @kylekatarnls in #3103
3.8.1
Complete commits list: 3.8.0...3.8.1
Summary:
- Consider absolute flag when comparing intervals by @kylekatarnls in #3073
- Optimize
setUnitNoOverflow()
by @takaram in #3071 - Fix timezone issue when add/sub with overflow by @kylekatarnls in #3074
- Automate documentation update by @kylekatarnls in #3079
- Parse microseconds as integer when making from specs by @kylekatarnls in #3098
3.8.0
Complete commits list: 3.7.0...3.8.0
Summary:
- Accept Unit enum in
startOf
andendOf
by @kylekatarnls in #3052 - Add test for German period translation by @kylekatarnls in #3054
- Add tests for
CarbonInterval
andCarbonPeriod
by @kylekatarnls in #3055 - Add generic methods
isStartOfUnit
andisEndOfUnit
by @kylekatarnls in #3053 - Implement
isStartOf*
andisEndOf*
for all units by @kylekatarnls in #3056 - Update Spanish translations by @DannyJJK in #3060
- Optimize
getIntervalDayDiff
by @kylekatarnls in #3061 - Optimize
diffInDays
by @kylekatarnls in #3062 - Use arrow functions to
getIsoUnits
by @kylekatarnls in #3064 - Simplify PHPStan extension by @ondrejmirtes in #3065
New Contributors
3.7.0
Complete commits list: 3.6.0...3.7.0
Summary:
- Use static instead of
CarbonInterface
return type in doclocks by @philbates35 in #3047 - Added period German translations by @marcheffels in #3045
- Use pro rata to calculate decimal part of month/year diffs by @kylekatarnls in #3051
- Add more
between()
/isBetween()
tests by @faissaloux in #3043
New Contributors
- @faissaloux made their first contribution in #3043
- @philbates35 made their first contribution in #3047
- @marcheffels made their first contribution in #3045
3.6.0
Complete commits list: 3.5.0...3.6.0
Summary:
- Add support for
Month
andWeekDay
enums inis()
method @kylekatarnls #3036 - Build period with given timezone @kylekatarnls #3041
- Unserialize carbon interval created by v2 @kylekatarnls #3042
3.5.0
Complete commits list: 3.4.0...3.5.0
Summary:
- Fix New Zealand daylight saving time format to pass hasFormat v3 @Luoti #3031
- Split CarbonPeriod construction into multiple steps @kylekatarnls #3024
- Make CarbonPeriod compatible with PHP 8.4 @kylekatarnls #3023
- Fix diffInDays DST bug @kylekatarnls #3026
- Fix issue with is month check @kylekatarnls #3033
New Contributors
2.72.5
2.72.4
Complete commits list: 2.72.3...2.72.4
Summary:
- Fix New Zealand daylight saving time format to pass
hasFormat
@Luoti #3030 - Fix
is
method bug giving wrong result when checking 30-days month name on a 31st date @kylekatarnls #3033
New Contributors
3.4.0
Complete commits list: 3.3.1...3.4.0
Summary:
- Unserialize
CarbonInterval
from v2 @kylekatarnls #3016 - Remove overridden
EXCLUDE_START_DATE
constant @iluuu1994 #3022
New Contributors
- @iluuu1994 made their first contribution in #3022