Skip to content

Releases: polkadot-js/api

v9.13.2

29 Jan 07:26
Compare
Choose a tag to compare

Changes:

  • Allow null as valid param to Int/UInt

v9.13.1

29 Jan 06:15
Compare
Choose a tag to compare

Contributed:

Changes:

  • Adjust Weight alias detection (moved from PortableRegistry -> Registry)
  • Move default (typegen) weight alias to WeightV2 (does not affect runtime detection)
  • Prepare metadata docs from chain generation for future cli arguments
  • Add base type object for (future) composite types
  • Apply additional JSDoc comments into PortableRegistry
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.12.1

22 Jan 13:43
Compare
Choose a tag to compare

Changes:

  • Add isStorageFallback on the Codec interface. (true if entry was created from a metadata fallback value from an empty storage item)
  • Ensure api.queryMulti returns empty result when no keys are provided
  • Add explicit Array checks on Vec/Tuple inputs
  • Align Struct.{toU8a/toPrimitive/toHuman/toJSON} population of results
  • Apply memoization to batched API queries
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.11.3

15 Jan 11:26
Compare
Choose a tag to compare

Changes:

  • Update to latest Polkadot, Kusama & Substrate metadata

v9.11.2

13 Jan 08:16
Compare
Choose a tag to compare

Changes:

  • Ensure derive.democracy.preimages retrieves correctly from (current-gen) preimage

v9.11.1

08 Jan 08:49
Compare
Choose a tag to compare
  • Breaking change For users of ScProvider you now need to explicitly pass @substrate/connect as a parameter. This means the code needs to be adjusted as follows -
import { ScProvider } from '@polkadot/api';
import * as Sc from '@substrate/connect';

const provider = new ScProvider(Sc, Sc.WellKnownChain.polkadot);

Contributed:

Changes:

  • The ScProvider interface now needs receive an @substrate/connect instance
  • Along with the above ScProvider.WellKnownChains has been removed
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.10.5

27 Dec 16:14
Compare
Choose a tag to compare

Changes:

  • Revert 9.10.4 paymentInfo changes (fallback only works on struct, not Weight)

v9.10.4

25 Dec 17:09
Compare
Choose a tag to compare

Changes:

  • Align runtime paymentInfo calls with Substrate (w/ decoding fallbacks)

v9.10.3

17 Dec 12:00
Compare
Choose a tag to compare

Changes:

  • Add override for Structs where registry appear as a field
  • Update to latest Polkadot, Kusama & Substrate metadata
  • Kusama 9320/9340/9350 & Westend 9330/9340/9350 upgrade blocks

v9.10.2

09 Dec 12:25
Compare
Choose a tag to compare

Changes:

  • Fix derive.balances.account detection for system vs balances