From 0a3944ee8cc8d7786e439d583d662930f09f9c5b Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Wed, 9 Nov 2022 15:47:34 +1100 Subject: [PATCH 1/7] chore(core): release 0.0.4 --- package-lock.json | 2 +- packages/core/CHANGELOG.md | 6 ++++++ packages/core/package.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4363950c75..b69acd2845 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21894,7 +21894,7 @@ }, "packages/core": { "name": "@waku/core", - "version": "0.0.3", + "version": "0.0.4", "license": "MIT OR Apache-2.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^4.1.1", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index e2d59c8aa7..9acd63e3c9 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## @waku/core [0.0.4](https://github.com/waku-org/js-waku/compare/@waku/core@0.0.3...@waku/core@0.0.4) (2022-11-09) + +### Changed + +- Bumped `libp2p` to 0.39.2. + ## @waku/core [0.0.2](https://github.com/waku-org/js-waku/compare/@waku/core@0.0.1...@waku/core@0.0.2) (2022-11-04) ### Changed diff --git a/packages/core/package.json b/packages/core/package.json index d7fe1701d9..aa7663ae3a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@waku/core", - "version": "0.0.3", + "version": "0.0.4", "description": "TypeScript implementation of the Waku v2 protocol", "types": "./dist/index.d.ts", "module": "./dist/index.js", From bca31a6fa5cddfda5f5bfc783f234f12aa313479 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Fri, 11 Nov 2022 15:48:14 +1100 Subject: [PATCH 2/7] chore(interfaces): release 0.0.3 --- package-lock.json | 2 +- packages/interfaces/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index b69acd2845..1ca7f931ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22152,7 +22152,7 @@ }, "packages/interfaces": { "name": "@waku/interfaces", - "version": "0.0.2", + "version": "0.0.3", "license": "MIT OR Apache-2.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^4.1.1", diff --git a/packages/interfaces/package.json b/packages/interfaces/package.json index e06579c6d4..316b42fc82 100644 --- a/packages/interfaces/package.json +++ b/packages/interfaces/package.json @@ -1,6 +1,6 @@ { "name": "@waku/interfaces", - "version": "0.0.2", + "version": "0.0.3", "description": "Definition of Waku interfaces", "types": "./dist/index.d.ts", "module": "./dist/index.js", From 3ab78eacee6d29ced5540e5e0074e9248ddc317c Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Fri, 11 Nov 2022 16:00:03 +1100 Subject: [PATCH 3/7] chore(interfaces/core): bump libp2p to 0.39.5 Fixes connection-manager bug --- package-lock.json | 20 ++++++++++---------- packages/core/package.json | 2 +- packages/interfaces/package.json | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1ca7f931ac..6509d9e359 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11502,9 +11502,9 @@ } }, "node_modules/libp2p": { - "version": "0.39.2", - "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.39.2.tgz", - "integrity": "sha512-2C6WyljqwSlO2sGXgM4m6vFCT1TEspQ4UuVlOFq3/kGoI8ctC12z6gGiIDpzWslNGGMq6bop/Id8dAVmDOneMg==", + "version": "0.39.5", + "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.39.5.tgz", + "integrity": "sha512-zF/Tc3IRQ3M+W3wqn6zSICUc6gsdCdXCNjsWMudinfRTia6CnRbj68ZkjrUw0TA1j2bODwD2+CxAFTsn9iS0Nw==", "dependencies": { "@achingbrain/nat-port-mapper": "^1.0.3", "@libp2p/components": "^2.1.0", @@ -21913,7 +21913,7 @@ "it-all": "^1.0.6", "it-length-prefixed": "^8.0.2", "it-pipe": "^2.0.4", - "libp2p": "0.39.2", + "libp2p": "0.39.5", "p-event": "^5.0.1", "protons-runtime": "^3.1.0", "uint8arraylist": "^2.3.2", @@ -22160,7 +22160,7 @@ "@libp2p/interface-peer-id": "^1.0.5", "@libp2p/interface-peer-store": "^1.2.2", "@multiformats/multiaddr": "^11.0.6", - "libp2p": "0.39.2" + "libp2p": "0.39.5" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.8.1", @@ -26299,7 +26299,7 @@ "karma-chrome-launcher": "^3.1.0", "karma-mocha": "^2.0.1", "karma-webpack": "^5.0.0", - "libp2p": "0.39.2", + "libp2p": "0.39.5", "mocha": "^9.1.3", "npm-run-all": "^4.1.5", "p-event": "^5.0.1", @@ -26478,7 +26478,7 @@ "eslint-plugin-functional": "^4.0.2", "eslint-plugin-import": "^2.25.3", "eslint-plugin-prettier": "^4.0.0", - "libp2p": "0.39.2", + "libp2p": "0.39.5", "npm-run-all": "^4.1.5", "prettier": "^2.1.1", "typescript": "^4.6.3" @@ -31588,9 +31588,9 @@ } }, "libp2p": { - "version": "0.39.2", - "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.39.2.tgz", - "integrity": "sha512-2C6WyljqwSlO2sGXgM4m6vFCT1TEspQ4UuVlOFq3/kGoI8ctC12z6gGiIDpzWslNGGMq6bop/Id8dAVmDOneMg==", + "version": "0.39.5", + "resolved": "https://registry.npmjs.org/libp2p/-/libp2p-0.39.5.tgz", + "integrity": "sha512-zF/Tc3IRQ3M+W3wqn6zSICUc6gsdCdXCNjsWMudinfRTia6CnRbj68ZkjrUw0TA1j2bODwD2+CxAFTsn9iS0Nw==", "requires": { "@achingbrain/nat-port-mapper": "^1.0.3", "@libp2p/components": "^2.1.0", diff --git a/packages/core/package.json b/packages/core/package.json index aa7663ae3a..6fa752b592 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -102,7 +102,7 @@ "it-all": "^1.0.6", "it-length-prefixed": "^8.0.2", "it-pipe": "^2.0.4", - "libp2p": "0.39.2", + "libp2p": "0.39.5", "p-event": "^5.0.1", "protons-runtime": "^3.1.0", "uint8arraylist": "^2.3.2", diff --git a/packages/interfaces/package.json b/packages/interfaces/package.json index 316b42fc82..23f2de0256 100644 --- a/packages/interfaces/package.json +++ b/packages/interfaces/package.json @@ -53,7 +53,7 @@ "@libp2p/interface-peer-id": "^1.0.5", "@libp2p/interface-peer-store": "^1.2.2", "@multiformats/multiaddr": "^11.0.6", - "libp2p": "0.39.2" + "libp2p": "0.39.5" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.8.1", From 56568b7f79e1027c4be377ece602b23906080332 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Fri, 11 Nov 2022 16:45:40 +1100 Subject: [PATCH 4/7] chore(core): release @waku/core@0.0.5 --- package-lock.json | 2 +- packages/core/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6509d9e359..b713299266 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21894,7 +21894,7 @@ }, "packages/core": { "name": "@waku/core", - "version": "0.0.4", + "version": "0.0.5", "license": "MIT OR Apache-2.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^4.1.1", diff --git a/packages/core/package.json b/packages/core/package.json index 6fa752b592..84b24025bf 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@waku/core", - "version": "0.0.4", + "version": "0.0.5", "description": "TypeScript implementation of the Waku v2 protocol", "types": "./dist/index.d.ts", "module": "./dist/index.js", From 7a75eb03b7282de19564b079942743974480c53d Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Fri, 11 Nov 2022 16:47:28 +1100 Subject: [PATCH 5/7] chore(interfaces): release @waku/interfaces@0.0.4 --- package-lock.json | 2 +- packages/interfaces/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index b713299266..354fe1f34a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22152,7 +22152,7 @@ }, "packages/interfaces": { "name": "@waku/interfaces", - "version": "0.0.3", + "version": "0.0.4", "license": "MIT OR Apache-2.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^4.1.1", diff --git a/packages/interfaces/package.json b/packages/interfaces/package.json index 23f2de0256..80a187a388 100644 --- a/packages/interfaces/package.json +++ b/packages/interfaces/package.json @@ -1,6 +1,6 @@ { "name": "@waku/interfaces", - "version": "0.0.3", + "version": "0.0.4", "description": "Definition of Waku interfaces", "types": "./dist/index.d.ts", "module": "./dist/index.js", From e05216a2822c59af482694aca2ed1ba05682b235 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Fri, 11 Nov 2022 16:49:12 +1100 Subject: [PATCH 6/7] chore: update changelog --- packages/core/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 9acd63e3c9..ed4f57729f 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## @waku/core [0.0.5](https://github.com/waku-org/js-waku/compare/@waku/core@0.0.4...@waku/core@0.0.5) (2022-11-11) + +### Changed + +- Bumped `libp2p` to 0.39.5. + ## @waku/core [0.0.4](https://github.com/waku-org/js-waku/compare/@waku/core@0.0.3...@waku/core@0.0.4) (2022-11-09) ### Changed From d165b5a1d578a55032c616542d3c1296195db604 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Tue, 15 Nov 2022 15:08:39 +1100 Subject: [PATCH 7/7] test: run CI against nwaku origin/master To pick up any upcoming issue. --- .github/workflows/ci.yml | 47 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be0d007747..60ff4cdc93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -134,3 +134,50 @@ jobs: with: name: go-waku-logs path: log/ + + node_with_nwaku_master: + runs-on: ubuntu-latest + env: + DEBUG: "waku*" + steps: + - uses: actions/checkout@v3 + with: + submodules: "recursive" + fetch-depth: 0 + + - name: Install NodeJS + uses: actions/setup-node@v3 + with: + node-version: ${{ env.NODE_JS }} + + - name: Pull nwaku origin/master + run: | + cd nwaku + git fetch origin + git checkout origin/master + + - uses: bahmutov/npm-install@v1 + + - name: build nwaku + run: | + cd packages/tests + npm run nwaku:force-build + + - name: Ensure wakunode2 is ready + shell: bash + run: | + uname -a + cd nwaku + ./build/wakunode2 --help + + - run: npm run build + - run: npm run test:node + env: + DEBUG: "waku:nwaku*,waku:test*" + + - name: Upload logs on failure + uses: actions/upload-artifact@v2 + if: failure() + with: + name: nwaku-master-logs + path: log/