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

nacos-macro的版本号维护存在问题 #251

Closed
wfeii1980 opened this issue Dec 17, 2024 · 5 comments
Closed

nacos-macro的版本号维护存在问题 #251

wfeii1980 opened this issue Dec 17, 2024 · 5 comments

Comments

@wfeii1980
Copy link

wfeii1980 commented Dec 17, 2024

一些之前引用了nacos-sdk=0.3版本的项目,会因为nacos-macro升级到0.1.1而出现兼容性错误编译失败。

https://doc.rust-lang.org/cargo/reference/resolver.html?highlight=version#resolver-versions

@CherishCai
Copy link
Collaborator

理解了,存在可能的不兼容依赖的话,将其升级中间版本号,比如是 0.2.0 就没事对吧

@CherishCai
Copy link
Collaborator

确实是没有想到的点,感谢。在一下提交引入的问题

bump: upgrade nacos-sdk=0.4.2, with nacos-macro=0.1.1 (#246)

@CherishCai
Copy link
Collaborator

看来可行的方案是 yank 掉 nacos-macro=0.1.1,重新打一个 nacos-macro=0.2.0 以及 nacos-sdk=0.4.3

@wfeii1980
Copy link
Author

wfeii1980 commented Dec 17, 2024

理解了,存在可能的不兼容依赖的话,将其升级中间版本号,比如是 0.2.0 就没事对吧

是的,废除0.1.1版本生成一个新minor版本。

@CherishCai
Copy link
Collaborator

看来可行的方案是 yank 掉 nacos-macro=0.1.1,重新打一个 nacos-macro=0.2.0 以及 nacos-sdk=0.4.3

@wfeii1980 按照这样处理了,看看是否能行

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

No branches or pull requests

2 participants