Skip to content

chore: upgrade dependencies (2026-07-14)#506

Merged
imroc merged 1 commit into
masterfrom
chore/upgrade-deps-20260714
Jul 16, 2026
Merged

chore: upgrade dependencies (2026-07-14)#506
imroc merged 1 commit into
masterfrom
chore/upgrade-deps-20260714

Conversation

@imroc

@imroc imroc commented Jul 13, 2026

Copy link
Copy Markdown
Owner

摘要

升级 req 的非敏感与敏感依赖至最新版本。go build ./...go vet ./...go test ./... 全部通过(含魔改的 internal/http2internal/http3 代码)。

升级清单

直接依赖

  • golang.org/x/net v0.56.0 → v0.57.0
  • golang.org/x/text v0.38.0 → v0.40.0

间接 / 传递依赖

  • golang.org/x/crypto v0.53.0 → v0.54.0
  • golang.org/x/sys v0.46.0 → v0.47.0
  • github.com/yuin/goldmark v1.4.13 → v1.8.4
  • github.com/rogpeppe/go-internal v1.10.0 → v1.15.0
  • github.com/xyproto/randomstring v1.0.5 → v1.2.0
  • github.com/jordanlewis/gcassert → v0.0.0-20260313214104-ad3fae17affe
  • golang.org/x/mod v0.36.0 → v0.38.0
  • golang.org/x/sync v0.21.0 → v0.22.0
  • golang.org/x/term v0.44.0 → v0.45.0
  • golang.org/x/tools v0.45.0 → v0.48.0
  • gotest.tools/v3 v3.5.1 → v3.5.2

保持不变(已是最新)

  • github.com/refraction-networking/utls v1.8.2
  • github.com/quic-go/quic-go v0.60.0

验证

  • go mod tidy 无残留
  • go build ./... 通过
  • go vet ./... 通过
  • go test ./... 通过(16 个包全部 ok)

说明

  • 敏感依赖(x/netx/cryptox/text)随 go get 传递升级,已通过完整测试套件统一验证。
  • 未修改 internal/http3/internal/http2/ 中的任何文件。
  • 注意:x/net 升级可能影响未来 vendored http2 的同步基线,同步上游时需留意。

Upgrade non-sensitive and sensitive dependencies to latest:

Direct:
- golang.org/x/net v0.56.0 -> v0.57.0
- golang.org/x/text v0.38.0 -> v0.40.0

Indirect / transitive:
- golang.org/x/crypto v0.53.0 -> v0.54.0
- golang.org/x/sys v0.46.0 -> v0.47.0
- github.com/yuin/goldmark v1.4.13 -> v1.8.4
- github.com/rogpeppe/go-internal v1.10.0 -> v1.15.0
- github.com/xyproto/randomstring v1.0.5 -> v1.2.0
- github.com/jordanlewis/gcassert -> v0.0.0-20260313214104-ad3fae17affe
- golang.org/x/mod v0.36.0 -> v0.38.0
- golang.org/x/sync v0.21.0 -> v0.22.0
- golang.org/x/term v0.44.0 -> v0.45.0
- golang.org/x/tools v0.45.0 -> v0.48.0
- gotest.tools/v3 v3.5.1 -> v3.5.2

Unchanged (already latest): utls v1.8.2, quic-go v0.60.0.

All tests pass (go build ./..., go vet ./..., go test ./...),
including the modified internal/http2 and internal/http3 code.

@imroc imroc left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Reviewed. Pure dependency bump (go.mod / go.sum only) — cannot self-approve as the PR author. quic-go v0.60.0 and utls v1.8.2 are unchanged, and no modified upstream code (internal/http3/, internal/http2/, or the vendored stdlib files) is touched. CI is green on both Go 1.25.x and 1.26.x.

Non-blocking note (already captured in the PR description): bumping golang.org/x/net shifts the baseline for the next vendored http2 upstream-sync pass — keep it in mind during that sync.

@imroc
imroc merged commit 7c8f5bf into master Jul 16, 2026
2 checks passed
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.

1 participant