gcore-cli
gcore-cli copied to clipboard
deps: bump github.com/dromara/carbon/v2 from 2.6.3 to 2.6.7
Bumps github.com/dromara/carbon/v2 from 2.6.3 to 2.6.7.
Release notes
Sourced from github.com/dromara/carbon/v2's releases.
v2.6.7
Full Changelog: https://github.com/dromara/carbon/compare/v2.6.6...v2.6.7
v2.6.6
English
- Fix bug locale file cannot be found on
Windowsos- Fix bug lose of values of
layout,weekStartsAt,weekendDaysandlangwhen create newCarboninstance #303- Fix bug
StartOfWeekandEndOfWeekmethods change originalCarboninstance Unexpectedly #304- Add
curdintegration testing forxorm, currently coveringMySQL/Postgres/SQLite- Add unit testing for the
Windowsos inciaction中文
- 修复在
window平台无法找到语言文件的 bug- 修复在创建新的
Carbon实例时丢失layout、weekStartsAt、weekendDays和 `lang 值的错误 #303- 修复
StartOfWeek和EndOfWeek方法意外更改原始Carbon实例的错误 #304- 新增对
xorm的curd集成测试,目前已覆盖MySQL/Postgres/SQLite- 在
ci中新增window系统的单元测试v2.6.5
English
- Upgrade
goversion from1.18to1.21SetLanguagemethod ofCarbonstruct add check for invalidLanguagestructParsemethod ofCarbonstruct add support forPostgres/SQLitetime format stringParse/ParseByLayout/ParseByFormatmethods ofCarbonstruct change the return value fromniltoemptycarbon when parsing anemptystringCarbonstruct addIsEmptymethod to determine if it is anemptycarbonCarbonstruct addClearTestNowmethod to replaceCleanTestNow,CleanTestNowwill be removed in the futureCarbonstruct addParseByLayoutsmethod to replaceParseWithLayouts,ParseWithLayoutswill be removed in the futureCarbonstruct addParseByFormatsmethod to replaceParseWithFormats,ParseWithFormatswill be removed in the futureCarbonstruct removeGormDataTypemethod and changeValue/MarshalJSONmethods frompointerreceiver tovaluereceiverLayoutType[T]struct removeGormDataTypemethod and changeValue/MarshalJSONmethods frompointerreceiver tovaluereceiverFormatType[T]struct removeGormDataTypemethod and changeValue/MarshalJSONmethods frompointerreceiver tovaluereceiverTimestampType[T]struct removeGormDataTypemethod and changeValue/MarshalJSONmethods frompointerreceiver tovaluereceiverSetResourcesmethod ofLanguagestruct add check invalid resources- Add
curdintegration testing forgorm, currently coveringMySQL/Postgres/SQLite- Replace
github.com/stretchr/testify/assertwithgithub.com/stretchr/testify/suitefor unit testing中文
- 将
Go最低版本要求从1.18提升到1.21Carbon结构体的SetLanguage方法增加对非法Language结构体的判断Carbon结构体的Parse方法增加对Postgres/SQLite时间格式字符串的解析支持Carbon结构体的Parse/ParseByLayout/ParseByFormat方法解析空字符串时返回值从nil更改成空carbonCarbon结构体新增IsEmpty方法用于判断是否为空carbonCarbon结构体新增ClearTestNow方法替代CleanTestNow,CleanTestNow方法未来将移除Carbon结构体新增ParseByLayouts方法替代ParseWithLayouts,ParseWithLayouts方法未来将移除Carbon结构体新增ParseByFormats方法替代ParseWithLayouts,ParseWithFormats方法未来将移除Carbon结构体移除GormDataType方法, 并将Value/MarshalJSON方法从指针接收者改成值接收者LayoutType[T]结构体移除GormDataType方法, 并将Value/MarshalJSON方法从指针接收者改成值接收者FormatType[T]结构体移除GormDataType方法, 并将Value/MarshalJSON方法从指针接收者改成值接收者TimestampType[T]结构体移除GormDataType方法, 并将Value/MarshalJSON方法从指针接收者改成值接收者Language结构体的SetResources方法增加对非法资源的判断
... (truncated)
Commits
c79c2b6docs: Update comments about parsingd340e2bdocs: Update comments about parsing14b3b75refactor: Renametype_interface.gotointerfaces.goab1f148feat: Add support multiple parameters forClosestandFarthestmethods0e8f45arefactor: Renametype_interface.gotointerfaces.go2650bdcrefactor: Update commentse7ec439docs: Update comments about extremum3b1e752feat: Add support multiple parameters forClosestandFarthestmethods8e4d65fdocs: Update comments about parsingb72f6d9docs: Update comments about parsing- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)