Releases: polkadot-js/api
Releases · polkadot-js/api
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
v8.8.2
v8.8.1
Contributed:
- Ensure typegen disconnects from WS endpoint (Thanks to https://github.com/rflechtner)
Changes:
- Ensure storage
Option<Option<Type>>
are correctly handled - Cater for named event fields (expose on event data as available)
- Expose (partial)
runtimeVersion
onapi.at
interfaces - Add aliases for
DispatchError{U8, U8a}
(default to newU8a
variant) - Align
DispatchError
definition with latest Substrate - Adjust contracts RPC definitions with
DispatchError
return - Ensure
blockHash
is passed through withera
sign options - Workaround for default calls on chains with non-standard indexes
- Optimization for value returns on merged queries
- Update
derive.bagsList
to detectvoterList
pallet - Add Polkadot 9200/9220 & Westend 9230 upgrade blocks