diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c4974f9951..79cc66cb94 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,25 +1 @@ -{ - "packages/crypto":"1.0.17", - "packages/interface":"0.0.1", - "packages/interface-compliance-tests":"3.0.7", - "packages/interface-internal":"0.0.1", - "packages/kad-dht":"9.3.6", - "packages/keychain":"2.0.1", - "packages/libp2p":"0.45.9", - "packages/logger":"2.1.1", - "packages/metrics-prometheus":"1.1.5", - "packages/multistream-select":"3.1.9", - "packages/peer-collections":"3.0.2", - "packages/peer-discovery-bootstrap":"8.0.0", - "packages/peer-discovery-mdns":"8.0.0", - "packages/peer-id":"2.0.3", - "packages/peer-id-factory":"2.0.3", - "packages/peer-record":"5.0.4", - "packages/peer-store":"8.2.1", - "packages/stream-multiplexer-mplex":"8.0.4", - "packages/transport-tcp":"7.0.3", - "packages/transport-webrtc":"2.0.10", - "packages/transport-websockets":"6.0.3", - "packages/transport-webtransport":"2.0.2", - "packages/utils":"3.0.12" -} \ No newline at end of file +{"packages/crypto":"2.0.0","packages/interface":"0.1.0","packages/interface-compliance-tests":"4.0.0","packages/interface-internal":"0.1.0","packages/kad-dht":"10.0.0","packages/keychain":"3.0.0","packages/libp2p":"0.46.0","packages/logger":"3.0.0","packages/metrics-prometheus":"2.0.0","packages/multistream-select":"4.0.0","packages/peer-collections":"4.0.0","packages/peer-discovery-bootstrap":"9.0.0","packages/peer-discovery-mdns":"9.0.0","packages/peer-id":"3.0.0","packages/peer-id-factory":"3.0.0","packages/peer-record":"6.0.0","packages/peer-store":"9.0.0","packages/stream-multiplexer-mplex":"9.0.0","packages/transport-tcp":"8.0.0","packages/transport-webrtc":"3.0.0","packages/transport-websockets":"7.0.0","packages/transport-webtransport":"3.0.0","packages/utils":"4.0.0"} \ No newline at end of file diff --git a/packages/crypto/CHANGELOG.md b/packages/crypto/CHANGELOG.md index 2185a39d35..43c1d3d13f 100644 --- a/packages/crypto/CHANGELOG.md +++ b/packages/crypto/CHANGELOG.md @@ -5,6 +5,30 @@ * **dev:** bump aegir from 38.1.8 to 39.0.5 ([#320](https://github.com/libp2p/js-libp2p-crypto/issues/320)) ([f0b4c06](https://github.com/libp2p/js-libp2p-crypto/commit/f0b4c068a23d78b1376865c6adf6cce21ab91196)) +## [2.0.0](https://www.github.com/libp2p/js-libp2p/compare/crypto-v1.0.17...crypto-v2.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + ## [1.0.16](https://github.com/libp2p/js-libp2p-crypto/compare/v1.0.15...v1.0.16) (2023-05-05) @@ -735,4 +759,4 @@ chore: update deps ### Features -* **keys:** implement generateKeyPairFromSeed for ed25519 ([e5b7c1f](https://github.com/libp2p/js-libp2p-crypto/commit/e5b7c1f)) +* **keys:** implement generateKeyPairFromSeed for ed25519 ([e5b7c1f](https://github.com/libp2p/js-libp2p-crypto/commit/e5b7c1f)) \ No newline at end of file diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 92d5cd8db5..cfd378b4f9 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/crypto", - "version": "1.0.17", + "version": "2.0.0", "description": "Crypto primitives for libp2p", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/crypto#readme", @@ -85,7 +85,7 @@ "generate": "protons ./src/keys/keys.proto" }, "dependencies": { - "@libp2p/interface": "~0.0.1", + "@libp2p/interface": "^0.1.0", "@noble/ed25519": "^1.6.0", "@noble/secp256k1": "^1.5.4", "multiformats": "^12.0.1", diff --git a/packages/interface-compliance-tests/CHANGELOG.md b/packages/interface-compliance-tests/CHANGELOG.md index 35f9edbfff..5af11a3008 100644 --- a/packages/interface-compliance-tests/CHANGELOG.md +++ b/packages/interface-compliance-tests/CHANGELOG.md @@ -5,6 +5,39 @@ * bump aegir from 38.1.8 to 39.0.5 ([#393](https://github.com/libp2p/js-libp2p-interfaces/issues/393)) ([31f3797](https://github.com/libp2p/js-libp2p-interfaces/commit/31f3797b24f7c23f3f16e9db3a230bd5f7cd5175)) +## [4.0.0](https://www.github.com/libp2p/js-libp2p/compare/interface-compliance-tests-v3.0.7...interface-compliance-tests-v4.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* the `.close`, `closeRead` and `closeWrite` methods on the `Stream` interface are now asynchronous +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* mark connections with limits as transient ([#1890](https://www.github.com/libp2p/js-libp2p/issues/1890)) ([a1ec46b](https://www.github.com/libp2p/js-libp2p/commit/a1ec46b5f5606b7bdf3e5b085013fb88e26439f9)) +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* close streams gracefully ([#1864](https://www.github.com/libp2p/js-libp2p/issues/1864)) ([b36ec7f](https://www.github.com/libp2p/js-libp2p/commit/b36ec7f24e477af21cec31effc086a6c611bf271)), closes [#1793](https://www.github.com/libp2p/js-libp2p/issues/1793) [#656](https://www.github.com/libp2p/js-libp2p/issues/656) +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/interface-internal bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + * @libp2p/multistream-select bumped from ^3.0.0 to ^4.0.0 + * @libp2p/peer-collections bumped from ^3.0.0 to ^4.0.0 + * @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-id-factory bumped from ^2.0.0 to ^3.0.0 + ## [@libp2p/interface-compliance-tests-v3.0.6](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-compliance-tests-v3.0.5...@libp2p/interface-compliance-tests-v3.0.6) (2023-01-18) @@ -527,4 +560,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### BREAKING CHANGES -* the tests now live in the libp2p-interfaces-compliance-tests module +* the tests now live in the libp2p-interfaces-compliance-tests module \ No newline at end of file diff --git a/packages/interface-compliance-tests/package.json b/packages/interface-compliance-tests/package.json index 0e69737816..d516764208 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": "3.0.7", + "version": "4.0.0", "description": "Compliance tests for JS libp2p interfaces", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/interface-compliance-tests#readme", @@ -102,13 +102,13 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "~0.0.1", - "@libp2p/interface-internal": "~0.0.1", - "@libp2p/logger": "^2.0.0", - "@libp2p/multistream-select": "^3.0.0", - "@libp2p/peer-collections": "^3.0.0", - "@libp2p/peer-id": "^2.0.0", - "@libp2p/peer-id-factory": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/interface-internal": "^0.1.0", + "@libp2p/logger": "^3.0.0", + "@libp2p/multistream-select": "^4.0.0", + "@libp2p/peer-collections": "^4.0.0", + "@libp2p/peer-id": "^3.0.0", + "@libp2p/peer-id-factory": "^3.0.0", "@multiformats/multiaddr": "^12.1.3", "abortable-iterator": "^5.0.1", "delay": "^6.0.0", diff --git a/packages/interface-internal/CHANGELOG.md b/packages/interface-internal/CHANGELOG.md new file mode 100644 index 0000000000..7c03af3c75 --- /dev/null +++ b/packages/interface-internal/CHANGELOG.md @@ -0,0 +1,30 @@ +# Changelog + +## [0.1.0](https://www.github.com/libp2p/js-libp2p/compare/interface-internal-v0.0.1...interface-internal-v0.1.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* the `.close`, `closeRead` and `closeWrite` methods on the `Stream` interface are now asynchronous +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* mark connections with limits as transient ([#1890](https://www.github.com/libp2p/js-libp2p/issues/1890)) ([a1ec46b](https://www.github.com/libp2p/js-libp2p/commit/a1ec46b5f5606b7bdf3e5b085013fb88e26439f9)) +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* close streams gracefully ([#1864](https://www.github.com/libp2p/js-libp2p/issues/1864)) ([b36ec7f](https://www.github.com/libp2p/js-libp2p/commit/b36ec7f24e477af21cec31effc086a6c611bf271)), closes [#1793](https://www.github.com/libp2p/js-libp2p/issues/1793) [#656](https://www.github.com/libp2p/js-libp2p/issues/656) +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/peer-collections bumped from ^3.0.0 to ^4.0.0 \ No newline at end of file diff --git a/packages/interface-internal/package.json b/packages/interface-internal/package.json index 5e0e634ba1..6967265b72 100644 --- a/packages/interface-internal/package.json +++ b/packages/interface-internal/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/interface-internal", - "version": "0.0.1", + "version": "0.1.0", "description": "Interfaces implemented by internal libp2p components", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/interface-internal#readme", @@ -78,8 +78,8 @@ "build": "aegir build" }, "dependencies": { - "@libp2p/interface": "~0.0.1", - "@libp2p/peer-collections": "^3.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/peer-collections": "^4.0.0", "@multiformats/multiaddr": "^12.1.3", "uint8arraylist": "^2.4.3" }, diff --git a/packages/interface/CHANGELOG.md b/packages/interface/CHANGELOG.md index b8e2e0e2cf..7d03df1fd5 100644 --- a/packages/interface/CHANGELOG.md +++ b/packages/interface/CHANGELOG.md @@ -5,6 +5,27 @@ * 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)) +## [0.1.0](https://www.github.com/libp2p/js-libp2p/compare/interface-v0.0.1...interface-v0.1.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* the `.close`, `closeRead` and `closeWrite` methods on the `Stream` interface are now asynchronous +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* mark connections with limits as transient ([#1890](https://www.github.com/libp2p/js-libp2p/issues/1890)) ([a1ec46b](https://www.github.com/libp2p/js-libp2p/commit/a1ec46b5f5606b7bdf3e5b085013fb88e26439f9)) +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* add pubsub interfaces to @libp2p/interface ([#1857](https://www.github.com/libp2p/js-libp2p/issues/1857)) ([2e561fe](https://www.github.com/libp2p/js-libp2p/commit/2e561fe9d2d3a4e7c38bd0bf4baf41978c4d9438)) +* close streams gracefully ([#1864](https://www.github.com/libp2p/js-libp2p/issues/1864)) ([b36ec7f](https://www.github.com/libp2p/js-libp2p/commit/b36ec7f24e477af21cec31effc086a6c611bf271)), closes [#1793](https://www.github.com/libp2p/js-libp2p/issues/1793) [#656](https://www.github.com/libp2p/js-libp2p/issues/656) +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + ## [@libp2p/interface-v3.1.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-v3.0.1...@libp2p/interface-v3.1.0) (2023-05-05) diff --git a/packages/interface/package.json b/packages/interface/package.json index dce3225aa8..f62bc6d58c 100644 --- a/packages/interface/package.json +++ b/packages/interface/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/interface", - "version": "0.0.1", + "version": "0.1.0", "description": "The interface implemented by a libp2p node", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/interface#readme", diff --git a/packages/kad-dht/CHANGELOG.md b/packages/kad-dht/CHANGELOG.md index a1660bd03c..ed3140115e 100644 --- a/packages/kad-dht/CHANGELOG.md +++ b/packages/kad-dht/CHANGELOG.md @@ -5,6 +5,41 @@ * skip self-query if not running ([#479](https://github.com/libp2p/js-libp2p-kad-dht/issues/479)) ([7095290](https://github.com/libp2p/js-libp2p-kad-dht/commit/70952907a27fd8778773172059879656b4f08855)) +## [10.0.0](https://www.github.com/libp2p/js-libp2p/compare/kad-dht-v9.3.6...kad-dht-v10.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* the `.close`, `closeRead` and `closeWrite` methods on the `Stream` interface are now asynchronous +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* close streams gracefully ([#1864](https://www.github.com/libp2p/js-libp2p/issues/1864)) ([b36ec7f](https://www.github.com/libp2p/js-libp2p/commit/b36ec7f24e477af21cec31effc086a6c611bf271)), closes [#1793](https://www.github.com/libp2p/js-libp2p/issues/1793) [#656](https://www.github.com/libp2p/js-libp2p/issues/656) +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/crypto bumped from ^1.0.0 to ^2.0.0 + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/interface-internal bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-collections bumped from ^3.0.0 to ^4.0.0 + * @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0 + * devDependencies + * @libp2p/interface-compliance-tests bumped from ^3.0.0 to ^4.0.0 + * @libp2p/peer-id-factory bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-store bumped from ^8.0.0 to ^9.0.0 + ## [9.3.5](https://github.com/libp2p/js-libp2p-kad-dht/compare/v9.3.4...v9.3.5) (2023-05-26) @@ -1651,4 +1686,4 @@ Co-Authored-By: vasco-santos ### Features -* v0.1.0 ([4bd1fbc](https://github.com/libp2p/js-libp2p-kad-dht/commit/4bd1fbc)) +* v0.1.0 ([4bd1fbc](https://github.com/libp2p/js-libp2p-kad-dht/commit/4bd1fbc)) \ No newline at end of file diff --git a/packages/kad-dht/package.json b/packages/kad-dht/package.json index 81e4ea5c02..d29e31f64c 100644 --- a/packages/kad-dht/package.json +++ b/packages/kad-dht/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/kad-dht", - "version": "9.3.6", + "version": "10.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/master/packages/kad-dht#readme", @@ -51,12 +51,12 @@ "dep-check": "aegir dep-check -i events" }, "dependencies": { - "@libp2p/crypto": "^1.0.0", - "@libp2p/interface": "~0.0.1", - "@libp2p/interface-internal": "~0.0.1", - "@libp2p/logger": "^2.0.0", - "@libp2p/peer-collections": "^3.0.0", - "@libp2p/peer-id": "^2.0.0", + "@libp2p/crypto": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/interface-internal": "^0.1.0", + "@libp2p/logger": "^3.0.0", + "@libp2p/peer-collections": "^4.0.0", + "@libp2p/peer-id": "^3.0.0", "@multiformats/multiaddr": "^12.1.3", "@types/sinon": "^10.0.15", "abortable-iterator": "^5.0.1", @@ -88,9 +88,9 @@ "varint": "^6.0.0" }, "devDependencies": { - "@libp2p/interface-compliance-tests": "^3.0.0", - "@libp2p/peer-id-factory": "^2.0.0", - "@libp2p/peer-store": "^8.0.0", + "@libp2p/interface-compliance-tests": "^4.0.0", + "@libp2p/peer-id-factory": "^3.0.0", + "@libp2p/peer-store": "^9.0.0", "@types/lodash.random": "^3.2.6", "@types/lodash.range": "^3.2.6", "@types/varint": "^6.0.0", diff --git a/packages/keychain/CHANGELOG.md b/packages/keychain/CHANGELOG.md index 0f7c302ac5..3c3f0e4563 100644 --- a/packages/keychain/CHANGELOG.md +++ b/packages/keychain/CHANGELOG.md @@ -11,6 +11,35 @@ * **dev:** bump aegir from 38.1.8 to 39.0.10 ([#70](https://github.com/libp2p/js-libp2p-keychain/issues/70)) ([4da4a08](https://github.com/libp2p/js-libp2p-keychain/commit/4da4a08b86f436c36e2fae48ecc48817e9b8066f)) +## [3.0.0](https://www.github.com/libp2p/js-libp2p/compare/keychain-v2.0.1...keychain-v3.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/crypto bumped from ^1.0.0 to ^2.0.0 + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0 + * devDependencies + * @libp2p/peer-id-factory bumped from ^2.0.0 to ^3.0.0 + ## [2.0.0](https://github.com/libp2p/js-libp2p-keychain/compare/v1.0.1...v2.0.0) (2023-03-13) @@ -201,4 +230,4 @@ Co-Authored-By: Vasco Santos ### Features * move bits from https://github.com/richardschneider/ipfs-encryption ([1a96ae8](https://github.com/libp2p/js-libp2p-keychain/commit/1a96ae8)) -* use libp2p-crypto ([#18](https://github.com/libp2p/js-libp2p-keychain/issues/18)) ([c1627a9](https://github.com/libp2p/js-libp2p-keychain/commit/c1627a9)) +* use libp2p-crypto ([#18](https://github.com/libp2p/js-libp2p-keychain/issues/18)) ([c1627a9](https://github.com/libp2p/js-libp2p-keychain/commit/c1627a9)) \ No newline at end of file diff --git a/packages/keychain/package.json b/packages/keychain/package.json index 7fcfa12b14..427662a410 100644 --- a/packages/keychain/package.json +++ b/packages/keychain/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/keychain", - "version": "2.0.1", + "version": "3.0.0", "description": "Key management and cryptographically protected messages", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/keychain#readme", @@ -53,17 +53,17 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/crypto": "^1.0.0", - "@libp2p/interface": "~0.0.1", - "@libp2p/logger": "^2.0.0", - "@libp2p/peer-id": "^2.0.0", + "@libp2p/crypto": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/logger": "^3.0.0", + "@libp2p/peer-id": "^3.0.0", "interface-datastore": "^8.2.0", "merge-options": "^3.0.4", "sanitize-filename": "^1.6.3", "uint8arrays": "^4.0.4" }, "devDependencies": { - "@libp2p/peer-id-factory": "^2.0.0", + "@libp2p/peer-id-factory": "^3.0.0", "aegir": "^40.0.1", "datastore-core": "^9.1.1", "multiformats": "^12.0.1" diff --git a/packages/libp2p/CHANGELOG.md b/packages/libp2p/CHANGELOG.md index 0a66a7b6b5..0a53ca6f78 100644 --- a/packages/libp2p/CHANGELOG.md +++ b/packages/libp2p/CHANGELOG.md @@ -5,6 +5,56 @@ * allow specifiying maxOutboundStreams in connection.newStream ([#1817](https://www.github.com/libp2p/js-libp2p/issues/1817)) ([b348fba](https://www.github.com/libp2p/js-libp2p/commit/b348fbaa7e16fd40f9a93e83a92c8152ad9e97e9)) +## [0.46.0](https://www.github.com/libp2p/js-libp2p/compare/libp2p-v0.45.9...libp2p-v0.46.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* the `.close`, `closeRead` and `closeWrite` methods on the `Stream` interface are now asynchronous +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* enable manual identify ([#1784](https://www.github.com/libp2p/js-libp2p/issues/1784)) ([06f4901](https://www.github.com/libp2p/js-libp2p/commit/06f4901a367ef8e6b9f74bc9b896cdb091c31b12)) +* mark connections with limits as transient ([#1890](https://www.github.com/libp2p/js-libp2p/issues/1890)) ([a1ec46b](https://www.github.com/libp2p/js-libp2p/commit/a1ec46b5f5606b7bdf3e5b085013fb88e26439f9)) +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* close streams gracefully ([#1864](https://www.github.com/libp2p/js-libp2p/issues/1864)) ([b36ec7f](https://www.github.com/libp2p/js-libp2p/commit/b36ec7f24e477af21cec31effc086a6c611bf271)), closes [#1793](https://www.github.com/libp2p/js-libp2p/issues/1793) [#656](https://www.github.com/libp2p/js-libp2p/issues/656) +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) +* ignore peers with invalid multiaddrs ([#1902](https://www.github.com/libp2p/js-libp2p/issues/1902)) ([a41d25d](https://www.github.com/libp2p/js-libp2p/commit/a41d25d49696febd7fd903bbdcc95ebaeb5d4b35)) +* remove redundant nat-api override ([#1906](https://www.github.com/libp2p/js-libp2p/issues/1906)) ([1f7e18b](https://www.github.com/libp2p/js-libp2p/commit/1f7e18b07094046f10df89a1c6eab505d4c13225)) +* updated multiaddr logging ([#1797](https://www.github.com/libp2p/js-libp2p/issues/1797)) ([f427cfc](https://www.github.com/libp2p/js-libp2p/commit/f427cfc923a4bf9fd328386897a0e7181969c854)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/crypto bumped from ^1.0.0 to ^2.0.0 + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/interface-internal bumped from ~0.0.1 to ^0.1.0 + * @libp2p/keychain bumped from ^2.0.0 to ^3.0.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + * @libp2p/multistream-select bumped from ^3.0.0 to ^4.0.0 + * @libp2p/peer-collections bumped from ^3.0.0 to ^4.0.0 + * @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-id-factory bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-record bumped from ^5.0.0 to ^6.0.0 + * @libp2p/peer-store bumped from ^8.0.0 to ^9.0.0 + * @libp2p/utils bumped from ^3.0.0 to ^4.0.0 + * devDependencies + * @libp2p/bootstrap bumped from ^8.0.0 to ^9.0.0 + * @libp2p/interface-compliance-tests bumped from ^3.0.0 to ^4.0.0 + * @libp2p/kad-dht bumped from ^9.0.0 to ^10.0.0 + * @libp2p/mdns bumped from ^8.0.0 to ^9.0.0 + * @libp2p/mplex bumped from ^8.0.0 to ^9.0.0 + * @libp2p/tcp bumped from ^7.0.0 to ^8.0.0 + * @libp2p/websockets bumped from ^6.0.0 to ^7.0.0 + ### [0.45.8](https://www.github.com/libp2p/js-libp2p/compare/libp2p-v0.45.7...libp2p-v0.45.8) (2023-06-14) @@ -2214,4 +2264,4 @@ for subscribe to see how it should be used. -## [0.5.5](https://github.com/libp2p/js-libp2p/compare/v0.5.4...v0.5.5) (2017-03-21) +## [0.5.5](https://github.com/libp2p/js-libp2p/compare/v0.5.4...v0.5.5) (2017-03-21) \ No newline at end of file diff --git a/packages/libp2p/package.json b/packages/libp2p/package.json index 7fe9a874f5..3498a29e85 100644 --- a/packages/libp2p/package.json +++ b/packages/libp2p/package.json @@ -1,6 +1,6 @@ { "name": "libp2p", - "version": "0.45.9", + "version": "0.46.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/master/packages/libp2p#readme", @@ -115,18 +115,18 @@ }, "dependencies": { "@achingbrain/nat-port-mapper": "^1.0.9", - "@libp2p/crypto": "^1.0.0", - "@libp2p/interface": "~0.0.1", - "@libp2p/interface-internal": "~0.0.1", - "@libp2p/keychain": "^2.0.0", - "@libp2p/logger": "^2.0.0", - "@libp2p/multistream-select": "^3.0.0", - "@libp2p/peer-collections": "^3.0.0", - "@libp2p/peer-id": "^2.0.0", - "@libp2p/peer-id-factory": "^2.0.0", - "@libp2p/peer-record": "^5.0.0", - "@libp2p/peer-store": "^8.0.0", - "@libp2p/utils": "^3.0.0", + "@libp2p/crypto": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/interface-internal": "^0.1.0", + "@libp2p/keychain": "^3.0.0", + "@libp2p/logger": "^3.0.0", + "@libp2p/multistream-select": "^4.0.0", + "@libp2p/peer-collections": "^4.0.0", + "@libp2p/peer-id": "^3.0.0", + "@libp2p/peer-id-factory": "^3.0.0", + "@libp2p/peer-record": "^6.0.0", + "@libp2p/peer-store": "^9.0.0", + "@libp2p/utils": "^4.0.0", "@multiformats/mafmt": "^12.1.2", "@multiformats/multiaddr": "^12.1.3", "abortable-iterator": "^5.0.1", @@ -163,17 +163,17 @@ "@chainsafe/libp2p-gossipsub": "^9.0.0", "@chainsafe/libp2p-noise": "^12.0.0", "@chainsafe/libp2p-yamux": "^4.0.0", - "@libp2p/bootstrap": "^8.0.0", + "@libp2p/bootstrap": "^9.0.0", "@libp2p/daemon-client": "^6.0.0", "@libp2p/daemon-server": "^5.0.0", "@libp2p/floodsub": "^7.0.0", - "@libp2p/interface-compliance-tests": "^3.0.0", + "@libp2p/interface-compliance-tests": "^4.0.0", "@libp2p/interop": "^8.0.0", - "@libp2p/kad-dht": "^9.0.0", - "@libp2p/mdns": "^8.0.0", - "@libp2p/mplex": "^8.0.0", - "@libp2p/tcp": "^7.0.0", - "@libp2p/websockets": "^6.0.0", + "@libp2p/kad-dht": "^10.0.0", + "@libp2p/mdns": "^9.0.0", + "@libp2p/mplex": "^9.0.0", + "@libp2p/tcp": "^8.0.0", + "@libp2p/websockets": "^7.0.0", "@types/varint": "^6.0.0", "@types/xsalsa20": "^1.1.0", "aegir": "^40.0.1", diff --git a/packages/logger/CHANGELOG.md b/packages/logger/CHANGELOG.md index a05e46a74a..bcb5427f21 100644 --- a/packages/logger/CHANGELOG.md +++ b/packages/logger/CHANGELOG.md @@ -5,6 +5,32 @@ * specify updated formatter for multiaddrs ([#36](https://github.com/libp2p/js-libp2p-logger/issues/36)) ([abaefb4](https://github.com/libp2p/js-libp2p-logger/commit/abaefb490a0d9464a23b422d9fc5b80051532d10)) +## [3.0.0](https://www.github.com/libp2p/js-libp2p/compare/logger-v2.1.1...logger-v3.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * devDependencies + * @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0 + ## [2.1.0](https://github.com/libp2p/js-libp2p-logger/compare/v2.0.7...v2.1.0) (2023-05-31) @@ -181,4 +207,4 @@ ### Features -* add tracked-map ([#156](https://github.com/libp2p/js-libp2p-interfaces/issues/156)) ([c17730f](https://github.com/libp2p/js-libp2p-interfaces/commit/c17730f8bca172db85507740eaba81b3cf514d04)) +* add tracked-map ([#156](https://github.com/libp2p/js-libp2p-interfaces/issues/156)) ([c17730f](https://github.com/libp2p/js-libp2p-interfaces/commit/c17730f8bca172db85507740eaba81b3cf514d04)) \ No newline at end of file diff --git a/packages/logger/package.json b/packages/logger/package.json index f242c4c6fd..9d8f7b17ad 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/logger", - "version": "2.1.1", + "version": "3.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/master/packages/logger#readme", @@ -48,14 +48,14 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "~0.0.1", + "@libp2p/interface": "^0.1.0", "@multiformats/multiaddr": "^12.1.3", "debug": "^4.3.4", "interface-datastore": "^8.2.0", "multiformats": "^12.0.1" }, "devDependencies": { - "@libp2p/peer-id": "^2.0.0", + "@libp2p/peer-id": "^3.0.0", "@types/debug": "^4.1.7", "aegir": "^40.0.1", "sinon": "^15.1.2", diff --git a/packages/metrics-prometheus/CHANGELOG.md b/packages/metrics-prometheus/CHANGELOG.md index 237f9f466c..75c52e5097 100644 --- a/packages/metrics-prometheus/CHANGELOG.md +++ b/packages/metrics-prometheus/CHANGELOG.md @@ -5,6 +5,34 @@ * move prom-client to deps ([#32](https://github.com/libp2p/js-libp2p-prometheus-metrics/issues/32)) ([73acad0](https://github.com/libp2p/js-libp2p-prometheus-metrics/commit/73acad0a20a9a0ad024cd47a53f154668dbae77b)) +## [2.0.0](https://www.github.com/libp2p/js-libp2p/compare/prometheus-metrics-v1.1.5...prometheus-metrics-v2.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + * devDependencies + * @libp2p/interface-compliance-tests bumped from ^3.0.0 to ^4.0.0 + * @libp2p/peer-id-factory bumped from ^2.0.0 to ^3.0.0 + ## [1.1.4](https://github.com/libp2p/js-libp2p-prometheus-metrics/compare/v1.1.3...v1.1.4) (2023-05-12) @@ -83,4 +111,4 @@ ### Documentation -* update readme to link to correct branch ([1a7565b](https://github.com/libp2p/js-libp2p-prometheus-metrics/commit/1a7565b5986ba689eb7a6d555b15ca1a4e4d3f31)) +* update readme to link to correct branch ([1a7565b](https://github.com/libp2p/js-libp2p-prometheus-metrics/commit/1a7565b5986ba689eb7a6d555b15ca1a4e4d3f31)) \ No newline at end of file diff --git a/packages/metrics-prometheus/package.json b/packages/metrics-prometheus/package.json index 244446cd62..dad26ecf7b 100644 --- a/packages/metrics-prometheus/package.json +++ b/packages/metrics-prometheus/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/prometheus-metrics", - "version": "1.1.5", + "version": "2.0.0", "description": "Collect libp2p metrics for scraping by Prometheus or Graphana", "author": "", "license": "Apache-2.0 OR MIT", @@ -42,15 +42,15 @@ "test:electron-main": "aegir test -t electron-main --cov" }, "dependencies": { - "@libp2p/interface": "~0.0.1", - "@libp2p/logger": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/logger": "^3.0.0", "it-foreach": "^2.0.3", "it-stream-types": "^2.0.1", "prom-client": "^14.1.0" }, "devDependencies": { - "@libp2p/interface-compliance-tests": "^3.0.0", - "@libp2p/peer-id-factory": "^2.0.0", + "@libp2p/interface-compliance-tests": "^4.0.0", + "@libp2p/peer-id-factory": "^3.0.0", "@multiformats/multiaddr": "^12.1.3", "aegir": "^40.0.1", "it-drain": "^3.0.2", diff --git a/packages/multistream-select/CHANGELOG.md b/packages/multistream-select/CHANGELOG.md index 2b8fdbdeaf..1a0bfebe8f 100644 --- a/packages/multistream-select/CHANGELOG.md +++ b/packages/multistream-select/CHANGELOG.md @@ -11,6 +11,33 @@ * **dev:** bump aegir from 38.1.8 to 39.0.10 ([#70](https://github.com/libp2p/js-libp2p-multistream-select/issues/70)) ([f87b1c3](https://github.com/libp2p/js-libp2p-multistream-select/commit/f87b1c3505934ebeed6eff018af8d3042e7e6e06)) +## [4.0.0](https://www.github.com/libp2p/js-libp2p/compare/multistream-select-v3.1.9...multistream-select-v4.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* the `.close`, `closeRead` and `closeWrite` methods on the `Stream` interface are now asynchronous +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* close streams gracefully ([#1864](https://www.github.com/libp2p/js-libp2p/issues/1864)) ([b36ec7f](https://www.github.com/libp2p/js-libp2p/commit/b36ec7f24e477af21cec31effc086a6c611bf271)), closes [#1793](https://www.github.com/libp2p/js-libp2p/issues/1793) [#656](https://www.github.com/libp2p/js-libp2p/issues/656) +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + ## [3.1.8](https://github.com/libp2p/js-libp2p-multistream-select/compare/v3.1.7...v3.1.8) (2023-04-19) @@ -197,4 +224,4 @@ ### Bug Fixes -* add multistream-select and update pubsub types ([#170](https://github.com/libp2p/js-libp2p-interfaces/issues/170)) ([b9ecb2b](https://github.com/libp2p/js-libp2p-interfaces/commit/b9ecb2bee8f2abc0c41bfcf7bf2025894e37ddc2)) +* add multistream-select and update pubsub types ([#170](https://github.com/libp2p/js-libp2p-interfaces/issues/170)) ([b9ecb2b](https://github.com/libp2p/js-libp2p-interfaces/commit/b9ecb2bee8f2abc0c41bfcf7bf2025894e37ddc2)) \ No newline at end of file diff --git a/packages/multistream-select/package.json b/packages/multistream-select/package.json index 0aa6c16170..51e74199d0 100644 --- a/packages/multistream-select/package.json +++ b/packages/multistream-select/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/multistream-select", - "version": "3.1.9", + "version": "4.0.0", "description": "JavaScript implementation of multistream-select", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/multistream-select#readme", @@ -52,8 +52,8 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "~0.0.1", - "@libp2p/logger": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/logger": "^3.0.0", "abortable-iterator": "^5.0.1", "it-first": "^3.0.1", "it-handshake": "^4.1.3", diff --git a/packages/peer-collections/CHANGELOG.md b/packages/peer-collections/CHANGELOG.md index 2c070f5975..cbffd419f3 100644 --- a/packages/peer-collections/CHANGELOG.md +++ b/packages/peer-collections/CHANGELOG.md @@ -11,6 +11,33 @@ * **dev:** bump aegir from 38.1.8 to 39.0.10 ([#36](https://github.com/libp2p/js-libp2p-peer-collections/issues/36)) ([9fa3de6](https://github.com/libp2p/js-libp2p-peer-collections/commit/9fa3de6d85dbe1ade54fda86b597ed9ffe6d71d5)) +## [4.0.0](https://www.github.com/libp2p/js-libp2p/compare/peer-collections-v3.0.2...peer-collections-v4.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0 + * devDependencies + * @libp2p/peer-id-factory bumped from ^2.0.0 to ^3.0.0 + ## [3.0.1](https://github.com/libp2p/js-libp2p-peer-collections/compare/v3.0.0...v3.0.1) (2023-03-24) @@ -111,4 +138,4 @@ ### Bug Fixes -* simplify transport interface, update interfaces for use with libp2p ([#180](https://github.com/libp2p/js-libp2p-interfaces/issues/180)) ([ec81622](https://github.com/libp2p/js-libp2p-interfaces/commit/ec81622e5b7c6d256e0f8aed6d3695642473293b)) +* simplify transport interface, update interfaces for use with libp2p ([#180](https://github.com/libp2p/js-libp2p-interfaces/issues/180)) ([ec81622](https://github.com/libp2p/js-libp2p-interfaces/commit/ec81622e5b7c6d256e0f8aed6d3695642473293b)) \ No newline at end of file diff --git a/packages/peer-collections/package.json b/packages/peer-collections/package.json index c263150a3a..b95f2b8a0d 100644 --- a/packages/peer-collections/package.json +++ b/packages/peer-collections/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/peer-collections", - "version": "3.0.2", + "version": "4.0.0", "description": "Stores values against a peer id", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/peer-collections#readme", @@ -48,11 +48,11 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "~0.0.1", - "@libp2p/peer-id": "^2.0.0" + "@libp2p/interface": "^0.1.0", + "@libp2p/peer-id": "^3.0.0" }, "devDependencies": { - "@libp2p/peer-id-factory": "^2.0.0", + "@libp2p/peer-id-factory": "^3.0.0", "aegir": "^40.0.1" } } diff --git a/packages/peer-discovery-bootstrap/CHANGELOG.md b/packages/peer-discovery-bootstrap/CHANGELOG.md index a74abf2fa2..7e7ce9c330 100644 --- a/packages/peer-discovery-bootstrap/CHANGELOG.md +++ b/packages/peer-discovery-bootstrap/CHANGELOG.md @@ -9,6 +9,34 @@ * update @libp2p/interface-peer-discovery to 2.0.0 ([#176](https://github.com/libp2p/js-libp2p-bootstrap/issues/176)) ([1954e75](https://github.com/libp2p/js-libp2p-bootstrap/commit/1954e75fa4b1e6b3b42f885f663f989fd0e422ab)) +## [9.0.0](https://www.github.com/libp2p/js-libp2p/compare/bootstrap-v8.0.0...bootstrap-v9.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0 + * devDependencies + * @libp2p/interface-compliance-tests bumped from ^3.0.0 to ^4.0.0 + ## [7.0.1](https://github.com/libp2p/js-libp2p-bootstrap/compare/v7.0.0...v7.0.1) (2023-05-04) @@ -474,4 +502,4 @@ Co-authored-by: Alan Shaw -## [0.4.2](https://github.com/libp2p/js-ipfs-railing/compare/v0.4.1...v0.4.2) (2017-03-21) +## [0.4.2](https://github.com/libp2p/js-ipfs-railing/compare/v0.4.1...v0.4.2) (2017-03-21) \ No newline at end of file diff --git a/packages/peer-discovery-bootstrap/package.json b/packages/peer-discovery-bootstrap/package.json index dbdd4090f3..93f19ffcb8 100644 --- a/packages/peer-discovery-bootstrap/package.json +++ b/packages/peer-discovery-bootstrap/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/bootstrap", - "version": "8.0.0", + "version": "9.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/master/packages/peer-discovery-bootstrap#readme", @@ -48,14 +48,14 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "~0.0.1", - "@libp2p/logger": "^2.0.0", - "@libp2p/peer-id": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/logger": "^3.0.0", + "@libp2p/peer-id": "^3.0.0", "@multiformats/mafmt": "^12.1.2", "@multiformats/multiaddr": "^12.1.3" }, "devDependencies": { - "@libp2p/interface-compliance-tests": "^3.0.0", + "@libp2p/interface-compliance-tests": "^4.0.0", "aegir": "^40.0.1", "sinon-ts": "^1.0.0" } diff --git a/packages/peer-discovery-mdns/CHANGELOG.md b/packages/peer-discovery-mdns/CHANGELOG.md index faba3af6eb..b52450afa9 100644 --- a/packages/peer-discovery-mdns/CHANGELOG.md +++ b/packages/peer-discovery-mdns/CHANGELOG.md @@ -9,6 +9,36 @@ * update @libp2p/interface-peer-discovery to 2.0.0 ([#197](https://github.com/libp2p/js-libp2p-mdns/issues/197)) ([e8172af](https://github.com/libp2p/js-libp2p-mdns/commit/e8172af8b9856a934327195238b00e5fbba436a4)) +## [9.0.0](https://www.github.com/libp2p/js-libp2p/compare/mdns-v8.0.0...mdns-v9.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0 + * devDependencies + * @libp2p/interface-compliance-tests bumped from ^3.0.0 to ^4.0.0 + * @libp2p/interface-internal bumped from ~0.0.1 to ^0.1.0 + * @libp2p/peer-id-factory bumped from ^2.0.0 to ^3.0.0 + ## [7.0.5](https://github.com/libp2p/js-libp2p-mdns/compare/v7.0.4...v7.0.5) (2023-05-04) @@ -497,4 +527,4 @@ Co-authored-by: Jacob Heun -## [0.6.2](https://github.com/libp2p/js-libp2p-mdns/compare/v0.6.1...v0.6.2) (2017-03-21) +## [0.6.2](https://github.com/libp2p/js-libp2p-mdns/compare/v0.6.1...v0.6.2) (2017-03-21) \ No newline at end of file diff --git a/packages/peer-discovery-mdns/package.json b/packages/peer-discovery-mdns/package.json index 3469e2ccdb..3b00cd0897 100644 --- a/packages/peer-discovery-mdns/package.json +++ b/packages/peer-discovery-mdns/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/mdns", - "version": "8.0.0", + "version": "9.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/master/packages/peer-discovery-mdns#readme", @@ -44,18 +44,18 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "~0.0.1", - "@libp2p/logger": "^2.0.0", - "@libp2p/peer-id": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/logger": "^3.0.0", + "@libp2p/peer-id": "^3.0.0", "@multiformats/multiaddr": "^12.1.3", "@types/multicast-dns": "^7.2.1", "dns-packet": "^5.4.0", "multicast-dns": "^7.2.5" }, "devDependencies": { - "@libp2p/interface-compliance-tests": "^3.0.0", - "@libp2p/interface-internal": "~0.0.1", - "@libp2p/peer-id-factory": "^2.0.0", + "@libp2p/interface-compliance-tests": "^4.0.0", + "@libp2p/interface-internal": "^0.1.0", + "@libp2p/peer-id-factory": "^3.0.0", "aegir": "^40.0.1", "p-wait-for": "^5.0.2", "ts-sinon": "^2.0.2" diff --git a/packages/peer-id-factory/CHANGELOG.md b/packages/peer-id-factory/CHANGELOG.md index c674ac0dac..94545e6c5e 100644 --- a/packages/peer-id-factory/CHANGELOG.md +++ b/packages/peer-id-factory/CHANGELOG.md @@ -5,6 +5,32 @@ * update README.md ([#59](https://github.com/libp2p/js-libp2p-peer-id/issues/59)) ([aba6483](https://github.com/libp2p/js-libp2p-peer-id/commit/aba6483dad028ee5c24bfc01135b77568666cfd3)) +## [3.0.0](https://www.github.com/libp2p/js-libp2p/compare/peer-id-factory-v2.0.3...peer-id-factory-v3.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/crypto bumped from ^1.0.0 to ^2.0.0 + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0 + ## [@libp2p/peer-id-factory-v2.0.2](https://github.com/libp2p/js-libp2p-peer-id/compare/@libp2p/peer-id-factory-v2.0.1...@libp2p/peer-id-factory-v2.0.2) (2023-03-10) @@ -211,4 +237,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Features -* simpler peer id ([#117](https://github.com/libp2p/js-libp2p-interfaces/issues/117)) ([fa2c4f5](https://github.com/libp2p/js-libp2p-interfaces/commit/fa2c4f5be74a5cfc11489771881e57b4e53bf174)) +* simpler peer id ([#117](https://github.com/libp2p/js-libp2p-interfaces/issues/117)) ([fa2c4f5](https://github.com/libp2p/js-libp2p-interfaces/commit/fa2c4f5be74a5cfc11489771881e57b4e53bf174)) \ No newline at end of file diff --git a/packages/peer-id-factory/package.json b/packages/peer-id-factory/package.json index d19904eaa3..f04ea45095 100644 --- a/packages/peer-id-factory/package.json +++ b/packages/peer-id-factory/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/peer-id-factory", - "version": "2.0.3", + "version": "3.0.0", "description": "Create PeerId instances", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/peer-id-factory#readme", @@ -52,9 +52,9 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/crypto": "^1.0.0", - "@libp2p/interface": "~0.0.1", - "@libp2p/peer-id": "^2.0.0", + "@libp2p/crypto": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/peer-id": "^3.0.0", "multiformats": "^12.0.1", "protons-runtime": "^5.0.0", "uint8arraylist": "^2.4.3", diff --git a/packages/peer-id/CHANGELOG.md b/packages/peer-id/CHANGELOG.md index c2d9a92914..1ba35c446b 100644 --- a/packages/peer-id/CHANGELOG.md +++ b/packages/peer-id/CHANGELOG.md @@ -5,6 +5,30 @@ * update README.md ([#59](https://github.com/libp2p/js-libp2p-peer-id/issues/59)) ([aba6483](https://github.com/libp2p/js-libp2p-peer-id/commit/aba6483dad028ee5c24bfc01135b77568666cfd3)) +## [3.0.0](https://www.github.com/libp2p/js-libp2p/compare/peer-id-v2.0.3...peer-id-v3.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + ## [@libp2p/peer-id-v2.0.2](https://github.com/libp2p/js-libp2p-peer-id/compare/@libp2p/peer-id-v2.0.1...@libp2p/peer-id-v2.0.2) (2023-02-23) @@ -233,4 +257,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Features -* simpler peer id ([#117](https://github.com/libp2p/js-libp2p-interfaces/issues/117)) ([fa2c4f5](https://github.com/libp2p/js-libp2p-interfaces/commit/fa2c4f5be74a5cfc11489771881e57b4e53bf174)) +* simpler peer id ([#117](https://github.com/libp2p/js-libp2p-interfaces/issues/117)) ([fa2c4f5](https://github.com/libp2p/js-libp2p-interfaces/commit/fa2c4f5be74a5cfc11489771881e57b4e53bf174)) \ No newline at end of file diff --git a/packages/peer-id/package.json b/packages/peer-id/package.json index 61e5d610ff..6bbb5fbe42 100644 --- a/packages/peer-id/package.json +++ b/packages/peer-id/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/peer-id", - "version": "2.0.3", + "version": "3.0.0", "description": "Implementation of @libp2p/interface-peer-id", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/peer-id#readme", @@ -48,7 +48,7 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "~0.0.1", + "@libp2p/interface": "^0.1.0", "multiformats": "^12.0.1", "uint8arrays": "^4.0.4" }, diff --git a/packages/peer-record/CHANGELOG.md b/packages/peer-record/CHANGELOG.md index fb59f472bf..9d554d2d70 100644 --- a/packages/peer-record/CHANGELOG.md +++ b/packages/peer-record/CHANGELOG.md @@ -11,6 +11,35 @@ * **dev:** bump aegir from 38.1.8 to 39.0.10 ([#64](https://github.com/libp2p/js-libp2p-peer-record/issues/64)) ([ba3ac38](https://github.com/libp2p/js-libp2p-peer-record/commit/ba3ac38c79e9449a75c0a54fefe289ee9e2c78fb)) +## [6.0.0](https://www.github.com/libp2p/js-libp2p/compare/peer-record-v5.0.4...peer-record-v6.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/crypto bumped from ^1.0.0 to ^2.0.0 + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0 + * @libp2p/utils bumped from ^3.0.0 to ^4.0.0 + * devDependencies + * @libp2p/peer-id-factory bumped from ^2.0.0 to ^3.0.0 + ## [5.0.3](https://github.com/libp2p/js-libp2p-peer-record/compare/v5.0.2...v5.0.3) (2023-03-17) @@ -254,4 +283,4 @@ ### Features -* add peer store/records, and streams are just streams ([#160](https://github.com/libp2p/js-libp2p-interfaces/issues/160)) ([8860a0c](https://github.com/libp2p/js-libp2p-interfaces/commit/8860a0cd46b359a5648402d83870f7ff957222fe)) +* add peer store/records, and streams are just streams ([#160](https://github.com/libp2p/js-libp2p-interfaces/issues/160)) ([8860a0c](https://github.com/libp2p/js-libp2p-interfaces/commit/8860a0cd46b359a5648402d83870f7ff957222fe)) \ No newline at end of file diff --git a/packages/peer-record/package.json b/packages/peer-record/package.json index e94a846471..9466c5d14b 100644 --- a/packages/peer-record/package.json +++ b/packages/peer-record/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/peer-record", - "version": "5.0.4", + "version": "6.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/master/packages/peer-record#readme", @@ -55,10 +55,10 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/crypto": "^1.0.0", - "@libp2p/interface": "~0.0.1", - "@libp2p/peer-id": "^2.0.0", - "@libp2p/utils": "^3.0.0", + "@libp2p/crypto": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/peer-id": "^3.0.0", + "@libp2p/utils": "^4.0.0", "@multiformats/multiaddr": "^12.1.3", "protons-runtime": "^5.0.0", "uint8-varint": "^1.0.2", @@ -66,7 +66,7 @@ "uint8arrays": "^4.0.4" }, "devDependencies": { - "@libp2p/peer-id-factory": "^2.0.0", + "@libp2p/peer-id-factory": "^3.0.0", "@types/varint": "^6.0.0", "aegir": "^40.0.1", "protons": "^7.0.2" diff --git a/packages/peer-store/CHANGELOG.md b/packages/peer-store/CHANGELOG.md index d9f685ac4b..758d08bd65 100644 --- a/packages/peer-store/CHANGELOG.md +++ b/packages/peer-store/CHANGELOG.md @@ -11,6 +11,35 @@ * **dev:** bump p-event from 5.0.1 to 6.0.0 ([#89](https://github.com/libp2p/js-libp2p-peer-store/issues/89)) ([9d96700](https://github.com/libp2p/js-libp2p-peer-store/commit/9d9670048b5e8feeac656cba92cb2e513e4a77be)) +## [9.0.0](https://www.github.com/libp2p/js-libp2p/compare/peer-store-v8.2.1...peer-store-v9.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-collections bumped from ^3.0.0 to ^4.0.0 + * @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-id-factory bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-record bumped from ^5.0.0 to ^6.0.0 + ## [8.2.0](https://github.com/libp2p/js-libp2p-peer-store/compare/v8.1.4...v8.2.0) (2023-06-11) @@ -391,4 +420,4 @@ Co-authored-by: Alex Potsides ### Features -* add peer store/records, and streams are just streams ([#160](https://github.com/libp2p/js-libp2p-interfaces/issues/160)) ([8860a0c](https://github.com/libp2p/js-libp2p-interfaces/commit/8860a0cd46b359a5648402d83870f7ff957222fe)) +* add peer store/records, and streams are just streams ([#160](https://github.com/libp2p/js-libp2p-interfaces/issues/160)) ([8860a0c](https://github.com/libp2p/js-libp2p-interfaces/commit/8860a0cd46b359a5648402d83870f7ff957222fe)) \ No newline at end of file diff --git a/packages/peer-store/package.json b/packages/peer-store/package.json index 93d955f666..24212fda85 100644 --- a/packages/peer-store/package.json +++ b/packages/peer-store/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/peer-store", - "version": "8.2.1", + "version": "9.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/master/packages/peer-store#readme", @@ -53,12 +53,12 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "~0.0.1", - "@libp2p/logger": "^2.0.0", - "@libp2p/peer-collections": "^3.0.0", - "@libp2p/peer-id": "^2.0.0", - "@libp2p/peer-id-factory": "^2.0.0", - "@libp2p/peer-record": "^5.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/logger": "^3.0.0", + "@libp2p/peer-collections": "^4.0.0", + "@libp2p/peer-id": "^3.0.0", + "@libp2p/peer-id-factory": "^3.0.0", + "@libp2p/peer-record": "^6.0.0", "@multiformats/multiaddr": "^12.1.3", "interface-datastore": "^8.2.0", "it-all": "^3.0.2", diff --git a/packages/stream-multiplexer-mplex/CHANGELOG.md b/packages/stream-multiplexer-mplex/CHANGELOG.md index 9018e4926a..77e59ed521 100644 --- a/packages/stream-multiplexer-mplex/CHANGELOG.md +++ b/packages/stream-multiplexer-mplex/CHANGELOG.md @@ -12,6 +12,35 @@ * **dev:** bump cborg from 1.10.2 to 2.0.1 ([#282](https://github.com/libp2p/js-libp2p-mplex/issues/282)) ([4dbc590](https://github.com/libp2p/js-libp2p-mplex/commit/4dbc590d1ac92581fe2e937757567eef3854acf4)) * **dev:** bump delay from 5.0.0 to 6.0.0 ([#281](https://github.com/libp2p/js-libp2p-mplex/issues/281)) ([1e03e75](https://github.com/libp2p/js-libp2p-mplex/commit/1e03e75369722be9872f747cd83f555bc08d49fe)) +## [9.0.0](https://www.github.com/libp2p/js-libp2p/compare/mplex-v8.0.4...mplex-v9.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* the `.close`, `closeRead` and `closeWrite` methods on the `Stream` interface are now asynchronous +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* close streams gracefully ([#1864](https://www.github.com/libp2p/js-libp2p/issues/1864)) ([b36ec7f](https://www.github.com/libp2p/js-libp2p/commit/b36ec7f24e477af21cec31effc086a6c611bf271)), closes [#1793](https://www.github.com/libp2p/js-libp2p/issues/1793) [#656](https://www.github.com/libp2p/js-libp2p/issues/656) +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + * devDependencies + * @libp2p/interface-compliance-tests bumped from ^3.0.0 to ^4.0.0 + ## [8.0.3](https://github.com/libp2p/js-libp2p-mplex/compare/v8.0.2...v8.0.3) (2023-05-17) @@ -762,4 +791,4 @@ Signed-off-by: Alan Shaw -# 0.1.0 (2016-03-07) +# 0.1.0 (2016-03-07) \ No newline at end of file diff --git a/packages/stream-multiplexer-mplex/package.json b/packages/stream-multiplexer-mplex/package.json index c24ee90fcf..52b168077d 100644 --- a/packages/stream-multiplexer-mplex/package.json +++ b/packages/stream-multiplexer-mplex/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/mplex", - "version": "8.0.4", + "version": "9.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/master/packages/stream-multiplexer-mplex#readme", @@ -56,8 +56,8 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "~0.0.1", - "@libp2p/logger": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/logger": "^3.0.0", "abortable-iterator": "^5.0.1", "benchmark": "^2.1.4", "it-batched-bytes": "^2.0.2", @@ -69,7 +69,7 @@ "varint": "^6.0.0" }, "devDependencies": { - "@libp2p/interface-compliance-tests": "^3.0.0", + "@libp2p/interface-compliance-tests": "^4.0.0", "@types/varint": "^6.0.0", "aegir": "^40.0.1", "cborg": "^2.0.1", diff --git a/packages/transport-tcp/CHANGELOG.md b/packages/transport-tcp/CHANGELOG.md index 67385fe0a7..d02a819cf2 100644 --- a/packages/transport-tcp/CHANGELOG.md +++ b/packages/transport-tcp/CHANGELOG.md @@ -5,6 +5,36 @@ * **dev:** bump aegir from 38.1.8 to 39.0.10 ([#279](https://github.com/libp2p/js-libp2p-tcp/issues/279)) ([3ed1235](https://github.com/libp2p/js-libp2p-tcp/commit/3ed12353aa48b5a933f80042846a8f1c2337fa47)) +## [8.0.0](https://www.github.com/libp2p/js-libp2p/compare/tcp-v7.0.3...tcp-v8.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* the `.close`, `closeRead` and `closeWrite` methods on the `Stream` interface are now asynchronous +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* close streams gracefully ([#1864](https://www.github.com/libp2p/js-libp2p/issues/1864)) ([b36ec7f](https://www.github.com/libp2p/js-libp2p/commit/b36ec7f24e477af21cec31effc086a6c611bf271)), closes [#1793](https://www.github.com/libp2p/js-libp2p/issues/1793) [#656](https://www.github.com/libp2p/js-libp2p/issues/656) +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + * @libp2p/utils bumped from ^3.0.0 to ^4.0.0 + * devDependencies + * @libp2p/interface-compliance-tests bumped from ^3.0.0 to ^4.0.0 + ## [7.0.2](https://github.com/libp2p/js-libp2p-tcp/compare/v7.0.1...v7.0.2) (2023-06-15) @@ -905,4 +935,4 @@ -# 0.1.0 (2015-09-16) +# 0.1.0 (2015-09-16) \ No newline at end of file diff --git a/packages/transport-tcp/package.json b/packages/transport-tcp/package.json index 676c3f4cb7..4b8e61b316 100644 --- a/packages/transport-tcp/package.json +++ b/packages/transport-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/tcp", - "version": "7.0.3", + "version": "8.0.0", "description": "A TCP transport for libp2p", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/transport-tcp#readme", @@ -50,16 +50,16 @@ "test:electron-main": "aegir test -t electron-main" }, "dependencies": { - "@libp2p/interface": "~0.0.1", - "@libp2p/logger": "^2.0.0", - "@libp2p/utils": "^3.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/logger": "^3.0.0", + "@libp2p/utils": "^4.0.0", "@multiformats/mafmt": "^12.1.2", "@multiformats/multiaddr": "^12.1.3", "@types/sinon": "^10.0.15", "stream-to-it": "^0.2.2" }, "devDependencies": { - "@libp2p/interface-compliance-tests": "^3.0.0", + "@libp2p/interface-compliance-tests": "^4.0.0", "aegir": "^40.0.1", "it-all": "^3.0.1", "it-pipe": "^3.0.1", diff --git a/packages/transport-webrtc/CHANGELOG.md b/packages/transport-webrtc/CHANGELOG.md index d4076ee6de..fd4cb7f5aa 100644 --- a/packages/transport-webrtc/CHANGELOG.md +++ b/packages/transport-webrtc/CHANGELOG.md @@ -5,6 +5,42 @@ * add browser-to-browser test for bi-directional communication ([#172](https://github.com/libp2p/js-libp2p-webrtc/issues/172)) ([1ec3d8a](https://github.com/libp2p/js-libp2p-webrtc/commit/1ec3d8a8b611d5227f430037e2547fd86d115eaa)) +## [3.0.0](https://www.github.com/libp2p/js-libp2p/compare/webrtc-v2.0.10...webrtc-v3.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* the `.close`, `closeRead` and `closeWrite` methods on the `Stream` interface are now asynchronous +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* mark connections with limits as transient ([#1890](https://www.github.com/libp2p/js-libp2p/issues/1890)) ([a1ec46b](https://www.github.com/libp2p/js-libp2p/commit/a1ec46b5f5606b7bdf3e5b085013fb88e26439f9)) +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* close streams gracefully ([#1864](https://www.github.com/libp2p/js-libp2p/issues/1864)) ([b36ec7f](https://www.github.com/libp2p/js-libp2p/commit/b36ec7f24e477af21cec31effc086a6c611bf271)), closes [#1793](https://www.github.com/libp2p/js-libp2p/issues/1793) [#656](https://www.github.com/libp2p/js-libp2p/issues/656) +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) +* update max message size SDP attribute ([#1909](https://www.github.com/libp2p/js-libp2p/issues/1909)) ([e6a41f7](https://www.github.com/libp2p/js-libp2p/commit/e6a41f7e9b8c06babfdec9852f0e5355d3405fd0)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/interface-internal bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0 + * devDependencies + * @libp2p/interface-compliance-tests bumped from ^3.0.0 to ^4.0.0 + * @libp2p/peer-id-factory bumped from ^2.0.0 to ^3.0.0 + * @libp2p/websockets bumped from ^6.0.0 to ^7.0.0 + * libp2p bumped from ^0.45.0 to ^0.46.0 + ## [2.0.9](https://github.com/libp2p/js-libp2p-webrtc/compare/v2.0.8...v2.0.9) (2023-06-12) @@ -239,4 +275,4 @@ ### Documentation -* fix 'browser to server' build config ([#66](https://github.com/libp2p/js-libp2p-webrtc/issues/66)) ([b54132c](https://github.com/libp2p/js-libp2p-webrtc/commit/b54132cecac180f0577a1b7905f79b20207c3647)) +* fix 'browser to server' build config ([#66](https://github.com/libp2p/js-libp2p-webrtc/issues/66)) ([b54132c](https://github.com/libp2p/js-libp2p-webrtc/commit/b54132cecac180f0577a1b7905f79b20207c3647)) \ No newline at end of file diff --git a/packages/transport-webrtc/package.json b/packages/transport-webrtc/package.json index 4e49845e30..c0fe67af9f 100644 --- a/packages/transport-webrtc/package.json +++ b/packages/transport-webrtc/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/webrtc", - "version": "2.0.10", + "version": "3.0.0", "description": "A libp2p transport using WebRTC connections", "author": "", "license": "Apache-2.0 OR MIT", @@ -45,10 +45,10 @@ }, "dependencies": { "@chainsafe/libp2p-noise": "^12.0.0", - "@libp2p/interface": "~0.0.1", - "@libp2p/interface-internal": "~0.0.1", - "@libp2p/logger": "^2.0.0", - "@libp2p/peer-id": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/interface-internal": "^0.1.0", + "@libp2p/logger": "^3.0.0", + "@libp2p/peer-id": "^3.0.0", "@multiformats/mafmt": "^12.1.2", "@multiformats/multiaddr": "^12.1.3", "abortable-iterator": "^5.0.1", @@ -69,16 +69,16 @@ }, "devDependencies": { "@chainsafe/libp2p-yamux": "^4.0.0", - "@libp2p/interface-compliance-tests": "^3.0.0", - "@libp2p/peer-id-factory": "^2.0.0", - "@libp2p/websockets": "^6.0.0", + "@libp2p/interface-compliance-tests": "^4.0.0", + "@libp2p/peer-id-factory": "^3.0.0", + "@libp2p/websockets": "^7.0.0", "@types/sinon": "^10.0.15", "aegir": "^40.0.1", "delay": "^6.0.0", "it-length": "^3.0.2", "it-map": "^3.0.3", "it-pair": "^2.0.6", - "libp2p": "^0.45.0", + "libp2p": "^0.46.0", "protons": "^7.0.2", "sinon": "^15.1.2", "sinon-ts": "^1.0.0" diff --git a/packages/transport-websockets/CHANGELOG.md b/packages/transport-websockets/CHANGELOG.md index b218a6315a..7153647b83 100644 --- a/packages/transport-websockets/CHANGELOG.md +++ b/packages/transport-websockets/CHANGELOG.md @@ -6,6 +6,36 @@ * **dev:** bump @libp2p/interface-mocks from 11.0.3 to 12.0.1 ([#241](https://github.com/libp2p/js-libp2p-websockets/issues/241)) ([f956836](https://github.com/libp2p/js-libp2p-websockets/commit/f95683641bda2f9b250768768451e0c121afc2a0)) * **dev:** bump aegir from 38.1.8 to 39.0.9 ([#245](https://github.com/libp2p/js-libp2p-websockets/issues/245)) ([4a35f6b](https://github.com/libp2p/js-libp2p-websockets/commit/4a35f6b39a918fb7ef779292553cb452a543afb0)) +## [7.0.0](https://www.github.com/libp2p/js-libp2p/compare/websockets-v6.0.3...websockets-v7.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* the `.close`, `closeRead` and `closeWrite` methods on the `Stream` interface are now asynchronous +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* close streams gracefully ([#1864](https://www.github.com/libp2p/js-libp2p/issues/1864)) ([b36ec7f](https://www.github.com/libp2p/js-libp2p/commit/b36ec7f24e477af21cec31effc086a6c611bf271)), closes [#1793](https://www.github.com/libp2p/js-libp2p/issues/1793) [#656](https://www.github.com/libp2p/js-libp2p/issues/656) +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + * @libp2p/utils bumped from ^3.0.0 to ^4.0.0 + * devDependencies + * @libp2p/interface-compliance-tests bumped from ^3.0.0 to ^4.0.0 + ## [6.0.2](https://github.com/libp2p/js-libp2p-websockets/compare/v6.0.1...v6.0.2) (2023-06-06) @@ -710,4 +740,4 @@ -# 0.1.0 (2016-02-26) +# 0.1.0 (2016-02-26) \ No newline at end of file diff --git a/packages/transport-websockets/package.json b/packages/transport-websockets/package.json index d60863f562..8107419640 100644 --- a/packages/transport-websockets/package.json +++ b/packages/transport-websockets/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/websockets", - "version": "6.0.3", + "version": "7.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/master/packages/transport-websockets#readme", @@ -68,9 +68,9 @@ "test:electron-main": "aegir test -t electron-main -f ./dist/test/node.js --cov" }, "dependencies": { - "@libp2p/interface": "~0.0.1", - "@libp2p/logger": "^2.0.0", - "@libp2p/utils": "^3.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/logger": "^3.0.0", + "@libp2p/utils": "^4.0.0", "@multiformats/mafmt": "^12.1.2", "@multiformats/multiaddr": "^12.1.3", "@multiformats/multiaddr-to-uri": "^9.0.2", @@ -82,7 +82,7 @@ "ws": "^8.12.1" }, "devDependencies": { - "@libp2p/interface-compliance-tests": "^3.0.0", + "@libp2p/interface-compliance-tests": "^4.0.0", "aegir": "^40.0.1", "is-loopback-addr": "^2.0.1", "it-all": "^3.0.1", diff --git a/packages/transport-webtransport/CHANGELOG.md b/packages/transport-webtransport/CHANGELOG.md index 562095f662..1e6669b641 100644 --- a/packages/transport-webtransport/CHANGELOG.md +++ b/packages/transport-webtransport/CHANGELOG.md @@ -11,6 +11,36 @@ * bump @chainsafe/libp2p-noise from 11.0.4 to 12.0.1 ([#80](https://github.com/libp2p/js-libp2p-webtransport/issues/80)) ([599dab1](https://github.com/libp2p/js-libp2p-webtransport/commit/599dab1b4f6ae816b0c0feefc926c1b38d24b676)) +## [3.0.0](https://www.github.com/libp2p/js-libp2p/compare/webtransport-v2.0.2...webtransport-v3.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* the `.close`, `closeRead` and `closeWrite` methods on the `Stream` interface are now asynchronous +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* close streams gracefully ([#1864](https://www.github.com/libp2p/js-libp2p/issues/1864)) ([b36ec7f](https://www.github.com/libp2p/js-libp2p/commit/b36ec7f24e477af21cec31effc086a6c611bf271)), closes [#1793](https://www.github.com/libp2p/js-libp2p/issues/1793) [#656](https://www.github.com/libp2p/js-libp2p/issues/656) +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + * @libp2p/peer-id bumped from ^2.0.0 to ^3.0.0 + * devDependencies + * libp2p bumped from ^0.45.0 to ^0.46.0 + ## [2.0.1](https://github.com/libp2p/js-libp2p-webtransport/compare/v2.0.0...v2.0.1) (2023-04-28) @@ -139,4 +169,4 @@ * bump protons-runtime from 3.1.0 to 4.0.1 ([a7ef395](https://github.com/libp2p/js-libp2p-webtransport/commit/a7ef3959d024813caa327afdd502d5bcb91a15e3)) * **dev:** bump @libp2p/interface-mocks from 4.0.3 to 7.0.1 ([85a492d](https://github.com/libp2p/js-libp2p-webtransport/commit/85a492da5b8df76d710dd21dd4b8bf59df4e1184)) -* **dev:** bump uint8arrays from 3.1.1 to 4.0.2 ([cb554e8](https://github.com/libp2p/js-libp2p-webtransport/commit/cb554e8dbb19a6ec5b085307f4c04c04ae313d2d)) +* **dev:** bump uint8arrays from 3.1.1 to 4.0.2 ([cb554e8](https://github.com/libp2p/js-libp2p-webtransport/commit/cb554e8dbb19a6ec5b085307f4c04c04ae313d2d)) \ No newline at end of file diff --git a/packages/transport-webtransport/package.json b/packages/transport-webtransport/package.json index 7146b72325..0500784508 100644 --- a/packages/transport-webtransport/package.json +++ b/packages/transport-webtransport/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/webtransport", - "version": "2.0.2", + "version": "3.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/master/packages/transport-webtransport#readme", @@ -65,9 +65,9 @@ }, "dependencies": { "@chainsafe/libp2p-noise": "^12.0.0", - "@libp2p/interface": "~0.0.1", - "@libp2p/logger": "^2.0.0", - "@libp2p/peer-id": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/logger": "^3.0.0", + "@libp2p/peer-id": "^3.0.0", "@multiformats/multiaddr": "^12.1.3", "it-stream-types": "^2.0.1", "multiformats": "^12.0.1", @@ -75,7 +75,7 @@ }, "devDependencies": { "aegir": "^40.0.1", - "libp2p": "^0.45.0", + "libp2p": "^0.46.0", "p-defer": "^4.0.0" }, "browser": { diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 8ed268837a..a2f0ace5c6 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -11,6 +11,33 @@ * **dev:** bump aegir from 38.1.8 to 39.0.10 ([#100](https://github.com/libp2p/js-libp2p-utils/issues/100)) ([da6547c](https://github.com/libp2p/js-libp2p-utils/commit/da6547cdd073ba1a4225be5a419c6776c4ebe6f1)) +## [4.0.0](https://www.github.com/libp2p/js-libp2p/compare/utils-v3.0.12...utils-v4.0.0) (2023-07-31) + + +### ⚠ BREAKING CHANGES + +* the `.close`, `closeRead` and `closeWrite` methods on the `Stream` interface are now asynchronous +* `stream.stat.*` and `conn.stat.*` properties are now accessed via `stream.*` and `conn.*` +* consolidate interface modules (#1833) + +### Features + +* merge stat properties into stream/connection objects ([#1856](https://www.github.com/libp2p/js-libp2p/issues/1856)) ([e9cafd3](https://www.github.com/libp2p/js-libp2p/commit/e9cafd3d8ab0f8e0655ff44e04aa41fccc912b51)), closes [#1849](https://www.github.com/libp2p/js-libp2p/issues/1849) + + +### Bug Fixes + +* close streams gracefully ([#1864](https://www.github.com/libp2p/js-libp2p/issues/1864)) ([b36ec7f](https://www.github.com/libp2p/js-libp2p/commit/b36ec7f24e477af21cec31effc086a6c611bf271)), closes [#1793](https://www.github.com/libp2p/js-libp2p/issues/1793) [#656](https://www.github.com/libp2p/js-libp2p/issues/656) +* consolidate interface modules ([#1833](https://www.github.com/libp2p/js-libp2p/issues/1833)) ([4255b1e](https://www.github.com/libp2p/js-libp2p/commit/4255b1e2485d31e00c33efa029b6426246ea23e3)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @libp2p/interface bumped from ~0.0.1 to ^0.1.0 + * @libp2p/logger bumped from ^2.0.0 to ^3.0.0 + ## [3.0.11](https://github.com/libp2p/js-libp2p-utils/compare/v3.0.10...v3.0.11) (2023-04-24) @@ -321,4 +348,4 @@ ### Features -* ip port to multiaddr ([#1](https://github.com/libp2p/js-libp2p-utils/issues/1)) ([426b421](https://github.com/libp2p/js-libp2p-utils/commit/426b421)) +* ip port to multiaddr ([#1](https://github.com/libp2p/js-libp2p-utils/issues/1)) ([426b421](https://github.com/libp2p/js-libp2p-utils/commit/426b421)) \ No newline at end of file diff --git a/packages/utils/package.json b/packages/utils/package.json index 90b7b7fd40..31ab0debb9 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@libp2p/utils", - "version": "3.0.12", + "version": "4.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/master/packages/utils#readme", @@ -86,8 +86,8 @@ }, "dependencies": { "@achingbrain/ip-address": "^8.1.0", - "@libp2p/interface": "~0.0.1", - "@libp2p/logger": "^2.0.0", + "@libp2p/interface": "^0.1.0", + "@libp2p/logger": "^3.0.0", "@multiformats/multiaddr": "^12.1.3", "is-loopback-addr": "^2.0.1", "it-stream-types": "^2.0.1",