Skip to content

Commit

Permalink
Merge branch 'master' into marco/perf
Browse files Browse the repository at this point in the history
  • Loading branch information
maschad authored Aug 4, 2023
2 parents 0bff620 + 8f681db commit 94caca8
Show file tree
Hide file tree
Showing 261 changed files with 1,855 additions and 26,917 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,13 @@ jobs:
git update-index --assume-unchanged packages/libp2p/src/version.ts
npm run --if-present release
env:
GITHUB_TOKEN: ${{ secrets.UCI_GITHUB_TOKEN || github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- if: ${{ !steps.release.outputs.releases_created }}
name: Run release rc
run: |
git update-index --assume-unchanged packages/libp2p/src/version.ts
npm run --if-present release:rc
env:
GITHUB_TOKEN: ${{ secrets.UCI_GITHUB_TOKEN || github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
26 changes: 1 addition & 25 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -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"
}
{"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.1","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/pubsub":"8.0.1","packages/pubsub-floodsub":"8.0.1","packages/stream-multiplexer-mplex":"9.0.0","packages/transport-tcp":"8.0.0","packages/transport-webrtc":"3.1.1","packages/transport-websockets":"7.0.0","packages/transport-webtransport":"3.0.1","packages/utils":"4.0.0"}
2 changes: 2 additions & 0 deletions .release-please.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"packages/peer-id-factory": {},
"packages/peer-record": {},
"packages/peer-store": {},
"packages/pubsub": {},
"packages/pubsub-floodsub": {},
"packages/stream-multiplexer-mplex": {},
"packages/transport-tcp": {},
"packages/transport-webrtc": {},
Expand Down
12 changes: 6 additions & 6 deletions doc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
"doc-check": "aegir doc-check"
},
"dependencies": {
"@chainsafe/libp2p-yamux": "^4.0.2",
"@libp2p/interface": "~0.0.1",
"@libp2p/mplex": "^8.0.4",
"@libp2p/prometheus-metrics": "^1.1.5",
"@libp2p/tcp": "^7.0.3",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/interface": "^0.1.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/prometheus-metrics": "^2.0.0",
"@libp2p/tcp": "^8.0.0",
"aegir": "^40.0.1",
"libp2p": "^0.45.9",
"libp2p": "^0.46.0",
"prom-client": "^14.2.0"
},
"private": true
Expand Down
10 changes: 5 additions & 5 deletions examples/auto-relay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"test:example": "node test.js"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-yamux": "^4.0.0",
"@libp2p/mplex": "^8.0.0",
"@libp2p/websockets": "^6.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/websockets": "^7.0.0",
"@multiformats/multiaddr": "^12.1.3",
"libp2p": "^0.45.0"
"libp2p": "^0.46.0"
},
"devDependencies": {
"aegir": "^40.0.1",
Expand Down
14 changes: 7 additions & 7 deletions examples/chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@
"test:example": "node test.js"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-yamux": "^4.0.0",
"@libp2p/mplex": "^8.0.0",
"@libp2p/peer-id-factory": "^2.0.0",
"@libp2p/tcp": "^7.0.0",
"@libp2p/websockets": "^6.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/peer-id-factory": "^3.0.0",
"@libp2p/tcp": "^8.0.0",
"@libp2p/websockets": "^7.0.0",
"@multiformats/multiaddr": "^12.1.3",
"@nodeutils/defaults-deep": "^1.1.0",
"it-length-prefixed": "^9.0.1",
"it-map": "^3.0.3",
"it-pipe": "^3.0.1",
"libp2p": "^0.45.0",
"libp2p": "^0.46.0",
"uint8arrays": "^4.0.4"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions examples/connection-encryption/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"test:example": "node test.js"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-yamux": "^4.0.0",
"@libp2p/mplex": "^8.0.0",
"@libp2p/tcp": "^7.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/tcp": "^8.0.0",
"it-pipe": "^3.0.1",
"libp2p": "^0.45.0",
"libp2p": "^0.46.0",
"uint8arrays": "^4.0.4"
},
"devDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions examples/delegated-routing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
"start": "react-scripts start"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@libp2p/bootstrap": "^8.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@libp2p/bootstrap": "^9.0.0",
"@libp2p/delegated-content-routing": "^4.0.0",
"@libp2p/delegated-peer-routing": "^4.0.0",
"@libp2p/kad-dht": "^9.0.0",
"@libp2p/mplex": "^8.0.0",
"@libp2p/websockets": "^6.0.0",
"@libp2p/kad-dht": "^10.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/websockets": "^7.0.0",
"kubo-rpc-client": "^3.0.1",
"libp2p": "^0.45.0",
"libp2p": "^0.46.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1"
Expand Down
16 changes: 8 additions & 8 deletions examples/discovery-mechanisms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
"test:example": "node test.js"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-yamux": "^4.0.0",
"@libp2p/bootstrap": "^8.0.0",
"@libp2p/floodsub": "^7.0.0",
"@libp2p/mdns": "^8.0.0",
"@libp2p/mplex": "^8.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/bootstrap": "^9.0.0",
"@libp2p/floodsub": "^8.0.0",
"@libp2p/mdns": "^9.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/pubsub-peer-discovery": "^8.0.4",
"@libp2p/tcp": "^7.0.0",
"libp2p": "^0.45.0"
"@libp2p/tcp": "^8.0.0",
"libp2p": "^0.46.0"
},
"devDependencies": {
"aegir": "^40.0.1",
Expand Down
14 changes: 7 additions & 7 deletions examples/echo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
"test:example": "node test.js"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-yamux": "^4.0.0",
"@libp2p/mplex": "^8.0.0",
"@libp2p/peer-id-factory": "^2.0.0",
"@libp2p/tcp": "^7.0.0",
"@libp2p/websockets": "^6.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/peer-id-factory": "^3.0.0",
"@libp2p/tcp": "^8.0.0",
"@libp2p/websockets": "^7.0.0",
"@multiformats/multiaddr": "^12.1.3",
"@nodeutils/defaults-deep": "^1.1.0",
"it-pipe": "^3.0.1",
"libp2p": "^0.45.0",
"libp2p": "^0.46.0",
"uint8arrays": "^4.0.4"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"test": "npm run build && test-browser-example tests"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@libp2p/websockets": "^6.0.1",
"@libp2p/mplex": "^8.0.1",
"@libp2p/webrtc": "file:../../",
"@multiformats/multiaddr": "^12.0.0",
"it-pushable": "^3.2.0",
"libp2p": "^0.45.0",
"libp2p": "^0.46.0",
"vite": "^4.2.1"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"test": "npm run build && test-browser-example tests"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@libp2p/webrtc": "file:../../",
"@multiformats/multiaddr": "^12.0.0",
"it-pushable": "^3.2.0",
"libp2p": "^0.45.0",
"libp2p": "^0.46.0",
"vite": "^4.2.1"
},
"devDependencies": {
Expand Down
20 changes: 10 additions & 10 deletions examples/libp2p-in-the-browser/websockets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@
"test:example": "node test.js"
},
"dependencies": {
"@chainsafe/libp2p-gossipsub": "^9.0.0",
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-yamux": "^4.0.0",
"@libp2p/bootstrap": "^8.0.0",
"@libp2p/kad-dht": "^9.0.0",
"@libp2p/mplex": "^8.0.0",
"@libp2p/webrtc": "^2.0.0",
"@libp2p/websockets": "^6.0.0",
"@libp2p/webtransport": "^2.0.0",
"libp2p": "^0.45.0"
"@chainsafe/libp2p-gossipsub": "^10.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/bootstrap": "^9.0.0",
"@libp2p/kad-dht": "^10.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/webrtc": "^3.0.0",
"@libp2p/websockets": "^7.0.0",
"@libp2p/webtransport": "^3.0.0",
"libp2p": "^0.46.0"
},
"devDependencies": {
"aegir": "^40.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"test": "npm run build && test-browser-example tests"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.1",
"@chainsafe/libp2p-noise": "^13.0.1",
"@libp2p/webtransport": "../..",
"@multiformats/multiaddr": "^12.1.2",
"blockstore-core": "^4.1.0",
"ipfs-bitswap": "^18.0.1",
"libp2p": "^0.45.9",
"libp2p": "^0.46.0",
"multiformats": "^12.0.1"
},
"devDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions examples/peer-and-content-routing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
"test:example": "node test.js"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-yamux": "^4.0.0",
"@libp2p/kad-dht": "^9.0.0",
"@libp2p/mplex": "^8.0.0",
"@libp2p/tcp": "^7.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/kad-dht": "^10.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/tcp": "^8.0.0",
"delay": "^6.0.0",
"it-all": "^3.0.2",
"libp2p": "^0.45.0",
"libp2p": "^0.46.0",
"multiformats": "^12.0.1"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions examples/pnet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"test:example": "node test.js"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-yamux": "^4.0.0",
"@libp2p/mplex": "^8.0.0",
"@libp2p/tcp": "^7.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/tcp": "^8.0.0",
"it-pipe": "^3.0.1",
"libp2p": "^0.45.0",
"libp2p": "^0.46.0",
"uint8arrays": "^4.0.4"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions examples/protocol-and-stream-muxing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"test:example": "node test.js"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-yamux": "^4.0.0",
"@libp2p/mplex": "^8.0.0",
"@libp2p/tcp": "^7.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/tcp": "^8.0.0",
"it-pipe": "^3.0.1",
"libp2p": "^0.45.0",
"libp2p": "^0.46.0",
"uint8arrays": "^4.0.4"
},
"devDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions examples/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"test:example": "node test.js"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-yamux": "^4.0.0",
"@libp2p/floodsub": "^7.0.0",
"@libp2p/mplex": "^8.0.0",
"@libp2p/tcp": "^7.0.0",
"libp2p": "^0.45.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/floodsub": "^8.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/tcp": "^8.0.0",
"libp2p": "^0.46.0",
"uint8arrays": "^4.0.4"
},
"devDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions examples/transports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
"test:example": "node test.js"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-yamux": "^4.0.0",
"@libp2p/mplex": "^8.0.0",
"@libp2p/tcp": "^7.0.0",
"@libp2p/websockets": "^6.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/tcp": "^8.0.0",
"@libp2p/websockets": "^7.0.0",
"it-pipe": "^3.0.1",
"it-to-buffer": "^4.0.2",
"libp2p": "^0.45.0",
"libp2p": "^0.46.0",
"uint8arrays": "^4.0.4"
},
"devDependencies": {
Expand Down
18 changes: 9 additions & 9 deletions interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@
"test:interop:multidim": "aegir test"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.0",
"@chainsafe/libp2p-yamux": "^4.0.0",
"@libp2p/mplex": "^8.0.0",
"@libp2p/tcp": "^7.0.0",
"@libp2p/webrtc": "^2.0.0",
"@libp2p/websockets": "^6.0.0",
"@libp2p/webtransport": "^2.0.0",
"@chainsafe/libp2p-noise": "^13.0.0",
"@chainsafe/libp2p-yamux": "^5.0.0",
"@libp2p/mplex": "^9.0.0",
"@libp2p/tcp": "^8.0.0",
"@libp2p/webrtc": "^3.0.0",
"@libp2p/websockets": "^7.0.0",
"@libp2p/webtransport": "^3.0.0",
"@multiformats/mafmt": "^12.1.2",
"@multiformats/multiaddr": "^12.1.3",
"libp2p": "^0.45.0",
"redis": "4.5.1"
"libp2p": "^0.46.0",
"redis": "^4.5.1"
},
"devDependencies": {
"aegir": "^40.0.1"
Expand Down
Loading

0 comments on commit 94caca8

Please sign in to comment.