Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/golang-module/carbon/v2 to v2.5.2 #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 9, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/golang-module/carbon/v2 v2.2.8 -> v2.5.2 age adoption passing confidence

Release Notes

golang-module/carbon (github.com/golang-module/carbon/v2)

v2.5.2

Compare Source

What's Changed

  • Fix Time, TimeMilli, TimeMicro, TimeNano type fields cannot be parsed when unmarshalJSON
  • Remove deprecated method ToStdTime
  • Add MaxValue, MinValue, IsValid methods for Gregorian calendar
  • Add MaxValue, MinValue, IsValid methods for Lunar calendar
  • Add MaxValue, MinValue, ToShortMonthString, ToShortWeekString methods for Persian calendar
  • Add optional parameter local, optional value en/fa for Persian calendar ToMonthString, ToWeekString methods, default is en

Full Changelog: dromara/carbon@v2.5.1...v2.5.2

v2.5.1

Compare Source

What's Changed

Full Changelog: dromara/carbon@v2.5.0...v2.5.1

v2.5.0

Compare Source

What's Changed

New Contributors

Full Changelog: dromara/carbon@v2.4.1...v2.5.0

v2.4.1

Compare Source

  • Fix issue #​240
  • Optimize StdTime method when time is zero
  • Move GormDataType from encoding.go to database.go

v2.4.0

Compare Source

  • Fixed Farsi language translation bug #​247
  • Fixed gregorian calendar to lunar calendar bug #​246
  • Updated the minimum version of Go required to 1.17 #​245
  • Optimized ParseByLayout and getLocationByTimezone methods when the timezone is empty
  • Optimized the scenario of JSON unmarsha when the value of the JSON string is empty or null
  • Removed Tag struct and related methods
  • Added Arabic language support #​250

v2.3.12

Compare Source

  • Add bulgarian language support, translated by yuksbg #​234
  • Restore Datetime, Date, Time,Timestamp and other structures
  • Restore ToDateTimeStruct, ToDateStruct, ToTimeStruct,ToTimestampStruct and other methods

v2.3.10

Compare Source

  • Fixed bug when json.Unmarshaler decoded a json string containing null value
  • Add ISO8601ZuluLayout,ISO8601ZuluMilliLayout,ISO8601ZuluMicroLayout,ISO8601ZuluNanoLayout constants
  • Add FormattedDateLayout,FormattedDayDateLayout constants
  • Add ISO8601ZuluFormat,ISO8601ZuluMilliFormat,ISO8601ZuluMicroFormat,ISO8601ZuluNanoFormat constants
  • Add FormattedDateFormat,FormattedDayDateFormat constants
  • Add ToIso8601ZuluString,ToIso8601ZuluMilliString,ToIso8601ZuluMicroString,ToIso8601ZuluNanoString methods
  • Add ToFormattedDateString,ToFormattedDayDateString methods
  • Add GoString method
  • Support json strings containing null when using json.Unmarshaler #​225
  • Remove deprecatedToFormatString method, use Format method instead
  • Remove deprecated ToLayoutString method, use Layout method instead

v2.3.9

Compare Source

  • Add DiffInDuration and DiffAbsInDuration methods
  • Add package comment for calendar/persian
  • Simplified code in calendar.go and constellation.go
  • Unified Unit Testing Method Naming Format

v2.3.8

Compare Source

  • Add support for Persian(Jalaali) Calendar #​197
  • Add support for Polish language
  • Add W3cLayout const in carbon.go file
  • Add StdTime method to replace ToStdTime method, ToStdTime method will be deprecated in the future
  • Fix ToJulian method in calendar/julian.go file

v2.3.7

Compare Source

  • Support julian day and modified julian day #​197
  • Fix overflow int in windows386 #​219
  • Remove lunar DoubleHour, IsXXXDoubleHour methods

v2.3.6

Compare Source

  • Extract the calendar as an independent sub package
  • Add CreateFromLunar method, create a Carbon instance from Lunar date and time
  • Fix concurrent map read and map write in ToMonthString, ToShortMonthString,ToWeekString, ToShortWeekString, Season , Constellation methods #​180
  • Improve unit and benchmark test coverage

