update to latest lantern-box with samizdat support#335
Conversation
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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).
| github.com/sagernet/sing-box v1.12.22 | |
| github.com/sagernet/sing-box v1.12.19 |
| 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 |
There was a problem hiding this comment.
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).
| github.com/tetratelabs/wazero v1.11.0 // indirect | |
| github.com/tetratelabs/wazero v1.7.1-w // indirect |
This pull request updates the dependencies in the
go.modfile, 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:
github.com/getlantern/lantern-boxto v0.0.6-0.20260220213333-4b20583e43ff andgithub.com/sagernet/sing-boxto v1.12.22, ensuring access to the latest features and fixes. [1] [2]go.opentelemetry.io/otel, its metric and trace packages, and related SDKs to v1.40.0, improving observability and telemetry support. [1] [2]google.golang.org/protobufto v1.36.11 andgoogle.golang.org/grpcto v1.78.0, enhancing protocol buffer and gRPC support. [1] [2]Networking and WebRTC library updates:
github.com/pionpackages (e.g.,ice,mdns,srtp,turn,webrtc,transport) to their latest versions, which improves networking and real-time communications reliability and performance.github.com/sagernet/sing-quicto v0.5.3 andgithub.com/sagernet/sing-tunto v0.7.11, improving QUIC and TUN device handling.Additional dependency updates and additions:
github.com/getlantern/samizdatv0.0.2 as an indirect dependency and upgraded several other indirect dependencies, such asgithub.com/grpc-ecosystem/grpc-gateway/v2andgithub.com/andybalholm/brotli. [1] [2] [3]golang.getoutline.org/sdkandgolang.getoutline.org/sdk/xas new indirect dependencies, and updated severalgolang.org/xpackages (e.g.,crypto,mod,net,sync,tools,term,text) to their latest versions. [1] [2]