Skip to content

chore: Update Carbon dependency to v2.6.6#1032

Merged
hwbrzzl merged 12 commits intogoravel:masterfrom
go-libraries:carbon2.6.x
May 19, 2025
Merged

chore: Update Carbon dependency to v2.6.6#1032
hwbrzzl merged 12 commits intogoravel:masterfrom
go-libraries:carbon2.6.x

Conversation

@kuafuRace
Copy link
Contributor

📑 Description

Closes https://github.com/goravel/goravel/issues/

✅ Checks

  • Added test cases for my code

Copilot AI review requested due to automatic review settings May 14, 2025 09:43
@kuafuRace kuafuRace requested a review from a team as a code owner May 14, 2025 09:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Carbon dependency to v2.6.5 and adjusts the corresponding API calls in the codebase.

  • Updates the version in both go.mod and tests/go.mod
  • Replaces the deprecated ParseWithLayouts and ParseWithFormats calls with the new ParseByLayouts and ParseByFormats respectively

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

File Description
tests/go.mod Updated Carbon dependency version from v2.6.4 to v2.6.5
support/carbon/carbon.go Replaced ParseWithLayouts/ParseWithFormats with ParseByLayouts/ParseByFormats
go.mod Updated Carbon dependency version from v2.6.4 to v2.6.5
Comments suppressed due to low confidence (2)

support/carbon/carbon.go:58

  • Verify that the associated documentation and comments have been updated to reflect the change from ParseWithLayouts to ParseByLayouts per the Carbon v2.6.5 update.
c = carbon.ParseByLayouts(value, v, timezone...)

support/carbon/carbon.go:69

  • Verify that the associated documentation and comments have been updated to reflect the change from ParseWithFormats to ParseByFormats per the Carbon v2.6.5 update.
c = carbon.ParseByFormats(value, v, timezone...)

@kuafuRace kuafuRace closed this May 14, 2025
@kuafuRace kuafuRace reopened this May 14, 2025
@kuafuRace
Copy link
Contributor Author

Review Ready

devhaozi
devhaozi previously approved these changes May 14, 2025
Copy link
Contributor

@hwbrzzl hwbrzzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but CI failed.

@codecov
Copy link

codecov bot commented May 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.48%. Comparing base (e30b6e5) to head (1880ad5).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1032   +/-   ##
=======================================
  Coverage   70.48%   70.48%           
=======================================
  Files         176      176           
  Lines       12339    12339           
=======================================
  Hits         8697     8697           
  Misses       3261     3261           
  Partials      381      381           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kuafuRace kuafuRace changed the title feat: update Carbon dependency to v2.6.5 feat: Update Carbon dependency to v2.6.5 May 14, 2025
@kuafuRace kuafuRace changed the title feat: Update Carbon dependency to v2.6.5 chore: Update Carbon dependency to v2.6.5 May 14, 2025
@kuafuRace kuafuRace closed this May 14, 2025
@kuafuRace kuafuRace reopened this May 14, 2025
@kuafuRace kuafuRace changed the title chore: Update Carbon dependency to v2.6.5 chore: Update Carbon dependency to v2.6.6 May 19, 2025
Copy link
Contributor

@hwbrzzl hwbrzzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

@hwbrzzl hwbrzzl merged commit 2fc8df6 into goravel:master May 19, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants