Releases: polkadot-js/api
Releases · polkadot-js/api
v10.1.3
Changes:
- Remove incorrect
.module.
specifiers in typegen code - Mark unsafe RPC methods (and include in
rpc.md
generation)
v10.1.2
Changes:
- Adjust type exports to remove invalid generated exports from
/src/
- Apply missing
/*#__PURE__*/
exports inapi-derive
v10.1.1
Contributed:
- Fix yargs usage inside ESM modules (Thanks to https://github.com/conr2d)
Changes:
- Align runtime APIs with latest Substrate
- Update to latest Polkadot, Kusama & Substrate metadata
- Use consistent
.js
imports in source files (TS moduleResolution)
v10.0.1
Contributed:
- Expose per-endpoint stats for providers (Thanks to https://github.com/jeluard)
- Adjust ink! primitive extraction for v4 (Thanks to https://github.com/statictype)
Changes:
- Ensure that provider disconnect clears all subscriptions
- Adjust typegen to internally use
import()
(catering for ESM provided types) - Swap TS -> JS compiler to use tsc (from babel)
- Adjust all tests to use
node:test
runner (ESM variants) - Update to latest Polkadot, Kusama & Substrate metadata
v9.14.2
Changes:
- Don't allow
WsProvider.connect()
on an open connection (creates resource leaks) - Adjust typegen to use metadata-defined aliases in query return decoration
- Update to latest Polkadot, Kusama & Substrate metadata
v9.14.1
Changes:
- Extract aliases for
*_runtime::Runtime{Call, Event}
from metadata - Update to latest Polkadot, Kusama & Substrate metadata
v9.13.6
Contributed:
- Align
eth_getTransactionCount
with frontier (Thanks to https://github.com/alko89)
Changes:
- Additional override for
Compact<{ refTime: u64 }>
chains - Add script to retrieve local rpc, version & metadata for typegen
v9.13.5
Changes:
- Adjust
Weight
alias for 1.5 chains - Ensure correct registry is pass through for runtime TS generation
v9.13.4
Changes:
- None from 9.13.3 (The previous version had npm registry publishing issues)
v9.13.3
Changes:
- Adjust
Weight
alias detection to cater forWeightV0/u32
overrides (e.g. early Kusama blocks)