v0.20.0
marten-seemann
released this
26 May 09:49
·
1921 commits
to master
since this release
We're happy to announce the v0.20.0 release of go-libp2p.
🛠 BREAKING CHANGES
In this release, we've taken steps to reduce the go-libp2p-* repo sprawl, and move all transport-related repositories (and some others) to go-libp2p. Specifically, the following repositories were deprecated:
- go-libp2p-blankhost
- go-libp2p-swarm
- go-libp2p-yamux
- go-libp2p-mplex
- go-libp2p-noise
- go-libp2p-tls
- go-tcp-transport
- go-libp2p-quic-transport
- go-ws-transport
- go-libp2p-pnet
- go-libp2p-nat
- go-libp2p-transport-upgrader
- go-conn-security-multistream
- go-stream-muxer-multistream
- go-reuseport-transport
For users of go-libp2p, this might mean that a few import paths have changed. The recommended way of updating is the following:
- Run
go get -u ./...
. This will pull in updated dependencies, including updates for all the repositories listed above. - Run
staticcheck ./...
. All repositories listed above were deprecated, andstaticcheck
will generate errors when they are imported.
Changelog
- github.com/libp2p/go-libp2p:
- release v0.20.0 (#1530) (libp2p/go-libp2p#1530)
- update go-libp2p-core, remove stream methods from network.Notifiee (#1521) (libp2p/go-libp2p#1521)
- autonat: return E_DIAL_REFUSED when skipping dial (#1527) (libp2p/go-libp2p#1527)
- chore: update deps (#1522) (libp2p/go-libp2p#1522)
- move go-stream-muxer-multistream here (libp2p/go-libp2p#1511)
- remove dependency on go-libp2p-testing/suites/sec (#1510) (libp2p/go-libp2p#1510)
- backoff: fix flaky tests in backoff cache (#1516) (libp2p/go-libp2p#1516)
- chore: update quic-go to v0.27.1 (#1520) (libp2p/go-libp2p#1520)
- identify: fix flaky tests (#1515) (libp2p/go-libp2p#1515)
- quic: increase timeout in hole punching test (#1495) (libp2p/go-libp2p#1495)
- Fix badge image in README (#1517) (libp2p/go-libp2p#1517)
- move go-libp2p-nat here (libp2p/go-libp2p#1513)
- move go-reuseport-transport here (libp2p/go-libp2p#1459)
- holepunch: fix flaky TestEndToEndSimConnect test (#1508) (libp2p/go-libp2p#1508)
- swarm: fix flaky TestDialExistingConnection test (#1509) (libp2p/go-libp2p#1509)
- tcp: limit the number of connections in tcp suite test on non-linux hosts (#1507) (libp2p/go-libp2p#1507)
- increase overly short require.Eventually intervals (#1501) (libp2p/go-libp2p#1501)
- tls: fix flaky handshake cancelation test (#1503) (libp2p/go-libp2p#1503)
- merge the transport test suite from go-libp2p-testing here (libp2p/go-libp2p#1496)
- fix racy connection comparison in TestDialWorkerLoopBasic (#1499) (libp2p/go-libp2p#1499)
- swarm: fix race condition in TestFailFirst (#1490) (libp2p/go-libp2p#1490)
- basichost: fix flaky TestSignedPeerRecordWithNoListenAddrs (#1488) (libp2p/go-libp2p#1488)
- swarm: fix flaky and racy TestDialExistingConnection (#1491) (libp2p/go-libp2p#1491)
- quic: adjust timeout for reuse garbage collector detection in tests (#1487) (libp2p/go-libp2p#1487)
- quic: fix flaky TestResourceManagerAcceptDenied (#1485) (libp2p/go-libp2p#1485)
- quic: deflake the holepunching test (#1484) (libp2p/go-libp2p#1484)
- holepunch: fix incorrect message type for the SYNC message (#1478) (libp2p/go-libp2p#1478)
- use real keys in tests instead of go-libp2p-testing/netutil fake keys (#1475) (libp2p/go-libp2p#1475)
- quic: fix flaky TestResourceManagerAcceptDenied (libp2p/go-libp2p#1461)
- move go-libp2p-pnet here (libp2p/go-libp2p#1465)
- move go-libp2p-tls here (libp2p/go-libp2p#1466)
- fix race condition in relayFinder (libp2p/go-libp2p#1469)
- fix race condition in holepunch service (#1473) (libp2p/go-libp2p#1473)
- Update README to include supported Go Versions (#1470) (libp2p/go-libp2p#1470)
- move go-libp2p-noise here (libp2p/go-libp2p#1462)
- move go-libp2p-transport-upgrader here (libp2p/go-libp2p#1463)
- move go-conn-security-multistream here (libp2p/go-libp2p#1460)
- move go-libp2p-mplex here (libp2p/go-libp2p#1450)
- use yamux instead of mplex in tests (#1456) (libp2p/go-libp2p#1456)
- rename the yamux package (#1452) (libp2p/go-libp2p#1452)
- swarm: don't check return value of str.Close in TestResourceManager (#1453) (libp2p/go-libp2p#1453)
- move go-libp2p-yamux here (libp2p/go-libp2p#1439)
- quic: fix flaky TestConnectionGating test (#1442) (libp2p/go-libp2p#1442)
- quic: fix flaky TestReuseGarbageCollect test (#1446) (libp2p/go-libp2p#1446)
- quic: fix flaky holepunching test (#1443) (libp2p/go-libp2p#1443)
- move go-libp2p-quic-transport here (libp2p/go-libp2p#1424)
- remove flaky TestTcpSimultaneousConnect (#1425) (libp2p/go-libp2p#1425)
- move go-ws-transport here (libp2p/go-libp2p#1422)
- update go-multistream, stop using deprecated NegotiateLazy (#1417) (libp2p/go-libp2p#1417)
- fix flaky TestResourceManagerAcceptStream test (#1420) (libp2p/go-libp2p#1420)
- move go-tcp-transport here (libp2p/go-libp2p#1418)
- move the go-libp2p-swarm here (libp2p/go-libp2p#1414)
- reduce flakiness of backoff cache tests (#1415) (libp2p/go-libp2p#1415)
- move the go-libp2p-blankhost here (libp2p/go-libp2p#1411)
- update go-libp2p to v0.19.0 in examples (#1409) (libp2p/go-libp2p#1409)
- github.com/libp2p/go-libp2p-asn-util (v0.1.0 -> v0.2.0):
- Release 0.2.0 (#21) (libp2p/go-libp2p-asn-util#21)
- perf: replace the ipv6 map by an array of struct (#20) (libp2p/go-libp2p-asn-util#20)
- github.com/libp2p/go-libp2p-core (v0.15.1 -> v0.16.1):
- release v0.16.1 (#255) (libp2p/go-libp2p-core#255)
- force usage of github.com/btcsuite/btcd v0.22.1 or newer (#254) (libp2p/go-libp2p-core#254)
- release v0.16.0 (#251) (libp2p/go-libp2p-core#251)
- remove OpenedStream and ClosedStream from Notifiee interface (#250) (libp2p/go-libp2p-core#250)
- deprecate Negotiator.NegotiateLazy (#249) (libp2p/go-libp2p-core#249)
- update btcec dependency (#247) (libp2p/go-libp2p-core#247)
- github.com/libp2p/go-libp2p-resource-manager (v0.2.1 -> v0.3.0):
- release v0.3.0 (#23) (libp2p/go-libp2p-resource-manager#23)
- feat: export basic limiter config (libp2p/go-libp2p-resource-manager#21)
- fix: typos in config err msgs (libp2p/go-libp2p-resource-manager#20)
- github.com/libp2p/go-mplex (v0.4.0 -> v0.7.0):
- release v0.7.0 (#112) (libp2p/go-mplex#112)
- catch panics in handleIncoming and handleOutgoing (#109) (libp2p/go-mplex#109)
- remove benchmark tests (#111) (libp2p/go-mplex#111)
- release v0.6.0 (#105) (libp2p/go-mplex#105)
- fix incorrect reset of timer fired variable (#104) (libp2p/go-mplex#104)
- Mplex salvage operations, part II (#102) (libp2p/go-mplex#102)
- release v0.5.0 (#100) (libp2p/go-mplex#100)
- Salvage mplex in the age of resource management (#99) (libp2p/go-mplex#99)
- github.com/libp2p/go-reuseport (v0.1.0 -> v0.2.0):
- release v0.2.0 (#90) (libp2p/go-reuseport#90)
- chore: update golang.org/x/sys (#89) (libp2p/go-reuseport#89)
- github.com/lucas-clemente/quic-go (v0.27.0 -> v0.27.1):
- don't send path MTU probe packets on a timer
- github.com/multiformats/go-multistream (v0.3.0 -> v0.3.1):
- release v0.3.1 (#86) (multiformats/go-multistream#86)
- deprecate NegotiateLazy (#85) (multiformats/go-multistream#85)
- return an ErrNotSupported when lazy negotiation fails (#84) (multiformats/go-multistream#84)
Contributors
Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
Jorropo | 3 | +79068/-72146 | 5 |
Marten Seemann | 376 | +12082/-9181 | 896 |
noot | 43 | +6079/-3332 | 172 |
Steven Allen | 172 | +4934/-2971 | 278 |
Jeromy | 135 | +3838/-2409 | 472 |
Yusef Napora | 49 | +2271/-3646 | 125 |
Juan Batiz-Benet | 14 | +3933/-53 | 48 |
vyzo | 54 | +2603/-1356 | 88 |
Raúl Kripalani | 39 | +1993/-867 | 103 |
Aarsh Shah | 24 | +1428/-504 | 54 |
Alex Browne | 25 | +1207/-582 | 49 |
Jakub Sztandera | 29 | +898/-335 | 63 |
dignifiedquire | 10 | +490/-284 | 17 |
Hlib | 8 | +269/-135 | 15 |
Will | 2 | +125/-258 | 11 |
Marco Munizaga | 5 | +248/-116 | 9 |
lnykww | 1 | +275/-50 | 4 |
Łukasz Magiera | 3 | +196/-58 | 7 |
Will Scott | 4 | +115/-61 | 6 |
Matt Joiner | 14 | +79/-55 | 17 |
Fazlul Shahriar | 2 | +84/-31 | 5 |
tg | 1 | +70/-15 | 2 |
Cory Schwartz | 4 | +50/-28 | 11 |
Brian Meek | 1 | +27/-47 | 6 |
Gus Eggert | 4 | +35/-30 | 4 |
Lars Gierth | 3 | +33/-26 | 3 |
Cole Brown | 2 | +37/-16 | 9 |
Guilhem Fanton | 2 | +28/-10 | 6 |
Hlib Kanunnikov | 1 | +25/-3 | 1 |
Dennis Trautwein | 1 | +20/-4 | 2 |
M. Hawn | 3 | +10/-10 | 7 |
Can ZHANG | 1 | +12/-3 | 1 |
Masih H. Derkani | 1 | +4/-10 | 2 |
Hector Sanjuan | 1 | +11/-0 | 1 |
watjurk | 1 | +8/-2 | 1 |
galargh | 1 | +9/-1 | 1 |
John Steidley | 2 | +4/-4 | 3 |
Aaron Bieber | 1 | +6/-2 | 1 |
Kishan Sagathiya | 1 | +6/-1 | 1 |
Kevin Atkinson | 1 | +3/-3 | 1 |
Aayush Rajasekaran | 1 | +5/-1 | 1 |
Arber Avdullahu | 1 | +2/-2 | 1 |
Adin Schmahmann | 1 | +3/-1 | 1 |
Jonathan Rudenberg | 1 | +1/-1 | 1 |
Jeromy Johnson | 1 | +2/-0 | 1 |
Ettore Di Giacinto | 1 | +2/-0 | 1 |
Aliabbas Merchant | 1 | +1/-1 | 1 |
can | 1 | +1/-0 | 1 |
Friedel Ziegelmayer | 1 | +1/-0 | 1 |
Ed Mazurek | 1 | +0/-0 | 1 |