Releases: libp2p/js-libp2p
Releases · libp2p/js-libp2p
interface: v3.0.0
3.0.0 (2025-09-23)
� BREAKING CHANGES
- the
@libp2p/pubsubmodule has been removed - All props and methods flagged as deprecated and for removal have been removed
- requires @mulitformats/multiaddr 13.x.x or later
-
- Stream handlers accept
stream, connection, not{ stream, connection }
- Stream handlers accept
Features
Bug Fixes
Documentation
Dependencies
interface-internal: v3.0.1
3.0.1 (2025-09-24)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @libp2p/peer-collections bumped from ^7.0.0 to ^7.0.1
- dependencies
interface-internal: v3.0.0
3.0.0 (2025-09-23)
� BREAKING CHANGES
- All props and methods flagged as deprecated and for removal have been removed
- requires @mulitformats/multiaddr 13.x.x or later
-
- Stream handlers accept
stream, connection, not{ stream, connection }
- Stream handlers accept
Features
Bug Fixes
Dependencies
interface-compliance-tests: v7.0.1
7.0.1 (2025-09-24)
Dependencies
- update p-event, p-wait-for and noble deps (#3302) (55bbd8c)
- The following workspace dependencies were updated
- dependencies
- @libp2p/crypto bumped from ^5.1.9 to ^5.1.10
- @libp2p/echo bumped from ^3.0.0 to ^3.0.1
- @libp2p/interface-internal bumped from ^3.0.0 to ^3.0.1
- @libp2p/logger bumped from ^6.0.0 to ^6.0.1
- @libp2p/memory bumped from ^2.0.0 to ^2.0.1
- @libp2p/peer-id bumped from ^6.0.0 to ^6.0.1
- @libp2p/plaintext bumped from ^3.0.0 to ^3.0.1
- @libp2p/utils bumped from ^7.0.0 to ^7.0.1
- libp2p bumped from ^3.0.0 to ^3.0.1
- dependencies
interface-compliance-tests: v7.0.0
7.0.0 (2025-09-23)
� BREAKING CHANGES
- requires @mulitformats/multiaddr 13.x.x or later
-
- Stream handlers accept
stream, connection, not{ stream, connection }
- Stream handlers accept
Features
Bug Fixes
- update project (db9f40c)
Dependencies
- update @multiformats/multiaddr to 13.x.x (#3268) (b8ecade)
- The following workspace dependencies were updated
- dependencies
- @libp2p/crypto bumped from ^5.1.8 to ^5.1.9
- @libp2p/echo bumped from ^2.1.28 to ^3.0.0
- @libp2p/interface bumped from ^2.11.0 to ^3.0.0
- @libp2p/interface-internal bumped from ^2.3.19 to ^3.0.0
- @libp2p/logger bumped from ^5.2.0 to ^6.0.0
- @libp2p/memory bumped from ^1.1.14 to ^2.0.0
- @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0
- @libp2p/plaintext bumped from ^2.0.29 to ^3.0.0
- @libp2p/utils bumped from ^6.7.2 to ^7.0.0
- libp2p bumped from ^2.10.0 to ^3.0.0
- dependencies
integration-tests: v1.0.1
1.0.1 (2025-09-24)
Dependencies
- update p-event, p-wait-for and noble deps (#3302) (55bbd8c)
- The following workspace dependencies were updated
- devDependencies
- @libp2p/gossipsub bumped from ^15.0.0 to ^15.0.1
- @libp2p/bootstrap bumped from ^12.0.0 to ^12.0.1
- @libp2p/circuit-relay-v2 bumped from ^4.0.0 to ^4.0.1
- @libp2p/crypto bumped from ^5.1.9 to ^5.1.10
- @libp2p/daemon-client bumped from ^10.0.0 to ^10.0.1
- @libp2p/daemon-server bumped from ^9.0.0 to ^9.0.1
- @libp2p/dcutr bumped from ^3.0.0 to ^3.0.1
- @libp2p/echo bumped from ^3.0.0 to ^3.0.1
- @libp2p/fetch bumped from ^4.0.0 to ^4.0.1
- @libp2p/floodsub bumped from ^11.0.0 to ^11.0.1
- @libp2p/identify bumped from ^4.0.0 to ^4.0.1
- @libp2p/interface-compliance-tests bumped from ^7.0.0 to ^7.0.1
- @libp2p/interface-internal bumped from ^3.0.0 to ^3.0.1
- @libp2p/interop bumped from ^14.0.0 to ^14.0.1
- @libp2p/kad-dht bumped from ^16.0.0 to ^16.0.1
- @libp2p/logger bumped from ^6.0.0 to ^6.0.1
- @libp2p/mdns bumped from ^12.0.0 to ^12.0.1
- @libp2p/memory bumped from ^2.0.0 to ^2.0.1
- @libp2p/mplex bumped from ^12.0.0 to ^12.0.1
- @libp2p/noise bumped from ^1.0.0 to ^1.0.1
- @libp2p/peer-collections bumped from ^7.0.0 to ^7.0.1
- @libp2p/peer-id bumped from ^6.0.0 to ^6.0.1
- @libp2p/ping bumped from ^3.0.0 to ^3.0.1
- @libp2p/plaintext bumped from ^3.0.0 to ^3.0.1
- @libp2p/tcp bumped from ^11.0.0 to ^11.0.1
- @libp2p/tls bumped from ^3.0.0 to ^3.0.1
- @libp2p/utils bumped from ^7.0.0 to ^7.0.1
- @libp2p/webrtc bumped from ^6.0.0 to ^6.0.1
- @libp2p/websockets bumped from ^10.0.0 to ^10.0.1
- @libp2p/webtransport bumped from ^6.0.0 to ^6.0.1
- @libp2p/yamux bumped from ^8.0.0 to ^8.0.1
- libp2p bumped from ^3.0.0 to ^3.0.1
- devDependencies
integration-tests: v1.0.0
1.0.0 (2025-09-23)
� BREAKING CHANGES
- merge-options has been removed from
@libp2p/utils - the
@libp2p/pubsubmodule has been removed - All props and methods flagged as deprecated and for removal have been removed
- requires @mulitformats/multiaddr 13.x.x or later
-
- Stream handlers accept
stream, connection, not{ stream, connection }
- Stream handlers accept
@libp2p/kad-dhtnow depends on@libp2p/ping- please configure this in your service map- registered lookup functions now receive a Uint8Array identifier instead of a string
- The
discoverRelaysoption has been removed, instead add one or more instances of"/p2p-circuit"to the libp2p config under theaddresses.listenkey - the
connectionEncryptionoption has been renamedconnectionEncrypters -
@libp2p/peer-id-factoryhas been removed, usegenerateKeyPairandpeerIdFromPrivateKeyinstead
- the autodialer has been removed as well as the corresponding config keys
- The
.codeproperty has been removed from most errors, use.nameinstead -
- The
notifyOnTransientproperty oflibp2p.registerhas been renamednotifyOnLimitedConnection
- The
Features
- add reprovide (#2785) (52b3b1a)
- check service dependencies on startup (#2586) (d1f1c2b)
- select muxer early (#3026) (c4b6a37)
- streams as EventTargets (#3218) (0f68898), closes #3226
- use
.nameproperty instead of.codefor errors (#2655) (0d20426) - WebRTC-Direct support for Node.js (#2583) (200c2bd)
Bug Fixes
- accept Uint8Arrays as keys (#2909) (b56d918)
- allow connection gater classes (#3281) (e1aaf4e)
- allow overriding mss mode (#2924) (4bbcfa7)
- close handshake datachannel after use (#3076) (b9e32cc)
- deduplicate typed event target (#3170) (cc7b34c)
- do not close relay connection after WebRTC upgrade (#3205) (cfe2be4)
- emit 'listening' when relays change (#2758) (0d326d1)
- ensure that the upgrader applies timeouts to incoming dials (#3000) (90cca82)
- handle more circuit relay refresh failures (#2764) (5d199f9)
- improve error message when starting server (#3008) (ab1bb86)
- make circuit relay listen on addresses like other transports (#2776) (3244ed0)
- maximum call stack size with duplicate webrtc addresses (#2980) (d98cc46)
- only close stream if it is open (#2823) (3098232)
- only mark a connection as transient if the relay has applied limits (#2575) (4bd8e4f)
- refactor connection opening and closing (#2735) (24fa1d5)
- remove autodialer (#2639) (ab90179)
- remove deprecated code (#3271) (6332556)
- remove merge-options (#3294) (dc01b32)
- remove patches for gossipsub, noise and the daemon modules (#2694) (7cd9845)
- remove private key field from peer id (#2660) (3eeb0c7), closes #2659
- remove pubsub (#3291) (9a9b11f)
- remove ws filters (#2983) (2b49a5f)
- rename "transient" connections to "limited" (#2645) (2988602), closes #2622
- rename connectionEncryption option to connectionEncrypters (#2691) (6d72709)
- require external confirmation of public addresses (#2867) (d19974d)
- send raw plaintext public key during handshake (#2599) (359265a)
- update multiaddr (#3184) (6c42ea6)
- update project (db9f40c)
- use libp2p ping instad of kad ping (#3074) (4f37aff)
- use randomwalk to find circuit relay servers (#2563) (440c9b3), closes #2545
Documentation
- add spellcheck to gh actions (#2994) (5b084e9)
- update spell check (#2999) (6f8cfea)
- update typedoc config (#3146) (14dbebe)
Dependencies
- bump aegir from 43.0.3 to 44.0.1 (#2603) (944935f)
- bump sinon from 19.0.5 to 20.0.0 (#3112) (d1ce677)
- dev: bump @libp2p/interop from 11.0.0 to 12.1.0 (#2582) (90d10b5)
- update @multiformats/multiaddr to 13.x.x (#3268) (b8ecade)
- update @multiformats/multiaddr-matcher dep to 2.x.x (#3208) (57e7fa4)
- update aegir, fix all linting i...
identify: v4.0.1
4.0.1 (2025-09-24)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @libp2p/crypto bumped from ^5.1.9 to ^5.1.10
- @libp2p/interface-internal bumped from ^3.0.0 to ^3.0.1
- @libp2p/peer-id bumped from ^6.0.0 to ^6.0.1
- @libp2p/peer-record bumped from ^9.0.0 to ^9.0.1
- @libp2p/utils bumped from ^7.0.0 to ^7.0.1
- devDependencies
- @libp2p/logger bumped from ^6.0.0 to ^6.0.1
- dependencies
identify: v4.0.0
4.0.0 (2025-09-23)
� BREAKING CHANGES
- All props and methods flagged as deprecated and for removal have been removed
- requires @mulitformats/multiaddr 13.x.x or later
-
- Stream handlers accept
stream, connection, not{ stream, connection }
- Stream handlers accept
Features
Bug Fixes
Dependencies
- update @multiformats/multiaddr to 13.x.x (#3268) (b8ecade)
- The following workspace dependencies were updated
- dependencies
- @libp2p/crypto bumped from ^5.1.8 to ^5.1.9
- @libp2p/interface bumped from ^2.11.0 to ^3.0.0
- @libp2p/interface-internal bumped from ^2.3.19 to ^3.0.0
- @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0
- @libp2p/peer-record bumped from ^8.0.35 to ^9.0.0
- @libp2p/utils bumped from ^6.7.2 to ^7.0.0
- devDependencies
- @libp2p/logger bumped from ^5.2.0 to ^6.0.0
- dependencies
gossipsub: v15.0.1
15.0.1 (2025-09-24)
Dependencies
- update p-event, p-wait-for and noble deps (#3302) (55bbd8c)
- The following workspace dependencies were updated
- dependencies
- @libp2p/crypto bumped from ^5.1.9 to ^5.1.10
- @libp2p/interface-internal bumped from ^3.0.0 to ^3.0.1
- @libp2p/peer-id bumped from ^6.0.0 to ^6.0.1
- devDependencies
- @libp2p/floodsub bumped from ^11.0.0 to ^11.0.1
- @libp2p/interface-compliance-tests bumped from ^7.0.0 to ^7.0.1
- @libp2p/logger bumped from ^6.0.0 to ^6.0.1
- @libp2p/peer-store bumped from ^12.0.0 to ^12.0.1
- dependencies