All Versions
64
Latest Version
Avg Release Cycle
11 days
Latest Release
331 days ago

Changelog History
Page 2

  • v2.39.1 Changes

    September 04, 2020

    Complete commits list: 2.39.0...2.39.1

    Summary:

    • #2180 Fix hasFormat() with slashes in formats and add canBeCreatedFromFormat() method
  • v2.39.0 Changes

    August 24, 2020

    Complete commits list: 2.38.0...2.39.0

    Summary:

    • #2146 Added shorthand for DateTimeInterface::RFC3339_EXTENDED
    • ๐Ÿ›  #2150 Fixed Asturian units
    • #2154 Added Hebrew abbreviations
    • ๐Ÿ›  #2164 Fixed Estonian date formats
  • v2.38.0 Changes

    August 04, 2020

    Complete commits list: 2.37.0...2.38.0

    ๐Ÿฑ โš ๏ธ Since 2.38.0 CarbonInterval ->copy() method preserve the ->invert flag of the interval.

    Summary:

    • ๐Ÿ›  #2144 Fixed total() result and total* properties when the interval contains negative values
    • ๐Ÿ›  #2144 Fixed cascade() result and when the interval contains negative values
    • #2144 Added daysExcludedWeeks setter
    • ๐Ÿ‘ #2144 Added support for negative values in unit constructors such as CarbonInterval::years(), CarbonInterval::months() etc.
    • #2144 Allowed getFactor() to get multiple-steps factors
  • v2.37.0 Changes

    July 28, 2020

    Complete commits list: 2.36.1...2.37.0

    ๐Ÿฑ โš ๏ธ Since 2.37.0 CarbonInterval ->total() method and ->total* properties take the invert while it was previously omitted due to a bug. This means it could be a breaking change for situations expecting an absolute total and you will have to use abs() (for instance abs($interval->totalSeconds)) to get an absolute value again.

    Summary:

    • ๐ŸŒ #2129 Improved Panjabi translations
    • ๐ŸŒ #2132 Improved Kurdish translations
    • #2138 Implemented standalone months for Lithuanian language
    • โœ… #2137 Allowed false in setTestNow()
    • ๐Ÿ›  #2136 Fixed rounding result with inverted interval (or diffForHumans with future dates)
    • ๐Ÿ›  #2126 Fixed CarbonInterval::cascade() calculation
    • ๐Ÿ›  #2126 Fixed ->total() method and ->total* properties invert flag handling
  • v2.36.1 Changes

    July 05, 2020

    Complete commits list: 2.36.0...2.36.1

    Summary:

    • โž• Added #2127 constants for months
    • ๐Ÿ›  Fixed #2128 PHPStan macro method detection
  • v2.36.0 Changes

    July 01, 2020

    Complete commits list: 2.35.0...2.36.0

    Summary:

    • โž• Added #2116 dynamic intervals
    • โž• Added #2115 microsecond as possible diff minimum unit
    • โž• Added #2106 complete Somali translations
    • โž• Added #1916 PHPStan extension for macros
    • ๐Ÿ›  Fixed #2104 #2125 PHPDoc typing annotations
    • ๐Ÿ›  Fixed #2117 Doctrine default precision
    • ๐Ÿ‘Œ Improved #2101 allow to find more timezones with CarbonTimeZone::toRegionName()
  • v2.35.0 Changes

    May 28, 2020

    Complete commits list: 2.34.2...2.35.0

    Summary:

    • โž• Added #1967 auto mode to start/end week using current locale
    • โž• Added #2095 Make locale default to current global locale in parseFromLocale()
    • โž• Added #2096 #2094 #2092 Support today, yesterday and tomorrow in Carbon::parseFromLocale()
  • v2.34.2 Changes

    May 19, 2020
    • โšก๏ธ Optimized start and end of week calculation
  • v2.34.1 Changes

    May 19, 2020
    • โœจ Enhanced exception message about TranslatorInterface
    • โšก๏ธ Updated PHPDoc
  • v2.34.0 Changes

    May 13, 2020
    • ๐Ÿ›  Fixed #2081 Ukrainian parsing
    • ๐Ÿ›  Fixed #2076 Sinhala translations
    • ๐Ÿ‘Œ Improved #2078 Georgian translations
    • ๐Ÿ‘Œ Improved #2050 ORM Carbon type
    • ๐Ÿ‘Œ Improved #2085 Type exceptions to catch them more easily