-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
RFC: Proof of concept for upgrading Go to 1.24 #5989
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
base: develop
Are you sure you want to change the base?
Conversation
|
Managed to mess up the cleanup in check group. Will fix that another day |
|
Might have been easier to review if you're bumping versions one or two at a time instead of 5? |
|
I made sure to separate everything out into their own commits. IMHO, I don't think there is much more to gain from one version bump at a time except for perhaps the third commit but that is auto generated so I think it is simple enough. |
|
But it completely removes the opportunity to say "let's go for 1.21 at this time". For example. Your example of updating is a compelling PR - but it's all or nothing choice between 1.19 and 1.24. |
|
My initial motivation with this was to show what we had to gain from going all the way to 1.24. Hence, proof of concept in the name. More information is at #3242 as to what comes from where. My choice for 1.24 is not only that it is what Debian has but it is also the lowest version we can have to still be able to update the golang.org/x/* packages to their newest versions (which sometimes do get important security fixes in things like the image and text packages). Go 1.24 has no notable removals of platform support over 1.23. As such, I think it would be a poor decision to commit to something lower than 1.24 for a whole release cycle. |
|
Although I would prefer not to, I also don't think going down in the Go version would be too hard. The stuff from the |
|
I don't understand those Windows errors, nothing has changed that would effect that as far as I can see EDIT: Well unless passing the |
Description:
The latest version of Debian has Go 1.24 so I open this as a proof of concept for what we have to gain from bumping to that. A lot of code cleanup and helpful APIs with the
slicesandmapspackages making many operations a lot simpler as well as newminandmaxbuilt in functions. Thestrings.SplitSeqfunction to iterate over splitting a string is a lot faster than allocating the whole slice as done withstrings.Split.For #3242
Checklist:
Where applicable: