-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Plan to v2 and introduce Breaking Change #174
Comments
I have started migration to v2 on |
|
I decided to not use |
Hi !
|
Thank you for this comments.
gopsutil itself depends only a few packages, for the Windows environment. I believe applications may use a vendoring, not library. And also, I always thinking about API stability. So if API is changed, I will introduce new major version like the v2. (BTW,
Yah, I was very worried about this. But when I tried, I had to change so many codes, so I gave up. sigh. |
Don't give up! Code re-factoring is always a painful, but you will feel happy when done! |
So, when modify cpu.TimeStat type from float64 to uint64. Because float64 always loss precision |
We are on v2 for a while now. |
After replacing lsof (#164) , I have a plan to use semantic versioning and use gopkg.in. Current will be tagged the
v1
at that time, and startv2
branch.I will appreciate if you write some comments about this idea.
list of (possible) breaking changes
[ ] change types from int32/64 and so on, to just int and uint.... (add whenever we found something)
When v2 is introduced?
Target is end of March, 2016. But it may postponed.
The text was updated successfully, but these errors were encountered: