v2.5.0
What's Changed
- Change repository url from
github.com/golang-module/carbon
togithub.com/dromara/carbon
- Add
hungarian
translation #39 by @kenlas in #252 - Add support for
string
and[]byte
types when parsing database data inScan
method #251 - Retranslate
README.jp
by @You-saku in #259 - Fix
DiffInMonths()
method bug #255 - Fix
Japanese
translation by @nkmr-jp in #254 - Replace
Lock()
withRLock()
,Unlock()
withRUnlock()
to optimize performance by @ritbrz in #253 - Replace
ToDateTimeStruct()
withNewDateTime()
,ToDateTimeMilliStruct()
withNewDateTimeMilli()
,ToDateTimeMicroStruct()
withNewDateTimeMicro()
,ToDateTimeMilliNanoStruct()
withNewDateTimeNano()
- Replace
ToDateStruct()
withNewDate()
,ToDateMilliStruct()
withNewDateMilli()
,ToDateMicroStruct()
withNewDateMicro()
,ToDateNanoStruct()
withNewDateNano()
- Replace
ToTimeStruct()
withNewTime()
,ToTimeMilliStruct()
withNewTimeMilli()
,ToTimeMicroStruct()
withNewTimeMicro()
,ToTimeNano()Struct
withNewTimeNano()
DateTime
,DateTimeXXX
,Date
,DateXXX
,Time
,TimeXXX
structures implementScan
,Value
,MarshalJSON
,UnmarshalJSON
interfaces- Bump
codecov/codecov-action
from 4 to 5 by @dependabot in #256 - Unified use of global default timezone
defaultTimezone
whenUnmarshalJSON
New Contributors
- @kenlas made their first contribution in #252
- @nkmr-jp made their first contribution in #254
- @You-saku made their first contribution in #259
Full Changelog: v2.4.1...v2.5.0