v0.22.0
marten-seemann
released this
19 Aug 09:06
·
734 commits
to master
since this release
🔦 Highlights
go-libp2p is a mono-repo now
This release finishes our long-term effort of consolidating repositories (#1556), turning go-libp2p into a mono-repo. In this release, we've moved the last 4 remaining repositories here:
- https://github.com/libp2p/go-libp2p-resource-manager
- https://github.com/libp2p/go-libp2p-peerstore
- https://github.com/libp2p/go-eventbus
- https://github.com/libp2p/go-libp2p-core
As with our last consolidation release (v0.20.0), this means that some import paths might 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.
Other noteworthy changes
- When no
Identity
is passed tolibp2p.New
, we generate a private key for you. We now generate an Ed25519 key instead of a RSA key (#1576). - AutoRelay now actively polls for new candidates, instead of expecting the application to continuously deliver new candidates (#1569).
Changelog
- github.com/libp2p/go-libp2p:
- release v0.22.0 (libp2p/go-libp2p#1688)
- fix: don't prefer local ports from other addresses when dialing (#1673) (libp2p/go-libp2p#1673)
- crypto: add better support for alternative backends (#1686) (libp2p/go-libp2p#1686)
- crypto/secp256k1: Remove btcsuite intermediary. (#1689) (libp2p/go-libp2p#1689)
- Update resource manager README (#1684) (libp2p/go-libp2p#1684)
- move go-libp2p-core here (libp2p/go-libp2p#1683)
- rcmgr: make scaling changes more intuitive (#1685) (libp2p/go-libp2p#1685)
- move go-eventbus here (libp2p/go-libp2p#1681)
- basichost: remove usage of MultistreamServerMatcher in test (#1680) (libp2p/go-libp2p#1680)
- move go-libp2p-resource-manager to p2p/host/resource-manager (libp2p/go-libp2p#1677)
- chore: preallocate slices with known final size (#1679) (libp2p/go-libp2p#1679)
- autorelay: fix flaky TestMaxAge (#1676) (libp2p/go-libp2p#1676)
- move go-libp2p-peerstore to p2p/host/peerstore (libp2p/go-libp2p#1667)
- examples: remove ipfs components from echo (#1672) (libp2p/go-libp2p#1672)
- chore: update libp2p to v0.21 in examples (#1674) (libp2p/go-libp2p#1674)
- change the default key type to Ed25519 (#1576) (libp2p/go-libp2p#1576)
- autorelay: poll for new candidates when needed (libp2p/go-libp2p#1587)
- examples: fix unresponsive pubsub chat example (#1652) (libp2p/go-libp2p#1652)
- routed: respect force direct dial context (#1665) (libp2p/go-libp2p#1665)
- pstoremanager: fix flaky TestClose (#1649) (libp2p/go-libp2p#1649)
- Allow adding prologue to noise connections (#1663) (libp2p/go-libp2p#1663)
- connmgr: add nowatchdog go build tag (#1666) (libp2p/go-libp2p#1666)
- mdns: don't discover ourselves (#1661) (libp2p/go-libp2p#1661)
- Support generating custom x509 certificates (#1481) (libp2p/go-libp2p#1481)
- ci: add testground ping interop workflow (#1625) (libp2p/go-libp2p#1625)
- github.com/libp2p/go-flow-metrics (v0.0.3 -> v0.1.0):
- introduce an API to set a mock clock (#20) (libp2p/go-flow-metrics#20)
- chore: skip slow tests when short testing is specified (libp2p/go-flow-metrics#16)
- Merge branch 'ci/go-1.13'
- github.com/libp2p/go-openssl (v0.0.7 -> v0.1.0):
- release v0.1.0 (#31) (libp2p/go-openssl#31)
- Fix build with OpenSSL 3.0 (#25) (libp2p/go-openssl#25)
- Add openssl.DialTimeout(network, addr, timeout, ctx, flags) call (libp2p/go-openssl#26)
- Add Ctx.SetMinProtoVersion and Ctx.SetMaxProtoVersion wrappers (libp2p/go-openssl#27)
- fix: unsafe pointer passing (libp2p/go-openssl#18)
- Update test RSA cert (libp2p/go-openssl#15)
- Fix tests (libp2p/go-openssl#16)
- Address
staticcheck
issues (libp2p/go-openssl#14) - Enabled PEM files with CRLF line endings to be used (#10) (libp2p/go-openssl#11)
- github.com/libp2p/zeroconf/v2 (v2.1.1 -> v2.2.0):
- Fix windows libp2p (#29) (libp2p/zeroconf#29)
- Fix compatibility with some IoT devices using avahi 0.8-rc1 (#27) (libp2p/zeroconf#27)
- Add TTL server option (#23) (libp2p/zeroconf#23)
- github.com/lucas-clemente/quic-go (v0.28.0 -> v0.28.1):
- update supported RFCs in README (#3456) (lucas-clemente/quic-go#3456)
- http3: ignore context after response when using DontCloseRequestStream (#3473) (lucas-clemente/quic-go#3473)
- github.com/multiformats/go-multihash (v0.2.0 -> v0.2.1):
- feat: adding tests and finish variable sized functions
- feat: add support for variable length hash functions
- adding blake3 tests and fixing an incorrect error message. (#158) (multiformats/go-multihash#158)
Contributors
Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
Marten Seemann | 153 | +46888/-13331 | 978 |
Raúl Kripalani | 118 | +23120/-4920 | 428 |
vyzo | 144 | +10129/-3665 | 230 |
Marco Munizaga | 71 | +6395/-2735 | 111 |
Steven Allen | 101 | +2548/-2839 | 213 |
Yusef Napora | 6 | +4968/-203 | 48 |
Cole Brown | 57 | +2169/-1338 | 95 |
Raúl Kripalani | 2 | +1000/-889 | 18 |
Jeromy | 38 | +1165/-672 | 167 |
Łukasz Magiera | 27 | +1313/-501 | 55 |
Juan Batiz-Benet | 2 | +1531/-9 | 21 |
Aarsh Shah | 24 | +377/-105 | 34 |
Masih H. Derkani | 1 | +196/-212 | 20 |
adam | 4 | +235/-49 | 9 |
Jakub Sztandera | 9 | +203/-73 | 13 |
Peter Argue | 1 | +166/-36 | 3 |
Vibhav Pant | 4 | +186/-12 | 7 |
Adrian Lanzafame | 3 | +180/-16 | 5 |
Oleg Jukovec | 3 | +180/-14 | 9 |
Lars Gierth | 5 | +151/-41 | 25 |
dignifiedquire | 3 | +122/-33 | 6 |
Gus Eggert | 4 | +75/-64 | 11 |
Claudia Richoux | 1 | +74/-55 | 4 |
Chinmay Kousik | 1 | +121/-4 | 6 |
Whyrusleeping | 2 | +120/-0 | 6 |
wzp | 2 | +86/-3 | 2 |
cpuchip | 1 | +65/-6 | 2 |
Roman Proskuryakov | 2 | +69/-0 | 2 |
Jorropo | 3 | +56/-11 | 8 |
Arceliar | 2 | +36/-28 | 2 |
Dave Collins | 1 | +28/-34 | 6 |
Christian Stewart | 1 | +37/-23 | 5 |
Maxim Merzhanov | 1 | +29/-24 | 1 |
Richard Ramos | 1 | +51/-0 | 2 |
galargh | 3 | +37/-11 | 4 |
Didrik Nordström | 1 | +35/-6 | 1 |
Vasco Santos | 1 | +20/-20 | 7 |
Jesse Bouwman | 1 | +19/-21 | 1 |
MGMCN | 1 | +9/-24 | 2 |
Brian Meek | 1 | +14/-17 | 4 |
Mars Zuo | 1 | +7/-18 | 1 |
c r | 1 | +11/-6 | 3 |
Cory Schwartz | 1 | +0/-17 | 1 |
Laurent Senta | 1 | +16/-0 | 1 |
Ian Davis | 2 | +14/-2 | 3 |
Piotr Galar | 4 | +7/-6 | 4 |
Matt Joiner | 2 | +10/-3 | 2 |
Dmitry Yu Okunev | 1 | +5/-7 | 5 |
corverroos | 1 | +7/-4 | 2 |
Marcin Rataj | 1 | +4/-7 | 1 |
Ignacio Hagopian | 2 | +7/-2 | 2 |
Julien Muret | 1 | +4/-4 | 2 |
Eclésio Junior | 1 | +8/-0 | 1 |
Stephan Eberle | 1 | +4/-3 | 1 |
muXxer | 1 | +3/-3 | 1 |
Sergey | 1 | +1/-3 | 1 |
Jun10ng | 2 | +2/-2 | 2 |
Jorik Schellekens | 1 | +2/-2 | 1 |
Eli Wang | 1 | +2/-2 | 1 |
Andreas Linde | 1 | +4/-0 | 1 |
whyrusleeping | 1 | +2/-1 | 1 |
star | 1 | +0/-2 | 1 |
bigs | 1 | +1/-1 | 1 |
Tarun Bansal | 1 | +1/-1 | 1 |
Mikerah | 1 | +1/-1 | 1 |
Mike Goelzer | 1 | +2/-0 | 1 |
Max Inden | 1 | +1/-1 | 1 |
Leo Balduf | 1 | +1/-1 | 1 |
Kevin Mai-Husan Chia | 1 | +1/-1 | 1 |
John B Nelson | 1 | +1/-1 | 1 |
Alex Stokes | 1 | +1/-1 | 1 |