chore: Update non-major dependencies #984
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
ff9123a
->684a9cf
v2.5.4
->v2.6.1
v1.15.5
->v1.15.6
v1.20.0
->v1.20.1
v1.36.5
->v1.36.6
Release Notes
dromara/carbon (github.com/dromara/carbon/v2)
v2.6.1
Compare Source
English
ParseWithLayouts
andParseWithFormats
methodsformatFactory
interface toFormatFactory
,formatFactory
interface toFormatFactory
,formatFactory
interface toFormatFactory
, and add type constraintsGormDataType
method of theLayoutType
,FormatType
,TimestampType
struct
totime
DateTime
,Date
,Time
types fromstruct
tostring
Timestamp
、TimestampMilli
、TimestampMicro
,TimestampNano
types fromstruct
toint64
types.go
updated_at
field is automatically updated and invalid whengorm
updates data中文
ParseWithLayouts
和ParseWithFormats
方法formatFactory
接口更名为FormatFactory
,formatFactory
接口更名为FormatFactory
,formatFactory
接口更名为FormatFactory
, 并添加类型约束LayoutType
,FormatType
,TimestampType
结构体GormDataType
方法的返回值更改为time
DateTime
、Date
、Time
类型从struct
更改为string
Timestamp
、TimestampMilli
、TimestampMicro
,TimestampNano
类型从struct
更改为int64
types.go
gorm
更新数据时updated_at
字段自动更新无效的 bugv2.6.0
Compare Source
English
golang
minimum version dependency upgraded to1.18
carbon
,julian
,lunar
,persian
changed from value passing to pointer passingZoneName
method to get the time zone nameHasError
method to check if there is an errorIsNil
method to check if it isnil
Copy
method to deep copycarbon
WeekStartsAt
method to get start day of the weekxxx_example.go
constant.go
file and migrate constants from thecarbon.go
file to this fileLocal
toUTC
Offset
method toZoneOffset
methodIsSetTestNow
method toIsTestNow
methodUnSetTestNow
method toCleanTestNow
methodLocation
method, replaced byTimezone
methodIsValid
andIsInvalid
methods,zero time
is no longer considered invalid timetime.Local
when setting the global default timezonedatabase.go
and removecarbon.DateTime
,carbon. DateTimeMilli
,carbon.DateTimeMicro
,carbon.DateTimeNano
,carbon. Date
,carbon.DateMilli
,carbon.DateMicro
,carbon.DateNano
,carbon.Time
,carbon.TimeMilli
,carbon.TimeMicro
,carbon.TimeNano
,carbon.Timestamp
,carbon.TimestampMilli
,carbon.TimestampMicro
,carbon.TimestampNano
field types, use generic fields instead to implement custom output format whenMarshalJSON/UnmarshalJSON
中文
golang
最低版本依赖升级到1.18
carbon
,julian
,lunar
,persian
从值传递改成指针传递ZoneName
方法获取时区名称HasError
方法判断是否有错误IsNil
方法判断是否是nil
Copy
方法对carbon
进行深度复制WeekStartsAt
方法获取周起始日期xxx_example.go
constant.go
文件,将常量从carbon.go
文件迁移到此文件Local
更改为UTC
Offset
方法更名为ZoneOffset
IsSetTestNow
方法更名为IsTestNow
UnSetTestNow
方法更名为CleanTestNow
Location
方法,由Timezone
方法替代IsValid
和IsInvalid
方法判断逻辑,zero time
不再视为无效时间time.Local
database.go
,移除carbon.DateTime
、carbon. DateTimeMilli
、carbon.DateTimeMicro
、carbon.DateTimeNano
、carbon. Date
、carbon.DateMilli
、carbon.DateMicro
、carbon.DateNano
、carbon.Time
、carbon.TimeMilli
、carbon.TimeMicro
、carbon.TimeNano
、carbon.Timestamp
、carbon.TimestampMilli
、carbon.TimestampMicro
、carbon.TimestampNano
字段类型, 使用泛型字段替代以实现MarshalJSON/UnmarshalJSON
时自定义输出格式goravel/framework (github.com/goravel/framework)
v1.15.6
Compare Source
What's Changed
Full Changelog: v1.15.5...v1.15.6
spf13/viper (github.com/spf13/viper)
v1.20.1
Compare Source
What's Changed
Bug Fixes 🐛
Full Changelog: spf13/viper@v1.20.0...v1.20.1
protocolbuffers/protobuf-go (google.golang.org/protobuf)
v1.36.6
Compare Source
Full Changelog: protocolbuffers/protobuf-go@v1.36.5...v1.36.6
User-visible changes:
CL/657895: internal_gengo: generate a const string literal for the raw descriptor
CL/653536: proto: Add CloneOf[M Message](m M) M
Maintenance:
CL/649135: all: set Go language version to Go 1.22
CL/654955: types/descriptorpb: regenerate using latest protobuf v30 release
Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.