Skip to content

Commit

Permalink
Merge branch 'master' into fix/delay-closing-datachannels
Browse files Browse the repository at this point in the history
  • Loading branch information
maschad authored Sep 21, 2023
2 parents af2e2f6 + 6640116 commit 86d17a6
Show file tree
Hide file tree
Showing 58 changed files with 657 additions and 274 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"interop":"1.0.1","packages/crypto":"2.0.3","packages/interface":"0.1.2","packages/interface-compliance-tests":"4.0.5","packages/interface-internal":"0.1.4","packages/kad-dht":"10.0.6","packages/keychain":"3.0.3","packages/libp2p":"0.46.10","packages/logger":"3.0.2","packages/metrics-prometheus":"2.0.5","packages/multistream-select":"4.0.2","packages/peer-collections":"4.0.3","packages/peer-discovery-bootstrap":"9.0.5","packages/peer-discovery-mdns":"9.0.7","packages/peer-id":"3.0.2","packages/peer-id-factory":"3.0.3","packages/peer-record":"6.0.4","packages/peer-store":"9.0.4","packages/protocol-perf":"1.1.7","packages/pubsub":"8.0.5","packages/pubsub-floodsub":"8.0.6","packages/stream-multiplexer-mplex":"9.0.5","packages/transport-tcp":"8.0.6","packages/transport-webrtc":"3.1.10","packages/transport-websockets":"7.0.6","packages/transport-webtransport":"3.0.10","packages/utils":"4.0.3"}
{"interop":"1.0.3","packages/crypto":"2.0.4","packages/interface":"0.1.2","packages/interface-compliance-tests":"4.0.6","packages/interface-internal":"0.1.5","packages/kad-dht":"10.0.7","packages/keychain":"3.0.4","packages/libp2p":"0.46.11","packages/logger":"3.0.2","packages/metrics-prometheus":"2.0.6","packages/multistream-select":"4.0.2","packages/peer-collections":"4.0.4","packages/peer-discovery-bootstrap":"9.0.6","packages/peer-discovery-mdns":"9.0.8","packages/peer-id":"3.0.2","packages/peer-id-factory":"3.0.4","packages/peer-record":"6.0.5","packages/peer-store":"9.0.5","packages/protocol-perf":"1.1.8","packages/pubsub":"8.0.6","packages/pubsub-floodsub":"8.0.7","packages/stream-multiplexer-mplex":"9.0.6","packages/transport-tcp":"8.0.7","packages/transport-webrtc":"3.2.0","packages/transport-websockets":"7.0.7","packages/transport-webtransport":"3.1.0","packages/utils":"4.0.3"}
2 changes: 1 addition & 1 deletion examples/discovery-mechanisms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@libp2p/floodsub": "^8.0.0",
"@libp2p/mdns": "^9.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/pubsub-peer-discovery": "^8.0.4",
"@libp2p/pubsub-peer-discovery": "^9.0.0",
"@libp2p/tcp": "^8.0.0",
"libp2p": "^0.46.0"
},
Expand Down
24 changes: 24 additions & 0 deletions interop/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

### [1.0.3](https://www.github.com/libp2p/js-libp2p/compare/multidim-interop-v1.0.2...multidim-interop-v1.0.3) (2023-09-20)


### Dependencies

* The following workspace dependencies were updated
* dependencies
* @libp2p/webrtc bumped from ^3.1.11 to ^3.2.0
* @libp2p/webtransport bumped from ^3.0.11 to ^3.1.0

### [1.0.2](https://www.github.com/libp2p/js-libp2p/compare/multidim-interop-v1.0.1...multidim-interop-v1.0.2) (2023-09-15)


### Dependencies

* The following workspace dependencies were updated
* dependencies
* @libp2p/mplex bumped from ^9.0.0 to ^9.0.6
* @libp2p/tcp bumped from ^8.0.6 to ^8.0.7
* @libp2p/webrtc bumped from ^3.1.10 to ^3.1.11
* @libp2p/websockets bumped from ^7.0.6 to ^7.0.7
* @libp2p/webtransport bumped from ^3.0.10 to ^3.0.11
* libp2p bumped from ^0.46.10 to ^0.46.11

### [1.0.1](https://www.github.com/libp2p/js-libp2p/compare/multidim-interop-v1.0.0...multidim-interop-v1.0.1) (2023-09-10)


