Skip to content
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

Update minimum Go version to 1.18 #146

Open
Zerpet opened this issue Dec 22, 2022 · 1 comment
Open

Update minimum Go version to 1.18 #146

Zerpet opened this issue Dec 22, 2022 · 1 comment
Milestone

Comments

@Zerpet
Copy link
Contributor

Zerpet commented Dec 22, 2022

At the moment of this writing, supported Go version are 1.18 and 1.19. Golang has a support policy of N-1. From their docs:

Each major Go release is supported until there are two newer major releases.

One benefit of playing this story is a reduced go.sum file, which in turn will "fix" CVEs in security scanners. Note these scanners would report CVEs in old EOL'ed Go versions, the client library code is fine.

In Go 1.18 we can also replace interface{} with any, and explore the option of using generic functions.

@Zerpet Zerpet added this to the 2.0.0 milestone Dec 22, 2022
@Zerpet
Copy link
Contributor Author

Zerpet commented Sep 28, 2023

There are projects out there that bump the Go version in go.mod in minor version releases. I'm inclined to do the same here, instead of waiting for v2. Example: https://github.com/onsi/ginkgo/releases/tag/v2.1.4 onsi/ginkgo@f779385

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

No branches or pull requests

1 participant