gcore-cli icon indicating copy to clipboard operation
gcore-cli copied to clipboard

deps: bump github.com/dromara/carbon/v2 from 2.6.3 to 2.6.7

Open dependabot[bot] opened this issue 10 months ago • 0 comments

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 Windows os
  • Fix bug lose of values of layout, weekStartsAt, weekendDays and lang when create new Carbon instance #303
  • Fix bug StartOfWeek and EndOfWeek methods change original Carbon instance Unexpectedly #304
  • Add curd integration testing for xorm, currently covering MySQL/Postgres/SQLite
  • Add unit testing for the Windows os in ci action
中文
  • 修复在 window 平台无法找到语言文件的 bug
  • 修复在创建新的 Carbon 实例时丢失layoutweekStartsAtweekendDays 和 `lang 值的错误 #303
  • 修复 StartOfWeekEndOfWeek方法意外更改原始 Carbon实例的错误 #304
  • 新增对 xormcurd 集成测试,目前已覆盖 MySQL/Postgres/SQLite
  • ci 中新增 window 系统的单元测试

v2.6.5

English
  • Upgrade go version from 1.18 to 1.21
  • SetLanguage method of Carbon struct add check for invalid Language struct
  • Parse method of Carbon struct add support for Postgres/SQLite time format string
  • Parse/ParseByLayout/ParseByFormat methods of Carbon struct change the return value from nil to empty carbon when parsing an empty string
  • Carbon struct add IsEmpty method to determine if it is an empty carbon
  • Carbon struct add ClearTestNow method to replace CleanTestNow, CleanTestNow will be removed in the future
  • Carbon struct add ParseByLayouts method to replace ParseWithLayouts, ParseWithLayouts will be removed in the future
  • Carbon struct add ParseByFormats method to replace ParseWithFormats, ParseWithFormats will be removed in the future
  • Carbon struct remove GormDataType method and change Value/MarshalJSON methods from pointer receiver to value receiver
  • LayoutType[T] struct remove GormDataType method and change Value/MarshalJSON methods from pointer receiver to value receiver
  • FormatType[T] struct remove GormDataType method and change Value/MarshalJSON methods from pointer receiver to value receiver
  • TimestampType[T] struct remove GormDataType method and change Value/MarshalJSON methods from pointer receiver to value receiver
  • SetResources method of Language struct add check invalid resources
  • Add curd integration testing for gorm, currently covering MySQL/Postgres/SQLite
  • Replace github.com/stretchr/testify/assert with github.com/stretchr/testify/suite for unit testing
中文
  • Go 最低版本要求从 1.18 提升到 1.21
  • Carbon 结构体的 SetLanguage 方法增加对非法 Language 结构体的判断
  • Carbon 结构体的Parse 方法增加对 Postgres/SQLite 时间格式字符串的解析支持
  • Carbon 结构体的Parse/ParseByLayout/ParseByFormat方法解析 空字符串 时返回值从 nil 更改成空 carbon
  • Carbon 结构体新增 IsEmpty 方法用于判断是否为空 carbon
  • Carbon 结构体新增 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
  • c79c2b6 docs: Update comments about parsing
  • d340e2b docs: Update comments about parsing
  • 14b3b75 refactor: Rename type_interface.go to interfaces.go
  • ab1f148 feat: Add support multiple parameters for Closest and Farthest methods
  • 0e8f45a refactor: Rename type_interface.go to interfaces.go
  • 2650bdc refactor: Update comments
  • e7ec439 docs: Update comments about extremum
  • 3b1e752 feat: Add support multiple parameters for Closest and Farthest methods
  • 8e4d65f docs: Update comments about parsing
  • b72f6d9 docs: Update comments about parsing
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar May 26 '25 07:05 dependabot[bot]