Skip to content

Releases: polkadot-js/api

v8.6.1

29 May 10:15

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

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

Choose a tag to compare

Changes:

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

v8.4.1

14 May 12:51

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

Choose a tag to compare

Contributed:

Changes:

  • Adjust BTreeSet in typegen top-level generation

v8.3.1

01 May 07:05

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

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

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

v8.0.2

11 Apr 18:09

Choose a tag to compare

Changes:

  • Detect typegen template location for commonjs execution

v8.0.1

10 Apr 10:51

Choose a tag to compare

  • Breaking change In this major version the commonjs outputs are moved to a sub-folder. Since the export map and main field in package.json does reflect this change, there should be no usage changes. However the packages here will all need to be on the same version for internal linkage.

Contributed:

Changes:

  • Add support for apiAt.tx(...) to construct at a specific point
  • Add basic api.derive.bagsList.* support
  • Return sorted names for api.registry.lookup.names
  • Optimize JSONRPC requests/response handling
  • Output commonjs files under the cjs/** root
  • Update to latest Substrate, Kusama & Polkadot static metadata
  • Add latest Polkadot 9180 upgrade block
  • Update to @polkadot/util 9.0.1