Skip to content

Commit 89700f9

Browse files
authored
0.97 (#1614)
* 0.97 * Bump version, add Keys & ValidatorPrefs to CHANGELOG * V9, V10
1 parent 0cae3cf commit 89700f9

File tree

10 files changed

+28
-24
lines changed

10 files changed

+28
-24
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
# 0.97.0-beta.x
1+
# 0.97.1
22

33
- **Breaking change** Add the passing on an explicit `Registry` to all calls to `createType` as well as all codec classes. If you are upgrading form an older version, use the [migration guide](UPGRADING.md) to walk through the changes required.
44
- **Breaking change** The metadata classes have been moved from `@polkadot/types` into `@polkadot/metadata`. If you explicitly create `Metadata` classes, you now would need to do so with the `import Metadata from '@polkadot/metadata';` This is a decorated class, where the previous metadata is now available on `Metadata.metadata`, alongside decorated `consts.*`', `tx.*` and `query.*`.
5+
- **Breaking change** Session `Keys` defaults to 4 keys now (Substrate master), depending on your node config, you would want to override with e.g. `Keys: 'SessionKeys3'` (1, 2, 3, 4, 5 & 6)
6+
- **Breaking change** `ValidatorPrefs` now default to the new percentage commission model, to use the previous `validatorPayment`, you can override with `ValidatorPrefs: 'ValidatorPrefsTo196'`
57
- `api.derive.*` now has built-in memomization
68
- Various fixes and cleanups to `api.derive.*` including era length progress and vesting calculations
7-
- Aligned all types with the latest Polkadot & Substrate
9+
- Aligned all types with the latest Polkadot & Substrate, including Kusama CC3
10+
- Support for Metadata V9, which adjusts the hashing methods of storage entries
11+
- Support for Metadata V10 (still un-released), which includes prefixed map support
812

913
# 0.96.1
1014

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": "0.97.0-beta.40"
12+
"version": "0.97.0"
1313
}

packages/api-contract/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-contract",
3-
"version": "0.97.0-beta.40",
3+
"version": "0.97.0",
44
"description": "Interfaces for interacting with contracts and contract ABIs",
55
"main": "index.js",
66
"keywords": [
@@ -27,6 +27,6 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.7.4",
30-
"@polkadot/types": "^0.97.0-beta.40"
30+
"@polkadot/types": "^0.97.0"
3131
}
3232
}

packages/api-derive/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/api-derive",
3-
"version": "0.97.0-beta.40",
3+
"version": "0.97.0",
44
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
55
"main": "index.js",
66
"keywords": [
@@ -28,8 +28,8 @@
2828
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
2929
"dependencies": {
3030
"@babel/runtime": "^7.7.4",
31-
"@polkadot/api": "^0.97.0-beta.40",
32-
"@polkadot/types": "^0.97.0-beta.40"
31+
"@polkadot/api": "^0.97.0",
32+
"@polkadot/types": "^0.97.0"
3333
},
3434
"devDependencies": {
3535
"@polkadot/keyring": "^1.7.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": "0.97.0-beta.40",
3+
"version": "0.97.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.7.4",
30-
"@polkadot/api-derive": "^0.97.0-beta.40",
30+
"@polkadot/api-derive": "^0.97.0",
3131
"@polkadot/keyring": "^1.7.1",
32-
"@polkadot/metadata": "^0.97.0-beta.40",
33-
"@polkadot/rpc-core": "^0.97.0-beta.40",
34-
"@polkadot/rpc-provider": "^0.97.0-beta.40",
35-
"@polkadot/types": "^0.97.0-beta.40",
32+
"@polkadot/metadata": "^0.97.0",
33+
"@polkadot/rpc-core": "^0.97.0",
34+
"@polkadot/rpc-provider": "^0.97.0",
35+
"@polkadot/types": "^0.97.0",
3636
"@polkadot/util-crypto": "^1.7.1"
3737
},
3838
"devDependencies": {

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": "0.97.0-beta.40",
3+
"version": "0.97.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.7.4",
30-
"@polkadot/types": "^0.97.0-beta.40",
30+
"@polkadot/types": "^0.97.0",
3131
"@polkadot/util": "^1.7.1",
3232
"@polkadot/util-crypto": "^1.7.1"
3333
},

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": "0.97.0-beta.40",
3+
"version": "0.97.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.7.4",
30-
"@polkadot/jsonrpc": "^0.97.0-beta.40",
31-
"@polkadot/rpc-provider": "^0.97.0-beta.40",
32-
"@polkadot/types": "^0.97.0-beta.40",
30+
"@polkadot/jsonrpc": "^0.97.0",
31+
"@polkadot/rpc-provider": "^0.97.0",
32+
"@polkadot/types": "^0.97.0",
3333
"@polkadot/util": "^1.7.1",
3434
"rxjs": "^6.5.3"
3535
}

packages/rpc-provider/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/rpc-provider",
3-
"version": "0.97.0-beta.40",
3+
"version": "0.97.0",
44
"description": "Transport providers for the API",
55
"main": "index.js",
66
"keywords": [
@@ -27,7 +27,7 @@
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
2828
"dependencies": {
2929
"@babel/runtime": "^7.7.4",
30-
"@polkadot/metadata": "^0.97.0-beta.40",
30+
"@polkadot/metadata": "^0.97.0",
3131
"@polkadot/util": "^1.7.1",
3232
"@polkadot/util-crypto": "^1.7.1",
3333
"eventemitter3": "^4.0.0",

packages/type-jsonrpc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/jsonrpc",
3-
"version": "0.97.0-beta.40",
3+
"version": "0.97.0",
44
"description": "Method definitions for the Polkadot RPC layer",
55
"main": "index.js",
66
"publishConfig": {

packages/types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@polkadot/types",
3-
"version": "0.97.0-beta.40",
3+
"version": "0.97.0",
44
"description": "Implementation of the Parity codec",
55
"main": "index.js",
66
"keywords": [

0 commit comments

Comments
 (0)