Skip to content

Releases: polkadot-js/api

v8.14.1

23 Jul 14:57
Compare
Choose a tag to compare

Contributed:

Changes:

  • {BTree|Hash}Map.toHuman() now display Raw keys as ascii (if detected)
  • Add toPrimitive() to all base Codec 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

16 Jul 06:29
Compare
Choose a tag to compare

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 (& older AuthorFilterAPI)
  • Add additional historic DispatchError enum variant for asset chains
  • Add Kusama 9250 upgrade block
  • Update to latest Substrate, Polkadot & Kusama metadata

v8.12.2

10 Jul 09:22
Compare
Choose a tag to compare

Changes:

  • Update to @polkadot/util 10.0.2

v8.12.1

09 Jul 06:58
Compare
Choose a tag to compare

Changes:

  • Adjust Opaque{Metadata, Multiaddr, PeerId} decoding to Opaque<Bytes>
  • Fix historic XcmV0 definitions for BuyExecution
  • 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

05 Jul 08:37
Compare
Choose a tag to compare

Changes:

  • Ensure historic DispatchError is always the non-current variant
  • Adjust type signatures for non-required use of @types/node

v8.11.2

04 Jul 07:29
Compare
Choose a tag to compare

Changes:

  • Bump to @polkadot/util-crypto 9.7.2 (w/ @polkadot/wasm-crypto 6.2.2)

v8.11.1

02 Jul 05:26
Compare
Choose a tag to compare

Contributed:

Changes:

  • Support for state_call definitions via API config (exposed on api.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

26 Jun 06:57
Compare
Choose a tag to compare

Contributed:

Changes:

  • Align BeefyPayload with Substrate master
  • Use static get [Symbol.species] () for Array & 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

19 Jun 05:12
Compare
Choose a tag to compare

Contributed:

Changes:

  • Deupe all internal type property getters
  • Adjust @polkadot/types-codec asserts
  • Rename Base type to AbstractBase (reflecting usage)
  • Alias blockHash on rpc.engine.createBlock return
  • Instantiate Compact/UInt/Int with number 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

14 Jun 13:26
Compare
Choose a tag to compare

Changes:

  • Aling historic DispatchErrorModule with U8 variant
  • Extend lookup type name generation when conflicts arrise
  • Update to latest Substrate metadata