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 all dependencies to current versions. #375

Merged
merged 5 commits into from
Jul 31, 2023
Merged

Update all dependencies to current versions. #375

merged 5 commits into from
Jul 31, 2023

Conversation

sengi
Copy link
Contributor

@sengi sengi commented Jul 27, 2023

We were stuck on a somewhat old version of tsenart/vegeta for a while because we hadn't added the /v12 to the import (see commit).

Recommend reviewing commit-by-commit. Only the first and last commits are hand-edits; the rest are just generated by go get -t -u ./... && go mod tidy && go mod vendor.

This supersedes #371.

Tested: Router tests pass locally as well as on GitHub; also ran go test all locally and there were no interesting failures (just a broken test in crypto/x509 because a dummy cert in a test fixture has expired)

We were stuck on v12.7.0 because we weren't specifying `/v12` in the
import.

Recent-ish versions of Go require explicitly specifying the major
version in the import statement like this when the major version is
greater than 1. This is so that `go get -u` doesn't automatically break
things by updating major versions of libraries.
@sengi sengi requested a review from theseanything July 27, 2023 19:32
@sengi
Copy link
Contributor Author

sengi commented Jul 27, 2023

cc @chao-xian

@sengi
Copy link
Contributor Author

sengi commented Jul 27, 2023

This supersedes #371.

@sengi sengi force-pushed the sengi/mod-update branch 3 times, most recently from 6c6395e to ce57b4d Compare July 27, 2023 20:00
@sengi sengi added the dependencies Pull requests that update a dependency file label Jul 27, 2023
Plus a couple of trivial fixes for house style.
@sengi sengi merged commit 1f95fae into main Jul 31, 2023
2 checks passed
@sengi sengi deleted the sengi/mod-update branch July 31, 2023 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants