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](https://private-user-images.githubusercontent.com/44406033/273606072-05ec82d9-ac3b-4541-879b-115f85353800.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIzMDUwMzgsIm5iZiI6MTcyMjMwNDczOCwicGF0aCI6Ii80NDQwNjAzMy8yNzM2MDYwNzItMDVlYzgyZDktYWMzYi00NTQxLTg3OWItMTE1Zjg1MzUzODAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMwVDAxNTg1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk2MzNhMzIxMmRkNzI1NDVjMzFhOTJkNTMzMzc0YjFlMDQ1ZTBlYzQyZThhMzRiZDg1NjBhYTJlNmU2ZmM4N2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.iV_B5tBu7RsFM3r5waORlDoXJo9XgtoDEKxDnNa_9kE)
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