-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
chore: bump Go to v1.25 #7184
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
chore: bump Go to v1.25 #7184
Conversation
mholt
left a comment
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.
Recently we switched to supporting just the latest version of Go to better serve the majority of our users, who benefit from security improvements and new features as soon as they're available in new Go versions. (Some features require us to still write an integration, like ECH key rotation which I am working on now that Go 1.25 is out.)
Anyway, this looks good -- thanks!
|
This change makes it impossible to compile caddy on basically all go toolchains distributed by non-rolling-release operating systems. The latest AlpineLinux, 3.22, ships 1.24.6, so I guess I will stay on caddy 2.10 for the forseeable future ... |
|
You shouldn't be using the Go toolchain from distros anyway. It's meant to be installed directly. I recommend using https://github.com/udhos/update-golang to automate it. |
|
Yes, I have noticed the latest trend of every application wrapping itself in its own package manager instead of using the one from my distribution. The one you linked claims minimum system intrusion but wants root access to my system. No thank you. |
|
"root access" to copy itself to /usr/local/bin so it's in your PATH obviously. That's not unexpected at all. To be clear, all it's doing is downloading the Go zip/tar, extracting it in /usr/local/go, then updating the /usr/local/bin/go, and reporting the version to you. That's it. It doesn't touch anything else on your system. It's just a simple convenience bash script to do the same steps Go's install steps in their docs would have you do anyway. |
|
If you have a version of Go superior to Go 1.21, the Go command itself is able to download the version of the compiler needed for your program: https://go.dev/doc/toolchain |
I'm not sure if we want to continue supporting Go 1.24 or not.