Skip to content

Releases: polkadot-js/api

v9.7.1

06 Nov 10:11

Choose a tag to compare

Contributed:

Changes:

  • Align ScProvider code structure with other providers
  • Add isClonable getter on providers (some, e.g. sc doesn't support this)
  • Update to latest Substrate metadata

v9.6.2

30 Oct 08:59

Choose a tag to compare

Changes:

  • Adjust historic DispatchError type for statemint/statemine

v9.6.1

23 Oct 06:39

Choose a tag to compare

Contributed:

Changes:

  • Cater for latest Substrate DispatchError (additional preimage statuses)
  • Adjust api.derive.democracy.* to return imageHash as HexString (as applicable, supports current-gen preimages)
  • Adjust api.derive.preimages.* to retrieve via democracy or preimage pallets
  • Ensure apiAt.<section>.<method>.key(...) passes through the correct arguments
  • Apply fallback for Weight downgrades (V2 >> V1 detection)
  • Update to latest Substrate metadata
  • Polkadot 9291 & Westend 9300 upgrade blocks

v9.5.2

16 Oct 11:07

Choose a tag to compare

Changes:

  • Add ParachainHost version 3 runtime calls

v9.5.1

08 Oct 06:10

Choose a tag to compare

  • Important While the API witll detect and decorate the weight type based on V1 or V2, the default Weight type (used in runtime calls and RPCs) has not been swapped from the old u64 variant. This means that on new chains using WeightV2, the TS decorated type will still reflect the old version.

Changes:

  • Adjust handling of Weight type for V2 structures
  • Add alis definitions for Weight{V1, V2} (used for type overrides)
  • Cater for weight v2 (along with v1 pass-through) extrinsics in api-contract
  • Update to latest Substrate, Polkadot & Kusama metadata

v9.4.3

02 Oct 10:05

Choose a tag to compare

Contributed:

Changes:

  • Align staking derive redeemableSum with Rust source (currentEra vs activeEra usage)
  • Add @deprecated flag to RPC interface generation (contracts_* & state_get{Pairs/Keys})
  • Polkadot 9280/9281, Kusama 9291 upgrade blocks

v9.4.2

24 Sep 09:21

Choose a tag to compare

Contributed:

Changes:

  • Align derives to cater for latest (& previous) Substrate interfaces
  • Update to latest Substrate, Polkadot & Kusama metadata

v9.4.1

17 Sep 07:20

Choose a tag to compare

Contributed:

Changes:

  • Cater for v1.5 Weight JSON representation (via RPC)
  • Polkadot 9270, Kusama 9280 & Westend 9290 upgrade blocks
  • Update to latest Substrate, Polkadot & Kusama metadata

v9.3.3

06 Sep 08:02

Choose a tag to compare

Contributed:

Changes:

  • Fix and adjust tests for AccountId{32, 33}

v9.3.2

04 Sep 10:22

Choose a tag to compare

Changes:

  • Cater for v2 Weight types (structure to inner value)
  • Westend 9280 & Kusama 9271 upgrade blocks
  • Update to latest Substrate, Polkadot & Kusama metadata