Skip to content

Releases: briannesbitt/Carbon

3.3.1

01 May 07:00
8ff64b9
Compare
Choose a tag to compare

Complete commits list: 3.3.0...3.3.1

Summary:

  • Fix days for diffForHumans for slovak @edvordo #3007
  • Support %a format #3013
  • Fix translator and interval serialization #3005
  • Fallback to default timezone for mocked now #3014

New Contributors

3.3.0

20 Apr 11:36
7219739
Compare
Choose a tag to compare

Complete commits list: 3.2.4...3.3.0

Summary:

  • Create a dedicated method for each step of the magic __call process #2992
  • Update Bosnian translations #2994
  • Handle null in canBeCreatedFromFormat #2997
  • Allow carbon instance to be rounded by a CarbonInterval, which is not in default language @kohlerdominik #2999
  • Update Slovak translations @pkundis #2995
  • Add locale and translator options to forHumans and diffForHumans #3001

New Contributors

3.2.4

05 Apr 10:02
82c2827
Compare
Choose a tag to compare

Complete commits list: 3.2.3...3.2.4

Summary:

  • Re-allow macro with names starting with diff #2991

3.2.3

30 Mar 18:31
4d599a6
Compare
Choose a tag to compare

Complete commits list: 3.2.2...3.2.3

Summary:

  • Update Docs for diffIn methods that return float @Nathanjms #2988
  • Fix deprecation notice for diffInReal* (prefer diffInUTC*, or for any unit smaller than day, simply diffIn*)

3.2.2

28 Mar 13:04
2d69b6d
Compare
Choose a tag to compare

Complete commits list: 3.2.1...3.2.2

Summary:

  • Fallback to default parameters if period construction fails #2987

3.2.1

27 Mar 21:39
b4272c2
Compare
Choose a tag to compare

Complete commits list: 3.2.0...3.2.1

Summary:

  • Make start and end period properties correct at creation #2984

3.2.0

27 Mar 18:28
6bfea14
Compare
Choose a tag to compare

Complete commits list: 3.1.1...3.2.0

Summary:

  • Fix PHP 8.4 implicit nullability deprecation @Ayesh #2969
  • Use current timezone if identical to compared value for diff #2972
  • Correction of Months' Names In CKB language #2973
  • Stop using start/end on interval if they are changed after creation #2981
  • Deprecate Real diff in favor of UTC diff #2975
  • Allow integer in createFromFormat() #2983

New Contributors

3.1.1

13 Mar 13:09
34ccf6f
Compare
Choose a tag to compare

Complete commits list: 3.1.0...3.1.1

Summary:

  • Fixed Persian translation for before and after #2963
  • Cleaned up region list and add warranty notice on methods relying on it #2964
  • Fixed incomplete type for create method PHPDoc #2962

New Contributors

3.1.0

12 Mar 10:48
237716a
Compare
Choose a tag to compare

Complete commits list: 3.0.2...3.1.0

Summary:

  • Fixed Persian translation for before and after #2941
  • Allowed to pass Unit enum for unit name #2944
  • Updated PHPDoc #2946
  • Removed suffix to Taiwan name #2957

New Contributors

3.0.2

06 Feb 10:01
cf30cfc
Compare
Choose a tag to compare

Complete commits list: 3.0.1...3.0.2

Summary:

  • Fixed PHP 8.1 issue "Enum case value must be compile-time evaluatable": Use static values for enums until dropping PHP 8.1 #2938