-
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
Consider adopting go 1.20 as go 1.19 is now out of support #16393
Comments
Note there are two deprecations in 1.20 we should stay on top of:
|
My thoughts, So it would mean that go1.21 for main branch and go1.20 for release-3.4 and release-3.5. |
Due to the faster release pace of golang (e.g. around 6 months for each a minor release), we have to upgrade to golang 1.21 for all etcd supported versions on around Feb 2024. For the etcd main branch, it shouldn't be a big problem to upgrade to 1.21 earlier. But I tend to be consistent with K8s. Currently K8s is on golang 1.20 on master (1.28 was also released on golang 1.20). WDYT? |
Kubernetes 1.28 was cut over a month ago, they only released it recently. They are already preparing for 1.21 kubernetes/kubernetes#119027 |
My vote would be to aim that our Agree we do minor version upgrades when necessary on supported release branches to keep them on a supported golang version but otherwise we just focus on staying on latest patch release. |
Closing, 1.20 upgrade complete 🎉 |
What would you like to be added?
Golang 1.21 has now been released today:
This means 1.19 is now out of support so we should consider adopting 1.20. This would also bring etcd in line with kubernetes/kubernetes go version.
Consider updating:
etcd/main
Migrate to golang 1.20 #16394etcd/release-3.5
[3.5] Backport update to golang 1.20 minor release #16401etcd/release-3.4
[3.4] Backport update to golang 1.20 minor release #16406bbolt/master
Update to golang 1.20 minor release bbolt#555raft/main
Update to golang 1.20 minor release raft#97Why is this needed?
Ensure etcd is built using supported versions of golang. Ensure the project continues to apply timely security patches.
The text was updated successfully, but these errors were encountered: