Releases: polkadot-js/api
Releases · polkadot-js/api
v8.14.1
Contributed:
- Update
@substrate/connect
with dual ESM/CJS support (Thanks to https://github.com/wirednkod)
Changes:
{BTree|Hash}Map.toHuman()
now displayRaw
keys as ascii (if detected)- Add
toPrimitive()
to all baseCodec
interfaces (string/boolean/number) - Adjust metadata conversion with
objectSpread
(where missing) - Support for
TransactionPaymentCallApi
runtime interface - Check
registry.getModuleInstances
against metadata paths (fallback) - Update to
@polkadot/util
10.1.1 - Update to latest Kusama metadata (Substrate & Polkadot are current)
v8.13.1
Changes:
- Add
derive.chain.subscribeFinalized{Heads, Blocks}
which returns all finalized, no skips - Support Moonbeam author extraction on
derive.chain.*
(w/ shared logic dedupe) - Cater for older
BlockBuilder 2/3/4
&GrandpaApi 2
runtime interface definitions - Support for
NominationPoolsApi
runtime interface - Support for
DebugRuntimeApi
runtime interface, Frontier-specific - Support for
NimbusApi
runtime interface (& olderAuthorFilterAPI
) - Add additional historic
DispatchError
enum variant for asset chains - Add Kusama 9250 upgrade block
- Update to latest Substrate, Polkadot & Kusama metadata
v8.12.2
v8.12.1
Changes:
- Adjust
Opaque{Metadata, Multiaddr, PeerId}
decoding toOpaque<Bytes>
- Fix historic
XcmV0
definitions forBuyExecution
- Adjust type generation to correctly cater for ambient definitions
- Improve type argument generation for
Option<...>
types - Adjust usage of deprecated
@polkadot/util
methods - Runtime call typegen from
system.version
constant value - Expose query flags on
derive.staking.account
- Update to latest Substrate, Polkadot & Kusama metadata
- Update to
@polkadot/util
10.0.1
v8.11.3
v8.11.2
v8.11.1
Contributed:
- Adjust
api.{tx, query, ...}
with no external side-effects (Thanks to https://github.com/btwiuse)
Changes:
- Support for
state_call
definitions via API config (exposed onapi.call.*
) - Base type definitions for
state_call
from Substrate, Polkadot & Orml - Align runtime types with latest Substrate master
- Type generation for runtime call definitions (internal & external)
- Update to latest Substrate, Polkadot & Kusama metadata
v8.10.1
Contributed:
- Bump
@substrate/connect
to 0.7.7 (Thanks to https://github.com/wirednkod) - Support
feeHistory
&maxPriorityFeePerGas
eth RPCs (Thanks to https://github.com/crystalin)
Changes:
- Align
BeefyPayload
with Substrate master - Use
static get [Symbol.species] ()
forArray
&Uint8Array
types - Add support for (optional, non-runtime recommended)
f32
&f64
types - Add future-use
AbstrateBigInt
wrapper extension - Update Codec-internal performance tests
- Add Westend 9250 upgrade block
- Update to latest Substrate, Polkadot & Kusama metadata
v8.9.1
Contributed:
- Update
@substrate/connect
to latest (Thanks to https://github.com/tomaka)
Changes:
- Deupe all internal type property getters
- Adjust
@polkadot/types-codec
asserts - Rename
Base
type toAbstractBase
(reflecting usage) - Alias
blockHash
onrpc.engine.createBlock
return - Instantiate
Compact/UInt/Int
withnumber
when passed - Adjust name extraction in
PortableRegistry
(maintainability) - Adjust string type path extraction (maintainability)
- Add Kusama 9230 upgrade block
- Update to latest Substrate metadata