Drop support for Go version 1.20? #3222
Replies: 5 comments 4 replies
-
If it brings security issues, I think we have to drop support. |
Beta Was this translation helpful? Give feedback.
-
I think it is relevant to look at what versions Valkey-Go supports: Currently, it looks like they support 1.22 |
Beta Was this translation helpful? Give feedback.
-
I think this is worthy of a broader discussion on an overall policy for Valkey-Glide. With Node, Go and soon .Net versions having a regular version update schedule and clear Long Term Support policies, I think the project needs a similar policy so we don't have to keep having this discussion with every language version update. We could go with a strict policy that says we only support LTS versions, or we could go with a relaxed policy that says we support current LTS versions and one prior version. For example, in Go's case, this would mean we support 1.24, 1.23, and 1.22. For .Net this would mean we would support .Net 9.0 (current), .Net 8.0 (LTS) and .Net 6.0 (previous LTS). For Node this would mean we support Node 23 (current), 22 (LTS), and 20 (previous LTS). I believe a relaxed policy allows us to keep the project current with the language vendors and their reluctance to fix security issues and bugs in older language versions, while also recognizing that many businesses are not quite as aggressive at keeping current with their software systems. |
Beta Was this translation helpful? Give feedback.
-
@jamesx-improving a decision made? |
Beta Was this translation helpful? Give feedback.
-
@jamesx-improving I moved it into an issue, and im closing the discussion. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As @rueian mentioned in a PR comment, it is recommended to "not to support Go 1.20". We also have to tailor things for 1.20 in the Makefile as well, including different dependeny versions, as well as workarounds on bugs.
Regarding Go's official Release Policy,
Each major Go release is supported until there are two newer major releases
. At this point (Feb 2025), 1.24 just released earlier this month, which means the one-year-old 1.22 just lose its support, not to mention the two-years-old 1.20.On the adoption side, here's a quick search result count on various versions of Go in
go.mod
files on GitHub:Your input is highly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions