1.8 (#2079)
This commit is contained in:
+7
-4
@@ -1,10 +1,13 @@
|
||||
# 1.8.0-beta.x
|
||||
# 1.8.1 Mar 22, 2020
|
||||
|
||||
- **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)
|
||||
- **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)
|
||||
- **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`
|
||||
- **Important** Substrate has made changes to democracy, if using an older chain add the `ReferendumInfo: 'ReferendumInfoTo239'` type if using referendums
|
||||
- Adjust referendum derives to cater for new and old democracy (`referendumInfo` now includes `status` field, not `info`)
|
||||
- **Important** Substrate has an updated democracy module. If using an older chain add the `ReferendumInfo: 'ReferendumInfoTo239'` type when using referendums
|
||||
- The `isRetracted` Extrinsic status is now a warning, not a fatal error, correctly aligning with Polkadot/Substrate
|
||||
- The Substrate extrinsic phase definitions has been expanded with `Initialization` to align with the latest versions
|
||||
- Add support for all known substrate RPC methods
|
||||
- Extend account derives to include status flags, e.g. `isCouncil`, `isSudo`, ...
|
||||
- Adjusted referendum derives to cater for bot new/old democracy. Derived `referendumInfo` now includes `status` field, not `info`
|
||||
|
||||
# 1.7.1 Mar 17, 2020
|
||||
|
||||
|
||||
+1
-1
@@ -9,5 +9,5 @@
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"version": "1.8.0-beta.12"
|
||||
"version": "1.8.0"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api-contract",
|
||||
"version": "1.8.0-beta.12",
|
||||
"version": "1.8.0",
|
||||
"description": "Interfaces for interacting with contracts and contract ABIs",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -27,9 +27,9 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.9.2",
|
||||
"@polkadot/api": "1.8.0-beta.12",
|
||||
"@polkadot/rpc-core": "1.8.0-beta.12",
|
||||
"@polkadot/types": "1.8.0-beta.12",
|
||||
"@polkadot/api": "1.8.0",
|
||||
"@polkadot/rpc-core": "1.8.0",
|
||||
"@polkadot/types": "1.8.0",
|
||||
"@polkadot/util": "^2.6.2",
|
||||
"bn.js": "^5.1.1",
|
||||
"rxjs": "^6.5.4"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api-derive",
|
||||
"version": "1.8.0-beta.12",
|
||||
"version": "1.8.0",
|
||||
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -28,10 +28,10 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.9.2",
|
||||
"@polkadot/api": "1.8.0-beta.12",
|
||||
"@polkadot/rpc-core": "1.8.0-beta.12",
|
||||
"@polkadot/rpc-provider": "1.8.0-beta.12",
|
||||
"@polkadot/types": "1.8.0-beta.12",
|
||||
"@polkadot/api": "1.8.0",
|
||||
"@polkadot/rpc-core": "1.8.0",
|
||||
"@polkadot/rpc-provider": "1.8.0",
|
||||
"@polkadot/types": "1.8.0",
|
||||
"@polkadot/util": "^2.6.2",
|
||||
"@polkadot/util-crypto": "^2.6.2",
|
||||
"bn.js": "^5.1.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api",
|
||||
"version": "1.8.0-beta.12",
|
||||
"version": "1.8.0",
|
||||
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -27,12 +27,12 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.9.2",
|
||||
"@polkadot/api-derive": "1.8.0-beta.12",
|
||||
"@polkadot/api-derive": "1.8.0",
|
||||
"@polkadot/keyring": "^2.6.2",
|
||||
"@polkadot/metadata": "1.8.0-beta.12",
|
||||
"@polkadot/rpc-core": "1.8.0-beta.12",
|
||||
"@polkadot/rpc-provider": "1.8.0-beta.12",
|
||||
"@polkadot/types": "1.8.0-beta.12",
|
||||
"@polkadot/metadata": "1.8.0",
|
||||
"@polkadot/rpc-core": "1.8.0",
|
||||
"@polkadot/rpc-provider": "1.8.0",
|
||||
"@polkadot/types": "1.8.0",
|
||||
"@polkadot/util": "^2.6.2",
|
||||
"@polkadot/util-crypto": "^2.6.2",
|
||||
"bn.js": "^5.1.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/metadata",
|
||||
"version": "1.8.0-beta.12",
|
||||
"version": "1.8.0",
|
||||
"description": "Helpers to extract information from runtime metadata",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
@@ -27,7 +27,7 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.9.2",
|
||||
"@polkadot/types": "1.8.0-beta.12",
|
||||
"@polkadot/types": "1.8.0",
|
||||
"@polkadot/util": "^2.6.2",
|
||||
"@polkadot/util-crypto": "^2.6.2",
|
||||
"bn.js": "^5.1.1"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/rpc-core",
|
||||
"version": "1.8.0-beta.12",
|
||||
"version": "1.8.0",
|
||||
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -27,9 +27,9 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.9.2",
|
||||
"@polkadot/metadata": "1.8.0-beta.12",
|
||||
"@polkadot/rpc-provider": "1.8.0-beta.12",
|
||||
"@polkadot/types": "1.8.0-beta.12",
|
||||
"@polkadot/metadata": "1.8.0",
|
||||
"@polkadot/rpc-provider": "1.8.0",
|
||||
"@polkadot/types": "1.8.0",
|
||||
"@polkadot/util": "^2.6.2",
|
||||
"memoizee": "^0.4.14",
|
||||
"rxjs": "^6.5.4"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/rpc-provider",
|
||||
"version": "1.8.0-beta.12",
|
||||
"version": "1.8.0",
|
||||
"description": "Transport providers for the API",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -27,8 +27,8 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.9.2",
|
||||
"@polkadot/metadata": "1.8.0-beta.12",
|
||||
"@polkadot/types": "1.8.0-beta.12",
|
||||
"@polkadot/metadata": "1.8.0",
|
||||
"@polkadot/types": "1.8.0",
|
||||
"@polkadot/util": "^2.6.2",
|
||||
"@polkadot/util-crypto": "^2.6.2",
|
||||
"bn.js": "^5.1.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/typegen",
|
||||
"version": "1.8.0-beta.12",
|
||||
"version": "1.8.0",
|
||||
"description": "Type generation scripts",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
@@ -36,10 +36,10 @@
|
||||
"@babel/core": "^7.9.0",
|
||||
"@babel/register": "^7.9.0",
|
||||
"@babel/runtime": "^7.9.2",
|
||||
"@polkadot/api": "1.8.0-beta.12",
|
||||
"@polkadot/metadata": "1.8.0-beta.12",
|
||||
"@polkadot/rpc-provider": "1.8.0-beta.12",
|
||||
"@polkadot/types": "1.8.0-beta.12",
|
||||
"@polkadot/api": "1.8.0",
|
||||
"@polkadot/metadata": "1.8.0",
|
||||
"@polkadot/rpc-provider": "1.8.0",
|
||||
"@polkadot/types": "1.8.0",
|
||||
"@polkadot/util": "^2.6.2",
|
||||
"websocket": "^1.0.31",
|
||||
"yargs": "^15.3.1"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/types",
|
||||
"version": "1.8.0-beta.12",
|
||||
"version": "1.8.0",
|
||||
"description": "Implementation of the Parity codec",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -27,7 +27,7 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.9.2",
|
||||
"@polkadot/metadata": "1.8.0-beta.12",
|
||||
"@polkadot/metadata": "1.8.0",
|
||||
"@polkadot/util": "^2.6.2",
|
||||
"@polkadot/util-crypto": "^2.6.2",
|
||||
"@types/bn.js": "^4.11.6",
|
||||
|
||||
@@ -2597,25 +2597,25 @@ __metadata:
|
||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.9.2
|
||||
"@polkadot/api": 1.8.0-beta.12
|
||||
"@polkadot/rpc-core": 1.8.0-beta.12
|
||||
"@polkadot/types": 1.8.0-beta.12
|
||||
"@polkadot/api": 1.8.0
|
||||
"@polkadot/rpc-core": 1.8.0
|
||||
"@polkadot/types": 1.8.0
|
||||
"@polkadot/util": ^2.6.2
|
||||
bn.js: ^5.1.1
|
||||
rxjs: ^6.5.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-derive@1.8.0-beta.12, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
"@polkadot/api-derive@1.8.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.9.2
|
||||
"@polkadot/api": 1.8.0-beta.12
|
||||
"@polkadot/api": 1.8.0
|
||||
"@polkadot/keyring": ^2.6.2
|
||||
"@polkadot/rpc-core": 1.8.0-beta.12
|
||||
"@polkadot/rpc-provider": 1.8.0-beta.12
|
||||
"@polkadot/types": 1.8.0-beta.12
|
||||
"@polkadot/rpc-core": 1.8.0
|
||||
"@polkadot/rpc-provider": 1.8.0
|
||||
"@polkadot/types": 1.8.0
|
||||
"@polkadot/util": ^2.6.2
|
||||
"@polkadot/util-crypto": ^2.6.2
|
||||
bn.js: ^5.1.1
|
||||
@@ -2624,17 +2624,17 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api@1.8.0-beta.12, @polkadot/api@workspace:packages/api":
|
||||
"@polkadot/api@1.8.0, @polkadot/api@workspace:packages/api":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api@workspace:packages/api"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.9.2
|
||||
"@polkadot/api-derive": 1.8.0-beta.12
|
||||
"@polkadot/api-derive": 1.8.0
|
||||
"@polkadot/keyring": ^2.6.2
|
||||
"@polkadot/metadata": 1.8.0-beta.12
|
||||
"@polkadot/rpc-core": 1.8.0-beta.12
|
||||
"@polkadot/rpc-provider": 1.8.0-beta.12
|
||||
"@polkadot/types": 1.8.0-beta.12
|
||||
"@polkadot/metadata": 1.8.0
|
||||
"@polkadot/rpc-core": 1.8.0
|
||||
"@polkadot/rpc-provider": 1.8.0
|
||||
"@polkadot/types": 1.8.0
|
||||
"@polkadot/util": ^2.6.2
|
||||
"@polkadot/util-crypto": ^2.6.2
|
||||
bn.js: ^5.1.1
|
||||
@@ -2740,42 +2740,42 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/metadata@1.8.0-beta.12, @polkadot/metadata@workspace:packages/metadata":
|
||||
"@polkadot/metadata@1.8.0, @polkadot/metadata@workspace:packages/metadata":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/metadata@workspace:packages/metadata"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.9.2
|
||||
"@polkadot/keyring": ^2.6.2
|
||||
"@polkadot/types": 1.8.0-beta.12
|
||||
"@polkadot/types": 1.8.0
|
||||
"@polkadot/util": ^2.6.2
|
||||
"@polkadot/util-crypto": ^2.6.2
|
||||
bn.js: ^5.1.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-core@1.8.0-beta.12, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
"@polkadot/rpc-core@1.8.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.9.2
|
||||
"@polkadot/keyring": ^2.6.2
|
||||
"@polkadot/metadata": 1.8.0-beta.12
|
||||
"@polkadot/rpc-provider": 1.8.0-beta.12
|
||||
"@polkadot/types": 1.8.0-beta.12
|
||||
"@polkadot/metadata": 1.8.0
|
||||
"@polkadot/rpc-provider": 1.8.0
|
||||
"@polkadot/types": 1.8.0
|
||||
"@polkadot/util": ^2.6.2
|
||||
memoizee: ^0.4.14
|
||||
rxjs: ^6.5.4
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-provider@1.8.0-beta.12, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
"@polkadot/rpc-provider@1.8.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.9.2
|
||||
"@polkadot/keyring": ^2.6.2
|
||||
"@polkadot/metadata": 1.8.0-beta.12
|
||||
"@polkadot/types": 1.8.0-beta.12
|
||||
"@polkadot/metadata": 1.8.0
|
||||
"@polkadot/types": 1.8.0
|
||||
"@polkadot/util": ^2.6.2
|
||||
"@polkadot/util-crypto": ^2.6.2
|
||||
bn.js: ^5.1.1
|
||||
@@ -2803,10 +2803,10 @@ __metadata:
|
||||
"@babel/core": ^7.9.0
|
||||
"@babel/register": ^7.9.0
|
||||
"@babel/runtime": ^7.9.2
|
||||
"@polkadot/api": 1.8.0-beta.12
|
||||
"@polkadot/metadata": 1.8.0-beta.12
|
||||
"@polkadot/rpc-provider": 1.8.0-beta.12
|
||||
"@polkadot/types": 1.8.0-beta.12
|
||||
"@polkadot/api": 1.8.0
|
||||
"@polkadot/metadata": 1.8.0
|
||||
"@polkadot/rpc-provider": 1.8.0
|
||||
"@polkadot/types": 1.8.0
|
||||
"@polkadot/util": ^2.6.2
|
||||
"@types/websocket": ^1.0.0
|
||||
"@types/yargs": ^15.0.4
|
||||
@@ -2821,13 +2821,13 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types@1.8.0-beta.12, @polkadot/types@workspace:packages/types":
|
||||
"@polkadot/types@1.8.0, @polkadot/types@workspace:packages/types":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.9.2
|
||||
"@polkadot/keyring": ^2.6.2
|
||||
"@polkadot/metadata": 1.8.0-beta.12
|
||||
"@polkadot/metadata": 1.8.0
|
||||
"@polkadot/util": ^2.6.2
|
||||
"@polkadot/util-crypto": ^2.6.2
|
||||
"@types/bn.js": ^4.11.6
|
||||
|
||||
Reference in New Issue
Block a user