Skip to content

Machine generated/update go dependencies - #3857

Merged
xiaokangwang merged 2 commits into
v2fly:masterfrom
xiaokangwang:machine-generated/update-go-dependencies
Oct 20, 2026
Merged

xiaokangwang merged 2 commits into
v2fly:masterfrom
xiaokangwang:machine-generated/update-go-dependencies

Conversation

@xiaokangwang

Copy link
Copy Markdown
Contributor

No description provided.

Xiaokang Wang added 2 commits October 20, 2026 17:52
Upgrade the Go toolchain and module dependencies used by the binary.
Adapt WebRTC to Pion transport v5 and preserve the public STUN v3 API
with an ICE attribute compatibility adapter.

Validation: Linux test suites passed on Go 1.26.10 and 1.27.3 with seven
public-DNS tests excluded locally; all 31 release cross-builds passed.
The native release binary was rebuilt successfully before committing.

Machine-Generated: true
Generated-By: OpenAI Codex
Update the release container's metadata source to the verified
Go 1.27.3 linux/amd64 image, retaining the immutable digest pin.

Validation: container build, version command, and configuration
validation passed with the updated image.

Machine-Generated: true
Generated-By: OpenAI Codex

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Broad toolchain and networking dependency upgrades require human review and build and integration validation.

No open issues 🎉

What changed in this PR

Updates V2Ray’s Go dependencies and toolchain, with compatibility changes for the upgraded Pion networking libraries.

Changes:

  • Updates Go requirements, dependency versions, checksums, and the container image digest.
  • Migrates WebRTC networking imports to Pion transport v5.
  • Adds an adapter for ICE’s STUN v4 attributes while preserving STUN v3 interfaces.
File Description
release/​container/​Containerfile Updates the image digest and Go version comment.
go.sum Refreshes dependency checksums.
go.mod Updates toolchain requirements and dependencies.
common/​natTraversal/​stun/​natTypeTest.go Wraps ICE attributes with the compatibility adapter.
common/​natTraversal/​stun/​iceAttribute.go Adds the STUN attribute adapter.
app/​webrtc/​connect_via_net.go Migrates transport imports to v5.
app/​webrtc/​active_listener_net.go Migrates transport imports to v5.

Review effort: Balanced

@xiaokangwang
xiaokangwang merged commit b282c44 into v2fly:master Oct 20, 2026
38 of 40 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.

2 participants