* 3.7

* Update CHANGELOG.md
This commit is contained in:
Jaco Greeff
2021-02-01 08:58:59 +01:00
committed by GitHub
parent c2e46bf16d
commit 74f7098e0a
12 changed files with 94 additions and 82 deletions
+15 -3
View File
@@ -1,15 +1,27 @@
# CHANGELOG
## 3.7.x
## 3.7.1 Feb 1, 2021
Upgrade priority: Low. However recoemmended for current Substrate master, Polkadot and Rococo users and those wishing to support the upcoming Polkadot 28 runtime with the new `MultiAddress`.
Upgrade priority: Low. However recommended for current Substrate master, Polkadot and Rococo users and those wishing to support the upcoming Polkadot 28 runtime with the new `MultiAddress`.
- **Breaking change** As indicated in the 3.5.1 release notes, th Address/LookupSource default have now been adjusted for `MultiAddress` by default. This extensible format is mean to cater for all address types, removing a lot of discrepancies between chains.
- **Breaking change** As indicated in the 3.5.1 release notes, the `Address`/`LookupSource` defaults have now been adjusted for `MultiAddress`. If your chain does not use these types, explicitly add the correct `Address`/`LookupSource` types. This new extensible format is mean to cater for all address types into the future, removing a lot of discrepancies between chains.
Contributed:
- Extraction of the block author on Moonbeam (Thanks to https://github.com/joelamouche)
- Cleanup logs with HTTP providers, no subs (Thanks to https://github.com/Tbaut)
Changes:
- Allow `.slice` operator on the `Vec` type
- Apply `MultiAddress` as a default
- Adds support for the upcoming Polkadot 28 and Kusama 2028 runtimes
- Add checkpoint for Kusama 2027 upgrade
- Update all parachain types (as per latest Rococo)
- Correctly use relay blockNumber in parachain validation data
- remove information log for capabilities detection (creates confusion)
- Remove explicit references to `global`, use the `x-global` detection
- Remove explicit `module` in `package.json` (exports map available)
## 3.6.1 Jan 24, 2020
+1 -1
View File
@@ -34,5 +34,5 @@
"@types/jest": "^26.0.20",
"copyfiles": "^2.4.1"
},
"version": "3.6.5-12"
"version": "3.7.0"
}
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-contract",
"version": "3.6.5-12",
"version": "3.7.0",
"description": "Interfaces for interacting with contracts and contract ABIs",
"main": "index.js",
"sideEffects": false,
@@ -13,8 +13,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/api": "3.6.5-12",
"@polkadot/types": "3.6.5-12",
"@polkadot/api": "3.7.0",
"@polkadot/types": "3.7.0",
"@polkadot/util": "^5.5.1",
"@polkadot/x-rxjs": "^5.5.1",
"bn.js": "^4.11.9"
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-derive",
"version": "3.6.5-12",
"version": "3.7.0",
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js",
"sideEffects": false,
@@ -13,9 +13,9 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/api": "3.6.5-12",
"@polkadot/rpc-core": "3.6.5-12",
"@polkadot/types": "3.6.5-12",
"@polkadot/api": "3.7.0",
"@polkadot/rpc-core": "3.7.0",
"@polkadot/types": "3.7.0",
"@polkadot/util": "^5.5.1",
"@polkadot/util-crypto": "^5.5.1",
"@polkadot/x-rxjs": "^5.5.1",
@@ -23,6 +23,6 @@
},
"devDependencies": {
"@polkadot/keyring": "^5.5.1",
"@polkadot/rpc-provider": "3.6.5-12"
"@polkadot/rpc-provider": "3.7.0"
}
}
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api",
"version": "3.6.5-12",
"version": "3.7.0",
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
"main": "index.js",
"sideEffects": [
@@ -16,13 +16,13 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/api-derive": "3.6.5-12",
"@polkadot/api-derive": "3.7.0",
"@polkadot/keyring": "^5.5.1",
"@polkadot/metadata": "3.6.5-12",
"@polkadot/rpc-core": "3.6.5-12",
"@polkadot/rpc-provider": "3.6.5-12",
"@polkadot/types": "3.6.5-12",
"@polkadot/types-known": "3.6.5-12",
"@polkadot/metadata": "3.7.0",
"@polkadot/rpc-core": "3.7.0",
"@polkadot/rpc-provider": "3.7.0",
"@polkadot/types": "3.7.0",
"@polkadot/types-known": "3.7.0",
"@polkadot/util": "^5.5.1",
"@polkadot/util-crypto": "^5.5.1",
"@polkadot/x-rxjs": "^5.5.1",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/metadata",
"version": "3.6.5-12",
"version": "3.7.0",
"description": "Helpers to extract information from runtime metadata",
"main": "index.js",
"sideEffects": [
@@ -16,8 +16,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/types": "3.6.5-12",
"@polkadot/types-known": "3.6.5-12",
"@polkadot/types": "3.7.0",
"@polkadot/types-known": "3.7.0",
"@polkadot/util": "^5.5.1",
"@polkadot/util-crypto": "^5.5.1",
"bn.js": "^4.11.9"
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-core",
"version": "3.6.5-12",
"version": "3.7.0",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
"sideEffects": false,
@@ -13,9 +13,9 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/metadata": "3.6.5-12",
"@polkadot/rpc-provider": "3.6.5-12",
"@polkadot/types": "3.6.5-12",
"@polkadot/metadata": "3.7.0",
"@polkadot/rpc-provider": "3.7.0",
"@polkadot/types": "3.7.0",
"@polkadot/util": "^5.5.1",
"@polkadot/x-rxjs": "^5.5.1"
},
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-provider",
"version": "3.6.5-12",
"version": "3.7.0",
"description": "Transport providers for the API",
"main": "index.js",
"sideEffects": false,
@@ -13,7 +13,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/types": "3.6.5-12",
"@polkadot/types": "3.7.0",
"@polkadot/util": "^5.5.1",
"@polkadot/util-crypto": "^5.5.1",
"@polkadot/x-fetch": "^5.5.1",
@@ -24,8 +24,8 @@
},
"devDependencies": {
"@polkadot/keyring": "^5.5.1",
"@polkadot/metadata": "3.6.5-12",
"@polkadot/metadata": "3.7.0",
"mock-socket": "^9.0.3",
"nock": "^13.0.6"
"nock": "^13.0.7"
}
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/typegen",
"version": "3.6.5-12",
"version": "3.7.0",
"description": "Type generation scripts",
"main": "index.js",
"sideEffects": false,
@@ -22,10 +22,10 @@
"@babel/core": "^7.12.10",
"@babel/register": "^7.12.10",
"@babel/runtime": "^7.12.5",
"@polkadot/api": "3.6.5-12",
"@polkadot/metadata": "3.6.5-12",
"@polkadot/rpc-provider": "3.6.5-12",
"@polkadot/types": "3.6.5-12",
"@polkadot/api": "3.7.0",
"@polkadot/metadata": "3.7.0",
"@polkadot/rpc-provider": "3.7.0",
"@polkadot/types": "3.7.0",
"@polkadot/util": "^5.5.1",
"handlebars": "^4.7.6",
"websocket": "^1.0.33",
@@ -33,6 +33,6 @@
},
"devDependencies": {
"@types/websocket": "^1.0.1",
"@types/yargs": "^15.0.12"
"@types/yargs": "^15.0.13"
}
}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types-known",
"version": "3.6.5-12",
"version": "3.7.0",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
"sideEffects": false,
@@ -13,7 +13,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/types": "3.6.5-12",
"@polkadot/types": "3.7.0",
"@polkadot/util": "^5.5.1",
"bn.js": "^4.11.9"
},
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "3.6.5-12",
"version": "3.7.0",
"description": "Implementation of the Parity codec",
"main": "index.js",
"sideEffects": [
@@ -16,7 +16,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/metadata": "3.6.5-12",
"@polkadot/metadata": "3.7.0",
"@polkadot/util": "^5.5.1",
"@polkadot/util-crypto": "^5.5.1",
"@polkadot/x-rxjs": "^5.5.1",
+42 -42
View File
@@ -1622,24 +1622,24 @@ __metadata:
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/api": 3.6.5-12
"@polkadot/types": 3.6.5-12
"@polkadot/api": 3.7.0
"@polkadot/types": 3.7.0
"@polkadot/util": ^5.5.1
"@polkadot/x-rxjs": ^5.5.1
bn.js: ^4.11.9
languageName: unknown
linkType: soft
"@polkadot/api-derive@3.6.5-12, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@3.7.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.12.5
"@polkadot/api": 3.6.5-12
"@polkadot/api": 3.7.0
"@polkadot/keyring": ^5.5.1
"@polkadot/rpc-core": 3.6.5-12
"@polkadot/rpc-provider": 3.6.5-12
"@polkadot/types": 3.6.5-12
"@polkadot/rpc-core": 3.7.0
"@polkadot/rpc-provider": 3.7.0
"@polkadot/types": 3.7.0
"@polkadot/util": ^5.5.1
"@polkadot/util-crypto": ^5.5.1
"@polkadot/x-rxjs": ^5.5.1
@@ -1647,18 +1647,18 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api@3.6.5-12, @polkadot/api@workspace:packages/api":
"@polkadot/api@3.7.0, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/api-derive": 3.6.5-12
"@polkadot/api-derive": 3.7.0
"@polkadot/keyring": ^5.5.1
"@polkadot/metadata": 3.6.5-12
"@polkadot/rpc-core": 3.6.5-12
"@polkadot/rpc-provider": 3.6.5-12
"@polkadot/types": 3.6.5-12
"@polkadot/types-known": 3.6.5-12
"@polkadot/metadata": 3.7.0
"@polkadot/rpc-core": 3.7.0
"@polkadot/rpc-provider": 3.7.0
"@polkadot/types": 3.7.0
"@polkadot/types-known": 3.7.0
"@polkadot/util": ^5.5.1
"@polkadot/util-crypto": ^5.5.1
"@polkadot/x-rxjs": ^5.5.1
@@ -1772,14 +1772,14 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/metadata@3.6.5-12, @polkadot/metadata@workspace:packages/metadata":
"@polkadot/metadata@3.7.0, @polkadot/metadata@workspace:packages/metadata":
version: 0.0.0-use.local
resolution: "@polkadot/metadata@workspace:packages/metadata"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/keyring": ^5.5.1
"@polkadot/types": 3.6.5-12
"@polkadot/types-known": 3.6.5-12
"@polkadot/types": 3.7.0
"@polkadot/types-known": 3.7.0
"@polkadot/util": ^5.5.1
"@polkadot/util-crypto": ^5.5.1
bn.js: ^4.11.9
@@ -1795,28 +1795,28 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-core@3.6.5-12, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@3.7.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.12.5
"@polkadot/keyring": ^5.5.1
"@polkadot/metadata": 3.6.5-12
"@polkadot/rpc-provider": 3.6.5-12
"@polkadot/types": 3.6.5-12
"@polkadot/metadata": 3.7.0
"@polkadot/rpc-provider": 3.7.0
"@polkadot/types": 3.7.0
"@polkadot/util": ^5.5.1
"@polkadot/x-rxjs": ^5.5.1
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@3.6.5-12, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@3.7.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.12.5
"@polkadot/keyring": ^5.5.1
"@polkadot/metadata": 3.6.5-12
"@polkadot/types": 3.6.5-12
"@polkadot/metadata": 3.7.0
"@polkadot/types": 3.7.0
"@polkadot/util": ^5.5.1
"@polkadot/util-crypto": ^5.5.1
"@polkadot/x-fetch": ^5.5.1
@@ -1825,7 +1825,7 @@ __metadata:
bn.js: ^4.11.9
eventemitter3: ^4.0.7
mock-socket: ^9.0.3
nock: ^13.0.6
nock: ^13.0.7
languageName: unknown
linkType: soft
@@ -1845,13 +1845,13 @@ __metadata:
"@babel/core": ^7.12.10
"@babel/register": ^7.12.10
"@babel/runtime": ^7.12.5
"@polkadot/api": 3.6.5-12
"@polkadot/metadata": 3.6.5-12
"@polkadot/rpc-provider": 3.6.5-12
"@polkadot/types": 3.6.5-12
"@polkadot/api": 3.7.0
"@polkadot/metadata": 3.7.0
"@polkadot/rpc-provider": 3.7.0
"@polkadot/types": 3.7.0
"@polkadot/util": ^5.5.1
"@types/websocket": ^1.0.1
"@types/yargs": ^15.0.12
"@types/yargs": ^15.0.13
handlebars: ^4.7.6
websocket: ^1.0.33
yargs: ^16.2.0
@@ -1864,25 +1864,25 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-known@3.6.5-12, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@3.7.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.12.5
"@polkadot/types": 3.6.5-12
"@polkadot/types": 3.7.0
"@polkadot/util": ^5.5.1
"@types/bn.js": ^4.11.6
bn.js: ^4.11.9
languageName: unknown
linkType: soft
"@polkadot/types@3.6.5-12, @polkadot/types@workspace:packages/types":
"@polkadot/types@3.7.0, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@babel/runtime": ^7.12.5
"@polkadot/keyring": ^5.5.1
"@polkadot/metadata": 3.6.5-12
"@polkadot/metadata": 3.7.0
"@polkadot/util": ^5.5.1
"@polkadot/util-crypto": ^5.5.1
"@polkadot/x-rxjs": ^5.5.1
@@ -2292,12 +2292,12 @@ __metadata:
languageName: node
linkType: hard
"@types/yargs@npm:^15.0.0, @types/yargs@npm:^15.0.12":
version: 15.0.12
resolution: "@types/yargs@npm:15.0.12"
"@types/yargs@npm:^15.0.0, @types/yargs@npm:^15.0.13":
version: 15.0.13
resolution: "@types/yargs@npm:15.0.13"
dependencies:
"@types/yargs-parser": "*"
checksum: b67cf9e8f25865a6d6e72196fe7f47c6f328d2b7a54ed9fa0e60f9693abb332fec1a826f90310804f231bca28a2f71367956b3be2fdba2d4bf316f0394d84f4d
checksum: fa1a5b0a07dbbff1657a27d1191d586632412d170321000f6f417f279547a8c191d7058dbf4d4187c188a5a1aeb2473ddb25fe316b206fccdfe1de6fad976619
languageName: node
linkType: hard
@@ -7688,15 +7688,15 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"nock@npm:^13.0.6":
version: 13.0.6
resolution: "nock@npm:13.0.6"
"nock@npm:^13.0.7":
version: 13.0.7
resolution: "nock@npm:13.0.7"
dependencies:
debug: ^4.1.0
json-stringify-safe: ^5.0.1
lodash.set: ^4.3.2
propagate: ^2.0.0
checksum: 48fae5537e8b5d994d2b989f3c4ae3ab3893aff676ffa086605a8c2b1292b9bc8c879eae62330578b8dd832e1e011edcfc4a5317d5bc093c43b7c95e41c4acf0
checksum: db77afdd757bb9f5496783a9f7cc30eb0664195c469d0b01e2e956545e6c08b24482a4a3fcdf4eef1713da30baa880bde244bac6c546733d5b3a59c6838d24b1
languageName: node
linkType: hard