Releases: polkadot-js/api
Releases · polkadot-js/api
v8.0.2
v8.0.1
- Breaking change In this major version the commonjs outputs are moved to a sub-folder. Since the export map and main field in package.json does reflect this change, there should be no usage changes. However the packages here will all need to be on the same version for internal linkage.
Contributed:
- Improve
rpc-provider
README (Thanks to https://github.com/josepot) - Add handling for
Vec<[<Type>;<length>]>
in typegen (Thanks to https://github.com/zannis)
Changes:
- Add support for
apiAt.tx(...)
to construct at a specific point - Add basic
api.derive.bagsList.*
support - Return sorted names for
api.registry.lookup.names
- Optimize JSONRPC requests/response handling
- Output commonjs files under the
cjs/**
root - Update to latest Substrate, Kusama & Polkadot static metadata
- Add latest Polkadot 9180 upgrade block
- Update to
@polkadot/util
9.0.1
v7.15.1
Contributed:
- Export
WellKnownChain
forsubstrate-connect
(Thanks to https://github.com/josepot) - Add support for
{entries, keys}Paged
in.at
(Thanks to https://github.com/xlc) - Align
WeightsPerClass
interface onmaxExtrinsic
(Thanks to https://github.com/HackFisher)
Changes:
- Cater for
DispatchError
witherror
as[u8; 4]
- Add in-flight cache for parallel same-version metadata queries
- Cater for lazy
@polkadot/util-crypto
init (adjustment for React Native) - Update to latest Substrate, Kusama & Polkadot static metadata
- Update latest Westend & Kusama (up to 9180) upgrade blocks
v7.14.3
v7.14.2
v7.14.1
Contributed:
- Add
ScProvider
for@substrate/substrate-connect
(Thanks to https://github.com/josepot) - Add support for
BTree{Map, Set}
in typegen (Thanks to https://github.com/CertainLach)
Changes:
- Only explicitly support LSB on
BitVec
types - Change
toHuman()
onBitVec
to output default LSB - Add
bytes{Sent, Recv}
to provider stats - Clear connection timout on provider
disconnect()
- Add support for
dev_getBlockStats
RPC
v7.13.1
Important This contains an upgraded version of @polkadot/wasm-crypto
. For users of asm.js, e.g. React Native, there are some additional upgrade instructions in the release notes for this version https://github.com/polkadot-js/wasm/releases/tag/v5.0.1
Contributed:
- Expose custom RPC error details (Thanks to https://github.com/intendednull)
- Improve custom RPC error typings (Thanks to https://github.com/MOZGIII)
Changes:
- Support for rejection of hanging RPC requests (30s timeout)
- Add
.stats
to provider interfaces with running counters - Add support for
state_trieMigrationStatus
RPC - Update to latest Substrate, Kusama & Polkadot static metadata
- Update to
@polkadot/util
8.6.1 - Additional workaround for Vite bundling
v7.12.1
v7.11.1
v7.10.1
Contributed:
- Ensure
updateId
is correct in signer callbacks (Thanks to https://github.com/coolcorexix)
Changes:
- Ensure
BTreeSet
has the correct decoded length - Attach
PortableRegistry
at point of metadata set - Add
derive.chain.getBlockByNumber
- Retrieve named reserves in
derive.balances.all
- Ensure
v13 -> v14
metadata conversion attaches primitives - Update to latest Substrate, Kusama & Polkadot static metadata