-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Use Go 1.21 and update dependencies #26878
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
Conversation
4f5457a
to
1aeef49
Compare
1aeef49
to
d6a4aff
Compare
d6a4aff
to
09c71ba
Compare
09c71ba
to
8ae8a6d
Compare
Does it mean Gitea 1.21 drops support for Go 1.20? |
Yes, effectively. |
Let's hold off until Gitea 1.21 is out. We tend to keep the supported versions of golang supported by Gitea, and go1.20 is still supported. |
I do not think it needs to be "hold" We have done so many times, and see the discussions: I do not think there would be any problem. |
It's about whether we want to let Gitea compile on Go 1.20 or not. Before Go 1.21, the version in go.mod doesn't mean much. But now it's the minimum version that can be compiled.
|
My answer is "not". The code also uses Golang 1.21 new features like |
As a reminder, Go1.21 is the first version which drop the support for windows7 and windows server 2012. |
Windows 7 support ended already, and windows server 2012 won't be supported in Oct. I don't feel that's an issue. Since gitea is not a library, I feel bumping go is fine, and it will make maintaining easier in the future. But we need to update README regarding "Go Stable"
|
Agree, and a few months later, Golang 1.20 will reach EOL. So the ending of Windows 7 support doesn't make much difference.
IMO it's clear enough, first, it needs |
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.
I don't have anything against it.
So, it's a cautious LGTM from my side.
I wonder how many times you'll need to discuss this exact scenario again, @wxiaoguang…
* giteaofficial/main: [skip ci] Updated licenses and gitignores Update documents to fix some links (go-gitea#26885) clarify aspects of the dump command (go-gitea#26887) Relocate the `RSS user feed` button (go-gitea#26882) Use Go 1.21 and update dependencies (go-gitea#26878) Update docs about attachment path (go-gitea#26883) Refactor "shortsha" (go-gitea#26877) Fix wrong review requested number (go-gitea#26784) Refactor `og:description` to limit the max length (go-gitea#26876) Reorder blocks in vue SFCs (go-gitea#26874) Make it posible to customize nav text color via css var (go-gitea#26807) Enable djlint H008 and fix issues (go-gitea#26869) Improve opengraph previews (go-gitea#26851) Add more descriptive error on forgot password page (go-gitea#26848) Allow users with write permissions for issues to add attachments with API (go-gitea#26837) Move licenses.txt to /assets directory (go-gitea#26866) # Conflicts: # templates/base/footer_content.tmpl
To make sure Gitea's next release's lifecycle could have active Golang support.
And min/max are builtin now.