Skip to content

Commit 74f7098

Browse files
authored
3.7 (#3131)
* 3.7 * Update CHANGELOG.md
1 parent c2e46bf commit 74f7098

File tree

12 files changed

+94
-82
lines changed

12 files changed

+94
-82
lines changed

CHANGELOG.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
11
# CHANGELOG
22

3-
## 3.7.x
3+
## 3.7.1 Feb 1, 2021
44

5-
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`.
5+
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`.
66

7-
- **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.
7+
- **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.
8+
9+
Contributed:
10+
11+
- Extraction of the block author on Moonbeam (Thanks to https://github.com/joelamouche)
12+
- Cleanup logs with HTTP providers, no subs (Thanks to https://github.com/Tbaut)
813

914
Changes:
1015

16+
- Allow `.slice` operator on the `Vec` type
1117
- Apply `MultiAddress` as a default
1218
- Adds support for the upcoming Polkadot 28 and Kusama 2028 runtimes
19+
- Add checkpoint for Kusama 2027 upgrade
20+
- Update all parachain types (as per latest Rococo)
21+
- Correctly use relay blockNumber in parachain validation data
22+
- remove information log for capabilities detection (creates confusion)
23+
- Remove explicit references to `global`, use the `x-global` detection
24+
- Remove explicit `module` in `package.json` (exports map available)
1325

1426

1527
## 3.6.1 Jan 24, 2020

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@
3434
"@types/jest": "^26.0.20",
3535
"copyfiles": "^2.4.1"
3636
},
37-
"version": "3.6.5-12"
37+
"version": "3.7.0"
3838
}

packages/api-contract/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-contract",
3-
"version": "3.6.5-12",
3+
"version": "3.7.0",
44
"description": "Interfaces for interacting with contracts and contract ABIs",
55
"main": "index.js",
66
"sideEffects": false,
@@ -13,8 +13,8 @@
1313
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
1414
"dependencies": {
1515
"@babel/runtime": "^7.12.5",
16-
"@polkadot/api": "3.6.5-12",
17-
"@polkadot/types": "3.6.5-12",
16+
"@polkadot/api": "3.7.0",
17+
"@polkadot/types": "3.7.0",
1818
"@polkadot/util": "^5.5.1",
1919
"@polkadot/x-rxjs": "^5.5.1",
2020
"bn.js": "^4.11.9"

packages/api-derive/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-derive",
3-
"version": "3.6.5-12",
3+
"version": "3.7.0",
44
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
55
"main": "index.js",
66
"sideEffects": false,
@@ -13,16 +13,16 @@
1313
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
1414
"dependencies": {
1515
"@babel/runtime": "^7.12.5",
16-
"@polkadot/api": "3.6.5-12",
17-
"@polkadot/rpc-core": "3.6.5-12",
18-
"@polkadot/types": "3.6.5-12",
16+
"@polkadot/api": "3.7.0",
17+
"@polkadot/rpc-core": "3.7.0",
18+
"@polkadot/types": "3.7.0",
1919
"@polkadot/util": "^5.5.1",
2020
"@polkadot/util-crypto": "^5.5.1",
2121
"@polkadot/x-rxjs": "^5.5.1",
2222
"bn.js": "^4.11.9"
2323
},
2424
"devDependencies": {
2525
"@polkadot/keyring": "^5.5.1",
26-
"@polkadot/rpc-provider": "3.6.5-12"
26+
"@polkadot/rpc-provider": "3.7.0"
2727
}
2828
}

packages/api/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api",
3-
"version": "3.6.5-12",
3+
"version": "3.7.0",
44
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
55
"main": "index.js",
66
"sideEffects": [
@@ -16,13 +16,13 @@
1616
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
1717
"dependencies": {
1818
"@babel/runtime": "^7.12.5",
19-
"@polkadot/api-derive": "3.6.5-12",
19+
"@polkadot/api-derive": "3.7.0",
2020
"@polkadot/keyring": "^5.5.1",
21-
"@polkadot/metadata": "3.6.5-12",
22-
"@polkadot/rpc-core": "3.6.5-12",
23-
"@polkadot/rpc-provider": "3.6.5-12",
24-
"@polkadot/types": "3.6.5-12",
25-
"@polkadot/types-known": "3.6.5-12",
21+
"@polkadot/metadata": "3.7.0",
22+
"@polkadot/rpc-core": "3.7.0",
23+
"@polkadot/rpc-provider": "3.7.0",
24+
"@polkadot/types": "3.7.0",
25+
"@polkadot/types-known": "3.7.0",
2626
"@polkadot/util": "^5.5.1",
2727
"@polkadot/util-crypto": "^5.5.1",
2828
"@polkadot/x-rxjs": "^5.5.1",

packages/metadata/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/metadata",
3-
"version": "3.6.5-12",
3+
"version": "3.7.0",
44
"description": "Helpers to extract information from runtime metadata",
55
"main": "index.js",
66
"sideEffects": [
@@ -16,8 +16,8 @@
1616
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
1717
"dependencies": {
1818
"@babel/runtime": "^7.12.5",
19-
"@polkadot/types": "3.6.5-12",
20-
"@polkadot/types-known": "3.6.5-12",
19+
"@polkadot/types": "3.7.0",
20+
"@polkadot/types-known": "3.7.0",
2121
"@polkadot/util": "^5.5.1",
2222
"@polkadot/util-crypto": "^5.5.1",
2323
"bn.js": "^4.11.9"

packages/rpc-core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-core",
3-
"version": "3.6.5-12",
3+
"version": "3.7.0",
44
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
55
"main": "index.js",
66
"sideEffects": false,
@@ -13,9 +13,9 @@
1313
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
1414
"dependencies": {
1515
"@babel/runtime": "^7.12.5",
16-
"@polkadot/metadata": "3.6.5-12",
17-
"@polkadot/rpc-provider": "3.6.5-12",
18-
"@polkadot/types": "3.6.5-12",
16+
"@polkadot/metadata": "3.7.0",
17+
"@polkadot/rpc-provider": "3.7.0",
18+
"@polkadot/types": "3.7.0",
1919
"@polkadot/util": "^5.5.1",
2020
"@polkadot/x-rxjs": "^5.5.1"
2121
},

packages/rpc-provider/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-provider",
3-
"version": "3.6.5-12",
3+
"version": "3.7.0",
44
"description": "Transport providers for the API",
55
"main": "index.js",
66
"sideEffects": false,
@@ -13,7 +13,7 @@
1313
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
1414
"dependencies": {
1515
"@babel/runtime": "^7.12.5",
16-
"@polkadot/types": "3.6.5-12",
16+
"@polkadot/types": "3.7.0",
1717
"@polkadot/util": "^5.5.1",
1818
"@polkadot/util-crypto": "^5.5.1",
1919
"@polkadot/x-fetch": "^5.5.1",
@@ -24,8 +24,8 @@
2424
},
2525
"devDependencies": {
2626
"@polkadot/keyring": "^5.5.1",
27-
"@polkadot/metadata": "3.6.5-12",
27+
"@polkadot/metadata": "3.7.0",
2828
"mock-socket": "^9.0.3",
29-
"nock": "^13.0.6"
29+
"nock": "^13.0.7"
3030
}
3131
}

packages/typegen/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/typegen",
3-
"version": "3.6.5-12",
3+
"version": "3.7.0",
44
"description": "Type generation scripts",
55
"main": "index.js",
66
"sideEffects": false,
@@ -22,17 +22,17 @@
2222
"@babel/core": "^7.12.10",
2323
"@babel/register": "^7.12.10",
2424
"@babel/runtime": "^7.12.5",
25-
"@polkadot/api": "3.6.5-12",
26-
"@polkadot/metadata": "3.6.5-12",
27-
"@polkadot/rpc-provider": "3.6.5-12",
28-
"@polkadot/types": "3.6.5-12",
25+
"@polkadot/api": "3.7.0",
26+
"@polkadot/metadata": "3.7.0",
27+
"@polkadot/rpc-provider": "3.7.0",
28+
"@polkadot/types": "3.7.0",
2929
"@polkadot/util": "^5.5.1",
3030
"handlebars": "^4.7.6",
3131
"websocket": "^1.0.33",
3232
"yargs": "^16.2.0"
3333
},
3434
"devDependencies": {
3535
"@types/websocket": "^1.0.1",
36-
"@types/yargs": "^15.0.12"
36+
"@types/yargs": "^15.0.13"
3737
}
3838
}

packages/types-known/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/types-known",
3-
"version": "3.6.5-12",
3+
"version": "3.7.0",
44
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
55
"main": "index.js",
66
"sideEffects": false,
@@ -13,7 +13,7 @@
1313
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
1414
"dependencies": {
1515
"@babel/runtime": "^7.12.5",
16-
"@polkadot/types": "3.6.5-12",
16+
"@polkadot/types": "3.7.0",
1717
"@polkadot/util": "^5.5.1",
1818
"bn.js": "^4.11.9"
1919
},

0 commit comments

Comments
 (0)