v2.3.5

Compare Source

  • Default struct add Locale field for setting the global local language
  • Add timezone constants
  • Add IsAM, IsPM methods
  • Add Max, Min methods
  • Optimize LoadTag method and replace strings.Contains with strings.HasPrefix
  • Improve unit and benchmark test coverage

v2.3.4

Compare Source

  • Add Default struct and SetDefault method for setting global default values #​215
  • Move SetLanguage method from setter.go to language.go
  • SetLocale and SetResources methods return *Language
  • Improve unit and benchmark coverage

v2.3.3

Compare Source

  • Add Hindi language support
  • Add Vietnamese language support
  • Optimize code
  • carbon:"xxx" -> carbon:"type:xxx"

v2.3.2

Compare Source

  • Add optional timezone parameter in CreateFromStdTime method
  • Add tag embedded struct in Carbon struct
  • Add India constant in timezone constants
  • Optimize LoadTag and parseTag method
  • Set to Local timezone by default in database function func (c *Carbon) Scan(v interface{})
  • Improve benchmark testing coverage

v2.3.1

Compare Source

  • Fix testNow is 0 when setting test now in Now method
  • Add benchmark test files xxx_bench_test.go
  • Add format constants, such as DateTimeFormat, DateFormat, TimeFormat, AtomFormat, ANSICFormat ...
  • Add support carbon tag of struct carbon type field for datetime, date, time, iso8601 and other strings in LoadTag method
  • Add support tz tag of struct carbon type field in loadTag function, use to set timezone #​207
  • Add support for U, V, X, Z formatting symbols in ParseByLayout method #​206
  • Add support for v, u, x formatting symbols in ToFormatString or Format method
  • Rename ClearTestNow method to UnSetTestNow
  • Rename HasTestNow method to IsSetTestNow
  • Rename xxx_test.go file to xxx_unit_test.go
  • Rename json.go file to encoding.go, json_test.go file to encoding_unit_test.go
  • Move Closest and Farthest methods from traveler.go to extremum.go, traveler_test.go to extremum_unit_test.go
  • ⚠️Change receiver type from struct to pointer in SetTestNow method

v2.3.0

Compare Source

  • Fix error in DiffInMonths method
  • Add LoadTag method, use carbon and tz tags for Marshal and Unmarshal
  • Rename ToANSICString method to ToAnsicString
  • Set nanoseconds default to 0 in CreateFromDateTime method
  • Set hours, minutes and seconds default to 0 in CreateFromDate method #​205
  • Output different formats according to different tags in String method
  • Move GormDataType method from json.go to database.go
  • ⚠️ Remove the deprecated FromStdTime, Time2Carbon, Carbon2Time methods
  • ⚠️ Remove DateTime,DateTime, DateTimeMilli, DateTimeMicro, DateTimeMicro, DateTimeNano, Date, DateMilli, DateMicro , DateNano, Timestamp, TimestampMilli, TimestampMicro, TimestampNano structs and related methods

v2.2.14

Compare Source

  • Fix ToWeekString and ToShortWeekStringmethods ignores SetWeekStartsAt #​200
  • Add more supported formats for Parse method #​202
  • Change timezone[len(timezone)-1] to timezone[0]
  • Increase unit testing coverage for Fastest method

v2.2.13

Compare Source

  • Fix translation error in lang/fr.json and lang/jp.json files
  • Fix bug in IsZero method #​194
  • Add IsDST method
  • Add Closest and Farthest methods
  • Rename from modifier.go to boundary.go, modifier_test.go to boundary_test.go

v2.2.12

Compare Source

  • Remove print Info in IsNow method #​193
  • Add Dutch language support #​191
  • Add index to test case in test file

v2.2.11

Compare Source

  • Add judgment when setting the testing now time

v2.2.10

Compare Source

  • Recovery type such as DateTime, DateTimeXXX,Date, DateXXX struct

v2.2.9

