Skip to content

Releases: polkadot-js/api

v8.7.1

04 Jun 05:55
Compare
Choose a tag to compare

Changes:

  • Add internal merge of single storage queries
  • Expose provider stats on API intrerface via .stats
  • Adjust flag extraction for latest phragmen types
  • Support for Range in typegen for Enum
  • Add Kusama 9220 upgrade block

v8.6.2

30 May 12:57
Compare
Choose a tag to compare

Changes:

  • Don't apply default to Option<bool> opt-in
  • Lower default historic LRU cache size (128 entries, 192MB est)
  • Cater for updates required by TS 4.7.2

v8.6.1

29 May 10:15
Compare
Choose a tag to compare

Changes:

  • Add codec support for specialized Option<bool>
  • Optimization for createClass with shortcut typeDef creation
  • Optimization of registry.getOrUnknown with lookup cache
  • Optimization of Array allocations in decoding
  • Use compactFromU8aLim & u8aConcatStrict variants
  • Adjust .inspect() for ExtrinsicPayload
  • Adjust Kusama StakingLedger for runtime 1051
  • Update to latest Substrate, Kusama & Polkadot static metadata

v8.5.1

22 May 16:24
Compare
Choose a tag to compare

Contributed:

Changes:

  • Adjust extrinsic inspect for signed/unsigned
  • Add support for mmr_generateBatchProof RPC
  • Add additional isCodec checks to error/event .is
  • Add support for Vec<Option<X>> in typegen
  • Update to latest Substrate, Kusama & Polkadot static metadata

v8.4.2

15 May 08:58
Compare
Choose a tag to compare

Changes:

  • Expand/fix TS typings for MortalEra.{birth, death}(...)

v8.4.1

14 May 12:51
Compare
Choose a tag to compare

Changes:

  • Added support for typegen over Range/RangeInclusive types
  • Add explicit support for Call typegen (inclusive of non-defaults)
  • Deupe wss:// handling in polkadot-types-from-{chain, defs}
  • Allow for optional definitions.ts in typegen (only use chain)
  • Optimize Compact<*> decoding in Uint8Array streams
  • Use I* interfaces for extrinsic payload getters
  • Re-add support for historic linked-map queries
  • Update to latest Substrate, Kusama & Polkadot static metadata
  • Add latest upgrade blocks for Polkadot, Kusama & Westend

v8.3.2

08 May 16:27
Compare
Choose a tag to compare

Contributed:

Changes:

  • Adjust BTreeSet in typegen top-level generation

v8.3.1

01 May 07:05
Compare
Choose a tag to compare

Contributed:

Changes:

  • Extract metadata v14 BTreeSet types into correct type
  • Assert to ensure that [u8; <size>] has exact sizes (non-u8a inputs)
  • Adjust tx.paymentInfo signing process for existing signature
  • Add Kusama 9190 upgrade block
  • Add Westend 9200 upgrade block
  • Update to latest Substrate, Kusama & Polkadot static metadata

v8.2.1

24 Apr 09:00
Compare
Choose a tag to compare

Contributed:

Changes:

  • Don't fake signature for paymentInfo if already signed
  • Remove api.derive.balances.fees (use direct constants as applicable)
  • Add Westend 9190 upgrade block
  • Update to latest Substrate, Kusama & Polkadot static metadata

v8.1.1

17 Apr 11:42
Compare
Choose a tag to compare

Contributed:

Changes:

  • Fix entriesPaged where no at?: BlockHash is specified
  • Apply windcard matches for democracy::vote::Vote and identity::type::Data
  • Adjust default "no RPC response" timeout to 60s
  • Update to latest Substrate, Kusama & Polkadot static metadata