From 879c5d7b44f246c3222c31e808c35b00d48fc10c Mon Sep 17 00:00:00 2001 From: Jaco Date: Thu, 11 Nov 2021 12:08:24 +0100 Subject: [PATCH] 6.8.1 (#4201) * 6.8.1 * rx.queryAt param CHANGELOG --- CHANGELOG.md | 10 ++++-- package.json | 2 +- packages/api-contract/package.json | 6 ++-- packages/api-derive/package.json | 10 +++--- packages/api/package.json | 12 +++---- packages/rpc-core/package.json | 6 ++-- packages/rpc-provider/package.json | 6 ++-- packages/typegen/package.json | 10 +++--- packages/types-known/package.json | 4 +-- packages/types-support/package.json | 2 +- packages/types/package.json | 4 +-- yarn.lock | 54 ++++++++++++++--------------- 12 files changed, 65 insertions(+), 61 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a94fa4cc4d..df3a8085ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,18 @@ # CHANGELOG -## master +## 6.8.1 Nov 11, 2021 + +Upgrade priority: Low. Recommended for chains with non-MultiSignature variants where `paymentInfo` is required. Changes: +- Adjust `paymentInfo` signatures to cater for non-MultiSignature variants - Remove `::generic::` from names & namespaces under metadata v14 - Add Polkadot 9122 upgrade block -- Cleanup Polkadot/Kusama/Wetsend/Rococo known types (>= v14 metadata) +- Cleanup Polkadot/Kusama/Westend/Rococo known types (>= v14 metadata) - Internal `decorateMethod{Promise, Rx}` renamed to `to{Promise, Rx}Method` -- Add short term provider-level caching for historic requests +- Add RPC provider-level LRU for historic requests +- Add optional known runtime version param to internal `rx.queryAt` ## 6.7.2 Nov 9, 2021 diff --git a/package.json b/package.json index 9176da0bd9..34f1e4d596 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "sideEffects": false, "type": "commonjs", - "version": "6.7.3-7", + "version": "6.8.0", "workspaces": [ "packages/*" ], diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index 79b0f673ed..b14408d769 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -20,12 +20,12 @@ "./detectPackage.cjs" ], "type": "module", - "version": "6.7.3-7", + "version": "6.8.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.16.0", - "@polkadot/api": "6.7.3-7", - "@polkadot/types": "6.7.3-7", + "@polkadot/api": "6.8.0", + "@polkadot/types": "6.8.0", "@polkadot/util": "^7.8.2", "rxjs": "^7.4.0" } diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 832989c019..3884cb391d 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -20,19 +20,19 @@ "./detectPackage.cjs" ], "type": "module", - "version": "6.7.3-7", + "version": "6.8.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.16.0", - "@polkadot/api": "6.7.3-7", - "@polkadot/rpc-core": "6.7.3-7", - "@polkadot/types": "6.7.3-7", + "@polkadot/api": "6.8.0", + "@polkadot/rpc-core": "6.8.0", + "@polkadot/types": "6.8.0", "@polkadot/util": "^7.8.2", "@polkadot/util-crypto": "^7.8.2", "rxjs": "^7.4.0" }, "devDependencies": { "@polkadot/keyring": "^7.8.2", - "@polkadot/rpc-provider": "6.7.3-7" + "@polkadot/rpc-provider": "6.8.0" } } diff --git a/packages/api/package.json b/packages/api/package.json index a110331127..9481e93d42 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -20,16 +20,16 @@ "./detectPackage.cjs" ], "type": "module", - "version": "6.7.3-7", + "version": "6.8.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.16.0", - "@polkadot/api-derive": "6.7.3-7", + "@polkadot/api-derive": "6.8.0", "@polkadot/keyring": "^7.8.2", - "@polkadot/rpc-core": "6.7.3-7", - "@polkadot/rpc-provider": "6.7.3-7", - "@polkadot/types": "6.7.3-7", - "@polkadot/types-known": "6.7.3-7", + "@polkadot/rpc-core": "6.8.0", + "@polkadot/rpc-provider": "6.8.0", + "@polkadot/types": "6.8.0", + "@polkadot/types-known": "6.8.0", "@polkadot/util": "^7.8.2", "@polkadot/util-crypto": "^7.8.2", "eventemitter3": "^4.0.7", diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index cfd80b2a46..c44ee09515 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -20,12 +20,12 @@ "./detectPackage.cjs" ], "type": "module", - "version": "6.7.3-7", + "version": "6.8.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.16.0", - "@polkadot/rpc-provider": "6.7.3-7", - "@polkadot/types": "6.7.3-7", + "@polkadot/rpc-provider": "6.8.0", + "@polkadot/types": "6.8.0", "@polkadot/util": "^7.8.2", "rxjs": "^7.4.0" }, diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index 2147c99c26..561c815aa3 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -20,11 +20,11 @@ "./detectPackage.cjs" ], "type": "module", - "version": "6.7.3-7", + "version": "6.8.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.16.0", - "@polkadot/types": "6.7.3-7", + "@polkadot/types": "6.8.0", "@polkadot/util": "^7.8.2", "@polkadot/util-crypto": "^7.8.2", "@polkadot/x-fetch": "^7.8.2", @@ -34,7 +34,7 @@ }, "devDependencies": { "@polkadot/keyring": "^7.8.2", - "@polkadot/types": "6.7.3-7", + "@polkadot/types": "6.8.0", "mock-socket": "^9.0.7", "nock": "^13.1.4" } diff --git a/packages/typegen/package.json b/packages/typegen/package.json index 6e3e872bb6..06ff3997a0 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -20,7 +20,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "6.7.3-7", + "version": "6.8.0", "main": "index.js", "bin": { "polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs", @@ -33,10 +33,10 @@ "@babel/core": "^7.16.0", "@babel/register": "^7.16.0", "@babel/runtime": "^7.16.0", - "@polkadot/api": "6.7.3-7", - "@polkadot/rpc-provider": "6.7.3-7", - "@polkadot/types": "6.7.3-7", - "@polkadot/types-support": "6.7.3-7", + "@polkadot/api": "6.8.0", + "@polkadot/rpc-provider": "6.8.0", + "@polkadot/types": "6.8.0", + "@polkadot/types-support": "6.8.0", "@polkadot/util": "^7.8.2", "handlebars": "^4.7.7", "websocket": "^1.0.34", diff --git a/packages/types-known/package.json b/packages/types-known/package.json index 92deeda82b..523f2a6650 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -20,12 +20,12 @@ "./detectPackage.cjs" ], "type": "module", - "version": "6.7.3-7", + "version": "6.8.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.16.0", "@polkadot/networks": "^7.8.2", - "@polkadot/types": "6.7.3-7", + "@polkadot/types": "6.8.0", "@polkadot/util": "^7.8.2" } } diff --git a/packages/types-support/package.json b/packages/types-support/package.json index 0a9ed9401b..6c9e0108a1 100644 --- a/packages/types-support/package.json +++ b/packages/types-support/package.json @@ -20,7 +20,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "6.7.3-7", + "version": "6.8.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.16.0", diff --git a/packages/types/package.json b/packages/types/package.json index 20a81b277a..7cc03c48d0 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -20,7 +20,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "6.7.3-7", + "version": "6.8.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.16.0", @@ -30,7 +30,7 @@ }, "devDependencies": { "@polkadot/keyring": "^7.8.2", - "@polkadot/types-support": "6.7.3-7", + "@polkadot/types-support": "6.8.0", "@types/bn.js": "^4.11.6", "bn.js": "^4.12.0" } diff --git a/yarn.lock b/yarn.lock index 0307f19ca7..f2a9517236 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1845,40 +1845,40 @@ __metadata: resolution: "@polkadot/api-contract@workspace:packages/api-contract" dependencies: "@babel/runtime": ^7.16.0 - "@polkadot/api": 6.7.3-7 - "@polkadot/types": 6.7.3-7 + "@polkadot/api": 6.8.0 + "@polkadot/types": 6.8.0 "@polkadot/util": ^7.8.2 rxjs: ^7.4.0 languageName: unknown linkType: soft -"@polkadot/api-derive@6.7.3-7, @polkadot/api-derive@workspace:packages/api-derive": +"@polkadot/api-derive@6.8.0, @polkadot/api-derive@workspace:packages/api-derive": version: 0.0.0-use.local resolution: "@polkadot/api-derive@workspace:packages/api-derive" dependencies: "@babel/runtime": ^7.16.0 - "@polkadot/api": 6.7.3-7 + "@polkadot/api": 6.8.0 "@polkadot/keyring": ^7.8.2 - "@polkadot/rpc-core": 6.7.3-7 - "@polkadot/rpc-provider": 6.7.3-7 - "@polkadot/types": 6.7.3-7 + "@polkadot/rpc-core": 6.8.0 + "@polkadot/rpc-provider": 6.8.0 + "@polkadot/types": 6.8.0 "@polkadot/util": ^7.8.2 "@polkadot/util-crypto": ^7.8.2 rxjs: ^7.4.0 languageName: unknown linkType: soft -"@polkadot/api@6.7.3-7, @polkadot/api@workspace:packages/api": +"@polkadot/api@6.8.0, @polkadot/api@workspace:packages/api": version: 0.0.0-use.local resolution: "@polkadot/api@workspace:packages/api" dependencies: "@babel/runtime": ^7.16.0 - "@polkadot/api-derive": 6.7.3-7 + "@polkadot/api-derive": 6.8.0 "@polkadot/keyring": ^7.8.2 - "@polkadot/rpc-core": 6.7.3-7 - "@polkadot/rpc-provider": 6.7.3-7 - "@polkadot/types": 6.7.3-7 - "@polkadot/types-known": 6.7.3-7 + "@polkadot/rpc-core": 6.8.0 + "@polkadot/rpc-provider": 6.8.0 + "@polkadot/types": 6.8.0 + "@polkadot/types-known": 6.8.0 "@polkadot/util": ^7.8.2 "@polkadot/util-crypto": ^7.8.2 eventemitter3: ^4.0.7 @@ -2000,26 +2000,26 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-core@6.7.3-7, @polkadot/rpc-core@workspace:packages/rpc-core": +"@polkadot/rpc-core@6.8.0, @polkadot/rpc-core@workspace:packages/rpc-core": version: 0.0.0-use.local resolution: "@polkadot/rpc-core@workspace:packages/rpc-core" dependencies: "@babel/runtime": ^7.16.0 "@polkadot/keyring": ^7.8.2 - "@polkadot/rpc-provider": 6.7.3-7 - "@polkadot/types": 6.7.3-7 + "@polkadot/rpc-provider": 6.8.0 + "@polkadot/types": 6.8.0 "@polkadot/util": ^7.8.2 rxjs: ^7.4.0 languageName: unknown linkType: soft -"@polkadot/rpc-provider@6.7.3-7, @polkadot/rpc-provider@workspace:packages/rpc-provider": +"@polkadot/rpc-provider@6.8.0, @polkadot/rpc-provider@workspace:packages/rpc-provider": version: 0.0.0-use.local resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider" dependencies: "@babel/runtime": ^7.16.0 "@polkadot/keyring": ^7.8.2 - "@polkadot/types": 6.7.3-7 + "@polkadot/types": 6.8.0 "@polkadot/util": ^7.8.2 "@polkadot/util-crypto": ^7.8.2 "@polkadot/x-fetch": ^7.8.2 @@ -2047,10 +2047,10 @@ __metadata: "@babel/core": ^7.16.0 "@babel/register": ^7.16.0 "@babel/runtime": ^7.16.0 - "@polkadot/api": 6.7.3-7 - "@polkadot/rpc-provider": 6.7.3-7 - "@polkadot/types": 6.7.3-7 - "@polkadot/types-support": 6.7.3-7 + "@polkadot/api": 6.8.0 + "@polkadot/rpc-provider": 6.8.0 + "@polkadot/types": 6.8.0 + "@polkadot/types-support": 6.8.0 "@polkadot/util": ^7.8.2 "@types/websocket": ^1.0.4 "@types/yargs": ^17.0.5 @@ -2066,18 +2066,18 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types-known@6.7.3-7, @polkadot/types-known@workspace:packages/types-known": +"@polkadot/types-known@6.8.0, @polkadot/types-known@workspace:packages/types-known": version: 0.0.0-use.local resolution: "@polkadot/types-known@workspace:packages/types-known" dependencies: "@babel/runtime": ^7.16.0 "@polkadot/networks": ^7.8.2 - "@polkadot/types": 6.7.3-7 + "@polkadot/types": 6.8.0 "@polkadot/util": ^7.8.2 languageName: unknown linkType: soft -"@polkadot/types-support@6.7.3-7, @polkadot/types-support@workspace:packages/types-support": +"@polkadot/types-support@6.8.0, @polkadot/types-support@workspace:packages/types-support": version: 0.0.0-use.local resolution: "@polkadot/types-support@workspace:packages/types-support" dependencies: @@ -2086,13 +2086,13 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types@6.7.3-7, @polkadot/types@workspace:packages/types": +"@polkadot/types@6.8.0, @polkadot/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@polkadot/types@workspace:packages/types" dependencies: "@babel/runtime": ^7.16.0 "@polkadot/keyring": ^7.8.2 - "@polkadot/types-support": 6.7.3-7 + "@polkadot/types-support": 6.8.0 "@polkadot/util": ^7.8.2 "@polkadot/util-crypto": ^7.8.2 "@types/bn.js": ^4.11.6