Skip to content

deps: bump github.com/dromara/carbon/v2 from 2.6.3 to 2.6.4 - #71

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/dromara/carbon/v2-2.6.4
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/dromara/carbon/v2-2.6.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 28, 2025

Copy link
Copy Markdown
Contributor

Bumps github.com/dromara/carbon/v2 from 2.6.3 to 2.6.4.

Release notes

Sourced from github.com/dromara/carbon/v2's releases.

v2.6.4

English
  • Fix panic when database field type was nil

  • Split database_types.go into type_carbon.go, type_layout.go, type_format.go, type_timestamp.go

  • Rename LayoutFactory interface to LayoutTyper and SetLayout method to Layout

  • Rename FormatFactory interface to FormatTyper and SeFormat method to Format

  • Rename TimestampFactory interface to TimestampTyper and SePrecision method to Precision

  • Add b.ResetTimer() in benchmark test files

  • Add Copy method for Language struct

  • Add carbon.Timestamp type alias and carbon.NewTimestamp method

  • Add carbon.TimestampMilli type alias and carbon.NewTimestampMilli method

  • Add carbon.TimestampMicro type alias and carbon.NewTimestampMicro method

  • Add carbon.TimestampNano type alias and carbon.NewTimestampNano method

  • Add carbon.DateTime type alias and carbon.NewDateTime method

  • Add carbon.DateTimeMicro type alias and carbon.NewDateTimeMicro method

  • Add carbon.DateTimeMilli type alias and carbon.NewDateTimeMilli method

  • Add carbon.DateTimeNano type alias and carbon.NewDateTimeNano method

  • Add carbon.Date type alias and carbon.NewDate method

  • Add carbon.DateMilli type alias and carbon.NewDateMilli method

  • Add carbon.DateMicro type alias and carbon.NewDateMicro method

  • Add carbon.DateNano type alias and carbon.NewDateNano method

  • Add carbon.Time type alias and carbon.NewTime method

  • Add carbon.TimeMilli type alias and carbon.NewTimeMilli method

  • Add carbon.TimeMicro type alias and carbon.NewTimeMicro method

  • Add carbon.TimeNano type alias and carbon.NewTimeNano method

中文
  • 修复数据库字段类型为 nil 时抛出异常的bug

  • 将 database_types.go 拆分成 type_carbon.go, type_layout.go, type_format.go, type_timestamp.go

  • 将 LayoutFactory 接口重命名为 LayoutTyper 和 SetLayout 方法重命名为 Layout

  • 将 FormatFactory 接口重命名为 FormatTyper 和 SetFormat 方法重命名为 Format

  • 将 TimestampFactory 接口重命名为 TimestampTyper 和 SetPrecision 方法重命名为 Precision

  • 性能测试文件增加 b.ResetTimer()

  • Language 结构体新增 Copy 方法

  • 新增 carbon.Timestamp 类型别名和 carbon.NewTimestamp 方法

  • 新增 carbon.TimestampMilli 类型别名和 carbon.NewTimestampMilli 方法

  • 新增 carbon.TimestampMicro 类型别名和 carbon.NewTimestampMicro 方法

  • 新增 carbon.TimestampNano 类型别名和 carbon.NewTimestampNano 方法

  • 新增 carbon.DateTime 类型别名和 carbon.NewDateTime 方法

  • 新增 carbon.DateTimeMicro 类型别名和 carbon.NewDateTimeMicro 方法

  • 新增 carbon.DateTimeMilli 类型别名和 carbon.NewDateTimeMilli 方法

  • 新增 carbon.DateTimeNano 类型别名和 carbon.NewDateTimeNano 方法

  • 新增 carbon.Date 类型别名和 carbon.NewDate 方法

  • 新增 carbon.DateMilli 类型别名和 carbon.NewDateMilli 方法

... (truncated)

Commits
  • 968ae0a docs: Replace the local image link address with the remote image url
  • 63a2748 refactor: Remove useless check
  • 1de13b6 docs: Add description of new features
  • dba6483 refactor: Optimize variable declaration and assignment
  • 9285d60 refactor: invalidPersianError -> ErrInvalidPersian,
  • 4095d60 refactor: invalidLunarError -> ErrInvalidLunar,
  • 46b62ae refactor: Update comment
  • 74ada92 perf: Change the traversal method from range loop to index loop
  • c202473 fix: Fix GoString method comments
  • 8d0c2fe refactor: timestampType -> TimestampType, precision -> Precision
  • 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)

Bumps [github.com/dromara/carbon/v2](https://github.com/dromara/carbon) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/dromara/carbon/releases)
- [Commits](dromara/carbon@v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: github.com/dromara/carbon/v2
  dependency-version: 2.6.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 28, 2025
@dependabot @github

dependabot Bot commented on behalf of github May 19, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #74.

@dependabot dependabot Bot closed this May 19, 2025
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/dromara/carbon/v2-2.6.4 branch May 19, 2025 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants