|
1 | | -# 1.9.0-beta.x |
| 1 | +# 1.9.1 Apr 1, 2020 |
2 | 2 |
|
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*`) |
4 | 4 | **Breaking change** (derives only) Additional cleanups of democracy proposal & referenda derives, including support for new Polkadot/Substrate vote retrievals |
5 | 5 | - Tx signing via `signAndSend` & `signAsync` now tries to use the last finalized block (depending on finalized drift) |
6 | 6 | - Add support for `api.rpc.childstate.*` Substrate RPCs, older nodes with still populate `api.rpc.state.*` with the child methods |
7 | 7 | - 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 |
9 | 9 | - Extended `api.derive.democracy` to cater for dispatchQueue and externals |
10 | 10 | - 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 |
14 | 13 | - 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`) |
15 | 15 |
|
16 | 16 | # 1.8.1 Mar 22, 2020 |
17 | 17 |
|
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) |
19 | 19 | - **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` |
20 | 20 | - **Important** Substrate has an updated democracy module. If using an older chain add the `ReferendumInfo: 'ReferendumInfoTo239'` type when using referendums |
21 | 21 | - The `isRetracted` Extrinsic status is now a warning, not a fatal error, correctly aligning with Polkadot/Substrate |
|
0 commit comments