Releases: polkadot-js/api
Releases · polkadot-js/api
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)
v9.13.2
Changes:
- Allow null as valid param to Int/UInt
v9.13.1
Contributed:
- Add support for V3 of
TransactionPaymentApi
(Thanks to https://github.com/notlesh)
Changes:
- Adjust
Weight
alias detection (moved fromPortableRegistry
->Registry
) - Move default (typegen) weight alias to
WeightV2
(does not affect runtime detection) - Prepare metadata docs from chain generation for future cli arguments
- Add base type object for (future) composite types
- Apply additional JSDoc comments into
PortableRegistry
- Update to latest Polkadot, Kusama & Substrate metadata