v0.27.0
Breaking Changes
- The
LocalPrivateKey
method was removed from thenetwork.Conn
interface. #2144
🔦 Highlights
Additional metrics
Since the last release, we've added metrics for:
- Relay Service: RequestStatus, RequestCounts, RejectionReasons for Reservation and Connection Requests,
ConnectionDuration, BytesTransferred, Relay Service Status. - Autorelay: relay finder status, reservation request outcomes, current reservations, candidate circuit v2 support, current candidates, relay addresses updated, num relay address, and scheduled work times
🐞 Bugfixes
- autonat: don't change status on dial request refused 2225
- relaysvc: fix flaky TestReachabilityChangeEvent 2215
- basichost: prevent duplicate dials 2196
- websocket: don't set a WSS multiaddr for accepted unencrypted conns 2199
- identify: Fix IdentifyWait when Connected events happen out of order 2173
- circuitv2: cleanup relay service properly 2164
Changelog
- github.com/libp2p/go-libp2p:
- release v0.27.0
- chore: update all deps (#2240) (libp2p/go-libp2p#2240)
- add a security policy (#2238) (libp2p/go-libp2p#2238)
- chore: 0.27.0 changelog entries (#2241) (libp2p/go-libp2p#2241)
- correctly handle WebTransport addresses without certhashes (#2239) (libp2p/go-libp2p#2239)
- autorelay: add metrics (#2185) (libp2p/go-libp2p#2185)
- autonat: don't change status on dial request refused (#2225) (libp2p/go-libp2p#2225)
- autonat: fix closing of listeners in dialPolicy tests (#2226) (libp2p/go-libp2p#2226)
- discovery (backoff): fix typo in comment (#2214) (libp2p/go-libp2p#2214)
- relaysvc: flaky TestReachabilityChangeEvent (#2215) (libp2p/go-libp2p#2215)
- Add wss transport to interop tester impl (#2178) (libp2p/go-libp2p#2178)
- tests: add a stream read deadline transport test (#2210) (libp2p/go-libp2p#2210)
- autorelay: fix busy loop bug and flaky tests in relay finder (#2208) (libp2p/go-libp2p#2208)
- tests: test mplex and Yamux, Noise and TLS in transport tests (#2209) (libp2p/go-libp2p#2209)
- tests: add some basic transport integration tests (#2207) (libp2p/go-libp2p#2207)
- autorelay: remove unused semaphore (#2184) (libp2p/go-libp2p#2184)
- basichost: prevent duplicate dials (#2196) (libp2p/go-libp2p#2196)
- websocket: don't set a WSS multiaddr for accepted unencrypted conns (#2199) (libp2p/go-libp2p#2199)
- websocket: Don't limit message sizes in the websocket reader (#2193) (libp2p/go-libp2p#2193)
- identify: fix stale comment (#2179) (libp2p/go-libp2p#2179)
- relay service: add metrics (#2154) (libp2p/go-libp2p#2154)
- identify: Fix IdentifyWait when Connected events happen out of order (#2173) (libp2p/go-libp2p#2173)
- chore: fix ressource manager's README (#2168) (libp2p/go-libp2p#2168)
- relay: fix deadlock when closing (#2171) (libp2p/go-libp2p#2171)
- core: remove LocalPrivateKey method from network.Conn interface (#2144) (libp2p/go-libp2p#2144)
- routed host: return connection error instead of routing error (#2169) (libp2p/go-libp2p#2169)
- connmgr: reduce log level for closing connections (#2165) (libp2p/go-libp2p#2165)
- circuitv2: cleanup relay service properly (#2164) (libp2p/go-libp2p#2164)
- chore: add patch release to changelog (#2151) (libp2p/go-libp2p#2151)
- chore: remove superfluous testing section from README (#2150) (libp2p/go-libp2p#2150)
- autonat: don't use autonat for address discovery (#2148) (libp2p/go-libp2p#2148)
- chore: update webtransport-go to v0.5.2 (#2149) (libp2p/go-libp2p#2149)
- swarm metrics: fix connection direction (#2147) (libp2p/go-libp2p#2147)
- connmgr: Use eventually equal helper in connmgr tests (#2128) (libp2p/go-libp2p#2128)
- swarm: emit PeerConnectedness event from swarm instead of from hosts (#1574) (libp2p/go-libp2p#1574)
- relay: initialize the ASN util when starting the service (#2143) (libp2p/go-libp2p#2143)
- Fix flaky TestMetricsNoAllocNoCover test (#2142) (libp2p/go-libp2p#2142)
- identify: Bump timeouts/sleep in tests (#2135) (libp2p/go-libp2p#2135)
- Add sleep to fix flaky test (#2129) (libp2p/go-libp2p#2129)
- basic_host: Fix flaky tests (#2136) (libp2p/go-libp2p#2136)
- swarm: Check context once more before dialing (#2139) (libp2p/go-libp2p#2139)
- chore: update examples to v0.26.0 (#2134) (libp2p/go-libp2p#2134)
- github.com/ipfs/go-cid (v0.3.2 -> v0.4.1):
- v0.4.1
- Add unit test for unexpected eof
- Update cid.go
- CidFromReader should not wrap valid EOF return.
- chore: version 0.4.0
- feat: wrap parsing errors into ErrInvalidCid
- build(deps): bump golang.org/x/crypto
- build(deps): bump golang.org/x/sys
- fix: use crypto/rand.Read
- update .github/workflows/release-check.yml
- update .github/workflows/go-check.yml
- update .github/workflows/go-test.yml
- bump go.mod to Go 1.19 and run go fix
- Fix README.md example error (#146) (ipfs/go-cid#146)
- github.com/libp2p/go-libp2p-asn-util (v0.2.0 -> v0.3.0):
- release v0.3.0 (#26) (libp2p/go-libp2p-asn-util#26)
- initialize the store lazily (#25) (libp2p/go-libp2p-asn-util#25)
- chore: Update .github/workflows/stale.yml [skip ci]
- github.com/multiformats/go-multiaddr (v0.8.0 -> v0.9.0):
- Release v0.9.0 (multiformats/go-multiaddr#196)
- Update webrtc protocols after rename (multiformats/go-multiaddr#195)
- Bump golang.org/x/crypto from 0.0.0-20190611184440-5c40567a22f8 to 0.1.0 (#191) (multiformats/go-multiaddr#191)
- github.com/multiformats/go-multicodec (v0.7.0 -> v0.8.1):
- Bump version to release
ipns-record
code - chore: update submodules and go generate
- deps: upgrade stringer to compatible version
- update .github/workflows/release-check.yml
- update .github/workflows/go-check.yml
- update .github/workflows/go-test.yml
- bump go.mod to Go 1.19 and run go fix
- v0.8.0
- chore: update submodules and go generate
- fix: make go-generate workflow pull latest remote (multiformats/go-multicodec#73)
- ci: create Go Generate workflow (multiformats/go-multicodec#72)
- Bump version to release
Contributors
Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
Sukun | 11 | +3526/-262 | 33 |
Marten Seemann | 15 | +615/-1396 | 75 |
galargh | 2 | +876/-804 | 6 |
Marco Munizaga | 14 | +1173/-134 | 44 |
Henrique Dias | 2 | +185/-40 | 3 |
Prithvi Shahi | 2 | +55/-14 | 2 |
gammazero | 2 | +31/-0 | 4 |
libp2p-mgmt-read-write[bot] | 1 | +26/-0 | 1 |
Piotr Galar | 1 | +25/-0 | 1 |
dependabot[bot] | 3 | +12/-9 | 6 |
Rod Vagg | 5 | +6/-6 | 5 |
Laurent Senta | 1 | +2/-2 | 1 |
Hlib Kanunnikov | 1 | +2/-1 | 1 |
Andrew Gillis | 1 | +2/-1 | 1 |
RichΛrd | 1 | +1/-1 | 1 |
Nikhilesh Susarla | 1 | +1/-1 | 1 |
Masih H. Derkani | 1 | +1/-1 | 1 |
Bryan White | 1 | +1/-1 | 1 |
Full Changelog: v0.26.4...v0.27.0