Compare Source

  • Fix Age method calculation error #​184
  • Fix ukrainian translation error #​185
  • Change type such as DateTime, DateTimeXXX struct

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from b6b05f9 to c5e7b08 Compare October 10, 2023 04:21
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.9 fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.10 Oct 10, 2023
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from c5e7b08 to 8262f86 Compare October 16, 2023 09:55
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.10 fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.11 Oct 16, 2023
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.11 fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.11 - autoclosed Oct 23, 2023
@renovate renovate bot closed this Oct 23, 2023
@renovate renovate bot deleted the renovate/github.com-golang-module-carbon-v2-2.x branch October 23, 2023 09:47
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.11 - autoclosed fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.11 Oct 23, 2023
@renovate renovate bot reopened this Oct 23, 2023
@renovate renovate bot restored the renovate/github.com-golang-module-carbon-v2-2.x branch October 23, 2023 14:09
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.11 fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.12 Nov 2, 2023
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch 2 times, most recently from 6d32707 to 33a09d1 Compare November 7, 2023 09:42
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.12 fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.13 Nov 7, 2023
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 33a09d1 to 22ef254 Compare December 1, 2023 01:38
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.13 fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.14 Dec 1, 2023
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 22ef254 to fdd7d71 Compare December 25, 2023 03:12
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.2.14 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.0 Dec 25, 2023
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from fdd7d71 to 8894301 Compare December 28, 2023 10:03
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.0 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.1 Dec 28, 2023
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 8894301 to 24b06eb Compare January 2, 2024 16:15
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.1 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.2 Jan 2, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 24b06eb to 84c90bc Compare January 3, 2024 20:07
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.2 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.3 Jan 3, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 84c90bc to 00e1917 Compare January 7, 2024 15:22
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.3 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.4 Jan 7, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 00e1917 to 496d22c Compare January 12, 2024 04:57
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.4 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.5 Jan 12, 2024
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.5 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.6 Jan 22, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 496d22c to aad047f Compare January 22, 2024 11:32
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from aad047f to ca5e5f5 Compare January 26, 2024 05:44
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.6 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.7 Jan 26, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from ca5e5f5 to 0130b9c Compare February 2, 2024 11:19
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.7 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.8 Feb 2, 2024
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.8 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.9 Feb 20, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 0130b9c to 0a69dd6 Compare February 20, 2024 04:50
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.9 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.10 Mar 5, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 0a69dd6 to 6c24494 Compare March 5, 2024 15:37
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 6c24494 to fb75546 Compare April 18, 2024 14:10
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.10 fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.12 Apr 18, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from fb75546 to d6f9d4d Compare October 11, 2024 19:39
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.3.12 fix(deps): update module github.com/golang-module/carbon/v2 to v2.4.0 Oct 11, 2024
Copy link
Contributor Author

renovate bot commented Oct 11, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/stretchr/testify v1.8.4 -> v1.9.0

@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from d6f9d4d to 3ffa621 Compare October 15, 2024 03:09
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.4.0 fix(deps): update module github.com/golang-module/carbon/v2 to v2.4.1 Oct 15, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 3ffa621 to 4a2cd3f Compare November 25, 2024 10:27
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.4.1 fix(deps): update module github.com/golang-module/carbon/v2 to v2.5.0 Nov 25, 2024
Copy link
Contributor Author

renovate bot commented Nov 25, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: github.com/golang-module/carbon/[email protected]: parsing go.mod:
	module declares its path as: github.com/dromara/carbon/v2
	        but was required as: github.com/golang-module/carbon/v2

@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from 4a2cd3f to aacc4c7 Compare November 29, 2024 10:10
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.5.0 fix(deps): update module github.com/golang-module/carbon/v2 to v2.5.1 Nov 29, 2024
@renovate renovate bot force-pushed the renovate/github.com-golang-module-carbon-v2-2.x branch from aacc4c7 to 5ad1de9 Compare December 3, 2024 03:27
@renovate renovate bot changed the title fix(deps): update module github.com/golang-module/carbon/v2 to v2.5.1 fix(deps): update module github.com/golang-module/carbon/v2 to v2.5.2 Dec 3, 2024
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.

0 participants