Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 25, 2025

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps github.com/dromara/carbon/v2 from 2.6.7 to 2.6.11.

Release notes

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

v2.6.11

English
  • Change Sleep from struct method to global method
  • Refactor Persian calendar and add benchmark test files
  • Refactor Chinese Lunar calendar and add benchmark test files
  • Refactor Julian/Modified Julian calendar and add benchmark test files
  • Add Hebrew calendar support and add unit tests and benchmark test files
  • Add overall performance test report file
中文
  • Sleep 由结构体方法更改成全局方法
  • 重构 波斯历 并添加基准测试文件
  • 重构 中国农历 并添加基准测试文件
  • 重构 儒略日/简化儒略日 并添加基准测试文件
  • 新增 希伯来历 支持并添加单元测试和基准测试文件
  • 新增整体性能测试报告文件

Full Changelog: dromara/carbon@v2.6.10...v2.6.11

v2.6.10

English
  • Change Japanese translation file from jp.json to ja.json and rename document from README.jp.md to README.ja.md to comply with the ISO639-1 standard
  • Remove deprecated ParseWithLayouts method and replace with ParseByLayouts method
  • Remove deprecated ParseWithFormats method and replace with ParseByFormats method
  • Remove deprecated CleanTestNow method and replace with ClearTestNow method
  • Remove parsing support for timestamp strings from ParseByLayout and ParseByFormat methods, use CreateFromTimestamp, CreateFromTimestampMilli, CreateFromTimestampMicro, CreateFromTimestampNano to parse timestamp strings
  • Optimize getAbsValue method in helper.go to replace conditional judgments with bitwise operation
  • Optimize the methods related to time freezing in frozen.go, reduce lock contention using atomic operation and optimize memory allocation
  • Optimize benchmark test files to cover serial testing, parallel testing and concurrent testing
  • Add Korean readme document README.ko.md
  • Add Sleep method and related unit tests, benchmark tests, and example file
  • Add number constants such as MaxYear, MinYear, MaxMonth, MinMonth, MaxDay, MinDay etc. and replace hard coded with these constants
中文
  • 日语翻译文件从 jp.json 改成 ja.json,说明文档从 README.jp.md 更名为 README.ja.md,以符合 ISO639-1 标准
  • 移除已弃用的 ParseWithLayouts 方法,用 ParseByLayouts 方法替代
  • 移除已弃用的 ParseWithFormats 方法,用 ParseByFormats 方法替代
  • 移除已弃用的 CleanTestNow 方法,用 ClearTestNow 方法替代
  • 移除 ParseByLayoutParseByFormat 方法对时间戳字符串的解析支持,解析时间戳请使用 CreateFromTimestamp, CreateFromTimestampMilli, CreateFromTimestampMicro, CreateFromTimestampNano 方法
  • 优化 helper.gogetAbsValue 方法,用位操作替换条件判断
  • 优化 frozen.go 文件里时间冻结相关方法,用原子操作减少锁竞争,优化内存分配
  • 优化基准测试文件,覆盖串行测试并行测试并发测试
  • 新增韩语文档 README.ko.md
  • 新增 Sleep 方法及相关单元测试基准测试示例文件
  • 新增数字常量,如 MaxYear, MinYear, MaxMonth, MinMonth, MaxDay, MinDay 等,并使用这些常量替换硬编码

Full Changelog: dromara/carbon@v2.6.9...v2.6.10

v2.6.9

... (truncated)

Commits
  • 0452ac6 docs(test_report): Update the content of the test report
  • 15f269e refactor(calendar): Add Gregorian calendar benchmark test
  • b91b55a refactor(calendar): Update comments
  • b66bd6a test: Simplify date parsing input format
  • 09e8fce refactor(calendar): Remove unused error variables
  • 8ed344e refactor(calendar/persian): Optimize the Persian calendar algorithm
  • 74ba5ba refactor(calendar/lunar): Remove the MaxValue and MinValue methods,
  • f228292 feat(calendar): Refactor the Hebrew calendar and add IsValid method
  • 65522a0 docs: Add performance test report
  • 785e255 docs: Add performance test report
  • 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.7 to 2.6.11.
- [Release notes](https://github.com/dromara/carbon/releases)
- [Commits](dromara/carbon@v2.6.7...v2.6.11)

---
updated-dependencies:
- dependency-name: github.com/dromara/carbon/v2
  dependency-version: 2.6.11
  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 Aug 25, 2025
@qrdl qrdl merged commit e22a049 into main Aug 25, 2025
4 checks passed
@qrdl qrdl deleted the dependabot/go_modules/github.com/dromara/carbon/v2-2.6.11 branch August 25, 2025 14:29
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.

2 participants