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

changelog: Refactor changelog and add changes for v3.5.8 #15586

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

serathius
Copy link
Member

@serathius serathius force-pushed the changelog-v3.5.8 branch 2 times, most recently from 82644cf to 61b53b8 Compare March 30, 2023 11:34
@serathius
Copy link
Member Author

PTAL @ahrtr @ptabor

CHANGELOG/CHANGELOG-3.5.md Outdated Show resolved Hide resolved
### 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)
Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Member

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)

Copy link
Member Author

@serathius serathius Apr 6, 2023

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.

@ahrtr
Copy link
Member

ahrtr commented Apr 1, 2023

If you really want to refactor the the changelog, I would suggest to follow K8s, for example: Changelog since v1.26.2.

  • Features
  • Bug fixes
  • Dependencies

@serathius
Copy link
Member Author

My goal was to make changelog consistent. All previous patch releases used sections grouping based on artifact (etcdctl etcd server or package) and not by change type.

@serathius
Copy link
Member Author

ping @ahrtr @ptabor

CHANGELOG/CHANGELOG-3.5.md Outdated Show resolved Hide resolved
CHANGELOG/CHANGELOG-3.5.md Outdated Show resolved Hide resolved
CHANGELOG/CHANGELOG-3.4.md Outdated Show resolved Hide resolved

### 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).
Copy link
Member Author

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @ahrtr @ptabor WDYT?

Copy link
Member

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+"

Copy link
Member Author

@serathius serathius Apr 6, 2023

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.

@serathius
Copy link
Member Author

PTAL @ahrtr @ptabor

CHANGELOG/CHANGELOG-3.4.md Outdated Show resolved Hide resolved
CHANGELOG/CHANGELOG-3.5.md Outdated Show resolved Hide resolved

### 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).
Copy link
Member

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+"

@serathius serathius force-pushed the changelog-v3.5.8 branch 3 times, most recently from afa31d8 to cb754db Compare April 6, 2023 12:40
Copy link
Member

@ahrtr ahrtr left a 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

@serathius serathius merged commit 5327d91 into etcd-io:main Apr 6, 2023
@serathius serathius deleted the changelog-v3.5.8 branch June 15, 2023 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants