Skip to content

Commit b3ce328

Browse files
release v0.29.1
1 parent eab1068 commit b3ce328

File tree

4 files changed

+104
-107
lines changed

4 files changed

+104
-107
lines changed

dht_filters_test.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ func TestIsRelay(t *testing.T) {
2626
if isRelayAddr(a) {
2727
t.Fatalf("thought %s was a relay", a)
2828
}
29-
3029
}
3130

3231
type mockConn struct {
@@ -48,15 +47,16 @@ func (m *mockConn) GetStreams() []network.Stream { return [
4847
func (m *mockConn) Stat() network.ConnStats {
4948
return network.ConnStats{Stats: network.Stats{Direction: network.DirOutbound}}
5049
}
51-
func (m *mockConn) Scope() network.ConnScope { return &network.NullScope{} }
52-
func (m *mockConn) LocalMultiaddr() ma.Multiaddr { return m.local.Addrs[0] }
53-
func (m *mockConn) RemoteMultiaddr() ma.Multiaddr { return m.remote.Addrs[0] }
54-
func (m *mockConn) LocalPeer() peer.ID { return m.local.ID }
55-
func (m *mockConn) LocalPrivateKey() ic.PrivKey { return nil }
56-
func (m *mockConn) RemotePeer() peer.ID { return m.remote.ID }
57-
func (m *mockConn) RemotePublicKey() ic.PubKey { return nil }
58-
func (m *mockConn) ConnState() network.ConnectionState { return network.ConnectionState{} }
59-
func (m *mockConn) IsClosed() bool { return m.isClosed.Load() }
50+
func (m *mockConn) Scope() network.ConnScope { return &network.NullScope{} }
51+
func (m *mockConn) LocalMultiaddr() ma.Multiaddr { return m.local.Addrs[0] }
52+
func (m *mockConn) RemoteMultiaddr() ma.Multiaddr { return m.remote.Addrs[0] }
53+
func (m *mockConn) LocalPeer() peer.ID { return m.local.ID }
54+
func (m *mockConn) LocalPrivateKey() ic.PrivKey { return nil }
55+
func (m *mockConn) RemotePeer() peer.ID { return m.remote.ID }
56+
func (m *mockConn) RemotePublicKey() ic.PubKey { return nil }
57+
func (m *mockConn) ConnState() network.ConnectionState { return network.ConnectionState{} }
58+
func (m *mockConn) IsClosed() bool { return m.isClosed.Load() }
59+
func (m *mockConn) CloseWithError(network.ConnErrorCode) error { return m.Close() }
6060

6161
func TestFilterCaching(t *testing.T) {
6262
ctx, cancel := context.WithCancel(context.Background())

go.mod

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/libp2p/go-libp2p-kad-dht
22

3-
go 1.23
3+
go 1.23.0
44

55
retract v0.24.3 // this includes a breaking change and should have been released as v0.25.0
66

@@ -9,15 +9,15 @@ require (
99
github.com/google/uuid v1.6.0
1010
github.com/hashicorp/go-multierror v1.1.1
1111
github.com/hashicorp/golang-lru v1.0.2
12-
github.com/ipfs/boxo v0.27.2
12+
github.com/ipfs/boxo v0.27.4
1313
github.com/ipfs/go-cid v0.5.0
14-
github.com/ipfs/go-datastore v0.6.0
14+
github.com/ipfs/go-datastore v0.7.0
1515
github.com/ipfs/go-detect-race v0.0.1
1616
github.com/ipfs/go-log v1.0.5
1717
github.com/ipfs/go-log/v2 v2.5.1
1818
github.com/ipfs/go-test v0.0.4
19-
github.com/libp2p/go-libp2p v0.38.2
20-
github.com/libp2p/go-libp2p-kbucket v0.6.4
19+
github.com/libp2p/go-libp2p v0.40.0
20+
github.com/libp2p/go-libp2p-kbucket v0.6.5
2121
github.com/libp2p/go-libp2p-record v0.3.1
2222
github.com/libp2p/go-libp2p-routing-helpers v0.7.4
2323
github.com/libp2p/go-libp2p-testing v0.12.0
@@ -37,7 +37,7 @@ require (
3737
go.uber.org/multierr v1.11.0
3838
go.uber.org/zap v1.27.0
3939
gonum.org/v1/gonum v0.15.1
40-
google.golang.org/protobuf v1.36.3
40+
google.golang.org/protobuf v1.36.5
4141
)
4242

4343
require (
@@ -59,7 +59,7 @@ require (
5959
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
6060
github.com/godbus/dbus/v5 v5.1.0 // indirect
6161
github.com/gogo/protobuf v1.3.2 // indirect
62-
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect
62+
github.com/google/pprof v0.0.0-20250208200701-d0013a598941 // indirect
6363
github.com/gorilla/websocket v1.5.3 // indirect
6464
github.com/hashicorp/errwrap v1.1.0 // indirect
6565
github.com/huin/goupnp v1.3.0 // indirect
@@ -71,17 +71,17 @@ require (
7171
github.com/jbenet/goprocess v0.1.4 // indirect
7272
github.com/klauspost/compress v1.17.11 // indirect
7373
github.com/klauspost/cpuid/v2 v2.2.9 // indirect
74-
github.com/koron/go-ssdp v0.0.4 // indirect
74+
github.com/koron/go-ssdp v0.0.5 // indirect
7575
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
7676
github.com/libp2p/go-cidranger v1.1.0 // indirect
7777
github.com/libp2p/go-flow-metrics v0.2.0 // indirect
7878
github.com/libp2p/go-libp2p-asn-util v0.4.1 // indirect
7979
github.com/libp2p/go-nat v0.2.0 // indirect
8080
github.com/libp2p/go-reuseport v0.4.0 // indirect
81-
github.com/libp2p/go-yamux/v4 v4.0.1 // indirect
81+
github.com/libp2p/go-yamux/v5 v5.0.0 // indirect
8282
github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd // indirect
8383
github.com/mattn/go-isatty v0.0.20 // indirect
84-
github.com/miekg/dns v1.1.62 // indirect
84+
github.com/miekg/dns v1.1.63 // indirect
8585
github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b // indirect
8686
github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc // indirect
8787
github.com/minio/sha256-simd v1.0.1 // indirect
@@ -92,36 +92,38 @@ require (
9292
github.com/multiformats/go-multicodec v0.9.0 // indirect
9393
github.com/multiformats/go-varint v0.0.7 // indirect
9494
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
95-
github.com/onsi/ginkgo/v2 v2.22.0 // indirect
95+
github.com/onsi/ginkgo/v2 v2.22.2 // indirect
9696
github.com/opencontainers/runtime-spec v1.2.0 // indirect
9797
github.com/opentracing/opentracing-go v1.2.0 // indirect
9898
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
9999
github.com/pion/datachannel v1.5.10 // indirect
100100
github.com/pion/dtls/v2 v2.2.12 // indirect
101-
github.com/pion/ice/v2 v2.3.37 // indirect
101+
github.com/pion/dtls/v3 v3.0.4 // indirect
102+
github.com/pion/ice/v4 v4.0.6 // indirect
102103
github.com/pion/interceptor v0.1.37 // indirect
103-
github.com/pion/logging v0.2.2 // indirect
104-
github.com/pion/mdns v0.0.12 // indirect
104+
github.com/pion/logging v0.2.3 // indirect
105+
github.com/pion/mdns/v2 v2.0.7 // indirect
105106
github.com/pion/randutil v0.1.0 // indirect
106107
github.com/pion/rtcp v1.2.15 // indirect
107-
github.com/pion/rtp v1.8.10 // indirect
108+
github.com/pion/rtp v1.8.11 // indirect
108109
github.com/pion/sctp v1.8.35 // indirect
109-
github.com/pion/sdp/v3 v3.0.9 // indirect
110-
github.com/pion/srtp/v2 v2.0.20 // indirect
110+
github.com/pion/sdp/v3 v3.0.10 // indirect
111+
github.com/pion/srtp/v3 v3.0.4 // indirect
111112
github.com/pion/stun v0.6.1 // indirect
113+
github.com/pion/stun/v3 v3.0.0 // indirect
112114
github.com/pion/transport/v2 v2.2.10 // indirect
113115
github.com/pion/transport/v3 v3.0.7 // indirect
114-
github.com/pion/turn/v2 v2.1.6 // indirect
115-
github.com/pion/webrtc/v3 v3.3.5 // indirect
116+
github.com/pion/turn/v4 v4.0.0 // indirect
117+
github.com/pion/webrtc/v4 v4.0.9 // indirect
116118
github.com/pkg/errors v0.9.1 // indirect
117119
github.com/pmezard/go-difflib v1.0.0 // indirect
118120
github.com/polydawn/refmt v0.89.0 // indirect
119-
github.com/prometheus/client_golang v1.20.5 // indirect
121+
github.com/prometheus/client_golang v1.21.0 // indirect
120122
github.com/prometheus/client_model v0.6.1 // indirect
121123
github.com/prometheus/common v0.62.0 // indirect
122124
github.com/prometheus/procfs v0.15.1 // indirect
123125
github.com/quic-go/qpack v0.5.1 // indirect
124-
github.com/quic-go/quic-go v0.48.2 // indirect
126+
github.com/quic-go/quic-go v0.49.0 // indirect
125127
github.com/quic-go/webtransport-go v0.8.1-0.20241018022711-4ac2c9250e66 // indirect
126128
github.com/raulk/go-watchdog v1.3.0 // indirect
127129
github.com/spaolacci/murmur3 v1.1.0 // indirect
@@ -131,14 +133,14 @@ require (
131133
go.uber.org/dig v1.18.0 // indirect
132134
go.uber.org/fx v1.23.0 // indirect
133135
go.uber.org/mock v0.5.0 // indirect
134-
golang.org/x/crypto v0.32.0 // indirect
135-
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect
136-
golang.org/x/mod v0.22.0 // indirect
137-
golang.org/x/net v0.34.0 // indirect
138-
golang.org/x/sync v0.10.0 // indirect
139-
golang.org/x/sys v0.29.0 // indirect
140-
golang.org/x/text v0.21.0 // indirect
141-
golang.org/x/tools v0.29.0 // indirect
136+
golang.org/x/crypto v0.33.0 // indirect
137+
golang.org/x/exp v0.0.0-20250218142911-aa4b98e5adaa // indirect
138+
golang.org/x/mod v0.23.0 // indirect
139+
golang.org/x/net v0.35.0 // indirect
140+
golang.org/x/sync v0.11.0 // indirect
141+
golang.org/x/sys v0.30.0 // indirect
142+
golang.org/x/text v0.22.0 // indirect
143+
golang.org/x/tools v0.30.0 // indirect
142144
gopkg.in/yaml.v3 v3.0.1 // indirect
143145
lukechampine.com/blake3 v1.3.0 // indirect
144146
)

0 commit comments

Comments
 (0)