Skip to content

Bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4#3

Closed
dependabot[bot] wants to merge 30 commits intomainfrom
dependabot/go_modules/github.com/go-jose/go-jose/v4-4.1.4
Closed

Bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4#3
dependabot[bot] wants to merge 30 commits intomainfrom
dependabot/go_modules/github.com/go-jose/go-jose/v4-4.1.4

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 3, 2026

Bumps github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

nekohasekai and others added 30 commits April 1, 2026 17:39
Extract the cloudflared tunnel implementation from sing-box's
origin/cloudflared branch into a standalone library following
sing-* patterns, with zero sing-box or sing-tun dependencies.

Key abstractions:
- Handler interface (DialTCP/DialPacket) replaces adapter.Router
- ICMPHandler interface replaces router.PreMatch + tun.DirectRoute*
- ServiceOptions/Service replaces adapter/option/inbound types
Remove 11 low-quality tests that assert constructors construct,
setters set, or hardcoded values mirror the implementation.

Fix errors.New/fmt.Errorf to use E.New per project error handling
rules, split if-err-assign patterns into separate statements, and
standardize on sing/common/json over encoding/json.
Replace errors/fmt stdlib usage with sing exceptions library (E.Cast,
E.IsMulti), merge duplicate HTTP/WebSocket handlers, extract shared
SOCKS5 handshake and RPC lifecycle helpers, remove dead code and
redundant comments.
- Remove duplicate originRequestFromRemote (~60 lines), replaced by
  mergeRemoteOriginRequest with default config
- Cache cloudflareRootCertPool with sync.OnceValues; clone before
  mutating for custom CA pools
- Fix ignored dial error in newRouterOriginTransport
- Fix data race on icmpFlowState.lastActive (add activeAccess mutex)
- Move destination.Close() I/O out from under mutex in routeCache
- Fix variable shadowing in QUICConnection.handleStream
- Fix inline if-assignment patterns (stripPort, shouldFlushHTTPHeaders)
- Remove WHAT-comments restating function names
- Replace bidirectionalCopy with existing bufio.CopyConn
- Eliminate double-copy in V2/V3 UDP readLoop (callee already copies)
- Remove unnecessary metadata deep-copy in buildMetadataOnlyHTTPRequest
- Extract metadataHTTPHeaderPrefix constant to avoid repeated allocation
- Use atomic.Bool instead of uint32 for nopCloserReadWriter.closed
- Pre-allocate DefaultFeatures slices as package-level variables
- Remove dead code: featureSelector nil-check, successfulProtocols guard
- Replace magic strings with constants (protocolQUIC, protocolHTTP2,
  datagramVersionV3)
Move non-public implementation code from the flat root package into
8 internal subpackages organized by functional domain, reducing the
public API surface to only the service types and handler interfaces.

Internal packages:
- internal/protocol: wire protocol types, serialization, credentials
- internal/discovery: edge SRV lookup
- internal/config: runtime configuration, ingress rules
- internal/control: registration RPC, transport helpers
- internal/transport: QUIC/HTTP2 connections, TLS, protocol selection
- internal/datagram: V2/V3 datagram multiplexing, flow limiting
- internal/icmp: ICMP bridge and route cache
- internal/tunnelrpc: generated Cap'n Proto (moved from tunnelrpc/)

Break *Service cycles via interfaces: transport.HTTP2Handler,
transport.StreamHandler, datagram.MuxerContext, icmp.RouteHandler.

Add exported constants for ServiceOptions string fields:
ProtocolQUIC, ProtocolHTTP2, DatagramVersionV2, DatagramVersionV3.
The first live test (TestLiveQUICIntegration) was flaky because it bore
the full cost of Cloudflare edge propagation for a newly-created tunnel.
Add an HTTP/2 warm-up step in requireLiveTestEnvironment that primes the
edge routing before any protocol-specific test runs.
The Cloudflare API occasionally returns 503 during sequential test runs,
causing spurious CI failures when the configurations endpoint is
temporarily unavailable.
Drop context.go entirely — ContextID, ContextIDFrom, and the
automatic context-ID injection are removed. ServiceOptions.NewContext
is renamed to ConnContext with no default behavior when unset.
Wire the ICMPHandler from Service through MuxerContext to the ICMP
bridge in both V2 and V3 datagram muxers, replacing the hardcoded nil
handler that silently dropped all ICMP echo requests.

Add a concrete DirectHandler in pkg/icmp that wraps
ping.ConnectDestination from sing-tun to open platform-appropriate
ICMP sockets.
Bumps [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Commits](go-jose/go-jose@v4.1.3...v4.1.4)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v4
  dependency-version: 4.1.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 3, 2026
@nekohasekai nekohasekai closed this Apr 3, 2026
@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Apr 3, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/go-jose/go-jose/v4-4.1.4 branch April 3, 2026 09:43
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant