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

feat: upgrade set-go version and add go 1.22 version #3316

Merged
merged 3 commits into from
Mar 4, 2024

Conversation

houseme
Copy link
Member

@houseme houseme commented Feb 19, 2024

No description provided.

@houseme houseme requested review from gqcn and hailaz February 19, 2024 03:42
@gqcn
Copy link
Member

gqcn commented Feb 27, 2024

@houseme Why replacing go 1.21 with go 1.22?
image

@houseme
Copy link
Member Author

houseme commented Feb 27, 2024

@houseme Why replacing go 1.21 with go 1.22? image

fix

@gqcn gqcn merged commit 4feb821 into master Mar 4, 2024
@gqcn gqcn deleted the feature/action-up-1.22 branch March 4, 2024 12:18
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It's over, and I won't be able to get the new version of GF in the future...
GF tools are so rich that they may not be used to develop web pages. We use them to develop software.
I thought I would stay in go1.20 for a while, but in less than two months I upgraded to 1.22

@gqcn
Copy link
Member

gqcn commented Mar 19, 2025

完犊子了, 以后新版gf和我无缘了.... gf工具那么丰富, 未必都是用来开发网页的. 我们用来开发软件. 我还以为会在go1.20多待一段时间, 结果没两个月就升级到1.22

我们保证所依赖的Go版本比官方版本低2~3个版本号。因此从GoFrame v2.9版本开始,从框架依赖的最低Go版本从1.20升级到了1.22,以充分利用最新的语言特性、运行时优化和安全增强,提升应用性能和稳定性。由于Go社区有很好的向下兼容性,因此建议使用新版本。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It's over, and I won't get the chance to get the new version of GF from now on... GF tools are so rich, not necessarily all used to develop web pages. We use them to develop software. I thought I would stay in Go1.20 for a while, but in less than two months, I upgraded to 1.22

We ensure that the version we rely on is 2 to 3 versions lower than the official version. Therefore, starting from the GoFrame v2.9 version, the lowest Go version that the framework depends on was upgraded from 1.20 to 1.22 to make full use of the latest language features, runtime optimization and security enhancements to improve application performance and stability. Since the Go community has good backward compatibility, it is recommended to use the new version.

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.

3 participants