Expand Down
14 changes: 7 additions & 7 deletions interop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libp2p/multidim-interop",
"version": "1.0.1",
"version": "1.0.3",
"description": "Multidimensional interop tests",
"author": "Glen De Cauwsemaecker <glen@littlebearlabs.io> / @marcopolo",
"license": "Apache-2.0 OR MIT",
Expand Down Expand Up @@ -51,15 +51,15 @@
"dependencies": {
"@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/tcp": "^8.0.6",
"@libp2p/webrtc": "^3.1.10",
"@libp2p/websockets": "^7.0.6",
"@libp2p/webtransport": "^3.0.10",
"@libp2p/mplex": "^9.0.6",
"@libp2p/tcp": "^8.0.7",
"@libp2p/webrtc": "^3.2.0",
"@libp2p/websockets": "^7.0.7",
"@libp2p/webtransport": "^3.1.0",
"@multiformats/mafmt": "^12.1.2",
"@multiformats/multiaddr": "^12.1.5",
"aegir": "^40.0.12",
"libp2p": "^0.46.10",
"libp2p": "^0.46.11",
"redis": "^4.5.1"
},
"browser": {
Expand Down
9 changes: 8 additions & 1 deletion packages/crypto/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@

* **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.4](https://www.github.com/libp2p/js-libp2p/compare/crypto-v2.0.3...crypto-v2.0.4) (2023-09-15)


### Bug Fixes

* **@libp2p/crypto:** improve unsupported key type message ([#2051](https://www.github.com/libp2p/js-libp2p/issues/2051)) ([d9159dd](https://www.github.com/libp2p/js-libp2p/commit/d9159dd5985241160f791acda164bb2e6408dd90))

### [2.0.3](https://www.github.com/libp2p/js-libp2p/compare/crypto-v2.0.2...crypto-v2.0.3) (2023-08-14)


Expand Down Expand Up @@ -789,4 +796,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))
2 changes: 1 addition & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libp2p/crypto",
"version": "2.0.3",
"version": "2.0.4",
"description": "Crypto primitives for libp2p",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/crypto#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/keys/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function unmarshalPublicKey (buf: Uint8Array): PublicKey {
case keysPBM.KeyType.Secp256k1:
return supportedKeys.secp256k1.unmarshalSecp256k1PublicKey(data)
default:
throw unsupportedKey(decoded.Type ?? 'RSA')
throw unsupportedKey(decoded.Type ?? 'unknown')
}
}

Expand Down
11 changes: 11 additions & 0 deletions packages/interface-compliance-tests/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@

* 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.6](https://www.github.com/libp2p/js-libp2p/compare/interface-compliance-tests-v4.0.5...interface-compliance-tests-v4.0.6) (2023-09-15)


### Dependencies

* The following workspace dependencies were updated
* dependencies
* @libp2p/interface-internal bumped from ^0.1.4 to ^0.1.5
* @libp2p/peer-collections bumped from ^4.0.3 to ^4.0.4
* @libp2p/peer-id-factory bumped from ^3.0.3 to ^3.0.4

### [4.0.5](https://www.github.com/libp2p/js-libp2p/compare/interface-compliance-tests-v4.0.4...interface-compliance-tests-v4.0.5) (2023-08-25)


Expand Down
10 changes: 5 additions & 5 deletions packages/interface-compliance-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libp2p/interface-compliance-tests",
"version": "4.0.5",
"version": "4.0.6",
"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",
Expand Down Expand Up @@ -103,12 +103,12 @@
},
"dependencies": {
"@libp2p/interface": "^0.1.2",
"@libp2p/interface-internal": "^0.1.4",
"@libp2p/interface-internal": "^0.1.5",
"@libp2p/logger": "^3.0.2",
"@libp2p/multistream-select": "^4.0.2",
"@libp2p/peer-collections": "^4.0.3",
"@libp2p/peer-collections": "^4.0.4",
"@libp2p/peer-id": "^3.0.2",
"@libp2p/peer-id-factory": "^3.0.3",
"@libp2p/peer-id-factory": "^3.0.4",
"@multiformats/multiaddr": "^12.1.5",
"abortable-iterator": "^5.0.1",
"aegir": "^40.0.11",
Expand All @@ -130,7 +130,7 @@
"p-limit": "^4.0.0",
"p-wait-for": "^5.0.2",
"protons-runtime": "^5.0.0",
"sinon": "^15.1.2",
"sinon": "^16.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.6"
},
Expand Down
9 changes: 9 additions & 0 deletions packages/interface-internal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

