From 567d216e129b167de01313280abb57510dfdf0b2 Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Tue, 23 Sep 2025 12:32:49 +0100 Subject: [PATCH 1/2] chore: release main --- .release-please-manifest.json | 99 ++++++++-------- interop/CHANGELOG.md | 63 ++++++++++ interop/package.json | 26 ++-- packages/config/CHANGELOG.md | 17 +++ packages/config/package.json | 10 +- .../connection-encrypter-noise/CHANGELOG.md | 38 ++++++ .../connection-encrypter-noise/package.json | 26 ++-- .../CHANGELOG.md | 29 +++++ .../package.json | 14 +-- .../connection-encrypter-tls/CHANGELOG.md | 28 +++++ .../connection-encrypter-tls/package.json | 12 +- packages/crypto/CHANGELOG.md | 14 +++ packages/crypto/package.json | 4 +- packages/floodsub/CHANGELOG.md | 25 ++++ packages/floodsub/package.json | 16 +-- packages/gossipsub/CHANGELOG.md | 27 +++++ packages/gossipsub/package.json | 18 +-- packages/integration-tests/CHANGELOG.md | 112 ++++++++++++++++++ packages/integration-tests/package.json | 68 +++++------ .../interface-compliance-tests/CHANGELOG.md | 34 ++++++ .../interface-compliance-tests/package.json | 22 ++-- packages/interface-internal/CHANGELOG.md | 28 +++++ packages/interface-internal/package.json | 6 +- packages/interface/CHANGELOG.md | 31 +++++ packages/interface/package.json | 2 +- packages/interop/CHANGELOG.md | 28 +++++ packages/interop/package.json | 8 +- packages/kad-dht/CHANGELOG.md | 40 +++++++ packages/kad-dht/package.json | 22 ++-- packages/keychain/CHANGELOG.md | 33 ++++++ packages/keychain/package.json | 8 +- packages/libp2p-daemon-client/CHANGELOG.md | 36 ++++++ packages/libp2p-daemon-client/package.json | 20 ++-- packages/libp2p-daemon-protocol/CHANGELOG.md | 23 ++++ packages/libp2p-daemon-protocol/package.json | 4 +- packages/libp2p-daemon-server/CHANGELOG.md | 35 ++++++ packages/libp2p-daemon-server/package.json | 20 ++-- packages/libp2p-daemon/CHANGELOG.md | 25 ++++ packages/libp2p-daemon/package.json | 4 +- packages/logger/CHANGELOG.md | 27 +++++ packages/logger/package.json | 6 +- packages/metrics-opentelemetry/CHANGELOG.md | 26 ++++ packages/metrics-opentelemetry/package.json | 8 +- packages/metrics-prometheus/CHANGELOG.md | 26 ++++ packages/metrics-prometheus/package.json | 8 +- packages/metrics-simple/CHANGELOG.md | 24 ++++ packages/metrics-simple/package.json | 6 +- packages/multistream-select/CHANGELOG.md | 24 ++++ packages/multistream-select/package.json | 6 +- packages/peer-collections/CHANGELOG.md | 27 +++++ packages/peer-collections/package.json | 10 +- .../peer-discovery-bootstrap/CHANGELOG.md | 24 ++++ .../peer-discovery-bootstrap/package.json | 12 +- packages/peer-discovery-mdns/CHANGELOG.md | 32 +++++ packages/peer-discovery-mdns/package.json | 16 +-- packages/peer-id/CHANGELOG.md | 24 ++++ packages/peer-id/package.json | 6 +- packages/peer-record/CHANGELOG.md | 32 +++++ packages/peer-record/package.json | 8 +- packages/peer-store/CHANGELOG.md | 31 +++++ packages/peer-store/package.json | 14 +-- packages/pnet/CHANGELOG.md | 25 ++++ packages/pnet/package.json | 8 +- packages/protocol-autonat-v2/CHANGELOG.md | 32 +++++ packages/protocol-autonat-v2/package.json | 16 +-- packages/protocol-autonat/CHANGELOG.md | 32 +++++ packages/protocol-autonat/package.json | 16 +-- packages/protocol-dcutr/CHANGELOG.md | 27 +++++ packages/protocol-dcutr/package.json | 8 +- packages/protocol-echo/CHANGELOG.md | 27 +++++ packages/protocol-echo/package.json | 8 +- packages/protocol-fetch/CHANGELOG.md | 28 +++++ packages/protocol-fetch/package.json | 12 +- packages/protocol-identify/CHANGELOG.md | 34 ++++++ packages/protocol-identify/package.json | 16 +-- packages/protocol-perf/CHANGELOG.md | 29 +++++ packages/protocol-perf/package.json | 10 +- packages/protocol-ping/CHANGELOG.md | 32 +++++ packages/protocol-ping/package.json | 12 +- packages/record/CHANGELOG.md | 7 ++ packages/record/package.json | 2 +- .../stream-multiplexer-mplex/CHANGELOG.md | 27 +++++ .../stream-multiplexer-mplex/package.json | 10 +- .../stream-multiplexer-yamux/CHANGELOG.md | 28 +++++ .../transport-circuit-relay-v2/CHANGELOG.md | 35 ++++++ .../transport-circuit-relay-v2/package.json | 18 +-- packages/transport-memory/CHANGELOG.md | 29 +++++ packages/transport-memory/package.json | 10 +- packages/transport-tcp/CHANGELOG.md | 28 +++++ packages/transport-tcp/package.json | 8 +- packages/transport-webrtc/CHANGELOG.md | 35 ++++++ packages/transport-webrtc/package.json | 18 +-- packages/transport-websockets/CHANGELOG.md | 30 +++++ packages/transport-websockets/package.json | 8 +- packages/transport-webtransport/CHANGELOG.md | 34 ++++++ packages/transport-webtransport/package.json | 20 ++-- packages/upnp-nat/CHANGELOG.md | 31 +++++ packages/upnp-nat/package.json | 14 +-- packages/utils/CHANGELOG.md | 33 ++++++ packages/utils/package.json | 10 +- 100 files changed, 1914 insertions(+), 365 deletions(-) create mode 100644 interop/CHANGELOG.md create mode 100644 packages/connection-encrypter-noise/CHANGELOG.md create mode 100644 packages/gossipsub/CHANGELOG.md create mode 100644 packages/integration-tests/CHANGELOG.md create mode 100644 packages/interop/CHANGELOG.md create mode 100644 packages/stream-multiplexer-yamux/CHANGELOG.md diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a11ed2d14e..80038a1cc5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,50 +1,53 @@ { - "packages/config": "1.1.14", - "packages/connection-encrypter-plaintext": "2.0.29", - "packages/connection-encrypter-tls": "2.2.7", - "packages/crypto": "5.1.8", - "packages/floodsub": "10.1.46", - "packages/gossipsub": "14.1.1", - "packages/interface": "2.11.0", - "packages/interface-compliance-tests": "6.5.0", - "packages/interface-internal": "2.3.19", - "packages/interop": "13.0.3", - "packages/kad-dht": "15.1.11", - "packages/keychain": "5.2.9", - "packages/libp2p": "2.10.0", - "packages/libp2p-daemon": "5.0.4", - "packages/libp2p-daemon-client": "9.0.8", - "packages/libp2p-daemon-protocol": "7.0.6", - "packages/libp2p-daemon-server": "8.0.6", - "packages/logger": "5.2.0", - "packages/metrics-opentelemetry": "1.0.21", - "packages/metrics-prometheus": "4.3.30", - "packages/metrics-simple": "1.3.16", - "packages/multistream-select": "6.0.29", - "packages/peer-collections": "6.0.35", - "packages/peer-discovery-bootstrap": "11.0.47", - "packages/peer-discovery-mdns": "11.0.47", - "packages/peer-id": "5.1.9", - "packages/peer-record": "8.0.35", - "packages/peer-store": "11.2.7", - "packages/pnet": "2.0.47", - "packages/protocol-autonat": "2.0.38", - "packages/protocol-autonat-v2": "1.0.1", - "packages/protocol-dcutr": "2.0.38", - "packages/protocol-echo": "2.1.28", - "packages/protocol-fetch": "3.0.22", - "packages/protocol-identify": "3.0.39", - "packages/protocol-perf": "4.0.47", - "packages/protocol-ping": "2.0.37", - "packages/record": "4.0.7", - "packages/stream-multiplexer-mplex": "11.0.47", - "packages/stream-multiplexer-yamux": "7.0.4", - "packages/transport-circuit-relay-v2": "3.2.24", - "packages/transport-memory": "1.1.14", - "packages/transport-tcp": "10.1.19", - "packages/transport-webrtc": "5.2.24", - "packages/transport-websockets": "9.2.19", - "packages/transport-webtransport": "5.0.51", - "packages/upnp-nat": "3.1.22", - "packages/utils": "6.7.2" + "packages/config": "1.1.15", + "packages/connection-encrypter-plaintext": "3.0.0", + "packages/connection-encrypter-tls": "3.0.0", + "packages/crypto": "5.1.9", + "packages/floodsub": "11.0.0", + "packages/gossipsub": "15.0.0", + "packages/interface": "3.0.0", + "packages/interface-compliance-tests": "7.0.0", + "packages/interface-internal": "3.0.0", + "packages/interop": "14.0.0", + "packages/kad-dht": "16.0.0", + "packages/keychain": "6.0.0", + "packages/libp2p": "3.0.0", + "packages/libp2p-daemon": "6.0.0", + "packages/libp2p-daemon-client": "10.0.0", + "packages/libp2p-daemon-protocol": "8.0.0", + "packages/libp2p-daemon-server": "9.0.0", + "packages/logger": "6.0.0", + "packages/metrics-opentelemetry": "2.0.0", + "packages/metrics-prometheus": "5.0.0", + "packages/metrics-simple": "2.0.0", + "packages/multistream-select": "7.0.0", + "packages/peer-collections": "7.0.0", + "packages/peer-discovery-bootstrap": "12.0.0", + "packages/peer-discovery-mdns": "12.0.0", + "packages/peer-id": "6.0.0", + "packages/peer-record": "9.0.0", + "packages/peer-store": "12.0.0", + "packages/pnet": "3.0.0", + "packages/protocol-autonat": "3.0.0", + "packages/protocol-autonat-v2": "2.0.0", + "packages/protocol-dcutr": "3.0.0", + "packages/protocol-echo": "3.0.0", + "packages/protocol-fetch": "4.0.0", + "packages/protocol-identify": "4.0.0", + "packages/protocol-perf": "5.0.0", + "packages/protocol-ping": "3.0.0", + "packages/record": "4.0.8", + "packages/stream-multiplexer-mplex": "12.0.0", + "packages/stream-multiplexer-yamux": "8.0.0", + "packages/transport-circuit-relay-v2": "4.0.0", + "packages/transport-memory": "2.0.0", + "packages/transport-tcp": "11.0.0", + "packages/transport-webrtc": "6.0.0", + "packages/transport-websockets": "10.0.0", + "packages/transport-webtransport": "6.0.0", + "packages/upnp-nat": "4.0.0", + "packages/utils": "7.0.0", + "packages/integration-tests": "1.0.0", + "packages/connection-encrypter-noise": "1.0.0", + "interop": "1.0.0" } diff --git a/interop/CHANGELOG.md b/interop/CHANGELOG.md new file mode 100644 index 0000000000..6133c77d35 --- /dev/null +++ b/interop/CHANGELOG.md @@ -0,0 +1,63 @@ +# Changelog + +## 1.0.0 (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` +* The `discoverRelays` option has been removed, instead add one or more instances of `"/p2p-circuit"` to the libp2p config under the `addresses.listen` key +* the `connectionEncryption` option has been renamed `connectionEncrypters` +* - `@libp2p/peer-id-factory` has been removed, use `generateKeyPair` and `peerIdFromPrivateKey` instead +* the autodialer has been removed as well as the corresponding config keys + +### Features + +* select muxer early ([#3026](https://github.com/libp2p/js-libp2p/issues/3026)) ([c4b6a37](https://github.com/libp2p/js-libp2p/commit/c4b6a37173bbf4bfd127bdc524c2c00a1a9749e6)) +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) +* WebRTC-Direct support for Node.js ([#2583](https://github.com/libp2p/js-libp2p/issues/2583)) ([200c2bd](https://github.com/libp2p/js-libp2p/commit/200c2bd22e4db2e74c4533c12bc52085ecf7296b)) + + +### Bug Fixes + +* make circuit relay listen on addresses like other transports ([#2776](https://github.com/libp2p/js-libp2p/issues/2776)) ([3244ed0](https://github.com/libp2p/js-libp2p/commit/3244ed08625516b25716485c936c26a34b69466a)) +* remove autodialer ([#2639](https://github.com/libp2p/js-libp2p/issues/2639)) ([ab90179](https://github.com/libp2p/js-libp2p/commit/ab901790810d8ce59724af1706c9a9e74341b8ee)) +* remove deprecated multihashes library ([#2522](https://github.com/libp2p/js-libp2p/issues/2522)) ([e9b6a24](https://github.com/libp2p/js-libp2p/commit/e9b6a242ac8b485f5fe9c33710e100c660c308aa)) +* remove patches for gossipsub, noise and the daemon modules ([#2694](https://github.com/libp2p/js-libp2p/issues/2694)) ([7cd9845](https://github.com/libp2p/js-libp2p/commit/7cd984569dbf0046861ec84e8e030ef62725fd14)) +* remove private key field from peer id ([#2660](https://github.com/libp2p/js-libp2p/issues/2660)) ([3eeb0c7](https://github.com/libp2p/js-libp2p/commit/3eeb0c705bd58285a6e1ec9fcbb6987c5959d504)), closes [#2659](https://github.com/libp2p/js-libp2p/issues/2659) +* remove ws filters ([#2983](https://github.com/libp2p/js-libp2p/issues/2983)) ([2b49a5f](https://github.com/libp2p/js-libp2p/commit/2b49a5f74e8c79d571396e8a6a70f904b73763f2)) +* rename connectionEncryption option to connectionEncrypters ([#2691](https://github.com/libp2p/js-libp2p/issues/2691)) ([6d72709](https://github.com/libp2p/js-libp2p/commit/6d72709ba5959388777610e2f71b8ba9522139b6)) +* update multiaddr ([#3184](https://github.com/libp2p/js-libp2p/issues/3184)) ([6c42ea6](https://github.com/libp2p/js-libp2p/commit/6c42ea64a6e22028a87ecb3422e418e99ff09279)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Documentation + +* add spellcheck to gh actions ([#2994](https://github.com/libp2p/js-libp2p/issues/2994)) ([5b084e9](https://github.com/libp2p/js-libp2p/commit/5b084e9682a572e82f7907714d7807b3b9856326)) +* fix broken links ([#3282](https://github.com/libp2p/js-libp2p/issues/3282)) ([71b4c41](https://github.com/libp2p/js-libp2p/commit/71b4c41e5990db2b65067663120b14de1ad72f9d)) +* remove mplex from docs ([b6681bd](https://github.com/libp2p/js-libp2p/commit/b6681bd2505ac2749192042c3f16b14a88a8656d)) +* update spell check ([#2999](https://github.com/libp2p/js-libp2p/issues/2999)) ([6f8cfea](https://github.com/libp2p/js-libp2p/commit/6f8cfeafb2f6ddc231a85ca369fb33cf759940f7)) +* update typedoc config ([#3146](https://github.com/libp2p/js-libp2p/issues/3146)) ([14dbebe](https://github.com/libp2p/js-libp2p/commit/14dbebea8bd17addadac730afec0fa3b1cc6334a)) + + +### Dependencies + +* bump aegir from 43.0.3 to 44.0.1 ([#2603](https://github.com/libp2p/js-libp2p/issues/2603)) ([944935f](https://github.com/libp2p/js-libp2p/commit/944935f8dbcc1083e4cb4a02b49a0aab3083d3d9)) +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* update aegir, fix all linting issues ([#3110](https://github.com/libp2p/js-libp2p/issues/3110)) ([510b033](https://github.com/libp2p/js-libp2p/commit/510b033f6b15358c7fae21486c3b09e730aa26cd)) +* The following workspace dependencies were updated + * devDependencies + * @libp2p/noise bumped from ^16.1.3 to ^1.0.0 + * @libp2p/yamux bumped from ^7.0.1 to ^8.0.0 + * @libp2p/circuit-relay-v2 bumped from ^3.2.24 to ^4.0.0 + * @libp2p/identify bumped from ^3.0.39 to ^4.0.0 + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/mplex bumped from ^11.0.47 to ^12.0.0 + * @libp2p/ping bumped from ^2.0.37 to ^3.0.0 + * @libp2p/tcp bumped from ^10.1.19 to ^11.0.0 + * @libp2p/tls bumped from ^2.2.7 to ^3.0.0 + * @libp2p/webrtc bumped from ^5.2.24 to ^6.0.0 + * @libp2p/websockets bumped from ^9.2.19 to ^10.0.0 + * @libp2p/webtransport bumped from ^5.0.51 to ^6.0.0 + * libp2p bumped from ^2.10.0 to ^3.0.0 diff --git a/interop/package.json b/interop/package.json index 658e9c7b39..d06bc3eeb8 100644 --- a/interop/package.json +++ b/interop/package.json @@ -11,21 +11,21 @@ "dep-check": "aegir dep-check" }, "devDependencies": { - "@libp2p/noise": "^16.1.3", - "@libp2p/yamux": "^7.0.1", - "@libp2p/circuit-relay-v2": "^3.2.24", - "@libp2p/identify": "^3.0.39", - "@libp2p/interface": "^2.11.0", - "@libp2p/mplex": "^11.0.47", - "@libp2p/ping": "^2.0.37", - "@libp2p/tcp": "^10.1.19", - "@libp2p/tls": "^2.2.7", - "@libp2p/webrtc": "^5.2.24", - "@libp2p/websockets": "^9.2.19", - "@libp2p/webtransport": "^5.0.51", + "@libp2p/noise": "^1.0.0", + "@libp2p/yamux": "^8.0.0", + "@libp2p/circuit-relay-v2": "^4.0.0", + "@libp2p/identify": "^4.0.0", + "@libp2p/interface": "^3.0.0", + "@libp2p/mplex": "^12.0.0", + "@libp2p/ping": "^3.0.0", + "@libp2p/tcp": "^11.0.0", + "@libp2p/tls": "^3.0.0", + "@libp2p/webrtc": "^6.0.0", + "@libp2p/websockets": "^10.0.0", + "@libp2p/webtransport": "^6.0.0", "@multiformats/multiaddr": "^13.0.1", "aegir": "^47.0.22", - "libp2p": "^2.10.0", + "libp2p": "^3.0.0", "p-event": "^6.0.1", "redis": "^4.7.1" } diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 8cc33fd17d..417cd63aec 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [1.1.15](https://github.com/libp2p/js-libp2p/compare/config-v1.1.14...config-v1.1.15) (2025-09-23) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* 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/keychain bumped from ^5.2.9 to ^6.0.0 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + ## [1.1.14](https://github.com/libp2p/js-libp2p/compare/config-v1.1.13...config-v1.1.14) (2025-08-19) diff --git a/packages/config/package.json b/packages/config/package.json index b0af093e62..3db525396f 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/config", - "version": "1.1.14", + "version": "1.1.15", "description": "Helper functions to make dealing with libp2p config easier", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/config#readme", @@ -39,10 +39,10 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/keychain": "^5.2.9", - "@libp2p/logger": "^5.2.0", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/keychain": "^6.0.0", + "@libp2p/logger": "^6.0.0", "interface-datastore": "^8.3.2" }, "devDependencies": { diff --git a/packages/connection-encrypter-noise/CHANGELOG.md b/packages/connection-encrypter-noise/CHANGELOG.md new file mode 100644 index 0000000000..87c4356e28 --- /dev/null +++ b/packages/connection-encrypter-noise/CHANGELOG.md @@ -0,0 +1,38 @@ +# Changelog + +## 1.0.0 (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* 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/peer-id bumped from ^5.1.9 to ^6.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + * devDependencies + * @libp2p/daemon-client bumped from ^9.0.8 to ^10.0.0 + * @libp2p/daemon-server bumped from ^8.0.6 to ^9.0.0 + * @libp2p/interface-compliance-tests bumped from ^6.5.0 to ^7.0.0 + * @libp2p/interop bumped from ^13.0.3 to ^14.0.0 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + * @libp2p/tcp bumped from ^10.1.19 to ^11.0.0 + * @libp2p/yamux bumped from ^7.0.1 to ^8.0.0 + * libp2p bumped from ^2.10.0 to ^3.0.0 diff --git a/packages/connection-encrypter-noise/package.json b/packages/connection-encrypter-noise/package.json index e4262bf813..f016098248 100644 --- a/packages/connection-encrypter-noise/package.json +++ b/packages/connection-encrypter-noise/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/noise", - "version": "16.1.4", + "version": "1.0.0", "description": "Noise libp2p handshake for js-libp2p", "author": "ChainSafe ", "license": "Apache-2.0 OR MIT", @@ -54,10 +54,10 @@ "dependencies": { "@chainsafe/as-chacha20poly1305": "^0.1.0", "@chainsafe/as-sha256": "^1.2.0", - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/utils": "^6.7.2", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/utils": "^7.0.0", "@noble/ciphers": "^1.3.0", "@noble/curves": "^1.9.7", "@noble/hashes": "^1.8.0", @@ -67,20 +67,20 @@ "wherearewe": "^2.0.1" }, "devDependencies": { - "@libp2p/daemon-client": "^9.0.8", - "@libp2p/daemon-server": "^8.0.6", - "@libp2p/interface-compliance-tests": "^6.5.0", - "@libp2p/interop": "^13.0.3", - "@libp2p/logger": "^5.2.0", - "@libp2p/tcp": "^10.1.19", - "@libp2p/yamux": "^7.0.1", + "@libp2p/daemon-client": "^10.0.0", + "@libp2p/daemon-server": "^9.0.0", + "@libp2p/interface-compliance-tests": "^7.0.0", + "@libp2p/interop": "^14.0.0", + "@libp2p/logger": "^6.0.0", + "@libp2p/tcp": "^11.0.0", + "@libp2p/yamux": "^8.0.0", "@multiformats/multiaddr": "^13.0.1", "@types/sinon": "^17.0.4", "aegir": "^47.0.22", "execa": "^9.6.0", "go-libp2p": "^1.6.0", "iso-random-stream": "^2.0.2", - "libp2p": "^2.10.0", + "libp2p": "^3.0.0", "mkdirp": "^3.0.1", "multiformats": "^13.4.0", "p-defer": "^4.0.1", diff --git a/packages/connection-encrypter-plaintext/CHANGELOG.md b/packages/connection-encrypter-plaintext/CHANGELOG.md index e99752b0da..a79caa1d9a 100644 --- a/packages/connection-encrypter-plaintext/CHANGELOG.md +++ b/packages/connection-encrypter-plaintext/CHANGELOG.md @@ -72,6 +72,35 @@ * devDependencies * @libp2p/interface-compliance-tests bumped from ^5.3.0 to ^5.3.1 +## [3.0.0](https://github.com/libp2p/js-libp2p/compare/plaintext-v2.0.29...plaintext-v3.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* 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/peer-id bumped from ^5.1.9 to ^6.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + * devDependencies + * @libp2p/crypto bumped from ^5.1.8 to ^5.1.9 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + ## [2.0.29](https://github.com/libp2p/js-libp2p/compare/plaintext-v2.0.28...plaintext-v2.0.29) (2025-08-19) diff --git a/packages/connection-encrypter-plaintext/package.json b/packages/connection-encrypter-plaintext/package.json index 05a12b962b..dab87da57b 100644 --- a/packages/connection-encrypter-plaintext/package.json +++ b/packages/connection-encrypter-plaintext/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/plaintext", - "version": "2.0.29", + "version": "3.0.0", "description": "An insecure connection encrypter", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/connection-encrypter-plaintext#readme", @@ -45,17 +45,17 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/utils": "^6.7.2", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/utils": "^7.0.0", "protons-runtime": "^5.6.0", "uint8arraylist": "^2.4.8", "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/logger": "^5.2.0", + "@libp2p/crypto": "^5.1.9", + "@libp2p/logger": "^6.0.0", "aegir": "^47.0.22", "protons": "^7.7.0", "sinon": "^21.0.0" diff --git a/packages/connection-encrypter-tls/CHANGELOG.md b/packages/connection-encrypter-tls/CHANGELOG.md index a967f9fe4c..750b26eca5 100644 --- a/packages/connection-encrypter-tls/CHANGELOG.md +++ b/packages/connection-encrypter-tls/CHANGELOG.md @@ -6,6 +6,34 @@ * devDependencies * @libp2p/interface-compliance-tests bumped from ^5.3.0 to ^5.3.1 +## [3.0.0](https://github.com/libp2p/js-libp2p/compare/tls-v2.2.7...tls-v3.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* 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/peer-id bumped from ^5.1.9 to ^6.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 + ## [2.2.7](https://github.com/libp2p/js-libp2p/compare/tls-v2.2.6...tls-v2.2.7) (2025-08-19) diff --git a/packages/connection-encrypter-tls/package.json b/packages/connection-encrypter-tls/package.json index a59ecc4609..58cb6d8c9d 100644 --- a/packages/connection-encrypter-tls/package.json +++ b/packages/connection-encrypter-tls/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/tls", - "version": "2.2.7", + "version": "3.0.0", "description": "A connection encrypter that uses TLS 1.3", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/connection-encrypter-tls#readme", @@ -41,10 +41,10 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/utils": "^6.7.2", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/utils": "^7.0.0", "@peculiar/asn1-schema": "^2.4.0", "@peculiar/asn1-x509": "^2.4.0", "@peculiar/webcrypto": "^1.5.0", @@ -56,7 +56,7 @@ "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", + "@libp2p/logger": "^6.0.0", "aegir": "^47.0.22", "protons": "^7.7.0", "sinon": "^21.0.0", diff --git a/packages/crypto/CHANGELOG.md b/packages/crypto/CHANGELOG.md index 1c2804fbe5..ee9282cb29 100644 --- a/packages/crypto/CHANGELOG.md +++ b/packages/crypto/CHANGELOG.md @@ -17,6 +17,20 @@ * dependencies * @libp2p/interface bumped from ^1.0.2 to ^1.1.0 +## [5.1.9](https://github.com/libp2p/js-libp2p/compare/crypto-v5.1.8...crypto-v5.1.9) (2025-09-23) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + ## [5.1.8](https://github.com/libp2p/js-libp2p/compare/crypto-v5.1.7...crypto-v5.1.8) (2025-08-19) diff --git a/packages/crypto/package.json b/packages/crypto/package.json index dc15264a67..5912d5b54e 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/crypto", - "version": "5.1.8", + "version": "5.1.9", "description": "Crypto primitives for libp2p", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/crypto#readme", @@ -85,7 +85,7 @@ "generate": "protons ./src/keys/keys.proto" }, "dependencies": { - "@libp2p/interface": "^2.11.0", + "@libp2p/interface": "^3.0.0", "@noble/curves": "^1.9.7", "@noble/hashes": "^1.8.0", "multiformats": "^13.4.0", diff --git a/packages/floodsub/CHANGELOG.md b/packages/floodsub/CHANGELOG.md index 735a482035..b63caa9a87 100644 --- a/packages/floodsub/CHANGELOG.md +++ b/packages/floodsub/CHANGELOG.md @@ -98,6 +98,31 @@ * devDependencies * @libp2p/interface-compliance-tests bumped from ^5.3.0 to ^5.3.1 +## [11.0.0](https://github.com/libp2p/js-libp2p/compare/floodsub-v10.1.46...floodsub-v11.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* the `@libp2p/pubsub` module has been removed + +### Bug Fixes + +* remove pubsub ([#3291](https://github.com/libp2p/js-libp2p/issues/3291)) ([9a9b11f](https://github.com/libp2p/js-libp2p/commit/9a9b11fd44cf91a67a85805882e210ab1bff7ef2)) + + +### Dependencies + +* 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-collections bumped from ^6.0.35 to ^7.0.0 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.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 + ## [10.1.46](https://github.com/libp2p/js-libp2p/compare/floodsub-v10.1.45...floodsub-v10.1.46) (2025-08-19) diff --git a/packages/floodsub/package.json b/packages/floodsub/package.json index 4e666458d5..dce2b4a324 100644 --- a/packages/floodsub/package.json +++ b/packages/floodsub/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/floodsub", - "version": "10.1.46", + "version": "11.0.0", "description": "libp2p-floodsub, also known as pubsub-flood or just dumbsub, this implementation of pubsub focused on delivering an API for Publish/Subscribe, but with no CastTree Forming (it just floods the network).", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/floodsub#readme", @@ -53,12 +53,12 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/peer-collections": "^6.0.35", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/utils": "^6.7.2", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/peer-collections": "^7.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/utils": "^7.0.0", "it-length-prefixed": "^10.0.1", "it-pipe": "^3.0.1", "it-pushable": "^3.2.3", @@ -71,7 +71,7 @@ "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", + "@libp2p/logger": "^6.0.0", "@multiformats/multiaddr": "^13.0.1", "@types/sinon": "^17.0.4", "aegir": "^47.0.22", diff --git a/packages/gossipsub/CHANGELOG.md b/packages/gossipsub/CHANGELOG.md new file mode 100644 index 0000000000..d66da229f8 --- /dev/null +++ b/packages/gossipsub/CHANGELOG.md @@ -0,0 +1,27 @@ +# Changelog + +## [15.0.0](https://github.com/libp2p/js-libp2p/compare/gossipsub-v14.1.1...gossipsub-v15.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* the `@libp2p/pubsub` module has been removed + +### Bug Fixes + +* remove pubsub ([#3291](https://github.com/libp2p/js-libp2p/issues/3291)) ([9a9b11f](https://github.com/libp2p/js-libp2p/commit/9a9b11fd44cf91a67a85805882e210ab1bff7ef2)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/crypto bumped from ^5.0.0 to ^5.1.9 + * @libp2p/interface bumped from ^2.0.0 to ^3.0.0 + * @libp2p/interface-internal bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-id bumped from ^5.0.0 to ^6.0.0 + * devDependencies + * @libp2p/floodsub bumped from ^10.0.0 to ^11.0.0 + * @libp2p/interface-compliance-tests bumped from ^6.0.0 to ^7.0.0 + * @libp2p/logger bumped from ^5.0.0 to ^6.0.0 + * @libp2p/peer-store bumped from ^11.0.0 to ^12.0.0 diff --git a/packages/gossipsub/package.json b/packages/gossipsub/package.json index 5b8dd8bf56..45f64e573f 100644 --- a/packages/gossipsub/package.json +++ b/packages/gossipsub/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/gossipsub", - "version": "14.1.1", + "version": "15.0.0", "description": "A typescript implementation of gossipsub", "files": [ "src", @@ -71,10 +71,10 @@ }, "homepage": "https://github.com/ChainSafe/js-libp2p-gossipsub#readme", "dependencies": { - "@libp2p/crypto": "^5.0.0", - "@libp2p/interface": "^2.0.0", - "@libp2p/interface-internal": "^2.0.0", - "@libp2p/peer-id": "^5.0.0", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/peer-id": "^6.0.0", "@libp2p/pubsub": "^10.0.0", "@multiformats/multiaddr": "^13.0.1", "denque": "^2.1.0", @@ -89,10 +89,10 @@ "devDependencies": { "@chainsafe/as-sha256": "^1.2.0", "@dapplion/benchmark": "^1.0.0", - "@libp2p/floodsub": "^10.0.0", - "@libp2p/interface-compliance-tests": "^6.0.0", - "@libp2p/logger": "^5.0.0", - "@libp2p/peer-store": "^11.0.0", + "@libp2p/floodsub": "^11.0.0", + "@libp2p/interface-compliance-tests": "^7.0.0", + "@libp2p/logger": "^6.0.0", + "@libp2p/peer-store": "^12.0.0", "@types/node": "^22.18.1", "@types/sinon": "^17.0.3", "abortable-iterator": "^5.1.0", diff --git a/packages/integration-tests/CHANGELOG.md b/packages/integration-tests/CHANGELOG.md new file mode 100644 index 0000000000..def7179266 --- /dev/null +++ b/packages/integration-tests/CHANGELOG.md @@ -0,0 +1,112 @@ +# Changelog + +## 1.0.0 (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* merge-options has been removed from `@libp2p/utils` +* the `@libp2p/pubsub` module 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 }` +* `@libp2p/kad-dht` now depends on `@libp2p/ping` - please configure this in your service map +* registered lookup functions now receive a Uint8Array identifier instead of a string +* The `discoverRelays` option has been removed, instead add one or more instances of `"/p2p-circuit"` to the libp2p config under the `addresses.listen` key +* the `connectionEncryption` option has been renamed `connectionEncrypters` +* - `@libp2p/peer-id-factory` has been removed, use `generateKeyPair` and `peerIdFromPrivateKey` instead +* the autodialer has been removed as well as the corresponding config keys +* The `.code` property has been removed from most errors, use `.name` instead +* * The `notifyOnTransient` property of `libp2p.register` has been renamed `notifyOnLimitedConnection` + +### Features + +* add reprovide ([#2785](https://github.com/libp2p/js-libp2p/issues/2785)) ([52b3b1a](https://github.com/libp2p/js-libp2p/commit/52b3b1a16e56f73de9a75e7f62d5c3b367d757d9)) +* check service dependencies on startup ([#2586](https://github.com/libp2p/js-libp2p/issues/2586)) ([d1f1c2b](https://github.com/libp2p/js-libp2p/commit/d1f1c2be78bd195f404e62627c2c9f545845e5f5)) +* select muxer early ([#3026](https://github.com/libp2p/js-libp2p/issues/3026)) ([c4b6a37](https://github.com/libp2p/js-libp2p/commit/c4b6a37173bbf4bfd127bdc524c2c00a1a9749e6)) +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) +* use `.name` property instead of `.code` for errors ([#2655](https://github.com/libp2p/js-libp2p/issues/2655)) ([0d20426](https://github.com/libp2p/js-libp2p/commit/0d20426fd5ea19b03345c70289bbd692e4348e1f)) +* WebRTC-Direct support for Node.js ([#2583](https://github.com/libp2p/js-libp2p/issues/2583)) ([200c2bd](https://github.com/libp2p/js-libp2p/commit/200c2bd22e4db2e74c4533c12bc52085ecf7296b)) + + +### Bug Fixes + +* accept Uint8Arrays as keys ([#2909](https://github.com/libp2p/js-libp2p/issues/2909)) ([b56d918](https://github.com/libp2p/js-libp2p/commit/b56d918848b22febde02171e90d2d04eb07203a4)) +* allow connection gater classes ([#3281](https://github.com/libp2p/js-libp2p/issues/3281)) ([e1aaf4e](https://github.com/libp2p/js-libp2p/commit/e1aaf4ed0e77b9b33e273f36681a24b403e22ca8)) +* allow overriding mss mode ([#2924](https://github.com/libp2p/js-libp2p/issues/2924)) ([4bbcfa7](https://github.com/libp2p/js-libp2p/commit/4bbcfa707bba45a028429061ce44dec3dd7add34)) +* close handshake datachannel after use ([#3076](https://github.com/libp2p/js-libp2p/issues/3076)) ([b9e32cc](https://github.com/libp2p/js-libp2p/commit/b9e32cc37b3f45efc512e0f868cd7df1dbf1aef3)) +* deduplicate typed event target ([#3170](https://github.com/libp2p/js-libp2p/issues/3170)) ([cc7b34c](https://github.com/libp2p/js-libp2p/commit/cc7b34c0fe3ac5745fd082ae0198b8742371a412)) +* do not close relay connection after WebRTC upgrade ([#3205](https://github.com/libp2p/js-libp2p/issues/3205)) ([cfe2be4](https://github.com/libp2p/js-libp2p/commit/cfe2be4c9319b68f8e68df8021b9ee3c1a7236fd)) +* emit 'listening' when relays change ([#2758](https://github.com/libp2p/js-libp2p/issues/2758)) ([0d326d1](https://github.com/libp2p/js-libp2p/commit/0d326d102e4f6bf06c6f3e961a3b6b5844486495)) +* ensure that the upgrader applies timeouts to incoming dials ([#3000](https://github.com/libp2p/js-libp2p/issues/3000)) ([90cca82](https://github.com/libp2p/js-libp2p/commit/90cca822b4cb112fc71bf9ad954023de685a9040)) +* handle more circuit relay refresh failures ([#2764](https://github.com/libp2p/js-libp2p/issues/2764)) ([5d199f9](https://github.com/libp2p/js-libp2p/commit/5d199f9b6ebe1cfd6f83051457b0ea62b0e86d91)) +* improve error message when starting server ([#3008](https://github.com/libp2p/js-libp2p/issues/3008)) ([ab1bb86](https://github.com/libp2p/js-libp2p/commit/ab1bb862f3c22059c8d3c7f750ceab0755a0a0f2)) +* make circuit relay listen on addresses like other transports ([#2776](https://github.com/libp2p/js-libp2p/issues/2776)) ([3244ed0](https://github.com/libp2p/js-libp2p/commit/3244ed08625516b25716485c936c26a34b69466a)) +* maximum call stack size with duplicate webrtc addresses ([#2980](https://github.com/libp2p/js-libp2p/issues/2980)) ([d98cc46](https://github.com/libp2p/js-libp2p/commit/d98cc46e4c9557c0eeb6caf528b9b97261d1d165)) +* only close stream if it is open ([#2823](https://github.com/libp2p/js-libp2p/issues/2823)) ([3098232](https://github.com/libp2p/js-libp2p/commit/30982327b3924614d1fb552fd42b7b8f5a7419cd)) +* refactor connection opening and closing ([#2735](https://github.com/libp2p/js-libp2p/issues/2735)) ([24fa1d5](https://github.com/libp2p/js-libp2p/commit/24fa1d5af3be19f60f31261e8e0242c1747da0b2)) +* remove autodialer ([#2639](https://github.com/libp2p/js-libp2p/issues/2639)) ([ab90179](https://github.com/libp2p/js-libp2p/commit/ab901790810d8ce59724af1706c9a9e74341b8ee)) +* remove deprecated code ([#3271](https://github.com/libp2p/js-libp2p/issues/3271)) ([6332556](https://github.com/libp2p/js-libp2p/commit/633255644eefb6bf9f739123b9cbd002c3d5a351)) +* remove merge-options ([#3294](https://github.com/libp2p/js-libp2p/issues/3294)) ([dc01b32](https://github.com/libp2p/js-libp2p/commit/dc01b3278f021c944594644629fbd449514aee35)) +* remove patches for gossipsub, noise and the daemon modules ([#2694](https://github.com/libp2p/js-libp2p/issues/2694)) ([7cd9845](https://github.com/libp2p/js-libp2p/commit/7cd984569dbf0046861ec84e8e030ef62725fd14)) +* remove private key field from peer id ([#2660](https://github.com/libp2p/js-libp2p/issues/2660)) ([3eeb0c7](https://github.com/libp2p/js-libp2p/commit/3eeb0c705bd58285a6e1ec9fcbb6987c5959d504)), closes [#2659](https://github.com/libp2p/js-libp2p/issues/2659) +* remove pubsub ([#3291](https://github.com/libp2p/js-libp2p/issues/3291)) ([9a9b11f](https://github.com/libp2p/js-libp2p/commit/9a9b11fd44cf91a67a85805882e210ab1bff7ef2)) +* remove ws filters ([#2983](https://github.com/libp2p/js-libp2p/issues/2983)) ([2b49a5f](https://github.com/libp2p/js-libp2p/commit/2b49a5f74e8c79d571396e8a6a70f904b73763f2)) +* rename "transient" connections to "limited" ([#2645](https://github.com/libp2p/js-libp2p/issues/2645)) ([2988602](https://github.com/libp2p/js-libp2p/commit/29886022eddc8a793217b2c888beac8aef63f1be)), closes [#2622](https://github.com/libp2p/js-libp2p/issues/2622) +* rename connectionEncryption option to connectionEncrypters ([#2691](https://github.com/libp2p/js-libp2p/issues/2691)) ([6d72709](https://github.com/libp2p/js-libp2p/commit/6d72709ba5959388777610e2f71b8ba9522139b6)) +* require external confirmation of public addresses ([#2867](https://github.com/libp2p/js-libp2p/issues/2867)) ([d19974d](https://github.com/libp2p/js-libp2p/commit/d19974d93a1015acfca95c2155dbcffc5fd6a6c0)) +* send raw plaintext public key during handshake ([#2599](https://github.com/libp2p/js-libp2p/issues/2599)) ([359265a](https://github.com/libp2p/js-libp2p/commit/359265a3a842698b5bdf93c6be64e3bcfee745bf)) +* update multiaddr ([#3184](https://github.com/libp2p/js-libp2p/issues/3184)) ([6c42ea6](https://github.com/libp2p/js-libp2p/commit/6c42ea64a6e22028a87ecb3422e418e99ff09279)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) +* use libp2p ping instad of kad ping ([#3074](https://github.com/libp2p/js-libp2p/issues/3074)) ([4f37aff](https://github.com/libp2p/js-libp2p/commit/4f37aff532282db1b9a544161e3becc4533ae402)) + + +### Documentation + +* add spellcheck to gh actions ([#2994](https://github.com/libp2p/js-libp2p/issues/2994)) ([5b084e9](https://github.com/libp2p/js-libp2p/commit/5b084e9682a572e82f7907714d7807b3b9856326)) +* update spell check ([#2999](https://github.com/libp2p/js-libp2p/issues/2999)) ([6f8cfea](https://github.com/libp2p/js-libp2p/commit/6f8cfeafb2f6ddc231a85ca369fb33cf759940f7)) +* update typedoc config ([#3146](https://github.com/libp2p/js-libp2p/issues/3146)) ([14dbebe](https://github.com/libp2p/js-libp2p/commit/14dbebea8bd17addadac730afec0fa3b1cc6334a)) + + +### Dependencies + +* bump aegir from 43.0.3 to 44.0.1 ([#2603](https://github.com/libp2p/js-libp2p/issues/2603)) ([944935f](https://github.com/libp2p/js-libp2p/commit/944935f8dbcc1083e4cb4a02b49a0aab3083d3d9)) +* bump sinon from 19.0.5 to 20.0.0 ([#3112](https://github.com/libp2p/js-libp2p/issues/3112)) ([d1ce677](https://github.com/libp2p/js-libp2p/commit/d1ce6774d8f7c338f15a05f80d09e361d21e7586)) +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* update @multiformats/multiaddr-matcher dep to 2.x.x ([#3208](https://github.com/libp2p/js-libp2p/issues/3208)) ([57e7fa4](https://github.com/libp2p/js-libp2p/commit/57e7fa4413a0e19799b5917bad6743800c77e1f7)) +* update aegir, fix all linting issues ([#3110](https://github.com/libp2p/js-libp2p/issues/3110)) ([510b033](https://github.com/libp2p/js-libp2p/commit/510b033f6b15358c7fae21486c3b09e730aa26cd)) +* The following workspace dependencies were updated + * devDependencies + * @libp2p/gossipsub bumped from ^14.1.1 to ^15.0.0 + * @libp2p/bootstrap bumped from ^11.0.47 to ^12.0.0 + * @libp2p/circuit-relay-v2 bumped from ^3.2.24 to ^4.0.0 + * @libp2p/crypto bumped from ^5.1.8 to ^5.1.9 + * @libp2p/daemon-client bumped from ^9.0.8 to ^10.0.0 + * @libp2p/daemon-server bumped from ^8.0.6 to ^9.0.0 + * @libp2p/dcutr bumped from ^2.0.38 to ^3.0.0 + * @libp2p/echo bumped from ^2.1.28 to ^3.0.0 + * @libp2p/fetch bumped from ^3.0.22 to ^4.0.0 + * @libp2p/floodsub bumped from ^10.1.46 to ^11.0.0 + * @libp2p/identify bumped from ^3.0.39 to ^4.0.0 + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/interface-compliance-tests bumped from ^6.5.0 to ^7.0.0 + * @libp2p/interface-internal bumped from ^2.3.19 to ^3.0.0 + * @libp2p/interop bumped from ^13.0.3 to ^14.0.0 + * @libp2p/kad-dht bumped from ^15.1.11 to ^16.0.0 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + * @libp2p/mdns bumped from ^11.0.47 to ^12.0.0 + * @libp2p/memory bumped from ^1.1.14 to ^2.0.0 + * @libp2p/mplex bumped from ^11.0.47 to ^12.0.0 + * @libp2p/noise bumped from ^16.1.3 to ^1.0.0 + * @libp2p/peer-collections bumped from ^6.0.35 to ^7.0.0 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + * @libp2p/ping bumped from ^2.0.37 to ^3.0.0 + * @libp2p/plaintext bumped from ^2.0.29 to ^3.0.0 + * @libp2p/tcp bumped from ^10.1.19 to ^11.0.0 + * @libp2p/tls bumped from ^2.2.7 to ^3.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + * @libp2p/webrtc bumped from ^5.2.24 to ^6.0.0 + * @libp2p/websockets bumped from ^9.2.19 to ^10.0.0 + * @libp2p/webtransport bumped from ^5.0.51 to ^6.0.0 + * @libp2p/yamux bumped from ^7.0.1 to ^8.0.0 + * libp2p bumped from ^2.10.0 to ^3.0.0 diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json index c38837a52b..079e79a1b0 100644 --- a/packages/integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/integration-tests", - "version": "0.0.0", + "version": "1.0.0", "description": "libp2p integration tests", "license": "Apache-2.0 OR MIT", "type": "module", @@ -18,38 +18,38 @@ "dep-check": "aegir dep-check" }, "devDependencies": { - "@libp2p/gossipsub": "^14.1.1", - "@libp2p/bootstrap": "^11.0.47", - "@libp2p/circuit-relay-v2": "^3.2.24", - "@libp2p/crypto": "^5.1.8", - "@libp2p/daemon-client": "^9.0.8", - "@libp2p/daemon-server": "^8.0.6", - "@libp2p/dcutr": "^2.0.38", - "@libp2p/echo": "^2.1.28", - "@libp2p/fetch": "^3.0.22", - "@libp2p/floodsub": "^10.1.46", - "@libp2p/identify": "^3.0.39", - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-compliance-tests": "^6.5.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/interop": "^13.0.3", - "@libp2p/kad-dht": "^15.1.11", - "@libp2p/logger": "^5.2.0", - "@libp2p/mdns": "^11.0.47", - "@libp2p/memory": "^1.1.14", - "@libp2p/mplex": "^11.0.47", - "@libp2p/noise": "^16.1.3", - "@libp2p/peer-collections": "^6.0.35", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/ping": "^2.0.37", - "@libp2p/plaintext": "^2.0.29", - "@libp2p/tcp": "^10.1.19", - "@libp2p/tls": "^2.2.7", - "@libp2p/utils": "^6.7.2", - "@libp2p/webrtc": "^5.2.24", - "@libp2p/websockets": "^9.2.19", - "@libp2p/webtransport": "^5.0.51", - "@libp2p/yamux": "^7.0.1", + "@libp2p/gossipsub": "^15.0.0", + "@libp2p/bootstrap": "^12.0.0", + "@libp2p/circuit-relay-v2": "^4.0.0", + "@libp2p/crypto": "^5.1.9", + "@libp2p/daemon-client": "^10.0.0", + "@libp2p/daemon-server": "^9.0.0", + "@libp2p/dcutr": "^3.0.0", + "@libp2p/echo": "^3.0.0", + "@libp2p/fetch": "^4.0.0", + "@libp2p/floodsub": "^11.0.0", + "@libp2p/identify": "^4.0.0", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-compliance-tests": "^7.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/interop": "^14.0.0", + "@libp2p/kad-dht": "^16.0.0", + "@libp2p/logger": "^6.0.0", + "@libp2p/mdns": "^12.0.0", + "@libp2p/memory": "^2.0.0", + "@libp2p/mplex": "^12.0.0", + "@libp2p/noise": "^1.0.0", + "@libp2p/peer-collections": "^7.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/ping": "^3.0.0", + "@libp2p/plaintext": "^3.0.0", + "@libp2p/tcp": "^11.0.0", + "@libp2p/tls": "^3.0.0", + "@libp2p/utils": "^7.0.0", + "@libp2p/webrtc": "^6.0.0", + "@libp2p/websockets": "^10.0.0", + "@libp2p/webtransport": "^6.0.0", + "@libp2p/yamux": "^8.0.0", "@multiformats/dns": "^1.0.6", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", @@ -58,7 +58,7 @@ "detect-browser": "^5.3.0", "execa": "^9.6.0", "go-libp2p": "^1.6.0", - "libp2p": "^2.10.0", + "libp2p": "^3.0.0", "main-event": "^1.0.1", "multiformats": "^13.4.0", "p-defer": "^4.0.1", diff --git a/packages/interface-compliance-tests/CHANGELOG.md b/packages/interface-compliance-tests/CHANGELOG.md index ab6efb7b61..a98df78a47 100644 --- a/packages/interface-compliance-tests/CHANGELOG.md +++ b/packages/interface-compliance-tests/CHANGELOG.md @@ -75,6 +75,40 @@ * dependencies * @libp2p/utils bumped from ^5.2.4 to ^5.2.5 +## [7.0.0](https://github.com/libp2p/js-libp2p/compare/interface-compliance-tests-v6.5.0...interface-compliance-tests-v7.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* 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 + ## [6.5.0](https://github.com/libp2p/js-libp2p/compare/interface-compliance-tests-v6.4.16...interface-compliance-tests-v6.5.0) (2025-08-19) diff --git a/packages/interface-compliance-tests/package.json b/packages/interface-compliance-tests/package.json index 68e557b5aa..82c07e5e8c 100644 --- a/packages/interface-compliance-tests/package.json +++ b/packages/interface-compliance-tests/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/interface-compliance-tests", - "version": "6.5.0", + "version": "7.0.0", "description": "Compliance tests for JS libp2p interfaces", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/interface-compliance-tests#readme", @@ -81,15 +81,15 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/echo": "^2.1.28", - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/logger": "^5.2.0", - "@libp2p/memory": "^1.1.14", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/plaintext": "^2.0.29", - "@libp2p/utils": "^6.7.2", + "@libp2p/crypto": "^5.1.9", + "@libp2p/echo": "^3.0.0", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/logger": "^6.0.0", + "@libp2p/memory": "^2.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/plaintext": "^3.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", "aegir": "^47.0.22", @@ -99,7 +99,7 @@ "it-map": "^3.1.4", "it-pushable": "^3.2.3", "it-to-buffer": "^4.0.10", - "libp2p": "^2.10.0", + "libp2p": "^3.0.0", "p-defer": "^4.0.1", "p-event": "^6.0.1", "p-retry": "^7.0.0", diff --git a/packages/interface-internal/CHANGELOG.md b/packages/interface-internal/CHANGELOG.md index 0e1de3272f..9662370c40 100644 --- a/packages/interface-internal/CHANGELOG.md +++ b/packages/interface-internal/CHANGELOG.md @@ -32,6 +32,34 @@ * dependencies * @libp2p/peer-collections bumped from ^5.1.3 to ^5.1.4 +## [3.0.0](https://github.com/libp2p/js-libp2p/compare/interface-internal-v2.3.19...interface-internal-v3.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 }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* remove deprecated code ([#3271](https://github.com/libp2p/js-libp2p/issues/3271)) ([6332556](https://github.com/libp2p/js-libp2p/commit/633255644eefb6bf9f739123b9cbd002c3d5a351)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/peer-collections bumped from ^6.0.35 to ^7.0.0 + ## [2.3.19](https://github.com/libp2p/js-libp2p/compare/interface-internal-v2.3.18...interface-internal-v2.3.19) (2025-08-19) diff --git a/packages/interface-internal/package.json b/packages/interface-internal/package.json index 4e3232df96..5d84e8f3bd 100644 --- a/packages/interface-internal/package.json +++ b/packages/interface-internal/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/interface-internal", - "version": "2.3.19", + "version": "3.0.0", "description": "Interfaces implemented by internal libp2p components", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/interface-internal#readme", @@ -41,8 +41,8 @@ "build": "aegir build" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/peer-collections": "^6.0.35", + "@libp2p/interface": "^3.0.0", + "@libp2p/peer-collections": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "progress-events": "^1.0.1" }, diff --git a/packages/interface/CHANGELOG.md b/packages/interface/CHANGELOG.md index 276d1817fd..963e32c4ed 100644 --- a/packages/interface/CHANGELOG.md +++ b/packages/interface/CHANGELOG.md @@ -5,6 +5,37 @@ * add start/stop events to libp2p interface ([#407](https://github.com/libp2p/js-libp2p-interfaces/issues/407)) ([016c1e8](https://github.com/libp2p/js-libp2p-interfaces/commit/016c1e82b060c93c80546cd8c493ec6e6c97cbec)) +## [3.0.0](https://github.com/libp2p/js-libp2p/compare/interface-v2.11.0...interface-v3.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* the `@libp2p/pubsub` module 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 }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* remove deprecated code ([#3271](https://github.com/libp2p/js-libp2p/issues/3271)) ([6332556](https://github.com/libp2p/js-libp2p/commit/633255644eefb6bf9f739123b9cbd002c3d5a351)) +* remove pubsub ([#3291](https://github.com/libp2p/js-libp2p/issues/3291)) ([9a9b11f](https://github.com/libp2p/js-libp2p/commit/9a9b11fd44cf91a67a85805882e210ab1bff7ef2)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Documentation + +* fix broken links ([#3282](https://github.com/libp2p/js-libp2p/issues/3282)) ([71b4c41](https://github.com/libp2p/js-libp2p/commit/71b4c41e5990db2b65067663120b14de1ad72f9d)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) + ## [2.11.0](https://github.com/libp2p/js-libp2p/compare/interface-v2.10.5...interface-v2.11.0) (2025-08-19) diff --git a/packages/interface/package.json b/packages/interface/package.json index c09e106afb..fcca84b7fd 100644 --- a/packages/interface/package.json +++ b/packages/interface/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/interface", - "version": "2.11.0", + "version": "3.0.0", "description": "The interface implemented by a libp2p node", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/interface#readme", diff --git a/packages/interop/CHANGELOG.md b/packages/interop/CHANGELOG.md new file mode 100644 index 0000000000..09d1ed5006 --- /dev/null +++ b/packages/interop/CHANGELOG.md @@ -0,0 +1,28 @@ +# Changelog + +## [14.0.0](https://github.com/libp2p/js-libp2p/compare/interop-v13.0.3...interop-v14.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/daemon-client bumped from ^9.0.8 to ^10.0.0 + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 diff --git a/packages/interop/package.json b/packages/interop/package.json index 8f116e1acd..5a233b3862 100644 --- a/packages/interop/package.json +++ b/packages/interop/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/interop", - "version": "13.0.3", + "version": "14.0.0", "description": "Interoperability Tests for libp2p", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/interop#readme", @@ -42,9 +42,9 @@ "docs": "aegir docs" }, "dependencies": { - "@libp2p/daemon-client": "^9.0.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/utils": "^6.7.2", + "@libp2p/daemon-client": "^10.0.0", + "@libp2p/interface": "^3.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "delay": "^6.0.0", "it-all": "^3.0.9", diff --git a/packages/kad-dht/CHANGELOG.md b/packages/kad-dht/CHANGELOG.md index 57e8c4722b..b49b486a5a 100644 --- a/packages/kad-dht/CHANGELOG.md +++ b/packages/kad-dht/CHANGELOG.md @@ -106,6 +106,46 @@ * @libp2p/interface-compliance-tests bumped from ^5.3.0 to ^5.3.1 * @libp2p/peer-store bumped from ^10.0.9 to ^10.0.10 +## [16.0.0](https://github.com/libp2p/js-libp2p/compare/kad-dht-v15.1.11...kad-dht-v16.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Documentation + +* update kad-dht api docs link ([#3195](https://github.com/libp2p/js-libp2p/issues/3195)) ([0f07e3d](https://github.com/libp2p/js-libp2p/commit/0f07e3df5fab90558c816ae2e0051fbfc3aa6cf6)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* 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-collections bumped from ^6.0.35 to ^7.0.0 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + * @libp2p/ping bumped from ^2.0.37 to ^3.0.0 + * @libp2p/record bumped from ^4.0.7 to ^4.0.8 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + * devDependencies + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + * @libp2p/peer-store bumped from ^11.2.7 to ^12.0.0 + ## [15.1.11](https://github.com/libp2p/js-libp2p/compare/kad-dht-v15.1.10...kad-dht-v15.1.11) (2025-08-19) diff --git a/packages/kad-dht/package.json b/packages/kad-dht/package.json index ed477b7028..5915fd50b8 100644 --- a/packages/kad-dht/package.json +++ b/packages/kad-dht/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/kad-dht", - "version": "15.1.11", + "version": "16.0.0", "description": "JavaScript implementation of the Kad-DHT for libp2p", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/kad-dht#readme", @@ -47,14 +47,14 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/peer-collections": "^6.0.35", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/ping": "^2.0.37", - "@libp2p/record": "^4.0.7", - "@libp2p/utils": "^6.7.2", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/peer-collections": "^7.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/ping": "^3.0.0", + "@libp2p/record": "^4.0.8", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", "any-signal": "^4.1.1", @@ -80,8 +80,8 @@ "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", - "@libp2p/peer-store": "^11.2.7", + "@libp2p/logger": "^6.0.0", + "@libp2p/peer-store": "^12.0.0", "@types/lodash.random": "^3.2.9", "@types/lodash.range": "^3.2.9", "@types/sinon": "^17.0.4", diff --git a/packages/keychain/CHANGELOG.md b/packages/keychain/CHANGELOG.md index ce50ecdcad..f6e0f86656 100644 --- a/packages/keychain/CHANGELOG.md +++ b/packages/keychain/CHANGELOG.md @@ -47,6 +47,39 @@ * devDependencies * @libp2p/peer-id-factory bumped from ^4.0.3 to ^4.0.4 +## [6.0.0](https://github.com/libp2p/js-libp2p/compare/keychain-v5.2.9...keychain-v6.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* merge-options has been removed from `@libp2p/utils` +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* remove merge-options ([#3294](https://github.com/libp2p/js-libp2p/issues/3294)) ([dc01b32](https://github.com/libp2p/js-libp2p/commit/dc01b3278f021c944594644629fbd449514aee35)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Documentation + +* fix broken links ([#3282](https://github.com/libp2p/js-libp2p/issues/3282)) ([71b4c41](https://github.com/libp2p/js-libp2p/commit/71b4c41e5990db2b65067663120b14de1ad72f9d)) + + +### Dependencies + +* 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 + * devDependencies + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + ## [5.2.9](https://github.com/libp2p/js-libp2p/compare/keychain-v5.2.8...keychain-v5.2.9) (2025-08-19) diff --git a/packages/keychain/package.json b/packages/keychain/package.json index 6d7594099c..204430f5b7 100644 --- a/packages/keychain/package.json +++ b/packages/keychain/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/keychain", - "version": "5.2.9", + "version": "6.0.0", "description": "Key management and cryptographically protected messages", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/keychain#readme", @@ -52,8 +52,8 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", "@noble/hashes": "^1.8.0", "asn1js": "^3.0.6", "interface-datastore": "^8.3.2", @@ -62,7 +62,7 @@ "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", + "@libp2p/logger": "^6.0.0", "aegir": "^47.0.22", "datastore-core": "^10.0.4" }, diff --git a/packages/libp2p-daemon-client/CHANGELOG.md b/packages/libp2p-daemon-client/CHANGELOG.md index 160f72ca1a..b0bfc327ba 100644 --- a/packages/libp2p-daemon-client/CHANGELOG.md +++ b/packages/libp2p-daemon-client/CHANGELOG.md @@ -4,6 +4,42 @@ * update all deps ([#348](https://github.com/libp2p/js-libp2p-daemon/issues/348)) ([44bf148](https://github.com/libp2p/js-libp2p-daemon/commit/44bf148f37b9f4091dc8ed26cf343e196607ebbc)) +## [10.0.0](https://github.com/libp2p/js-libp2p/compare/daemon-client-v9.0.8...daemon-client-v10.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* the `@libp2p/pubsub` module has been removed +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* remove pubsub ([#3291](https://github.com/libp2p/js-libp2p/issues/3291)) ([9a9b11f](https://github.com/libp2p/js-libp2p/commit/9a9b11fd44cf91a67a85805882e210ab1bff7ef2)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/daemon-protocol bumped from ^7.0.6 to ^8.0.0 + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + * @libp2p/tcp bumped from ^10.1.19 to ^11.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + * devDependencies + * @libp2p/gossipsub bumped from ^14.1.1 to ^15.0.0 + * @libp2p/daemon-server bumped from ^8.0.6 to ^9.0.0 + * @libp2p/kad-dht bumped from ^15.1.11 to ^16.0.0 + ## [@libp2p/daemon-client-v9.0.7](https://github.com/libp2p/js-libp2p-daemon/compare/@libp2p/daemon-client-9.0.6...@libp2p/daemon-client-9.0.7) (2025-08-13) ### Dependencies diff --git a/packages/libp2p-daemon-client/package.json b/packages/libp2p-daemon-client/package.json index fa17e6fb8b..7358768c39 100644 --- a/packages/libp2p-daemon-client/package.json +++ b/packages/libp2p-daemon-client/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/daemon-client", - "version": "9.0.8", + "version": "10.0.0", "description": "libp2p-daemon client implementation", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/libp2p-daemon-client#readme", @@ -42,19 +42,19 @@ "test:node": "aegir test -t node" }, "dependencies": { - "@libp2p/daemon-protocol": "^7.0.6", - "@libp2p/interface": "^2.11.0", - "@libp2p/logger": "^5.2.0", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/tcp": "^10.1.19", - "@libp2p/utils": "^6.7.2", + "@libp2p/daemon-protocol": "^8.0.0", + "@libp2p/interface": "^3.0.0", + "@libp2p/logger": "^6.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/tcp": "^11.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "multiformats": "^13.4.0" }, "devDependencies": { - "@libp2p/gossipsub": "^14.1.1", - "@libp2p/daemon-server": "^8.0.6", - "@libp2p/kad-dht": "^15.1.11", + "@libp2p/gossipsub": "^15.0.0", + "@libp2p/daemon-server": "^9.0.0", + "@libp2p/kad-dht": "^16.0.0", "aegir": "^47.0.22", "it-all": "^3.0.9", "p-event": "^6.0.1", diff --git a/packages/libp2p-daemon-protocol/CHANGELOG.md b/packages/libp2p-daemon-protocol/CHANGELOG.md index 5a0b4ec4bb..9a280c3995 100644 --- a/packages/libp2p-daemon-protocol/CHANGELOG.md +++ b/packages/libp2p-daemon-protocol/CHANGELOG.md @@ -4,6 +4,29 @@ * bump aegir from 46.0.5 to 47.0.21 ([#343](https://github.com/libp2p/js-libp2p-daemon/issues/343)) ([704c22f](https://github.com/libp2p/js-libp2p-daemon/commit/704c22f102362c6036642a73979d262e1214baa5)) +## [8.0.0](https://github.com/libp2p/js-libp2p/compare/daemon-protocol-v7.0.6...daemon-protocol-v8.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + ## [@libp2p/daemon-protocol-v7.0.5](https://github.com/libp2p/js-libp2p-daemon/compare/@libp2p/daemon-protocol-7.0.4...@libp2p/daemon-protocol-7.0.5) (2025-05-19) ### Dependencies diff --git a/packages/libp2p-daemon-protocol/package.json b/packages/libp2p-daemon-protocol/package.json index de3373b7dc..3fb5b5e03b 100644 --- a/packages/libp2p-daemon-protocol/package.json +++ b/packages/libp2p-daemon-protocol/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/daemon-protocol", - "version": "7.0.6", + "version": "8.0.0", "description": "Communication protocol between libp2p daemons and clients", "author": "", "license": "Apache-2.0 OR MIT", @@ -62,7 +62,7 @@ "dep-check": "aegir dep-check" }, "dependencies": { - "@libp2p/interface": "^2.11.0", + "@libp2p/interface": "^3.0.0", "any-signal": "^4.1.1", "protons-runtime": "^5.6.0", "uint8arraylist": "^2.4.8" diff --git a/packages/libp2p-daemon-server/CHANGELOG.md b/packages/libp2p-daemon-server/CHANGELOG.md index e01e31e999..69b94dd7e8 100644 --- a/packages/libp2p-daemon-server/CHANGELOG.md +++ b/packages/libp2p-daemon-server/CHANGELOG.md @@ -4,6 +4,41 @@ * bump aegir from 46.0.5 to 47.0.21 ([#343](https://github.com/libp2p/js-libp2p-daemon/issues/343)) ([704c22f](https://github.com/libp2p/js-libp2p-daemon/commit/704c22f102362c6036642a73979d262e1214baa5)) +## [9.0.0](https://github.com/libp2p/js-libp2p/compare/daemon-server-v8.0.6...daemon-server-v9.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* the `@libp2p/pubsub` module has been removed +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* remove pubsub ([#3291](https://github.com/libp2p/js-libp2p/issues/3291)) ([9a9b11f](https://github.com/libp2p/js-libp2p/commit/9a9b11fd44cf91a67a85805882e210ab1bff7ef2)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/gossipsub bumped from ^14.1.1 to ^15.0.0 + * @libp2p/crypto bumped from ^5.1.8 to ^5.1.9 + * @libp2p/daemon-protocol bumped from ^7.0.6 to ^8.0.0 + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/kad-dht bumped from ^15.1.11 to ^16.0.0 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + * @libp2p/tcp bumped from ^10.1.19 to ^11.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + ## [@libp2p/daemon-server-v8.0.5](https://github.com/libp2p/js-libp2p-daemon/compare/@libp2p/daemon-server-8.0.4...@libp2p/daemon-server-8.0.5) (2025-05-19) ### Dependencies diff --git a/packages/libp2p-daemon-server/package.json b/packages/libp2p-daemon-server/package.json index 381095c3e9..454e4f9b4d 100644 --- a/packages/libp2p-daemon-server/package.json +++ b/packages/libp2p-daemon-server/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/daemon-server", - "version": "8.0.6", + "version": "9.0.0", "description": "API server for libp2p-daemon instances", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/libp2p-daemon-server#readme", @@ -42,15 +42,15 @@ "test:node": "aegir test -t node" }, "dependencies": { - "@libp2p/gossipsub": "^14.1.1", - "@libp2p/crypto": "^5.1.8", - "@libp2p/daemon-protocol": "^7.0.6", - "@libp2p/interface": "^2.11.0", - "@libp2p/kad-dht": "^15.1.11", - "@libp2p/logger": "^5.2.0", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/tcp": "^10.1.19", - "@libp2p/utils": "^6.7.2", + "@libp2p/gossipsub": "^15.0.0", + "@libp2p/crypto": "^5.1.9", + "@libp2p/daemon-protocol": "^8.0.0", + "@libp2p/interface": "^3.0.0", + "@libp2p/kad-dht": "^16.0.0", + "@libp2p/logger": "^6.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/tcp": "^11.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "it-drain": "^3.0.10", "it-length-prefixed": "^10.0.1", diff --git a/packages/libp2p-daemon/CHANGELOG.md b/packages/libp2p-daemon/CHANGELOG.md index fed2a15078..73fea35c83 100644 --- a/packages/libp2p-daemon/CHANGELOG.md +++ b/packages/libp2p-daemon/CHANGELOG.md @@ -4,6 +4,31 @@ * update all deps ([#348](https://github.com/libp2p/js-libp2p-daemon/issues/348)) ([44bf148](https://github.com/libp2p/js-libp2p-daemon/commit/44bf148f37b9f4091dc8ed26cf343e196607ebbc)) +## [6.0.0](https://github.com/libp2p/js-libp2p/compare/daemon-v5.0.4...daemon-v6.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/daemon-server bumped from ^8.0.6 to ^9.0.0 + ## [@libp2p/daemon-v5.0.3](https://github.com/libp2p/js-libp2p-daemon/compare/@libp2p/daemon-5.0.2...@libp2p/daemon-5.0.3) (2025-08-13) ### Dependencies diff --git a/packages/libp2p-daemon/package.json b/packages/libp2p-daemon/package.json index bbc29dfac4..86219b0673 100644 --- a/packages/libp2p-daemon/package.json +++ b/packages/libp2p-daemon/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/daemon", - "version": "5.0.4", + "version": "6.0.0", "description": "libp2p-daemon JavaScript implementation", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/libp2p-daemon#readme", @@ -44,7 +44,7 @@ "test:node": "aegir test -t node" }, "dependencies": { - "@libp2p/daemon-server": "^8.0.6", + "@libp2p/daemon-server": "^9.0.0", "@multiformats/multiaddr": "^13.0.1", "es-main": "^1.4.0", "yargs": "^18.0.0", diff --git a/packages/logger/CHANGELOG.md b/packages/logger/CHANGELOG.md index d538d08ebc..f76411044f 100644 --- a/packages/logger/CHANGELOG.md +++ b/packages/logger/CHANGELOG.md @@ -21,6 +21,33 @@ * devDependencies * @libp2p/peer-id bumped from ^4.0.2 to ^4.0.3 +## [6.0.0](https://github.com/libp2p/js-libp2p/compare/logger-v5.2.0...logger-v6.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * devDependencies + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + ## [5.2.0](https://github.com/libp2p/js-libp2p/compare/logger-v5.1.21...logger-v5.2.0) (2025-08-19) diff --git a/packages/logger/package.json b/packages/logger/package.json index 82d2eb9fc5..37b3944c76 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/logger", - "version": "5.2.0", + "version": "6.0.0", "description": "A logging component for use in js-libp2p modules", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/logger#readme", @@ -47,14 +47,14 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "^2.11.0", + "@libp2p/interface": "^3.0.0", "@multiformats/multiaddr": "^13.0.1", "interface-datastore": "^8.3.2", "multiformats": "^13.4.0", "weald": "^1.0.6" }, "devDependencies": { - "@libp2p/peer-id": "^5.1.9", + "@libp2p/peer-id": "^6.0.0", "aegir": "^47.0.22", "sinon": "^21.0.0", "uint8arrays": "^5.1.0" diff --git a/packages/metrics-opentelemetry/CHANGELOG.md b/packages/metrics-opentelemetry/CHANGELOG.md index d12d064d5d..89c6e91aba 100644 --- a/packages/metrics-opentelemetry/CHANGELOG.md +++ b/packages/metrics-opentelemetry/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## [2.0.0](https://github.com/libp2p/js-libp2p/compare/opentelemetry-metrics-v1.0.21...opentelemetry-metrics-v2.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.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 + ## [1.0.21](https://github.com/libp2p/js-libp2p/compare/opentelemetry-metrics-v1.0.20...opentelemetry-metrics-v1.0.21) (2025-08-19) diff --git a/packages/metrics-opentelemetry/package.json b/packages/metrics-opentelemetry/package.json index 0358179598..9642e80f4e 100644 --- a/packages/metrics-opentelemetry/package.json +++ b/packages/metrics-opentelemetry/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/opentelemetry-metrics", - "version": "1.0.21", + "version": "2.0.0", "description": "Opentelemetry metrics gathering for libp2p", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/metrics-opentelemetry#readme", @@ -40,12 +40,12 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/utils": "^7.0.0", "@opentelemetry/api": "^1.9.0" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", + "@libp2p/logger": "^6.0.0", "aegir": "^47.0.22" }, "browser": { diff --git a/packages/metrics-prometheus/CHANGELOG.md b/packages/metrics-prometheus/CHANGELOG.md index 4d777853d8..8f540912d2 100644 --- a/packages/metrics-prometheus/CHANGELOG.md +++ b/packages/metrics-prometheus/CHANGELOG.md @@ -81,6 +81,32 @@ * devDependencies * @libp2p/interface-compliance-tests bumped from ^5.3.0 to ^5.3.1 +## [5.0.0](https://github.com/libp2p/js-libp2p/compare/prometheus-metrics-v4.3.30...prometheus-metrics-v5.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * devDependencies + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + ## [4.3.30](https://github.com/libp2p/js-libp2p/compare/prometheus-metrics-v4.3.29...prometheus-metrics-v4.3.30) (2025-08-19) diff --git a/packages/metrics-prometheus/package.json b/packages/metrics-prometheus/package.json index fb4caf0708..687f3131ac 100644 --- a/packages/metrics-prometheus/package.json +++ b/packages/metrics-prometheus/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/prometheus-metrics", - "version": "4.3.30", + "version": "5.0.0", "description": "Collect libp2p metrics for scraping by Prometheus or Graphana", "author": "", "license": "Apache-2.0 OR MIT", @@ -41,12 +41,12 @@ "test:electron-main": "aegir test -t electron-main --cov" }, "dependencies": { - "@libp2p/interface": "^2.11.0", + "@libp2p/interface": "^3.0.0", "prom-client": "^15.1.3" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", - "@libp2p/utils": "^6.7.2", + "@libp2p/logger": "^6.0.0", + "@libp2p/utils": "^7.0.0", "aegir": "^47.0.22", "p-event": "^6.0.1" }, diff --git a/packages/metrics-simple/CHANGELOG.md b/packages/metrics-simple/CHANGELOG.md index 5746a7dfc7..48a43de6e7 100644 --- a/packages/metrics-simple/CHANGELOG.md +++ b/packages/metrics-simple/CHANGELOG.md @@ -5,6 +5,30 @@ * track stream metrics ([#2](https://github.com/libp2p/js-libp2p-simple-metrics/issues/2)) ([caafb3d](https://github.com/libp2p/js-libp2p-simple-metrics/commit/caafb3d103fd7df0a2a4e6b3e800f4bc9c35c58f)) +## [2.0.0](https://github.com/libp2p/js-libp2p/compare/simple-metrics-v1.3.16...simple-metrics-v2.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + ## [1.3.16](https://github.com/libp2p/js-libp2p/compare/simple-metrics-v1.3.15...simple-metrics-v1.3.16) (2025-08-19) diff --git a/packages/metrics-simple/package.json b/packages/metrics-simple/package.json index 12248baad9..f81bd48713 100644 --- a/packages/metrics-simple/package.json +++ b/packages/metrics-simple/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/simple-metrics", - "version": "1.3.16", + "version": "2.0.0", "description": "Simple in-memory metrics gathering for libp2p", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/metrics-simple#readme", @@ -42,8 +42,8 @@ "dep-check": "aegir dep-check -i events" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/logger": "^5.2.0", + "@libp2p/interface": "^3.0.0", + "@libp2p/logger": "^6.0.0", "tdigest": "^0.1.2" }, "devDependencies": { diff --git a/packages/multistream-select/CHANGELOG.md b/packages/multistream-select/CHANGELOG.md index cb6269877e..a03d98724a 100644 --- a/packages/multistream-select/CHANGELOG.md +++ b/packages/multistream-select/CHANGELOG.md @@ -19,6 +19,30 @@ * devDependencies * @libp2p/logger bumped from ^4.0.1 to ^4.0.2 +## [7.0.0](https://github.com/libp2p/js-libp2p/compare/multistream-select-v6.0.29...multistream-select-v7.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + ## [6.0.29](https://github.com/libp2p/js-libp2p/compare/multistream-select-v6.0.28...multistream-select-v6.0.29) (2025-08-19) diff --git a/packages/multistream-select/package.json b/packages/multistream-select/package.json index 46eae4f9cf..3a321f7008 100644 --- a/packages/multistream-select/package.json +++ b/packages/multistream-select/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/multistream-select", - "version": "6.0.29", + "version": "7.0.0", "description": "JavaScript implementation of multistream-select", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/multistream-select#readme", @@ -51,8 +51,8 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/utils": "^7.0.0", "it-length-prefixed": "^10.0.1", "uint8arraylist": "^2.4.8", "uint8arrays": "^5.1.0" diff --git a/packages/peer-collections/CHANGELOG.md b/packages/peer-collections/CHANGELOG.md index 0f44d96fc2..2094e90de9 100644 --- a/packages/peer-collections/CHANGELOG.md +++ b/packages/peer-collections/CHANGELOG.md @@ -35,6 +35,33 @@ * devDependencies * @libp2p/peer-id-factory bumped from ^4.0.3 to ^4.0.4 +## [7.0.0](https://github.com/libp2p/js-libp2p/compare/peer-collections-v6.0.35...peer-collections-v7.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + * devDependencies + * @libp2p/crypto bumped from ^5.1.8 to ^5.1.9 + ## [6.0.35](https://github.com/libp2p/js-libp2p/compare/peer-collections-v6.0.34...peer-collections-v6.0.35) (2025-08-19) diff --git a/packages/peer-collections/package.json b/packages/peer-collections/package.json index fdbcef9b71..18171cbd76 100644 --- a/packages/peer-collections/package.json +++ b/packages/peer-collections/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/peer-collections", - "version": "6.0.35", + "version": "7.0.0", "description": "Stores values against a peer id", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/peer-collections#readme", @@ -47,13 +47,13 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/utils": "^7.0.0", "multiformats": "^13.4.0" }, "devDependencies": { - "@libp2p/crypto": "^5.1.8", + "@libp2p/crypto": "^5.1.9", "@types/sinon": "^17.0.4", "aegir": "^47.0.22", "sinon": "^21.0.0", diff --git a/packages/peer-discovery-bootstrap/CHANGELOG.md b/packages/peer-discovery-bootstrap/CHANGELOG.md index d62e74b1b4..b8d6f1da26 100644 --- a/packages/peer-discovery-bootstrap/CHANGELOG.md +++ b/packages/peer-discovery-bootstrap/CHANGELOG.md @@ -83,6 +83,30 @@ * devDependencies * @libp2p/interface-compliance-tests bumped from ^5.3.0 to ^5.3.1 +## [12.0.0](https://github.com/libp2p/js-libp2p/compare/bootstrap-v11.0.47...bootstrap-v12.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @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 + * devDependencies + * @libp2p/interface-compliance-tests bumped from ^6.5.0 to ^7.0.0 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + ## [11.0.47](https://github.com/libp2p/js-libp2p/compare/bootstrap-v11.0.46...bootstrap-v11.0.47) (2025-08-19) diff --git a/packages/peer-discovery-bootstrap/package.json b/packages/peer-discovery-bootstrap/package.json index ca68692c51..ea340d65a0 100644 --- a/packages/peer-discovery-bootstrap/package.json +++ b/packages/peer-discovery-bootstrap/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/bootstrap", - "version": "11.0.47", + "version": "12.0.0", "description": "Peer discovery via a list of bootstrap peers", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/peer-discovery-bootstrap#readme", @@ -47,16 +47,16 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/peer-id": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/peer-id": "^6.0.0", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", "main-event": "^1.0.1" }, "devDependencies": { - "@libp2p/interface-compliance-tests": "^6.5.0", - "@libp2p/logger": "^5.2.0", + "@libp2p/interface-compliance-tests": "^7.0.0", + "@libp2p/logger": "^6.0.0", "aegir": "^47.0.22", "sinon-ts": "^2.0.0" }, diff --git a/packages/peer-discovery-mdns/CHANGELOG.md b/packages/peer-discovery-mdns/CHANGELOG.md index 52547a82dc..f29c492e3a 100644 --- a/packages/peer-discovery-mdns/CHANGELOG.md +++ b/packages/peer-discovery-mdns/CHANGELOG.md @@ -105,6 +105,38 @@ * devDependencies * @libp2p/interface-compliance-tests bumped from ^5.3.0 to ^5.3.1 +## [12.0.0](https://github.com/libp2p/js-libp2p/compare/mdns-v11.0.47...mdns-v12.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @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/utils bumped from ^6.7.2 to ^7.0.0 + * devDependencies + * @libp2p/crypto bumped from ^5.1.8 to ^5.1.9 + * @libp2p/interface-compliance-tests bumped from ^6.5.0 to ^7.0.0 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + ## [11.0.47](https://github.com/libp2p/js-libp2p/compare/mdns-v11.0.46...mdns-v11.0.47) (2025-08-19) diff --git a/packages/peer-discovery-mdns/package.json b/packages/peer-discovery-mdns/package.json index 362c43c096..5474e9ebca 100644 --- a/packages/peer-discovery-mdns/package.json +++ b/packages/peer-discovery-mdns/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/mdns", - "version": "11.0.47", + "version": "12.0.0", "description": "Node.js libp2p mDNS discovery implementation for peer discovery", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/peer-discovery-mdns#readme", @@ -43,10 +43,10 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "@types/multicast-dns": "^7.2.4", "dns-packet": "^5.6.1", @@ -54,9 +54,9 @@ "multicast-dns": "^7.2.5" }, "devDependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface-compliance-tests": "^6.5.0", - "@libp2p/logger": "^5.2.0", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface-compliance-tests": "^7.0.0", + "@libp2p/logger": "^6.0.0", "aegir": "^47.0.22", "p-event": "^6.0.1", "p-wait-for": "^5.0.2", diff --git a/packages/peer-id/CHANGELOG.md b/packages/peer-id/CHANGELOG.md index 4d3e2b5d71..e2dd34d7e2 100644 --- a/packages/peer-id/CHANGELOG.md +++ b/packages/peer-id/CHANGELOG.md @@ -11,6 +11,30 @@ * dependencies * @libp2p/interface bumped from ^1.0.1 to ^1.0.2 +## [6.0.0](https://github.com/libp2p/js-libp2p/compare/peer-id-v5.1.9...peer-id-v6.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* 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 + ## [5.1.9](https://github.com/libp2p/js-libp2p/compare/peer-id-v5.1.8...peer-id-v5.1.9) (2025-08-19) diff --git a/packages/peer-id/package.json b/packages/peer-id/package.json index daa2ae1baf..4d019815a8 100644 --- a/packages/peer-id/package.json +++ b/packages/peer-id/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/peer-id", - "version": "5.1.9", + "version": "6.0.0", "description": "Implementation of @libp2p/interface-peer-id", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/peer-id#readme", @@ -47,8 +47,8 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", "multiformats": "^13.4.0", "uint8arrays": "^5.1.0" }, diff --git a/packages/peer-record/CHANGELOG.md b/packages/peer-record/CHANGELOG.md index 192dcaba25..6d27d38d7a 100644 --- a/packages/peer-record/CHANGELOG.md +++ b/packages/peer-record/CHANGELOG.md @@ -60,6 +60,38 @@ * dependencies * @libp2p/utils bumped from ^5.2.4 to ^5.2.5 +## [9.0.0](https://github.com/libp2p/js-libp2p/compare/peer-record-v8.0.35...peer-record-v9.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Documentation + +* update dead link to record interface source ([#3066](https://github.com/libp2p/js-libp2p/issues/3066)) ([298d3e9](https://github.com/libp2p/js-libp2p/commit/298d3e9fa74fa05da478cf9c6a9202311afc80b8)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* 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/peer-id bumped from ^5.1.9 to ^6.0.0 + ## [8.0.35](https://github.com/libp2p/js-libp2p/compare/peer-record-v8.0.34...peer-record-v8.0.35) (2025-08-19) diff --git a/packages/peer-record/package.json b/packages/peer-record/package.json index 30295e3adf..e0387be820 100644 --- a/packages/peer-record/package.json +++ b/packages/peer-record/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/peer-record", - "version": "8.0.35", + "version": "9.0.0", "description": "Used to transfer signed peer data across the network", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/peer-record#readme", @@ -48,9 +48,9 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/peer-id": "^5.1.9", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/peer-id": "^6.0.0", "@multiformats/multiaddr": "^13.0.1", "multiformats": "^13.4.0", "protons-runtime": "^5.6.0", diff --git a/packages/peer-store/CHANGELOG.md b/packages/peer-store/CHANGELOG.md index 75852ad15b..fe10ffe303 100644 --- a/packages/peer-store/CHANGELOG.md +++ b/packages/peer-store/CHANGELOG.md @@ -68,6 +68,37 @@ * dependencies * @libp2p/peer-record bumped from ^7.0.8 to ^7.0.9 +## [12.0.0](https://github.com/libp2p/js-libp2p/compare/peer-store-v11.2.7...peer-store-v12.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* 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/peer-collections bumped from ^6.0.35 to ^7.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 + * devDependencies + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + ## [11.2.7](https://github.com/libp2p/js-libp2p/compare/peer-store-v11.2.6...peer-store-v11.2.7) (2025-08-19) diff --git a/packages/peer-store/package.json b/packages/peer-store/package.json index 380a2b085b..361ea4b4c1 100644 --- a/packages/peer-store/package.json +++ b/packages/peer-store/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/peer-store", - "version": "11.2.7", + "version": "12.0.0", "description": "Stores information about peers libp2p knows on the network", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/peer-store#readme", @@ -48,11 +48,11 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/peer-collections": "^6.0.35", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/peer-record": "^8.0.35", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/peer-collections": "^7.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/peer-record": "^9.0.0", "@multiformats/multiaddr": "^13.0.1", "interface-datastore": "^8.3.2", "it-all": "^3.0.9", @@ -64,7 +64,7 @@ "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", + "@libp2p/logger": "^6.0.0", "@types/sinon": "^17.0.4", "aegir": "^47.0.22", "benchmark": "^2.1.4", diff --git a/packages/pnet/CHANGELOG.md b/packages/pnet/CHANGELOG.md index 46d45b0fd5..403a58c117 100644 --- a/packages/pnet/CHANGELOG.md +++ b/packages/pnet/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## [3.0.0](https://github.com/libp2p/js-libp2p/compare/pnet-v2.0.47...pnet-v3.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* 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/utils bumped from ^6.7.2 to ^7.0.0 + ## [2.0.47](https://github.com/libp2p/js-libp2p/compare/pnet-v2.0.46...pnet-v2.0.47) (2025-08-19) diff --git a/packages/pnet/package.json b/packages/pnet/package.json index 3dd8e424e9..e5859fcec3 100644 --- a/packages/pnet/package.json +++ b/packages/pnet/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/pnet", - "version": "2.0.47", + "version": "3.0.0", "description": "Implementation of Connection protection management via a shared secret", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/pnet#readme", @@ -43,9 +43,9 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/utils": "^6.7.2", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/utils": "^7.0.0", "uint8arraylist": "^2.4.8", "uint8arrays": "^5.1.0", "xsalsa20": "^1.2.0" diff --git a/packages/protocol-autonat-v2/CHANGELOG.md b/packages/protocol-autonat-v2/CHANGELOG.md index 6ce4197633..738cebb283 100644 --- a/packages/protocol-autonat-v2/CHANGELOG.md +++ b/packages/protocol-autonat-v2/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## [2.0.0](https://github.com/libp2p/js-libp2p/compare/autonat-v2-v1.0.1...autonat-v2-v2.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @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-collections bumped from ^6.0.35 to ^7.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + * devDependencies + * @libp2p/crypto bumped from ^5.1.8 to ^5.1.9 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + ## [1.0.1](https://github.com/libp2p/js-libp2p/compare/autonat-v2-v1.0.0...autonat-v2-v1.0.1) (2025-08-19) diff --git a/packages/protocol-autonat-v2/package.json b/packages/protocol-autonat-v2/package.json index ef5247fc5f..3e6d98104f 100644 --- a/packages/protocol-autonat-v2/package.json +++ b/packages/protocol-autonat-v2/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/autonat-v2", - "version": "1.0.1", + "version": "2.0.0", "description": "Implementation of the AutoNAT Protocol v2", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/protocol-autonat-v2#readme", @@ -45,10 +45,10 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/peer-collections": "^6.0.35", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/peer-collections": "^7.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "any-signal": "^4.1.1", "main-event": "^1.0.1", @@ -57,9 +57,9 @@ "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/logger": "^5.2.0", - "@libp2p/peer-id": "^5.1.9", + "@libp2p/crypto": "^5.1.9", + "@libp2p/logger": "^6.0.0", + "@libp2p/peer-id": "^6.0.0", "aegir": "^47.0.22", "delay": "^6.0.0", "it-all": "^3.0.9", diff --git a/packages/protocol-autonat/CHANGELOG.md b/packages/protocol-autonat/CHANGELOG.md index 47c6dfed3a..83c59144d7 100644 --- a/packages/protocol-autonat/CHANGELOG.md +++ b/packages/protocol-autonat/CHANGELOG.md @@ -55,6 +55,38 @@ * dependencies * @libp2p/utils bumped from ^5.2.4 to ^5.2.5 +## [3.0.0](https://github.com/libp2p/js-libp2p/compare/autonat-v2.0.38...autonat-v3.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @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-collections bumped from ^6.0.35 to ^7.0.0 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + * devDependencies + * @libp2p/crypto bumped from ^5.1.8 to ^5.1.9 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + ## [2.0.38](https://github.com/libp2p/js-libp2p/compare/autonat-v2.0.37...autonat-v2.0.38) (2025-08-19) diff --git a/packages/protocol-autonat/package.json b/packages/protocol-autonat/package.json index be7226a9f9..545b1d6db6 100644 --- a/packages/protocol-autonat/package.json +++ b/packages/protocol-autonat/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/autonat", - "version": "2.0.38", + "version": "3.0.0", "description": "Implementation of Autonat Protocol", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/protocol-autonat#readme", @@ -45,11 +45,11 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/peer-collections": "^6.0.35", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/peer-collections": "^7.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "any-signal": "^4.1.1", "main-event": "^1.0.1", @@ -58,8 +58,8 @@ "uint8arraylist": "^2.4.8" }, "devDependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/logger": "^5.2.0", + "@libp2p/crypto": "^5.1.9", + "@libp2p/logger": "^6.0.0", "aegir": "^47.0.22", "delay": "^6.0.0", "it-all": "^3.0.9", diff --git a/packages/protocol-dcutr/CHANGELOG.md b/packages/protocol-dcutr/CHANGELOG.md index 776e374b80..7f7fceb450 100644 --- a/packages/protocol-dcutr/CHANGELOG.md +++ b/packages/protocol-dcutr/CHANGELOG.md @@ -44,6 +44,33 @@ * dependencies * @libp2p/utils bumped from ^5.2.4 to ^5.2.5 +## [3.0.0](https://github.com/libp2p/js-libp2p/compare/dcutr-v2.0.38...dcutr-v3.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/interface-internal bumped from ^2.3.19 to ^3.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + ## [2.0.38](https://github.com/libp2p/js-libp2p/compare/dcutr-v2.0.37...dcutr-v2.0.38) (2025-08-19) diff --git a/packages/protocol-dcutr/package.json b/packages/protocol-dcutr/package.json index 0b1b2f43fe..0b01544a7f 100644 --- a/packages/protocol-dcutr/package.json +++ b/packages/protocol-dcutr/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/dcutr", - "version": "2.0.38", + "version": "3.0.0", "description": "Implementation of the DCUtR Protocol", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/protocol-dcutr#readme", @@ -45,9 +45,9 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", "delay": "^6.0.0", diff --git a/packages/protocol-echo/CHANGELOG.md b/packages/protocol-echo/CHANGELOG.md index 7e0cdb58d9..0bcc872be0 100644 --- a/packages/protocol-echo/CHANGELOG.md +++ b/packages/protocol-echo/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## [3.0.0](https://github.com/libp2p/js-libp2p/compare/echo-v2.1.28...echo-v3.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/interface-internal bumped from ^2.3.19 to ^3.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + ## [2.1.28](https://github.com/libp2p/js-libp2p/compare/echo-v2.1.27...echo-v2.1.28) (2025-08-19) diff --git a/packages/protocol-echo/package.json b/packages/protocol-echo/package.json index 0282d9cd7e..672dcbf860 100644 --- a/packages/protocol-echo/package.json +++ b/packages/protocol-echo/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/echo", - "version": "2.1.28", + "version": "3.0.0", "description": "Implementation of an Echo protocol", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/protocol-echo#readme", @@ -44,9 +44,9 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "p-event": "^6.0.1", "uint8arraylist": "^2.4.8" diff --git a/packages/protocol-fetch/CHANGELOG.md b/packages/protocol-fetch/CHANGELOG.md index 997a31fd05..46d0e10d90 100644 --- a/packages/protocol-fetch/CHANGELOG.md +++ b/packages/protocol-fetch/CHANGELOG.md @@ -48,6 +48,34 @@ * devDependencies * @libp2p/peer-id-factory bumped from ^4.0.3 to ^4.0.4 +## [4.0.0](https://github.com/libp2p/js-libp2p/compare/fetch-v3.0.22...fetch-v4.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/interface-internal bumped from ^2.3.19 to ^3.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + * devDependencies + * @libp2p/crypto bumped from ^5.1.8 to ^5.1.9 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + ## [3.0.22](https://github.com/libp2p/js-libp2p/compare/fetch-v3.0.21...fetch-v3.0.22) (2025-08-19) diff --git a/packages/protocol-fetch/package.json b/packages/protocol-fetch/package.json index 8f6d160175..82e190d50b 100644 --- a/packages/protocol-fetch/package.json +++ b/packages/protocol-fetch/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/fetch", - "version": "3.0.22", + "version": "4.0.0", "description": "Implementation of the Fetch Protocol", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/protocol-fetch#readme", @@ -45,17 +45,17 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/utils": "^7.0.0", "main-event": "^1.0.1", "protons-runtime": "^5.6.0", "uint8arraylist": "^2.4.8", "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/peer-id": "^5.1.9", + "@libp2p/crypto": "^5.1.9", + "@libp2p/peer-id": "^6.0.0", "aegir": "^47.0.22", "protons": "^7.7.0", "sinon": "^21.0.0", diff --git a/packages/protocol-identify/CHANGELOG.md b/packages/protocol-identify/CHANGELOG.md index 405b136956..96b1316fb1 100644 --- a/packages/protocol-identify/CHANGELOG.md +++ b/packages/protocol-identify/CHANGELOG.md @@ -76,6 +76,40 @@ * devDependencies * @libp2p/interface-compliance-tests bumped from ^5.3.0 to ^5.3.1 +## [4.0.0](https://github.com/libp2p/js-libp2p/compare/identify-v3.0.39...identify-v4.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 }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* remove deprecated code ([#3271](https://github.com/libp2p/js-libp2p/issues/3271)) ([6332556](https://github.com/libp2p/js-libp2p/commit/633255644eefb6bf9f739123b9cbd002c3d5a351)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* 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 + ## [3.0.39](https://github.com/libp2p/js-libp2p/compare/identify-v3.0.38...identify-v3.0.39) (2025-08-19) diff --git a/packages/protocol-identify/package.json b/packages/protocol-identify/package.json index 07ce2ab73d..f0f15f577e 100644 --- a/packages/protocol-identify/package.json +++ b/packages/protocol-identify/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/identify", - "version": "3.0.39", + "version": "4.0.0", "description": "Implementation of the Identify Protocol", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/protocol-identify#readme", @@ -45,12 +45,12 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/peer-record": "^8.0.35", - "@libp2p/utils": "^6.7.2", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/peer-record": "^9.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", "it-drain": "^3.0.10", @@ -61,7 +61,7 @@ "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", + "@libp2p/logger": "^6.0.0", "aegir": "^47.0.22", "delay": "^6.0.0", "it-length-prefixed": "^10.0.1", diff --git a/packages/protocol-perf/CHANGELOG.md b/packages/protocol-perf/CHANGELOG.md index 99a9ab7d0a..1b51ed163f 100644 --- a/packages/protocol-perf/CHANGELOG.md +++ b/packages/protocol-perf/CHANGELOG.md @@ -82,6 +82,35 @@ * devDependencies * @libp2p/interface-compliance-tests bumped from ^5.3.0 to ^5.3.1 +## [5.0.0](https://github.com/libp2p/js-libp2p/compare/perf-v4.0.47...perf-v5.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/interface-internal bumped from ^2.3.19 to ^3.0.0 + * devDependencies + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + ## [4.0.47](https://github.com/libp2p/js-libp2p/compare/perf-v4.0.46...perf-v4.0.47) (2025-08-19) diff --git a/packages/protocol-perf/package.json b/packages/protocol-perf/package.json index adae72951e..cb38f5c21e 100644 --- a/packages/protocol-perf/package.json +++ b/packages/protocol-perf/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/perf", - "version": "4.0.47", + "version": "5.0.0", "description": "Implementation of Perf Protocol", "author": "@maschad / @marcopolo", "license": "Apache-2.0 OR MIT", @@ -45,16 +45,16 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", "@multiformats/multiaddr": "^13.0.1", "it-pushable": "^3.2.3", "p-event": "^6.0.1", "uint8arraylist": "^2.4.8" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", - "@libp2p/utils": "^6.7.2", + "@libp2p/logger": "^6.0.0", + "@libp2p/utils": "^7.0.0", "aegir": "^47.0.22", "it-last": "^3.0.9", "sinon-ts": "^2.0.0" diff --git a/packages/protocol-ping/CHANGELOG.md b/packages/protocol-ping/CHANGELOG.md index c1d193ab35..6eeafc802f 100644 --- a/packages/protocol-ping/CHANGELOG.md +++ b/packages/protocol-ping/CHANGELOG.md @@ -50,6 +50,38 @@ * devDependencies * @libp2p/peer-id-factory bumped from ^4.0.3 to ^4.0.4 +## [3.0.0](https://github.com/libp2p/js-libp2p/compare/ping-v2.0.37...ping-v3.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 }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* remove deprecated code ([#3271](https://github.com/libp2p/js-libp2p/issues/3271)) ([6332556](https://github.com/libp2p/js-libp2p/commit/633255644eefb6bf9f739123b9cbd002c3d5a351)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* 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 + * devDependencies + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + ## [2.0.37](https://github.com/libp2p/js-libp2p/compare/ping-v2.0.36...ping-v2.0.37) (2025-08-19) diff --git a/packages/protocol-ping/package.json b/packages/protocol-ping/package.json index 495737a050..dc6f78503f 100644 --- a/packages/protocol-ping/package.json +++ b/packages/protocol-ping/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/ping", - "version": "2.0.37", + "version": "3.0.0", "description": "Implementation of Ping Protocol", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/protocol-ping#readme", @@ -43,9 +43,9 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", "@multiformats/multiaddr": "^13.0.1", "p-event": "^6.0.1", "race-signal": "^2.0.0", @@ -53,8 +53,8 @@ "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/peer-id": "^5.1.9", - "@libp2p/utils": "^6.7.2", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/utils": "^7.0.0", "aegir": "^47.0.22", "delay": "^6.0.0", "sinon": "^21.0.0", diff --git a/packages/record/CHANGELOG.md b/packages/record/CHANGELOG.md index 7bd783d05e..4cdf3e491f 100644 --- a/packages/record/CHANGELOG.md +++ b/packages/record/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [4.0.8](https://github.com/libp2p/js-libp2p/compare/record-v4.0.7...record-v4.0.8) (2025-09-23) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + ## [4.0.7](https://github.com/libp2p/js-libp2p/compare/record-v4.0.6...record-v4.0.7) (2025-06-03) diff --git a/packages/record/package.json b/packages/record/package.json index 47efd121d4..5717acb194 100644 --- a/packages/record/package.json +++ b/packages/record/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/record", - "version": "4.0.7", + "version": "4.0.8", "description": "libp2p record implementation", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/record#readme", diff --git a/packages/stream-multiplexer-mplex/CHANGELOG.md b/packages/stream-multiplexer-mplex/CHANGELOG.md index e4cf940e4f..1c8c0eabd3 100644 --- a/packages/stream-multiplexer-mplex/CHANGELOG.md +++ b/packages/stream-multiplexer-mplex/CHANGELOG.md @@ -78,6 +78,33 @@ * devDependencies * @libp2p/interface-compliance-tests bumped from ^5.3.0 to ^5.3.1 +## [12.0.0](https://github.com/libp2p/js-libp2p/compare/mplex-v11.0.47...mplex-v12.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + * devDependencies + * @libp2p/interface-compliance-tests bumped from ^6.5.0 to ^7.0.0 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + ## [11.0.47](https://github.com/libp2p/js-libp2p/compare/mplex-v11.0.46...mplex-v11.0.47) (2025-08-19) diff --git a/packages/stream-multiplexer-mplex/package.json b/packages/stream-multiplexer-mplex/package.json index d7d5c6eef5..7d54783de9 100644 --- a/packages/stream-multiplexer-mplex/package.json +++ b/packages/stream-multiplexer-mplex/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/mplex", - "version": "11.0.47", + "version": "12.0.0", "description": "JavaScript implementation of https://github.com/libp2p/mplex", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/stream-multiplexer-mplex#readme", @@ -55,16 +55,16 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/utils": "^7.0.0", "it-pushable": "^3.2.3", "uint8-varint": "^2.0.4", "uint8arraylist": "^2.4.8", "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/interface-compliance-tests": "^6.5.0", - "@libp2p/logger": "^5.2.0", + "@libp2p/interface-compliance-tests": "^7.0.0", + "@libp2p/logger": "^6.0.0", "aegir": "^47.0.22", "benchmark": "^2.1.4", "iso-random-stream": "^2.0.2", diff --git a/packages/stream-multiplexer-yamux/CHANGELOG.md b/packages/stream-multiplexer-yamux/CHANGELOG.md new file mode 100644 index 0000000000..44f635a9b1 --- /dev/null +++ b/packages/stream-multiplexer-yamux/CHANGELOG.md @@ -0,0 +1,28 @@ +# Changelog + +## [8.0.0](https://github.com/libp2p/js-libp2p/compare/yamux-v7.0.4...yamux-v8.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + * devDependencies + * @libp2p/interface-compliance-tests bumped from ^6.5.0 to ^7.0.0 + * @libp2p/mplex bumped from ^11.0.47 to ^12.0.0 diff --git a/packages/transport-circuit-relay-v2/CHANGELOG.md b/packages/transport-circuit-relay-v2/CHANGELOG.md index 08bd7e4302..18b7bef4d5 100644 --- a/packages/transport-circuit-relay-v2/CHANGELOG.md +++ b/packages/transport-circuit-relay-v2/CHANGELOG.md @@ -101,6 +101,41 @@ * devDependencies * @libp2p/interface-compliance-tests bumped from ^5.3.0 to ^5.3.1 +## [4.0.0](https://github.com/libp2p/js-libp2p/compare/circuit-relay-v2-v3.2.24...circuit-relay-v2-v4.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 }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* remove deprecated code ([#3271](https://github.com/libp2p/js-libp2p/issues/3271)) ([6332556](https://github.com/libp2p/js-libp2p/commit/633255644eefb6bf9f739123b9cbd002c3d5a351)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* 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-collections bumped from ^6.0.35 to ^7.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 + ## [3.2.24](https://github.com/libp2p/js-libp2p/compare/circuit-relay-v2-v3.2.23...circuit-relay-v2-v3.2.24) (2025-08-19) diff --git a/packages/transport-circuit-relay-v2/package.json b/packages/transport-circuit-relay-v2/package.json index a0f5fdc2ea..92d56d02c4 100644 --- a/packages/transport-circuit-relay-v2/package.json +++ b/packages/transport-circuit-relay-v2/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/circuit-relay-v2", - "version": "3.2.24", + "version": "4.0.0", "description": "Implementation of Circuit Relay v2", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/transport-circuit-relay-v2#readme", @@ -45,13 +45,13 @@ "doc-check": "aegir doc-check" }, "dependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/peer-collections": "^6.0.35", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/peer-record": "^8.0.35", - "@libp2p/utils": "^6.7.2", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/peer-collections": "^7.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/peer-record": "^9.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", "any-signal": "^4.1.1", @@ -65,7 +65,7 @@ "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", + "@libp2p/logger": "^6.0.0", "aegir": "^47.0.22", "delay": "^6.0.0", "it-all": "^3.0.9", diff --git a/packages/transport-memory/CHANGELOG.md b/packages/transport-memory/CHANGELOG.md index a3628764b5..7aa67f297c 100644 --- a/packages/transport-memory/CHANGELOG.md +++ b/packages/transport-memory/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## [2.0.0](https://github.com/libp2p/js-libp2p/compare/memory-v1.1.14...memory-v2.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.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 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + ## [1.1.14](https://github.com/libp2p/js-libp2p/compare/memory-v1.1.13...memory-v1.1.14) (2025-08-19) diff --git a/packages/transport-memory/package.json b/packages/transport-memory/package.json index 1c99297497..37573e57f9 100644 --- a/packages/transport-memory/package.json +++ b/packages/transport-memory/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/memory", - "version": "1.1.14", + "version": "2.0.0", "description": "A memory transport for libp2p", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/transport-memory#readme", @@ -44,8 +44,8 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", "@types/sinon": "^17.0.4", @@ -58,8 +58,8 @@ "uint8arraylist": "^2.4.8" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", - "@libp2p/peer-id": "^5.1.9", + "@libp2p/logger": "^6.0.0", + "@libp2p/peer-id": "^6.0.0", "aegir": "^47.0.22", "sinon": "^21.0.0", "sinon-ts": "^2.0.0" diff --git a/packages/transport-tcp/CHANGELOG.md b/packages/transport-tcp/CHANGELOG.md index 30f0b3b376..3070ef8e8d 100644 --- a/packages/transport-tcp/CHANGELOG.md +++ b/packages/transport-tcp/CHANGELOG.md @@ -89,6 +89,34 @@ * devDependencies * @libp2p/interface-compliance-tests bumped from ^5.3.0 to ^5.3.1 +## [11.0.0](https://github.com/libp2p/js-libp2p/compare/tcp-v10.1.19...tcp-v11.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.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 + ## [10.1.19](https://github.com/libp2p/js-libp2p/compare/tcp-v10.1.18...tcp-v10.1.19) (2025-08-19) diff --git a/packages/transport-tcp/package.json b/packages/transport-tcp/package.json index a12926c586..582cc4367c 100644 --- a/packages/transport-tcp/package.json +++ b/packages/transport-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/tcp", - "version": "10.1.19", + "version": "11.0.0", "description": "A TCP transport for libp2p", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/transport-tcp#readme", @@ -53,8 +53,8 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", "@types/sinon": "^17.0.4", @@ -64,7 +64,7 @@ "uint8arraylist": "^2.4.8" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", + "@libp2p/logger": "^6.0.0", "aegir": "^47.0.22", "delay": "^6.0.0", "p-defer": "^4.0.1", diff --git a/packages/transport-webrtc/CHANGELOG.md b/packages/transport-webrtc/CHANGELOG.md index a6043e7065..91e4c5893a 100644 --- a/packages/transport-webrtc/CHANGELOG.md +++ b/packages/transport-webrtc/CHANGELOG.md @@ -111,6 +111,41 @@ * @libp2p/websockets bumped from ^8.0.14 to ^8.0.15 * libp2p bumped from ^1.2.2 to ^1.2.3 +## [6.0.0](https://github.com/libp2p/js-libp2p/compare/webrtc-v5.2.24...webrtc-v6.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 }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* remove deprecated code ([#3271](https://github.com/libp2p/js-libp2p/issues/3271)) ([6332556](https://github.com/libp2p/js-libp2p/commit/633255644eefb6bf9f739123b9cbd002c3d5a351)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* 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/keychain bumped from ^5.2.9 to ^6.0.0 + * @libp2p/noise bumped from ^16.1.3 to ^1.0.0 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.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 + ## [5.2.24](https://github.com/libp2p/js-libp2p/compare/webrtc-v5.2.23...webrtc-v5.2.24) (2025-08-19) diff --git a/packages/transport-webrtc/package.json b/packages/transport-webrtc/package.json index 8b9d85234a..53aa57904e 100644 --- a/packages/transport-webrtc/package.json +++ b/packages/transport-webrtc/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/webrtc", - "version": "5.2.24", + "version": "6.0.0", "description": "A libp2p transport using WebRTC connections", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/transport-webrtc#readme", @@ -45,13 +45,13 @@ }, "dependencies": { "@chainsafe/is-ip": "^2.1.0", - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/keychain": "^5.2.9", - "@libp2p/noise": "^16.1.3", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/utils": "^6.7.2", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/keychain": "^6.0.0", + "@libp2p/noise": "^1.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", "@peculiar/webcrypto": "^1.5.0", @@ -79,7 +79,7 @@ "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", + "@libp2p/logger": "^6.0.0", "@types/sinon": "^17.0.4", "aegir": "^47.0.22", "any-signal": "^4.1.1", diff --git a/packages/transport-websockets/CHANGELOG.md b/packages/transport-websockets/CHANGELOG.md index 1564dd937f..2bf7039b54 100644 --- a/packages/transport-websockets/CHANGELOG.md +++ b/packages/transport-websockets/CHANGELOG.md @@ -70,6 +70,36 @@ * devDependencies * @libp2p/interface-compliance-tests bumped from ^5.3.0 to ^5.3.1 +## [10.0.0](https://github.com/libp2p/js-libp2p/compare/websockets-v9.2.19...websockets-v10.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 }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* remove deprecated code ([#3271](https://github.com/libp2p/js-libp2p/issues/3271)) ([6332556](https://github.com/libp2p/js-libp2p/commit/633255644eefb6bf9f739123b9cbd002c3d5a351)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.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 + ## [9.2.19](https://github.com/libp2p/js-libp2p/compare/websockets-v9.2.18...websockets-v9.2.19) (2025-08-19) diff --git a/packages/transport-websockets/package.json b/packages/transport-websockets/package.json index 6e24a2df4a..f7548f62b5 100644 --- a/packages/transport-websockets/package.json +++ b/packages/transport-websockets/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/websockets", - "version": "9.2.19", + "version": "10.0.0", "description": "JavaScript implementation of the WebSockets module that libp2p uses and that implements the interface-transport spec", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/transport-websockets#readme", @@ -67,8 +67,8 @@ "test:electron-main": "aegir test -t electron-main -f ./dist/test/node.js --cov" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", "@multiformats/multiaddr-to-uri": "^12.0.0", @@ -82,7 +82,7 @@ "ws": "^8.18.3" }, "devDependencies": { - "@libp2p/logger": "^5.2.0", + "@libp2p/logger": "^6.0.0", "aegir": "^47.0.22", "is-loopback-addr": "^2.0.2", "p-wait-for": "^5.0.2", diff --git a/packages/transport-webtransport/CHANGELOG.md b/packages/transport-webtransport/CHANGELOG.md index 7fc087d1c2..40c080cf09 100644 --- a/packages/transport-webtransport/CHANGELOG.md +++ b/packages/transport-webtransport/CHANGELOG.md @@ -96,6 +96,40 @@ * devDependencies * libp2p bumped from ^1.2.2 to ^1.2.3 +## [6.0.0](https://github.com/libp2p/js-libp2p/compare/webtransport-v5.0.51...webtransport-v6.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/noise bumped from ^16.1.3 to ^1.0.0 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + * devDependencies + * @libp2p/crypto bumped from ^5.1.8 to ^5.1.9 + * @libp2p/daemon-client bumped from ^9.0.8 to ^10.0.0 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + * @libp2p/ping bumped from ^2.0.37 to ^3.0.0 + * libp2p bumped from ^2.10.0 to ^3.0.0 + ## [5.0.51](https://github.com/libp2p/js-libp2p/compare/webtransport-v5.0.50...webtransport-v5.0.51) (2025-08-19) diff --git a/packages/transport-webtransport/package.json b/packages/transport-webtransport/package.json index 5083df2b83..0de0698a6c 100644 --- a/packages/transport-webtransport/package.json +++ b/packages/transport-webtransport/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/webtransport", - "version": "5.0.51", + "version": "6.0.0", "description": "JavaScript implementation of the WebTransport module that libp2p uses and that implements the interface-transport spec", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/transport-webtransport#readme", @@ -44,10 +44,10 @@ "test:firefox": "aegir test -t browser -- --browser firefox" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/noise": "^16.1.3", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/noise": "^1.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", "multiformats": "^13.3.6", @@ -57,16 +57,16 @@ "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/daemon-client": "^9.0.8", - "@libp2p/logger": "^5.2.0", - "@libp2p/ping": "^2.0.37", + "@libp2p/crypto": "^5.1.9", + "@libp2p/daemon-client": "^10.0.0", + "@libp2p/logger": "^6.0.0", + "@libp2p/ping": "^3.0.0", "@noble/hashes": "^1.8.0", "aegir": "^47.0.22", "execa": "^9.6.0", "go-libp2p": "^1.6.0", "it-all": "^3.0.9", - "libp2p": "^2.10.0", + "libp2p": "^3.0.0", "p-defer": "^4.0.1", "p-event": "^6.0.1", "sinon-ts": "^2.0.0" diff --git a/packages/upnp-nat/CHANGELOG.md b/packages/upnp-nat/CHANGELOG.md index 493f6cd88b..003adf884d 100644 --- a/packages/upnp-nat/CHANGELOG.md +++ b/packages/upnp-nat/CHANGELOG.md @@ -64,6 +64,37 @@ * dependencies * @libp2p/utils bumped from ^5.2.4 to ^5.2.5 +## [4.0.0](https://github.com/libp2p/js-libp2p/compare/upnp-nat-v3.1.22...upnp-nat-v4.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* requires @mulitformats/multiaddr 13.x.x or later +* - Stream handlers accept `stream, connection`, not `{ stream, connection }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ^2.11.0 to ^3.0.0 + * @libp2p/interface-internal bumped from ^2.3.19 to ^3.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + * devDependencies + * @libp2p/crypto bumped from ^5.1.8 to ^5.1.9 + * @libp2p/logger bumped from ^5.2.0 to ^6.0.0 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + ## [3.1.22](https://github.com/libp2p/js-libp2p/compare/upnp-nat-v3.1.21...upnp-nat-v3.1.22) (2025-08-19) diff --git a/packages/upnp-nat/package.json b/packages/upnp-nat/package.json index 0675c8d20c..c395048ba3 100644 --- a/packages/upnp-nat/package.json +++ b/packages/upnp-nat/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/upnp-nat", - "version": "3.1.22", + "version": "4.0.0", "description": "UPnP NAT hole punching", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/upnp-nat#readme", @@ -49,9 +49,9 @@ "dependencies": { "@achingbrain/nat-port-mapper": "^4.0.4", "@chainsafe/is-ip": "^2.1.0", - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", "main-event": "^1.0.1", @@ -59,9 +59,9 @@ "race-signal": "^2.0.0" }, "devDependencies": { - "@libp2p/crypto": "^5.1.8", - "@libp2p/logger": "^5.2.0", - "@libp2p/peer-id": "^5.1.9", + "@libp2p/crypto": "^5.1.9", + "@libp2p/logger": "^6.0.0", + "@libp2p/peer-id": "^6.0.0", "aegir": "^47.0.22", "sinon-ts": "^2.0.0", "wherearewe": "^2.0.1" diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 1ff5026773..ecb582b12d 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -36,6 +36,39 @@ * @libp2p/logger bumped from ^4.0.2 to ^4.0.3 * @libp2p/peer-id-factory bumped from ^4.0.1 to ^4.0.2 +## [7.0.0](https://github.com/libp2p/js-libp2p/compare/utils-v6.7.2...utils-v7.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* merge-options has been removed from `@libp2p/utils` +* 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 }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* remove deprecated code ([#3271](https://github.com/libp2p/js-libp2p/issues/3271)) ([6332556](https://github.com/libp2p/js-libp2p/commit/633255644eefb6bf9f739123b9cbd002c3d5a351)) +* remove merge-options ([#3294](https://github.com/libp2p/js-libp2p/issues/3294)) ([dc01b32](https://github.com/libp2p/js-libp2p/commit/dc01b3278f021c944594644629fbd449514aee35)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* 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/logger bumped from ^5.2.0 to ^6.0.0 + * devDependencies + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + ## [6.7.2](https://github.com/libp2p/js-libp2p/compare/utils-v6.7.1...utils-v6.7.2) (2025-08-19) diff --git a/packages/utils/package.json b/packages/utils/package.json index dac096957c..62047809bc 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/utils", - "version": "6.7.2", + "version": "7.0.0", "description": "Package to aggregate shared logic and dependencies for the libp2p ecosystem", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/utils#readme", @@ -46,9 +46,9 @@ "dependencies": { "@chainsafe/is-ip": "^2.1.0", "@chainsafe/netmask": "^2.0.0", - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/logger": "^5.2.0", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/logger": "^6.0.0", "@multiformats/multiaddr": "^13.0.1", "@sindresorhus/fnv1a": "^3.1.0", "any-signal": "^4.1.1", @@ -69,7 +69,7 @@ "uint8arrays": "^5.1.0" }, "devDependencies": { - "@libp2p/peer-id": "^5.1.9", + "@libp2p/peer-id": "^6.0.0", "@types/netmask": "^2.0.5", "aegir": "^47.0.22", "benchmark": "^2.1.4", From 058c14660c6a72732e07ce71cf0016c570a28a89 Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Tue, 23 Sep 2025 12:32:50 +0100 Subject: [PATCH 2/2] chore: release main --- packages/libp2p/CHANGELOG.md | 45 +++++++++++++++++++ packages/libp2p/package.json | 20 ++++----- .../stream-multiplexer-yamux/package.json | 10 ++--- 3 files changed, 60 insertions(+), 15 deletions(-) diff --git a/packages/libp2p/CHANGELOG.md b/packages/libp2p/CHANGELOG.md index ce7dd58088..c2f11932f9 100644 --- a/packages/libp2p/CHANGELOG.md +++ b/packages/libp2p/CHANGELOG.md @@ -110,6 +110,51 @@ * @libp2p/tcp bumped from ^9.0.14 to ^9.0.15 * @libp2p/websockets bumped from ^8.0.14 to ^8.0.15 +## [3.0.0](https://github.com/libp2p/js-libp2p/compare/libp2p-v2.10.0...libp2p-v3.0.0) (2025-09-23) + + +### ⚠ BREAKING CHANGES + +* merge-options has been removed from `@libp2p/utils` +* the `@libp2p/pubsub` module 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 }` + +### Features + +* streams as EventTargets ([#3218](https://github.com/libp2p/js-libp2p/issues/3218)) ([0f68898](https://github.com/libp2p/js-libp2p/commit/0f68898e6503975aae6f2bb6ba36aff65dabdfe8)), closes [#3226](https://github.com/libp2p/js-libp2p/issues/3226) + + +### Bug Fixes + +* allow connection gater classes ([#3281](https://github.com/libp2p/js-libp2p/issues/3281)) ([e1aaf4e](https://github.com/libp2p/js-libp2p/commit/e1aaf4ed0e77b9b33e273f36681a24b403e22ca8)) +* remove deprecated code ([#3271](https://github.com/libp2p/js-libp2p/issues/3271)) ([6332556](https://github.com/libp2p/js-libp2p/commit/633255644eefb6bf9f739123b9cbd002c3d5a351)) +* remove merge-options ([#3294](https://github.com/libp2p/js-libp2p/issues/3294)) ([dc01b32](https://github.com/libp2p/js-libp2p/commit/dc01b3278f021c944594644629fbd449514aee35)) +* remove pubsub ([#3291](https://github.com/libp2p/js-libp2p/issues/3291)) ([9a9b11f](https://github.com/libp2p/js-libp2p/commit/9a9b11fd44cf91a67a85805882e210ab1bff7ef2)) +* update project ([db9f40c](https://github.com/libp2p/js-libp2p/commit/db9f40c4fc4c230444d0f3ca79b65a0053bc35f7)) + + +### Documentation + +* fix broken links ([#3282](https://github.com/libp2p/js-libp2p/issues/3282)) ([71b4c41](https://github.com/libp2p/js-libp2p/commit/71b4c41e5990db2b65067663120b14de1ad72f9d)) + + +### Dependencies + +* update @multiformats/multiaddr to 13.x.x ([#3268](https://github.com/libp2p/js-libp2p/issues/3268)) ([b8ecade](https://github.com/libp2p/js-libp2p/commit/b8ecade2a725d38d11dd8df888c5abb22e14f26b)) +* 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/logger bumped from ^5.2.0 to ^6.0.0 + * @libp2p/multistream-select bumped from ^6.0.29 to ^7.0.0 + * @libp2p/peer-collections bumped from ^6.0.35 to ^7.0.0 + * @libp2p/peer-id bumped from ^5.1.9 to ^6.0.0 + * @libp2p/peer-store bumped from ^11.2.7 to ^12.0.0 + * @libp2p/utils bumped from ^6.7.2 to ^7.0.0 + ## [2.10.0](https://github.com/libp2p/js-libp2p/compare/libp2p-v2.9.0...libp2p-v2.10.0) (2025-08-19) diff --git a/packages/libp2p/package.json b/packages/libp2p/package.json index 18cd5fd39e..ad5e8200e1 100644 --- a/packages/libp2p/package.json +++ b/packages/libp2p/package.json @@ -1,6 +1,6 @@ { "name": "libp2p", - "version": "2.10.0", + "version": "3.0.0", "description": "JavaScript implementation of libp2p, a modular peer to peer network stack", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/libp2p#readme", @@ -80,15 +80,15 @@ "dependencies": { "@chainsafe/is-ip": "^2.1.0", "@chainsafe/netmask": "^2.0.0", - "@libp2p/crypto": "^5.1.8", - "@libp2p/interface": "^2.11.0", - "@libp2p/interface-internal": "^2.3.19", - "@libp2p/logger": "^5.2.0", - "@libp2p/multistream-select": "^6.0.29", - "@libp2p/peer-collections": "^6.0.35", - "@libp2p/peer-id": "^5.1.9", - "@libp2p/peer-store": "^11.2.7", - "@libp2p/utils": "^6.7.2", + "@libp2p/crypto": "^5.1.9", + "@libp2p/interface": "^3.0.0", + "@libp2p/interface-internal": "^3.0.0", + "@libp2p/logger": "^6.0.0", + "@libp2p/multistream-select": "^7.0.0", + "@libp2p/peer-collections": "^7.0.0", + "@libp2p/peer-id": "^6.0.0", + "@libp2p/peer-store": "^12.0.0", + "@libp2p/utils": "^7.0.0", "@multiformats/dns": "^1.0.6", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-matcher": "^3.0.1", diff --git a/packages/stream-multiplexer-yamux/package.json b/packages/stream-multiplexer-yamux/package.json index 3b15b8f70e..84e05227bd 100644 --- a/packages/stream-multiplexer-yamux/package.json +++ b/packages/stream-multiplexer-yamux/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/yamux", - "version": "7.0.4", + "version": "8.0.0", "description": "Yamux stream multiplexer for libp2p", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/stream-multiplexer-yamux#readme", @@ -77,15 +77,15 @@ "docs": "aegir docs" }, "dependencies": { - "@libp2p/interface": "^2.11.0", - "@libp2p/utils": "^6.7.2", + "@libp2p/interface": "^3.0.0", + "@libp2p/utils": "^7.0.0", "race-signal": "^2.0.0", "uint8arraylist": "^2.4.8" }, "devDependencies": { "@dapplion/benchmark": "^1.0.0", - "@libp2p/interface-compliance-tests": "^6.5.0", - "@libp2p/mplex": "^11.0.47", + "@libp2p/interface-compliance-tests": "^7.0.0", + "@libp2p/mplex": "^12.0.0", "aegir": "^47.0.22", "it-all": "^3.0.9", "it-drain": "^3.0.10",