github briannesbitt/Carbon 2.64.0

latest releases: 3.6.0, 2.72.5, 3.5.0...
19 months ago

Complete commits list: 2.63.0...2.64.0

Summary:

⚠️ Breaking change

  • To support named parameters in magic calls which is now a standard feature of PHP 8, we had to change the output of passing explicitly null in add/sub methods (addMonths, subDays, addSeconds, etc.) For instance addMonths(null) now adds 0 months while it previously added 1 month. addMonths() still add 1 month. Note that both usages are strongly discouraged, it's highly recommended to always pass a numeric value to those methods explicitly to have unambiguous expectations.

New Contributors

Don't miss a new Carbon release

NewReleases is sending notifications on new releases.