### [0.1.5](https://www.github.com/libp2p/js-libp2p/compare/interface-internal-v0.1.4...interface-internal-v0.1.5) (2023-09-15)


### Dependencies

* The following workspace dependencies were updated
* dependencies
* @libp2p/peer-collections bumped from ^4.0.3 to ^4.0.4

### [0.1.4](https://www.github.com/libp2p/js-libp2p/compare/interface-internal-v0.1.3...interface-internal-v0.1.4) (2023-08-16)


Expand Down
4 changes: 2 additions & 2 deletions packages/interface-internal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libp2p/interface-internal",
"version": "0.1.4",
"version": "0.1.5",
"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",
Expand Down Expand Up @@ -79,7 +79,7 @@
},
"dependencies": {
"@libp2p/interface": "^0.1.2",
"@libp2p/peer-collections": "^4.0.3",
"@libp2p/peer-collections": "^4.0.4",
"@multiformats/multiaddr": "^12.1.5",
"uint8arraylist": "^2.4.3"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"devDependencies": {
"@types/sinon": "^10.0.15",
"aegir": "^40.0.8",
"sinon": "^15.1.2",
"sinon": "^16.0.0",
"sinon-ts": "^1.0.0"
}
}
15 changes: 15 additions & 0 deletions packages/kad-dht/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@

* 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.7](https://www.github.com/libp2p/js-libp2p/compare/kad-dht-v10.0.6...kad-dht-v10.0.7) (2023-09-15)


### Dependencies

* The following workspace dependencies were updated
* dependencies
* @libp2p/crypto bumped from ^2.0.3 to ^2.0.4
* @libp2p/interface-internal bumped from ^0.1.4 to ^0.1.5
* @libp2p/peer-collections bumped from ^4.0.3 to ^4.0.4
* devDependencies
* @libp2p/interface-compliance-tests bumped from ^4.0.5 to ^4.0.6
* @libp2p/peer-id-factory bumped from ^3.0.3 to ^3.0.4
* @libp2p/peer-store bumped from ^9.0.4 to ^9.0.5

### [10.0.6](https://www.github.com/libp2p/js-libp2p/compare/kad-dht-v10.0.5...kad-dht-v10.0.6) (2023-09-10)


Expand Down
16 changes: 8 additions & 8 deletions packages/kad-dht/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libp2p/kad-dht",
"version": "10.0.6",
"version": "10.0.7",
"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",
Expand Down Expand Up @@ -51,11 +51,11 @@
"dep-check": "aegir dep-check -i events"
},
"dependencies": {
"@libp2p/crypto": "^2.0.3",
"@libp2p/crypto": "^2.0.4",
"@libp2p/interface": "^0.1.2",
"@libp2p/interface-internal": "^0.1.4",
"@libp2p/interface-internal": "^0.1.5",
"@libp2p/logger": "^3.0.2",
"@libp2p/peer-collections": "^4.0.3",
"@libp2p/peer-collections": "^4.0.4",
"@libp2p/peer-id": "^3.0.2",
"@multiformats/multiaddr": "^12.1.5",
"@types/sinon": "^10.0.15",
Expand Down Expand Up @@ -88,9 +88,9 @@
"uint8arrays": "^4.0.6"
},
"devDependencies": {
"@libp2p/interface-compliance-tests": "^4.0.5",
"@libp2p/peer-id-factory": "^3.0.3",
"@libp2p/peer-store": "^9.0.4",
"@libp2p/interface-compliance-tests": "^4.0.6",
"@libp2p/peer-id-factory": "^3.0.4",
"@libp2p/peer-store": "^9.0.5",
"@types/lodash.random": "^3.2.6",
"@types/lodash.range": "^3.2.6",
"@types/which": "^3.0.0",
Expand All @@ -105,7 +105,7 @@
"p-retry": "^6.0.0",
"p-wait-for": "^5.0.2",
"protons": "^7.0.2",
"sinon": "^15.1.2",
"sinon": "^16.0.0",
"ts-sinon": "^2.0.2",
"which": "^4.0.0"
},
Expand Down
13 changes: 12 additions & 1 deletion packages/keychain/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@

