Skip to content

Commit 9ea6053

Browse files
authored
1.7 (#2059)
1 parent 73dce6b commit 9ea6053

File tree

12 files changed

+77
-77
lines changed

12 files changed

+77
-77
lines changed

CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# 1.7.0-beta.x
1+
# 1.7.1 Mar 17, 2020
22

3-
- **Important** Current versions of Polkadot/Substrate has dropped linked maps, if you are using these, e.g. `staking.{nominators,validators}()` to retrieve all entries, and using an upgraded chain, you need to swap to retrieving values via `.entries()`
4-
- Support latest Substrate types & metadata
5-
- Add support for new Substrate `state_getKeysPaged` RPC
6-
- Re-add fixed (with tests) checks for query args, previously disabled in 1.6.2
3+
- **Important** Current versions of Polkadot/Substrate have dropped support for linked maps on storage entries. If you are using these queries to retriev all entries, for instance `staking.{nominators,validators}()` and using an upgraded chain, you need to swap to retrieving entries via `.entries()` or `.keys()` for the keys.
4+
- Pull in support and types for latest Polkadot/Substrate
5+
- Add support for the new Substrate `state_getKeysPaged` RPC, including use in storage keys
76
- Move `derive.staking.controllers` to `derive.staking.stashes`, reflecting actual content
8-
- Cater for adjusted storage (non-linked maps) for `derive.staking.stashes` (with old-compat)
7+
- Cater for adjusted storage (non-linked mapped) for `derive.staking.stashes` queries (with old-compat)
98
- Expanded `derive.staking.*` derives, including addition of `derive.staking.own*`
9+
- Re-add fixed (with tests) checks for query args, previously disabled in 1.6.2
1010

1111
# 1.6.2 Mar 12, 2020
1212

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"packages": [
1010
"packages/*"
1111
],
12-
"version": "1.7.0-beta.19"
12+
"version": "1.7.0"
1313
}

packages/api-contract/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-contract",
3-
"version": "1.7.0-beta.19",
3+
"version": "1.7.0",
44
"description": "Interfaces for interacting with contracts and contract ABIs",
55
"main": "index.js",
66
"keywords": [
@@ -27,9 +27,9 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.8.7",
30-
"@polkadot/api": "1.7.0-beta.19",
31-
"@polkadot/rpc-core": "1.7.0-beta.19",
32-
"@polkadot/types": "1.7.0-beta.19",
30+
"@polkadot/api": "1.7.0",
31+
"@polkadot/rpc-core": "1.7.0",
32+
"@polkadot/types": "1.7.0",
3333
"@polkadot/util": "^2.6.2",
3434
"bn.js": "^5.1.1",
3535
"rxjs": "^6.5.4"

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": "1.7.0-beta.19",
3+
"version": "1.7.0",
44
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
55
"main": "index.js",
66
"keywords": [
@@ -28,10 +28,10 @@
2828
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
2929
"dependencies": {
3030
"@babel/runtime": "^7.8.7",
31-
"@polkadot/api": "1.7.0-beta.19",
32-
"@polkadot/rpc-core": "1.7.0-beta.19",
33-
"@polkadot/rpc-provider": "1.7.0-beta.19",
34-
"@polkadot/types": "1.7.0-beta.19",
31+
"@polkadot/api": "1.7.0",
32+
"@polkadot/rpc-core": "1.7.0",
33+
"@polkadot/rpc-provider": "1.7.0",
34+
"@polkadot/types": "1.7.0",
3535
"@polkadot/util": "^2.6.2",
3636
"@polkadot/util-crypto": "^2.6.2",
3737
"bn.js": "^5.1.1",

packages/api/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api",
3-
"version": "1.7.0-beta.19",
3+
"version": "1.7.0",
44
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
55
"main": "index.js",
66
"keywords": [
@@ -27,12 +27,12 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.8.7",
30-
"@polkadot/api-derive": "1.7.0-beta.19",
30+
"@polkadot/api-derive": "1.7.0",
3131
"@polkadot/keyring": "^2.6.2",
32-
"@polkadot/metadata": "1.7.0-beta.19",
33-
"@polkadot/rpc-core": "1.7.0-beta.19",
34-
"@polkadot/rpc-provider": "1.7.0-beta.19",
35-
"@polkadot/types": "1.7.0-beta.19",
32+
"@polkadot/metadata": "1.7.0",
33+
"@polkadot/rpc-core": "1.7.0",
34+
"@polkadot/rpc-provider": "1.7.0",
35+
"@polkadot/types": "1.7.0",
3636
"@polkadot/util": "^2.6.2",
3737
"@polkadot/util-crypto": "^2.6.2",
3838
"bn.js": "^5.1.1",

packages/jsonrpc/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/jsonrpc",
3-
"version": "1.7.0-beta.19",
3+
"version": "1.7.0",
44
"description": "Method definitions for the Polkadot RPC layer",
55
"main": "index.js",
66
"publishConfig": {
@@ -27,7 +27,7 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/jsonrpc#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.8.7",
30-
"@polkadot/types": "1.7.0-beta.19",
30+
"@polkadot/types": "1.7.0",
3131
"@polkadot/util": "^2.6.2"
3232
}
3333
}

packages/metadata/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/metadata",
3-
"version": "1.7.0-beta.19",
3+
"version": "1.7.0",
44
"description": "Helpers to extract information from runtime metadata",
55
"main": "index.js",
66
"publishConfig": {
@@ -27,7 +27,7 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.8.7",
30-
"@polkadot/types": "1.7.0-beta.19",
30+
"@polkadot/types": "1.7.0",
3131
"@polkadot/util": "^2.6.2",
3232
"@polkadot/util-crypto": "^2.6.2",
3333
"bn.js": "^5.1.1"

packages/rpc-core/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-core",
3-
"version": "1.7.0-beta.19",
3+
"version": "1.7.0",
44
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
55
"main": "index.js",
66
"keywords": [
@@ -27,10 +27,10 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.8.7",
30-
"@polkadot/jsonrpc": "1.7.0-beta.19",
31-
"@polkadot/metadata": "1.7.0-beta.19",
32-
"@polkadot/rpc-provider": "1.7.0-beta.19",
33-
"@polkadot/types": "1.7.0-beta.19",
30+
"@polkadot/jsonrpc": "1.7.0",
31+
"@polkadot/metadata": "1.7.0",
32+
"@polkadot/rpc-provider": "1.7.0",
33+
"@polkadot/types": "1.7.0",
3434
"@polkadot/util": "^2.6.2",
3535
"memoizee": "^0.4.14",
3636
"rxjs": "^6.5.4"

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": "1.7.0-beta.19",
3+
"version": "1.7.0",
44
"description": "Transport providers for the API",
55
"main": "index.js",
66
"keywords": [
@@ -27,9 +27,9 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.8.7",
30-
"@polkadot/jsonrpc": "1.7.0-beta.19",
31-
"@polkadot/metadata": "1.7.0-beta.19",
32-
"@polkadot/types": "1.7.0-beta.19",
30+
"@polkadot/jsonrpc": "1.7.0",
31+
"@polkadot/metadata": "1.7.0",
32+
"@polkadot/types": "1.7.0",
3333
"@polkadot/util": "^2.6.2",
3434
"@polkadot/util-crypto": "^2.6.2",
3535
"bn.js": "^5.1.1",

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": "1.7.0-beta.19",
3+
"version": "1.7.0",
44
"description": "Type generation scripts",
55
"main": "index.js",
66
"bin": {
@@ -36,11 +36,11 @@
3636
"@babel/core": "^7.8.7",
3737
"@babel/register": "^7.8.6",
3838
"@babel/runtime": "^7.8.7",
39-
"@polkadot/api": "1.7.0-beta.19",
40-
"@polkadot/jsonrpc": "1.7.0-beta.19",
41-
"@polkadot/metadata": "1.7.0-beta.19",
42-
"@polkadot/rpc-provider": "1.7.0-beta.19",
43-
"@polkadot/types": "1.7.0-beta.19",
39+
"@polkadot/api": "1.7.0",
40+
"@polkadot/jsonrpc": "1.7.0",
41+
"@polkadot/metadata": "1.7.0",
42+
"@polkadot/rpc-provider": "1.7.0",
43+
"@polkadot/types": "1.7.0",
4444
"@polkadot/util": "^2.6.2",
4545
"websocket": "^1.0.31",
4646
"yargs": "^15.3.0"

0 commit comments

Comments
 (0)