-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
changelog: Refactor changelog and add changes for v3.5.8 #15586
Conversation
82644cf
to
61b53b8
Compare
### Package `netutil` | ||
- Upgrade [go to 1.19.7](https://github.com/etcd-io/etcd/pull/15429) | ||
- Upgrade [golang.org/x/net to v0.7.0](https://github.com/etcd-io/etcd/pull/15337) | ||
- Bump bbolt to [v1.3.7](https://github.com/etcd-io/etcd/pull/15222). | ||
- Fix [consistently format IPv6 addresses for comparison](https://github.com/etcd-io/etcd/pull/15187) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note #15187 fixed pkg/netutil
, and it may be used by etcdserver and client (e.g. etcdutl), so it isn't accurate to get it listed under etcdserver.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But, it's not. Only server imports it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
etcdutl also depends on it via a long path,
(*v3Manager) Restore
-> srv.VerifyBootstrap() (line 277 in etcdtul/snapshot/v3_snapshot.go)
-> ...... -> resolveURL (line 91 in pkg/netutil/netutil.go)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Being precise doesn't mean more understandable. For normal etcd user reading changlong information about netutil
fixes is too obscure. Leaving for now, but we should consider renaming this section.
If you really want to refactor the the changelog, I would suggest to follow K8s, for example: Changelog since v1.26.2.
|
61b53b8
to
3f4115e
Compare
My goal was to make changelog consistent. All previous patch releases used sections grouping based on artifact ( |
3f4115e
to
630ddee
Compare
630ddee
to
42687f7
Compare
CHANGELOG/CHANGELOG-3.4.md
Outdated
|
||
### Package `clientv3` | ||
- Reverted the fix to [auth invalid token and old revision errors in watch](https://github.com/etcd-io/etcd/pull/15542). | ||
|
||
### Go | ||
- Require [Go 1.19+](https://github.com/etcd-io/etcd/pull/15337). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noticed one thing. Isn't changing required minimal Go version in package a breaking change? We are basically forcing all users of clientv3
to upgrade Go in their applications even though we didn't do needed to.
I think that upgrading Go version used to compile etcdserver and required minimal Go version should be independent. We should also avoid changing the second one if not needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's recommended to use golang 1.19+ to build applications depending on clientv3, but it isn't a must. So suggest to change it to something like "Recommend Go 1.19+
"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, https://go.dev/ref/mod#go-mod-file-go says If an older Go version builds one of the module’s packages and encounters a compile error, the error notes that the module was written for a newer Go version.
. Confirming it is more of a recommendation.
CHANGELOG/CHANGELOG-3.4.md
Outdated
|
||
### Package `clientv3` | ||
- Reverted the fix to [auth invalid token and old revision errors in watch](https://github.com/etcd-io/etcd/pull/15542). | ||
|
||
### Go | ||
- Require [Go 1.19+](https://github.com/etcd-io/etcd/pull/15337). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's recommended to use golang 1.19+ to build applications depending on clientv3, but it isn't a must. So suggest to change it to something like "Recommend Go 1.19+
"
afa31d8
to
cb754db
Compare
Signed-off-by: Marek Siarkowicz <[email protected]>
cb754db
to
34bb7ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much better now.
Thank you @serathius
cc @ahrtr @ptabor