libp2p libp2p-v0.46.0
Migration guide
Please see the migration guide for how to upgrade your application from 0.45.x
to 0.46.x
.
⚠ BREAKING CHANGES
- the
.close
,closeRead
andcloseWrite
methods on theStream
interface are now asynchronous stream.stat.*
andconn.stat.*
properties are now accessed viastream.*
andconn.*
- consolidate interface modules (#1833)
Features
- enable manual identify (#1784) (06f4901)
- mark connections with limits as transient (#1890) (a1ec46b)
- merge stat properties into stream/connection objects (#1856) (e9cafd3), closes #1849
Bug Fixes
- close streams gracefully (#1864) (b36ec7f), closes #1793 #656
- consolidate interface modules (#1833) (4255b1e)
- ignore peers with invalid multiaddrs (#1902) (a41d25d)
- remove redundant nat-api override (#1906) (1f7e18b)
- updated multiaddr logging (#1797) (f427cfc)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @libp2p/crypto bumped from ^1.0.0 to ^2.0.0
- @libp2p/interface bumped from ~0.0.1 to ^0.1.0
- @libp2p/interface-internal bumped from ~0.0.1 to ^0.1.0
- @libp2p/keychain bumped from ^2.0.0 to ^3.0.0
- @libp2p/logger bumped from ^2.0.0 to ^3.0.0
- @libp2p/multistream-select bumped from ^3.0.0 to ^4.0.0
- @libp2p/peer-collections bumped from ^3.0.0 to ^4.0.0
- @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0
- @libp2p/peer-id-factory bumped from ^2.0.0 to ^3.0.0
- @libp2p/peer-record bumped from ^5.0.0 to ^6.0.0
- @libp2p/peer-store bumped from ^8.0.0 to ^9.0.0
- @libp2p/utils bumped from ^3.0.0 to ^4.0.0
- devDependencies
- @libp2p/bootstrap bumped from ^8.0.0 to ^9.0.0
- @libp2p/interface-compliance-tests bumped from ^3.0.0 to ^4.0.0
- @libp2p/kad-dht bumped from ^9.0.0 to ^10.0.0
- @libp2p/mdns bumped from ^8.0.0 to ^9.0.0
- @libp2p/mplex bumped from ^8.0.0 to ^9.0.0
- @libp2p/tcp bumped from ^7.0.0 to ^8.0.0
- @libp2p/websockets bumped from ^6.0.0 to ^7.0.0
- dependencies