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 to Go 1.21 #53

Merged
merged 2 commits into from
Feb 5, 2024
Merged

Conversation

konst-aa
Copy link
Contributor

As go 1.19 has reached End of Life, I propose we update to go 1.21.

This PR changes the version in the .mod file 1 line to make tests pass. The patch was done by marsam in the nixpkgs repository: NixOS/nixpkgs#282237
I also successfully proxied my website, so it seems there are no breaking changes. What other testing needs to be done?

@konst-aa konst-aa marked this pull request as draft January 26, 2024 13:50
@konst-aa konst-aa changed the title Bump to go 1.21 Update to Go 1.21 Jan 26, 2024
The change to reverseproxy.go to make tests pass came from @marsam on GitHub.
@konst-aa konst-aa marked this pull request as ready for review January 26, 2024 17:16
@konst-aa konst-aa marked this pull request as draft January 26, 2024 17:18
@konst-aa konst-aa marked this pull request as ready for review January 30, 2024 03:15
Copy link
Owner

@suyashkumar suyashkumar left a comment

Choose a reason for hiding this comment

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

Thanks so much for the PR! Had a quick question/comment below.

reverseproxy/reverseproxy.go Outdated Show resolved Hide resolved
@suyashkumar suyashkumar self-assigned this Feb 4, 2024
@suyashkumar suyashkumar added the enhancement New feature or request label Feb 4, 2024
@konst-aa
Copy link
Contributor Author

konst-aa commented Feb 5, 2024

@suyashkumar As you noted in your review, the tests pass on go 1.21 (tested using Act) if one removes the if statement that sets User-Agent to "". (I'm very sorry for the double ping; I didn't realize I could request a re-review)

@konst-aa konst-aa requested a review from suyashkumar February 5, 2024 23:02
Copy link
Owner

@suyashkumar suyashkumar left a comment

Choose a reason for hiding this comment

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

Thank you!

@suyashkumar suyashkumar merged commit 6b0f364 into suyashkumar:master Feb 5, 2024
1 check 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