Skip to content

Comments

update to latest lantern-box with samizdat support#335

Merged
myleshorton merged 1 commit intomainfrom
myles/update-lantern-box
Feb 21, 2026
Merged

update to latest lantern-box with samizdat support#335
myleshorton merged 1 commit intomainfrom
myles/update-lantern-box

Conversation

@myleshorton
Copy link
Contributor

This pull request updates the dependencies in the go.mod file, primarily upgrading various direct and indirect libraries to newer versions. These updates improve compatibility, security, and stability by incorporating the latest bug fixes and features from upstream projects. The most important changes are grouped below by theme.

Dependency upgrades for core functionality:

  • Upgraded github.com/getlantern/lantern-box to v0.0.6-0.20260220213333-4b20583e43ff and github.com/sagernet/sing-box to v1.12.22, ensuring access to the latest features and fixes. [1] [2]
  • Upgraded go.opentelemetry.io/otel, its metric and trace packages, and related SDKs to v1.40.0, improving observability and telemetry support. [1] [2]
  • Upgraded google.golang.org/protobuf to v1.36.11 and google.golang.org/grpc to v1.78.0, enhancing protocol buffer and gRPC support. [1] [2]

Networking and WebRTC library updates:

  • Upgraded multiple github.com/pion packages (e.g., ice, mdns, srtp, turn, webrtc, transport) to their latest versions, which improves networking and real-time communications reliability and performance.
  • Upgraded github.com/sagernet/sing-quic to v0.5.3 and github.com/sagernet/sing-tun to v0.7.11, improving QUIC and TUN device handling.

Additional dependency updates and additions:

  • Added github.com/getlantern/samizdat v0.0.2 as an indirect dependency and upgraded several other indirect dependencies, such as github.com/grpc-ecosystem/grpc-gateway/v2 and github.com/andybalholm/brotli. [1] [2] [3]
  • Introduced golang.getoutline.org/sdk and golang.getoutline.org/sdk/x as new indirect dependencies, and updated several golang.org/x packages (e.g., crypto, mod, net, sync, tools, term, text) to their latest versions. [1] [2]

Copilot AI review requested due to automatic review settings February 21, 2026 21:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates numerous Go module dependencies in the project, primarily focusing on upgrading core libraries for networking, observability, and protocol support. The changes aim to incorporate the latest bug fixes, security patches, and features from upstream projects, with particular emphasis on updating lantern-box to support samizdat functionality.

Changes:

  • Upgraded lantern-box to v0.0.6-0.20260220213333-4b20583e43ff to add samizdat support
  • Updated OpenTelemetry packages to v1.40.0 for improved observability
  • Upgraded multiple networking libraries (pion packages for WebRTC, QUIC, TURN support)
  • Updated gRPC (v1.78.0) and protobuf (v1.36.11) for improved RPC support
  • Added new indirect dependencies (samizdat v0.0.2, outline SDK packages)
  • Removed cloudflare/circl dependency

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
go.mod Updated direct and indirect dependency versions; added samizdat and outline SDK dependencies
go.sum Updated checksums for all modified dependencies and their transitive dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

github.com/r3labs/sse/v2 v2.10.0
github.com/sagernet/sing v0.7.18
github.com/sagernet/sing-box v1.12.13
github.com/sagernet/sing-box v1.12.22
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

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

The version specified here (v1.12.22) is inconsistent with the replace directive at line 7, which pins this module to github.com/getlantern/sing-box-minimal v1.12.19-lantern. The replace directive takes precedence, so the actual version used will be v1.12.19-lantern, not v1.12.22. Either update the replace directive to use v1.12.22-lantern (if such a version exists), or update this line to match the replace directive version (v1.12.19).

Suggested change
github.com/sagernet/sing-box v1.12.22
github.com/sagernet/sing-box v1.12.19

Copilot uses AI. Check for mistakes.
github.com/templexxx/cpu v0.1.1 // indirect
github.com/templexxx/xorsimd v0.4.3 // indirect
github.com/tetratelabs/wazero v1.7.3 // indirect
github.com/tetratelabs/wazero v1.11.0 // indirect
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

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

The version specified here (v1.11.0) is inconsistent with the replace directive at line 11, which pins github.com/tetratelabs/wazero to github.com/refraction-networking/wazero v1.7.1-w. The replace directive takes precedence, so the actual version used will be v1.7.1-w, not v1.11.0. Either update the replace directive to use v1.11.0 (if available from refraction-networking/wazero), or update this line to match the replace directive version (v1.7.1-w).

Suggested change
github.com/tetratelabs/wazero v1.11.0 // indirect
github.com/tetratelabs/wazero v1.7.1-w // indirect

Copilot uses AI. Check for mistakes.
@myleshorton myleshorton merged commit 6049f13 into main Feb 21, 2026
6 checks passed
@myleshorton myleshorton deleted the myles/update-lantern-box branch February 21, 2026 21:50
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