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

Add go 1.23 in docker image and remove 1.16-1.18 support. #194

Merged
merged 6 commits into from
Aug 21, 2024
Merged

Add go 1.23 in docker image and remove 1.16-1.18 support. #194

merged 6 commits into from
Aug 21, 2024

Conversation

mrproliu
Copy link
Contributor

No description provided.

@mrproliu mrproliu added the enhancement New feature or request label Aug 21, 2024
@mrproliu mrproliu added this to the 0.5.0 milestone Aug 21, 2024
@mrproliu mrproliu requested a review from wu-sheng August 21, 2024 00:59
Comment on lines 140 to +143
base.image.go1.20 := golang:1.20
base.image.go1.21 := golang:1.21
base.image.go1.22 := golang:1.22
base.image.go1.23 := golang:1.23
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am good to add 1.23 added.

Meanwhile, according to go maintenance policy Each major Go release is supported until there are two newer major releases.. I think we at least only need to release N-4?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go1.19.13 (released 2023-09-06) includes fixes to the go command, and the crypto/tls and net/http packages. See the Go 1.19.13 milestone on our issue tracker for details.

As N-4(1.19) was not released for nearly a year.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly, 1.18 should be the lowest version we plan to support.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Then we can remove between the 16-19 versions?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to release note, we could at least remove 16, 17, 18, 19(this could consider to be kept).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I will keep the 19 and higher versions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will temporarily make this PR a draft to wait for all testing success because all older tests are based on go 1.18.

@mrproliu mrproliu marked this pull request as draft August 21, 2024 01:22
@wu-sheng
Copy link
Member

Do we have a doc to indicate lowest support version? We should update it.

@mrproliu
Copy link
Contributor Author

Do we have a doc to indicate lowest support version? We should update it.

Yes, I have updated.

@wu-sheng
Copy link
Member

About native http, the doc says supporting to 1.20.
Do we support that to 1.23? As it is a native lib.

@mrproliu
Copy link
Contributor Author

About native http, the doc says supporting to 1.20.
Do we support that to 1.23? As it is a native lib.

Done, all native frameworks have added tests for 1.23.

Adjust the change log to highlight the key changes.
@wu-sheng wu-sheng changed the title Adding go 1.23 in docker image Add go 1.23 in docker image and remove 1.16-1.18 support. Aug 21, 2024
@mrproliu mrproliu marked this pull request as ready for review August 21, 2024 03:34
@wu-sheng wu-sheng merged commit c997106 into apache:main Aug 21, 2024
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants