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

deps: update golang.org/x/net to latest in all modules #5847

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

dfawley
Copy link
Member

@dfawley dfawley commented Dec 7, 2022

Bumping this to stay on top of any potential critical issues. There is a known CVE with the older version, which does not directly affect us, but it seems like a good idea to update anyway. @ejona86

RELEASE NOTES: none

@dfawley dfawley added the Type: Dependencies Updating/adding/removing dependencies label Dec 7, 2022
@dfawley dfawley added this to the 1.52 Release milestone Dec 7, 2022
@dfawley dfawley requested a review from arvindbr8 December 7, 2022 17:06
Copy link
Member

@arvindbr8 arvindbr8 left a comment

Choose a reason for hiding this comment

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

LGTM, just a question about a new dependency that we are adding

@@ -17,5 +17,6 @@ require (
github.com/envoyproxy/protoc-gen-validate v0.1.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/stoewer/go-strcase v1.2.0 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/net v0.4.0 // indirect
Copy link
Member

Choose a reason for hiding this comment

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

are we adding golang.org/x/net as a dependency for the new v0.5.0 for golang.org/x/text?

Copy link
Member Author

Choose a reason for hiding this comment

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

Interesting. TBH I just blindly did go get ..x/net and assumed go mod tidy would remove it if it wasn't needed by anything in practice. These are indirect dependencies, meaning something we depend on apparently depends on it. It seems like a good idea to bump it, too, in case they didn't, and in case it matters.

Copy link
Member

Choose a reason for hiding this comment

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

SGTM! 🚢

Copy link
Contributor

Choose a reason for hiding this comment

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

The golang.org/x/ projects started to tag "SemVer®" releases, erm.. by not really following SemVer, but just tagging new releases periodically (CalVer disguising as SemVer?); well, mostly because they have circular dependencies; see golang/go#48523

@@ -8,6 +8,7 @@ require (
github.com/golang/protobuf v1.5.2
golang.org/x/exp/typeparams v0.0.0-20221114191408-850992195362 // indirect
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616
golang.org/x/sys v0.3.0 // indirect
Copy link
Member

Choose a reason for hiding this comment

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

same question here. Are we adding this import because its required for the upgrade?

@arvindbr8 arvindbr8 assigned dfawley and unassigned arvindbr8 Dec 7, 2022
@dfawley dfawley assigned arvindbr8 and unassigned dfawley Dec 7, 2022
@arvindbr8 arvindbr8 assigned dfawley and unassigned arvindbr8 Dec 7, 2022
@dfawley dfawley merged commit 22c1fd2 into grpc:master Dec 7, 2022
@dfawley dfawley deleted the xnet branch December 7, 2022 18:52
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Dependencies Updating/adding/removing dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants