Skip to content

Releases: polkadot-js/api

v9.8.1

13 Nov 09:16
Compare
Choose a tag to compare

Contributed:

Changes:

  • Cater for TransactionPaymentApi/2 runtime calls
  • Add getters for has{DryRun, PaymentInfo} on submittables (feature detection)
  • Polkadot 9300, Kusama 9300 & Westend 9310/9320 upgrade blocks
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.7.1

06 Nov 10:11
Compare
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
Compare
Choose a tag to compare

Changes:

  • Adjust historic DispatchError type for statemint/statemine

v9.6.1

23 Oct 06:39
Compare
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
Compare
Choose a tag to compare

Changes:

  • Add ParachainHost version 3 runtime calls

v9.5.1

08 Oct 06:10
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

Contributed:

Changes:

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