golang-module / carbon

A simple, semantic and developer-friendly golang package for time

Home Page:https://pkg.go.dev/github.com/golang-module/carbon/v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Are you too hasty with devastating updates and releases? ?

shuqingzai opened this issue · comments

v2.2.8 与 v2.2.9 的更新中,CarbonDateTimeXXX 相关类型不再是把 Carbon 内嵌在其结构体中,而是重新定义类型,导致 Carbon 本身的方法不再适用于 CarbonDateTimeXXX 相关类型,这是毁灭性更新,代码直接无法编译的,我觉得这应该是一个 v2.3 甚至 v3 的版本,而不是一个BUG修复版本

参考下图,这些不方法不再可用

image

Sorry, it was a bit hasty. I will urgently release a recovery version, and destructive updates will be released in v3.

V2.2.10 has been released