Skip to content

Commit 2071de5

Browse files
authored
1.8 (#2079)
1 parent 205ae40 commit 2071de5

File tree

11 files changed

+68
-65
lines changed

11 files changed

+68
-65
lines changed

CHANGELOG.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
# 1.8.0-beta.x
1+
# 1.8.1 Mar 22, 2020
22

3-
- **Breaking change** The format for any custom RPCs have been changed, alongside API-internal changes to allow for better RPC management. If you are currently using custom RPCs (or planning to do so), look at the [updated documentation](https://polkadot.js.org/api/start/rpc.custom.html)
3+
- **Breaking change** The format for any custom RPCs have been changed alongside API-internal changes to allow for better RPC management. If you are currently using custom RPCs (or planning to do so), look at the [updated documentation](https://polkadot.js.org/api/start/rpc.custom.html)
44
- **Breaking change** Alongside API RPC changes, the `@polkadot/jsonrpc` package has been removed. Since it was never documented and only used internally, this should not have adverse impacts. All RPC definitions itself has now been moved to the relevant modules inside `@polkadot/types/interfaces`
5-
- **Important** Substrate has made changes to democracy, if using an older chain add the `ReferendumInfo: 'ReferendumInfoTo239'` type if using referendums
6-
- Adjust referendum derives to cater for new and old democracy (`referendumInfo` now includes `status` field, not `info`)
5+
- **Important** Substrate has an updated democracy module. If using an older chain add the `ReferendumInfo: 'ReferendumInfoTo239'` type when using referendums
6+
- The `isRetracted` Extrinsic status is now a warning, not a fatal error, correctly aligning with Polkadot/Substrate
77
- The Substrate extrinsic phase definitions has been expanded with `Initialization` to align with the latest versions
8+
- Add support for all known substrate RPC methods
9+
- Extend account derives to include status flags, e.g. `isCouncil`, `isSudo`, ...
10+
- Adjusted referendum derives to cater for bot new/old democracy. Derived `referendumInfo` now includes `status` field, not `info`
811

912
# 1.7.1 Mar 17, 2020
1013

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.8.0-beta.12"
12+
"version": "1.8.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.8.0-beta.12",
3+
"version": "1.8.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.9.2",
30-
"@polkadot/api": "1.8.0-beta.12",
31-
"@polkadot/rpc-core": "1.8.0-beta.12",
32-
"@polkadot/types": "1.8.0-beta.12",
30+
"@polkadot/api": "1.8.0",
31+
"@polkadot/rpc-core": "1.8.0",
32+
"@polkadot/types": "1.8.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.8.0-beta.12",
3+
"version": "1.8.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.9.2",
31-
"@polkadot/api": "1.8.0-beta.12",
32-
"@polkadot/rpc-core": "1.8.0-beta.12",
33-
"@polkadot/rpc-provider": "1.8.0-beta.12",
34-
"@polkadot/types": "1.8.0-beta.12",
31+
"@polkadot/api": "1.8.0",
32+
"@polkadot/rpc-core": "1.8.0",
33+
"@polkadot/rpc-provider": "1.8.0",
34+
"@polkadot/types": "1.8.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.8.0-beta.12",
3+
"version": "1.8.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.9.2",
30-
"@polkadot/api-derive": "1.8.0-beta.12",
30+
"@polkadot/api-derive": "1.8.0",
3131
"@polkadot/keyring": "^2.6.2",
32-
"@polkadot/metadata": "1.8.0-beta.12",
33-
"@polkadot/rpc-core": "1.8.0-beta.12",
34-
"@polkadot/rpc-provider": "1.8.0-beta.12",
35-
"@polkadot/types": "1.8.0-beta.12",
32+
"@polkadot/metadata": "1.8.0",
33+
"@polkadot/rpc-core": "1.8.0",
34+
"@polkadot/rpc-provider": "1.8.0",
35+
"@polkadot/types": "1.8.0",
3636
"@polkadot/util": "^2.6.2",
3737
"@polkadot/util-crypto": "^2.6.2",
3838
"bn.js": "^5.1.1",

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.8.0-beta.12",
3+
"version": "1.8.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.9.2",
30-
"@polkadot/types": "1.8.0-beta.12",
30+
"@polkadot/types": "1.8.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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-core",
3-
"version": "1.8.0-beta.12",
3+
"version": "1.8.0",
44
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
55
"main": "index.js",
66
"keywords": [
@@ -27,9 +27,9 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.9.2",
30-
"@polkadot/metadata": "1.8.0-beta.12",
31-
"@polkadot/rpc-provider": "1.8.0-beta.12",
32-
"@polkadot/types": "1.8.0-beta.12",
30+
"@polkadot/metadata": "1.8.0",
31+
"@polkadot/rpc-provider": "1.8.0",
32+
"@polkadot/types": "1.8.0",
3333
"@polkadot/util": "^2.6.2",
3434
"memoizee": "^0.4.14",
3535
"rxjs": "^6.5.4"

packages/rpc-provider/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-provider",
3-
"version": "1.8.0-beta.12",
3+
"version": "1.8.0",
44
"description": "Transport providers for the API",
55
"main": "index.js",
66
"keywords": [
@@ -27,8 +27,8 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.9.2",
30-
"@polkadot/metadata": "1.8.0-beta.12",
31-
"@polkadot/types": "1.8.0-beta.12",
30+
"@polkadot/metadata": "1.8.0",
31+
"@polkadot/types": "1.8.0",
3232
"@polkadot/util": "^2.6.2",
3333
"@polkadot/util-crypto": "^2.6.2",
3434
"bn.js": "^5.1.1",

packages/typegen/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/typegen",
3-
"version": "1.8.0-beta.12",
3+
"version": "1.8.0",
44
"description": "Type generation scripts",
55
"main": "index.js",
66
"bin": {
@@ -36,10 +36,10 @@
3636
"@babel/core": "^7.9.0",
3737
"@babel/register": "^7.9.0",
3838
"@babel/runtime": "^7.9.2",
39-
"@polkadot/api": "1.8.0-beta.12",
40-
"@polkadot/metadata": "1.8.0-beta.12",
41-
"@polkadot/rpc-provider": "1.8.0-beta.12",
42-
"@polkadot/types": "1.8.0-beta.12",
39+
"@polkadot/api": "1.8.0",
40+
"@polkadot/metadata": "1.8.0",
41+
"@polkadot/rpc-provider": "1.8.0",
42+
"@polkadot/types": "1.8.0",
4343
"@polkadot/util": "^2.6.2",
4444
"websocket": "^1.0.31",
4545
"yargs": "^15.3.1"

packages/types/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",
3-
"version": "1.8.0-beta.12",
3+
"version": "1.8.0",
44
"description": "Implementation of the Parity codec",
55
"main": "index.js",
66
"keywords": [
@@ -27,7 +27,7 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.9.2",
30-
"@polkadot/metadata": "1.8.0-beta.12",
30+
"@polkadot/metadata": "1.8.0",
3131
"@polkadot/util": "^2.6.2",
3232
"@polkadot/util-crypto": "^2.6.2",
3333
"@types/bn.js": "^4.11.6",

0 commit comments

Comments
 (0)