* **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.4](https://www.github.com/libp2p/js-libp2p/compare/keychain-v3.0.3...keychain-v3.0.4) (2023-09-15)


### Dependencies

* The following workspace dependencies were updated
* dependencies
* @libp2p/crypto bumped from ^2.0.3 to ^2.0.4
* devDependencies
* @libp2p/peer-id-factory bumped from ^3.0.3 to ^3.0.4

### [3.0.3](https://www.github.com/libp2p/js-libp2p/compare/keychain-v3.0.2...keychain-v3.0.3) (2023-08-14)


Expand Down Expand Up @@ -274,4 +285,4 @@ Co-Authored-By: Vasco Santos <vasco.santos@moxy.studio>
### 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))
6 changes: 3 additions & 3 deletions packages/keychain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libp2p/keychain",
"version": "3.0.3",
"version": "3.0.4",
"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",
Expand Down Expand Up @@ -53,7 +53,7 @@
"test:electron-main": "aegir test -t electron-main"
},
"dependencies": {
"@libp2p/crypto": "^2.0.3",
"@libp2p/crypto": "^2.0.4",
"@libp2p/interface": "^0.1.2",
"@libp2p/logger": "^3.0.2",
"@libp2p/peer-id": "^3.0.2",
Expand All @@ -63,7 +63,7 @@
"uint8arrays": "^4.0.6"
},
"devDependencies": {
"@libp2p/peer-id-factory": "^3.0.3",
"@libp2p/peer-id-factory": "^3.0.4",
"aegir": "^40.0.8",
"datastore-core": "^9.1.1",
"multiformats": "^12.0.1"
Expand Down
40 changes: 32 additions & 8 deletions packages/libp2p/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
### [0.45.9](https://www.github.com/libp2p/js-libp2p/compare/libp2p-v0.45.8...libp2p-v0.45.9) (2023-06-14)


### Bug Fixes

* 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.10](https://www.github.com/libp2p/js-libp2p/compare/libp2p-v0.46.9...libp2p-v0.46.10) (2023-09-10)


Expand All @@ -27,6 +20,30 @@
* @libp2p/tcp bumped from ^8.0.5 to ^8.0.6
* @libp2p/websockets bumped from ^7.0.5 to ^7.0.6

### [0.46.11](https://www.github.com/libp2p/js-libp2p/compare/libp2p-v0.46.10...libp2p-v0.46.11) (2023-09-15)


### Dependencies

* The following workspace dependencies were updated
* dependencies
* @libp2p/crypto bumped from ^2.0.3 to ^2.0.4
* @libp2p/interface-internal bumped from ^0.1.4 to ^0.1.5
* @libp2p/keychain bumped from ^3.0.3 to ^3.0.4
* @libp2p/peer-collections bumped from ^4.0.3 to ^4.0.4
* @libp2p/peer-id-factory bumped from ^3.0.3 to ^3.0.4
* @libp2p/peer-record bumped from ^6.0.4 to ^6.0.5
* @libp2p/peer-store bumped from ^9.0.4 to ^9.0.5
* devDependencies
* @libp2p/bootstrap bumped from ^9.0.5 to ^9.0.6
* @libp2p/floodsub bumped from ^8.0.6 to ^8.0.7
* @libp2p/interface-compliance-tests bumped from ^4.0.5 to ^4.0.6
* @libp2p/kad-dht bumped from ^10.0.6 to ^10.0.7
* @libp2p/mdns bumped from ^9.0.7 to ^9.0.8
* @libp2p/mplex bumped from ^9.0.5 to ^9.0.6
* @libp2p/tcp bumped from ^8.0.6 to ^8.0.7
* @libp2p/websockets bumped from ^7.0.6 to ^7.0.7

### [0.46.9](https://www.github.com/libp2p/js-libp2p/compare/libp2p-v0.46.8...libp2p-v0.46.9) (2023-09-05)


Expand Down Expand Up @@ -248,6 +265,13 @@
* @libp2p/tcp bumped from ^7.0.0 to ^8.0.0
* @libp2p/websockets bumped from ^6.0.0 to ^7.0.0

### [0.45.9](https://www.github.com/libp2p/js-libp2p/compare/libp2p-v0.45.8...libp2p-v0.45.9) (2023-06-14)


### Bug Fixes

* 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.45.8](https://www.github.com/libp2p/js-libp2p/compare/libp2p-v0.45.7...libp2p-v0.45.8) (2023-06-14)


Expand Down Expand Up @@ -2457,4 +2481,4 @@ for subscribe to see how it should be used.


<a name="0.5.5"></a>
## [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)
Loading

0 comments on commit 86d17a6

Please sign in to comment.