libp2p / go-ws-transport

a websocket implementation of a go-libp2p transport
Other
60 stars 19 forks source link

deprecate this repo #119

Closed marten-seemann closed 2 years ago

github-actions[bot] commented 2 years ago

Suggested version: v0.7.0 Comparing to: v0.6.0 (diff)

Changes in go.mod file(s):

diff --git a/go.mod b/go.mod
index 9f621c4..dbbc2db 100644
--- a/go.mod
+++ b/go.mod
@@ -1,14 +1,37 @@
 module github.com/libp2p/go-ws-transport

 require (
-   github.com/gorilla/websocket v1.4.2
-   github.com/libp2p/go-conn-security-multistream v0.3.0
-   github.com/libp2p/go-libp2p-core v0.14.0
-   github.com/libp2p/go-libp2p-mplex v0.5.0
-   github.com/libp2p/go-libp2p-testing v0.7.0
-   github.com/libp2p/go-libp2p-transport-upgrader v0.7.0
-   github.com/multiformats/go-multiaddr v0.4.1
-   github.com/multiformats/go-multiaddr-fmt v0.1.0
+   github.com/gorilla/websocket v1.5.0
+   github.com/libp2p/go-libp2p v0.20.0
+   github.com/libp2p/go-libp2p-core v0.16.1
+   github.com/multiformats/go-multiaddr v0.5.0
 )

-go 1.16
+require (
+   github.com/btcsuite/btcd v0.22.1 // indirect
+   github.com/btcsuite/btcd/btcec/v2 v2.1.3 // indirect
+   github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect
+   github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
+   github.com/gogo/protobuf v1.3.2 // indirect
+   github.com/ipfs/go-cid v0.1.0 // indirect
+   github.com/klauspost/cpuid/v2 v2.0.9 // indirect
+   github.com/libp2p/go-buffer-pool v0.0.2 // indirect
+   github.com/libp2p/go-openssl v0.0.7 // indirect
+   github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1 // indirect
+   github.com/minio/sha256-simd v1.0.0 // indirect
+   github.com/mr-tron/base58 v1.2.0 // indirect
+   github.com/multiformats/go-base32 v0.0.3 // indirect
+   github.com/multiformats/go-base36 v0.1.0 // indirect
+   github.com/multiformats/go-multiaddr-fmt v0.1.0 // indirect
+   github.com/multiformats/go-multibase v0.0.3 // indirect
+   github.com/multiformats/go-multicodec v0.4.1 // indirect
+   github.com/multiformats/go-multihash v0.1.0 // indirect
+   github.com/multiformats/go-varint v0.0.6 // indirect
+   github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 // indirect
+   github.com/spaolacci/murmur3 v1.1.0 // indirect
+   golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect
+   golang.org/x/sys v0.0.0-20220422013727-9388b58f7150 // indirect
+   lukechampine.com/blake3 v1.1.6 // indirect
+)
+
+go 1.17diff --git a/tools/go.mod b/tools/go.mod
deleted file mode 100644
index d295a7a..0000000
--- a/tools/go.mod
+++ /dev/null
@@ -1,5 +0,0 @@
-module github.com/libp2p/go-ws-transport/tools
-
-go 1.16
-
-require github.com/agnivade/wasmbrowsertest v0.3.5

gorelease says:

# github.com/libp2p/go-ws-transport
## incompatible changes
New: changed from func(github.com/libp2p/go-libp2p-core/transport.Upgrader, github.com/libp2p/go-libp2p-core/network.ResourceManager) *WebsocketTransport to func(github.com/libp2p/go-libp2p-core/transport.Upgrader, github.com/libp2p/go-libp2p-core/network.ResourceManager, ...github.com/libp2p/go-libp2p/p2p/transport/websocket.Option) (*github.com/libp2p/go-libp2p/p2p/transport/websocket.WebsocketTransport, error)
NewConn: changed from func(*github.com/gorilla/websocket.Conn) *Conn to func(*github.com/gorilla/websocket.Conn, bool) *github.com/libp2p/go-libp2p/p2p/transport/websocket.Conn
## compatible changes
NewAddrWithScheme: added
Option: added
WithTLSClientConfig: added
WithTLSConfig: added

# summary
Suggested version: v0.7.0

gocompat says:

(empty)