Skip to content

Commit 295cd2a

Browse files
authored
1.9 (#2124)
1 parent 5a66ce5 commit 295cd2a

File tree

12 files changed

+76
-76
lines changed

12 files changed

+76
-76
lines changed

CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# 1.9.0-beta.x
1+
# 1.9.1 Apr 1, 2020
22

3-
**Breaking change** (TypeScript with derives only) The type names for `api.derive.*` returns has been adjusted to be consistent with `Derive*` (previously a mixture of `Derived*` and `Derive*`)
3+
**Breaking change** (TypeScript with derives only) The return type names for `api.derive.*` have been adjusted for consistency, all starting with `Derive*` (previously a mixture of `Derived*` and `Derive*`)
44
**Breaking change** (derives only) Additional cleanups of democracy proposal & referenda derives, including support for new Polkadot/Substrate vote retrievals
55
- Tx signing via `signAndSend` & `signAsync` now tries to use the last finalized block (depending on finalized drift)
66
- Add support for `api.rpc.childstate.*` Substrate RPCs, older nodes with still populate `api.rpc.state.*` with the child methods
77
- Adjust `Error.message` on RPC failures to not include the (already known) method signature
8-
- Internal adjustment of interface types to align with modules (no external impact via `@polkadot/types/interfaces`)
8+
- Split `@polkadot/types/known` into `@polkadot/types-known`, allowing for base API overrides
99
- Extended `api.derive.democracy` to cater for dispatchQueue and externals
1010
- Extended `api.derive.council` to cater for new phragmen elections
11-
- Use new `queryStorageAt` for query `.entries`, removing unneeded subscriptions (as available)
12-
- Split `@polkadot/types/known` into `@polkadot/types-known`, allowing for base API overrides
13-
- Fix `BTreeSet` initialization when part of query interfaces
11+
- Use new `queryStorageAt` for query `.entries`, removing unneeded subscriptions (use as available)
12+
- Fix `BTreeSet` initialization when it forms part of query interfaces
1413
- Fix encoding for `Vec<u8>`-related types as part of constants
14+
- Internal adjustment of interface type locations (no impact on imports via `@polkadot/types/interfaces`)
1515

1616
# 1.8.1 Mar 22, 2020
1717

18-
- **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)
18+
- **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)
1919
- **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`
2020
- **Important** Substrate has an updated democracy module. If using an older chain add the `ReferendumInfo: 'ReferendumInfoTo239'` type when using referendums
2121
- The `isRetracted` Extrinsic status is now a warning, not a fatal error, correctly aligning with Polkadot/Substrate

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.9.0-beta.27"
12+
"version": "1.9.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.9.0-beta.27",
3+
"version": "1.9.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.9.0-beta.27",
31-
"@polkadot/rpc-core": "1.9.0-beta.27",
32-
"@polkadot/types": "1.9.0-beta.27",
30+
"@polkadot/api": "1.9.0",
31+
"@polkadot/rpc-core": "1.9.0",
32+
"@polkadot/types": "1.9.0",
3333
"@polkadot/util": "^2.7.1",
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.9.0-beta.27",
3+
"version": "1.9.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.9.0-beta.27",
32-
"@polkadot/rpc-core": "1.9.0-beta.27",
33-
"@polkadot/rpc-provider": "1.9.0-beta.27",
34-
"@polkadot/types": "1.9.0-beta.27",
31+
"@polkadot/api": "1.9.0",
32+
"@polkadot/rpc-core": "1.9.0",
33+
"@polkadot/rpc-provider": "1.9.0",
34+
"@polkadot/types": "1.9.0",
3535
"@polkadot/util": "^2.7.1",
3636
"@polkadot/util-crypto": "^2.7.1",
3737
"bn.js": "^5.1.1",

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": "1.9.0-beta.27",
3+
"version": "1.9.0",
44
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
55
"main": "index.js",
66
"keywords": [
@@ -27,13 +27,13 @@
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.9.0-beta.27",
30+
"@polkadot/api-derive": "1.9.0",
3131
"@polkadot/keyring": "^2.7.1",
32-
"@polkadot/metadata": "1.9.0-beta.27",
33-
"@polkadot/rpc-core": "1.9.0-beta.27",
34-
"@polkadot/rpc-provider": "1.9.0-beta.27",
35-
"@polkadot/types": "1.9.0-beta.27",
36-
"@polkadot/types-known": "1.9.0-beta.27",
32+
"@polkadot/metadata": "1.9.0",
33+
"@polkadot/rpc-core": "1.9.0",
34+
"@polkadot/rpc-provider": "1.9.0",
35+
"@polkadot/types": "1.9.0",
36+
"@polkadot/types-known": "1.9.0",
3737
"@polkadot/util": "^2.7.1",
3838
"@polkadot/util-crypto": "^2.7.1",
3939
"bn.js": "^5.1.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": "1.9.0-beta.27",
3+
"version": "1.9.0",
44
"description": "Helpers to extract information from runtime metadata",
55
"main": "index.js",
66
"publishConfig": {
@@ -27,8 +27,8 @@
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.9.0-beta.27",
31-
"@polkadot/types-known": "1.9.0-beta.27",
30+
"@polkadot/types": "1.9.0",
31+
"@polkadot/types-known": "1.9.0",
3232
"@polkadot/util": "^2.7.1",
3333
"@polkadot/util-crypto": "^2.7.1",
3434
"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.9.0-beta.27",
3+
"version": "1.9.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.9.0-beta.27",
31-
"@polkadot/rpc-provider": "1.9.0-beta.27",
32-
"@polkadot/types": "1.9.0-beta.27",
30+
"@polkadot/metadata": "1.9.0",
31+
"@polkadot/rpc-provider": "1.9.0",
32+
"@polkadot/types": "1.9.0",
3333
"@polkadot/util": "^2.7.1",
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.9.0-beta.27",
3+
"version": "1.9.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.9.0-beta.27",
31-
"@polkadot/types": "1.9.0-beta.27",
30+
"@polkadot/metadata": "1.9.0",
31+
"@polkadot/types": "1.9.0",
3232
"@polkadot/util": "^2.7.1",
3333
"@polkadot/util-crypto": "^2.7.1",
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.9.0-beta.27",
3+
"version": "1.9.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.9.0-beta.27",
40-
"@polkadot/metadata": "1.9.0-beta.27",
41-
"@polkadot/rpc-provider": "1.9.0-beta.27",
42-
"@polkadot/types": "1.9.0-beta.27",
39+
"@polkadot/api": "1.9.0",
40+
"@polkadot/metadata": "1.9.0",
41+
"@polkadot/rpc-provider": "1.9.0",
42+
"@polkadot/types": "1.9.0",
4343
"@polkadot/util": "^2.7.1",
4444
"websocket": "^1.0.31",
4545
"yargs": "^15.3.1"

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": "1.9.0-beta.27",
3+
"version": "1.9.0",
44
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
55
"main": "index.js",
66
"keywords": [
@@ -27,7 +27,7 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.9.2",
30-
"@polkadot/types": "1.9.0-beta.27",
30+
"@polkadot/types": "1.9.0",
3131
"@polkadot/util": "^2.7.1",
3232
"bn.js": "^5.1.1"
3333
},

0 commit comments

Comments
 (0)