|
1 | | -# 1.5.0-beta.x |
| 1 | +# 1.5.1 Mar 06, 2020 |
2 | 2 |
|
| 3 | +- **Important** Substrate master has updated staking, on older chains supply `StakingLedger: 'StakingLedgerTo223'` |
| 4 | +- **Important** Substrate master has updated collective, on older chains supply `Votes: 'VotesTo230'` |
3 | 5 | - Add proper support for type generation with an Enum containing an Tuple (Thanks to https://github.com/monitz87) |
4 | 6 | - Fix storage parsing not resulting in rejected Promises (Fix from https://github.com/aniiantt applied) |
5 | 7 | - Remove use of deprecated `Observable.create` (Thanks to https://github.com/Himself65) |
6 | | -- Type generation will now handle the same sub-module name across packages, i.e. `@polkadot/types/interfaces/runtime` & `@mine/interfaces/runtime`) |
| 8 | +- Add types & metadata for the latest Polkadot/Substrate runtime versions (master branches) |
| 9 | +- Type extraction will now allow the same sub-module name across packages, i.e. `@polkadot/types/interfaces/runtime` & `@mine/interfaces/runtime` will be valid |
7 | 10 | - Add `.range([from, to]: [Hash, Hash?], ...args: any[]): [Hash, Codec][]` on all storage entries |
8 | 11 | - Add `.raw(...args: any[]): Promise<Uint8Array & Codec>` to all RPC calls, returning the un-encoded result |
9 | | -- Allow pre-module type aliasing with `typesAlias: { <moduleName>: { <meta-type>: <alias-type> } }`on API construction options |
| 12 | +- Allow pre-module type aliasing with `typesAlias: { <moduleName>: { <meta-type>: <alias-type> } }` in API construction options |
10 | 13 | - Allow `BTreeMap` to be initialized with a `Record<string, any>` object (in addition to `Map`) |
11 | 14 | - Allow for `HashMap<KeyType, ValueType>` definitions |
12 | 15 | - `Bool` will now correctly return `isEmpty` on false/default values |
13 | 16 | - Refresh the `NetworkState` types as returned by the `rpc.system.networkState()` call to current |
14 | | -- Expose `registry.createClass(<typeName>)`, to allow for creating type classes. If you are using `createClass` or `ClassOf` in your code, it is recommended to swap to this instance. |
15 | | -- Add additional derives to `api.derive.staking` to handle lazy-payout calculations |
16 | | -- Add types & metadata for the latest Polkadot/Substrate versions |
| 17 | +- Expose `registry.createClass(<typeName>)` to allow for creating type classes. If you are using `createClass` or `ClassOf` in your code, it is recommended to swap to this instance. |
| 18 | +- Add additional derives to `api.derive.staking` to handle lazy-payout retrievals |
| 19 | +- Update `@polkadot/{util, util-crypto, keyring}` to 1.6.1 & `@polkadot/wasm` to 1.2.1 |
17 | 20 |
|
18 | 21 | # 1.4.2 Feb 27, 2020 |
19 | 22 |
|
|
0 commit comments