Releases: polkadot-js/api
Releases · polkadot-js/api
v8.12.1
Changes:
- Adjust
Opaque{Metadata, Multiaddr, PeerId}decoding toOpaque<Bytes> - Fix historic
XcmV0definitions forBuyExecution - Adjust type generation to correctly cater for ambient definitions
- Improve type argument generation for
Option<...>types - Adjust usage of deprecated
@polkadot/utilmethods - Runtime call typegen from
system.versionconstant value - Expose query flags on
derive.staking.account - Update to latest Substrate, Polkadot & Kusama metadata
- Update to
@polkadot/util10.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_calldefinitions via API config (exposed onapi.call.*) - Base type definitions for
state_callfrom 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/connectto 0.7.7 (Thanks to https://github.com/wirednkod) - Support
feeHistory&maxPriorityFeePerGaseth RPCs (Thanks to https://github.com/crystalin)
Changes:
- Align
BeefyPayloadwith Substrate master - Use
static get [Symbol.species] ()forArray&Uint8Arraytypes - Add support for (optional, non-runtime recommended)
f32&f64types - Add future-use
AbstrateBigIntwrapper extension - Update Codec-internal performance tests
- Add Westend 9250 upgrade block
- Update to latest Substrate, Polkadot & Kusama metadata
v8.9.1
Contributed:
- Update
@substrate/connectto latest (Thanks to https://github.com/tomaka)
Changes:
- Deupe all internal type property getters
- Adjust
@polkadot/types-codecasserts - Rename
Basetype toAbstractBase(reflecting usage) - Alias
blockHashonrpc.engine.createBlockreturn - Instantiate
Compact/UInt/Intwithnumberwhen 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)
runtimeVersiononapi.atinterfaces - Add aliases for
DispatchError{U8, U8a}(default to newU8avariant) - Align
DispatchErrordefinition with latest Substrate - Adjust contracts RPC definitions with
DispatchErrorreturn - Ensure
blockHashis passed through witherasign options - Workaround for default calls on chains with non-standard indexes
- Optimization for value returns on merged queries
- Update
derive.bagsListto detectvoterListpallet - Add Polkadot 9200/9220 & Westend 9230 upgrade blocks