Skip to content

Conversation

@dunglas
Copy link
Collaborator

@dunglas dunglas commented Aug 14, 2025

I'm not sure if we want to continue supporting Go 1.24 or not.

Copy link
Member

@mholt mholt left a 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!

@mholt mholt merged commit 05acc51 into caddyserver:master Aug 14, 2025
23 checks passed
@francislavoie francislavoie added this to the v2.10.1 milestone Aug 22, 2025
@msrd0
Copy link

msrd0 commented Aug 24, 2025

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 ...

@francislavoie
Copy link
Member

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.

@msrd0
Copy link

msrd0 commented Aug 24, 2025

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.

@francislavoie
Copy link
Member

francislavoie commented Aug 24, 2025

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

@dunglas
Copy link
Collaborator Author

dunglas commented Aug 25, 2025

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

mohammed90 pushed a commit to cedricziel/caddy that referenced this pull request Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants