Skip to content

Commit ca2a313

Browse files
authored
1.6 (#2031)
* 1.6 CHANGELOG * 1.6 * yarn
1 parent 693315d commit ca2a313

File tree

12 files changed

+76
-76
lines changed

12 files changed

+76
-76
lines changed

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# 1.6.0-beta.x
1+
# 1.6.1 Mar 12, 2020
22

3-
- **Breaking change** `api.rpc.state.queryStorage(...)` now properly decodes the `Vec<StorageChangeSet>`. this means that results will come back as `[Hash, Codec[]][]` when using this RPC.
4-
- `StorageKey` now have an `.args` property, decoded from meta in the cases twox64concat is used on maps
3+
- **Breaking change** `api.rpc.state.queryStorage(...)` now full decodes the `Vec<StorageChangeSet>` and returns a decoded `[Hash, Codec[]][]` when using this RPC.
4+
- `StorageKey` now has an `.args` property, decoded from meta where `twox64_concat` or `blake128_concat` are used on maps
55
- Fix `api.query.*.*.entries` type conversions to return exact types (not `Option` in some cases)
66
- Add `api.query.*.*.keys` to retrieve only the storage keys, similar to `.entries`
77
- Full linked map retrievals will now use direct getStorage queries for faster operation
88
- Underlying rpc-core interfaces now unwraps `Error("...")` when found in responses
99
- Added `derive.eras*` interfaces for queries to new Substrate staking interfaces
10-
- Update `derive.account` to cater for new indices module storage (detected, fallbacks)
11-
- Adjust derive queries for session move away from module prefix (DoubleMap -> Map), detected on use
10+
- Update `derive.account` to cater for new indices module storage (detected with fallbacks)
11+
- Adjust derive queries for session without module prefix (DoubleMap -> Map), detected on use
1212
- Add runtime validation for map arguments to `api.query.*`
1313
- TypeScript interfaces for linked maps now correctly generates as `[Type, Linkage<Next>]`
1414

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.6.0-beta.30"
12+
"version": "1.6.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.6.0-beta.30",
3+
"version": "1.6.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.4",
30-
"@polkadot/api": "1.6.0-beta.30",
31-
"@polkadot/rpc-core": "1.6.0-beta.30",
32-
"@polkadot/types": "1.6.0-beta.30",
30+
"@polkadot/api": "1.6.0",
31+
"@polkadot/rpc-core": "1.6.0",
32+
"@polkadot/types": "1.6.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.6.0-beta.30",
3+
"version": "1.6.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.4",
31-
"@polkadot/api": "1.6.0-beta.30",
32-
"@polkadot/rpc-core": "1.6.0-beta.30",
33-
"@polkadot/rpc-provider": "1.6.0-beta.30",
34-
"@polkadot/types": "1.6.0-beta.30",
31+
"@polkadot/api": "1.6.0",
32+
"@polkadot/rpc-core": "1.6.0",
33+
"@polkadot/rpc-provider": "1.6.0",
34+
"@polkadot/types": "1.6.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.6.0-beta.30",
3+
"version": "1.6.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.4",
30-
"@polkadot/api-derive": "1.6.0-beta.30",
30+
"@polkadot/api-derive": "1.6.0",
3131
"@polkadot/keyring": "^2.6.2",
32-
"@polkadot/metadata": "1.6.0-beta.30",
33-
"@polkadot/rpc-core": "1.6.0-beta.30",
34-
"@polkadot/rpc-provider": "1.6.0-beta.30",
35-
"@polkadot/types": "1.6.0-beta.30",
32+
"@polkadot/metadata": "1.6.0",
33+
"@polkadot/rpc-core": "1.6.0",
34+
"@polkadot/rpc-provider": "1.6.0",
35+
"@polkadot/types": "1.6.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.6.0-beta.30",
3+
"version": "1.6.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.4",
30-
"@polkadot/types": "1.6.0-beta.30",
30+
"@polkadot/types": "1.6.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.6.0-beta.30",
3+
"version": "1.6.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.4",
30-
"@polkadot/types": "1.6.0-beta.30",
30+
"@polkadot/types": "1.6.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.6.0-beta.30",
3+
"version": "1.6.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.4",
30-
"@polkadot/jsonrpc": "1.6.0-beta.30",
31-
"@polkadot/metadata": "1.6.0-beta.30",
32-
"@polkadot/rpc-provider": "1.6.0-beta.30",
33-
"@polkadot/types": "1.6.0-beta.30",
30+
"@polkadot/jsonrpc": "1.6.0",
31+
"@polkadot/metadata": "1.6.0",
32+
"@polkadot/rpc-provider": "1.6.0",
33+
"@polkadot/types": "1.6.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.6.0-beta.30",
3+
"version": "1.6.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.4",
30-
"@polkadot/jsonrpc": "1.6.0-beta.30",
31-
"@polkadot/metadata": "1.6.0-beta.30",
32-
"@polkadot/types": "1.6.0-beta.30",
30+
"@polkadot/jsonrpc": "1.6.0",
31+
"@polkadot/metadata": "1.6.0",
32+
"@polkadot/types": "1.6.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.6.0-beta.30",
3+
"version": "1.6.0",
44
"description": "Type generation scripts",
55
"main": "index.js",
66
"bin": {
@@ -36,11 +36,11 @@
3636
"@babel/core": "^7.8.3",
3737
"@babel/register": "^7.8.3",
3838
"@babel/runtime": "^7.8.4",
39-
"@polkadot/api": "1.6.0-beta.30",
40-
"@polkadot/jsonrpc": "1.6.0-beta.30",
41-
"@polkadot/metadata": "1.6.0-beta.30",
42-
"@polkadot/rpc-provider": "1.6.0-beta.30",
43-
"@polkadot/types": "1.6.0-beta.30",
39+
"@polkadot/api": "1.6.0",
40+
"@polkadot/jsonrpc": "1.6.0",
41+
"@polkadot/metadata": "1.6.0",
42+
"@polkadot/rpc-provider": "1.6.0",
43+
"@polkadot/types": "1.6.0",
4444
"@polkadot/util": "^2.6.2",
4545
"websocket": "^1.0.31",
4646
"yargs": "^15.1.0"

0 commit comments

Comments
 (0)