chore: Bump required Go version to 1.18 #650
No reviewers
Labels
No Label
has/backport
has/pull
in progress
invalid
kind/breaking
kind/bug
kind/build
kind/deployment
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/refactor
kind/security
kind/testing
kind/translation
kind/ui
need/backport
priority/critical
priority/low
priority/maybe
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/go-sdk#650
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "mvdkleijn/go-sdk:chore-bump-supported-go-version"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reasoning for the bump:
For sec fixes, see: https://go.dev/doc/devel/release#go1.21.minor
Signed-off-by: Martijn van der Kleijn martijn.niji@gmail.com
Thank you for your PR, we have an older version listed there as it allows the SDK to be included in software that isn't built with the lastest/stable version of go. Although, as you pointed out 1.13 is quite old (released in 2019), there are some downstream operating systems that still use older versions. I think we could probably safely jump to 1.18, which was released just shy of 2 years ago, as that is a balance between newness, and being included in still supported OSes. Of course, the recommendation from the project is to also build your project using a stable version of go, which this would still allow as even if the version in go.mod is low, that doesn't prevent it from being built with newer versions of go.
Hi @techknowlogick
While I understand your reasoning, I can't say I personally agree. I believe it is better to support only the officially supported releases of Go. While I'm sure there are systems compiled against the go-sdk, I think that only supporting the officially supported go releases is a good motivator for people to bump their systems versions.
The problem really only exists if people re-compile their project and if they do that, I firmly believe they should be attending to maintenance issues, like bumping their go versions. That's just good practice IMHO.
In any case, any bump is better than no bump so I've adjusted this PR to use 1.18 as you indicated.
chore: Bump required Go version to 1.21.5to chore: Bump required Go version to 1.18