Skip to content

Releases: polkadot-js/api

v10.1.1

11 Mar 09:13
Compare
Choose a tag to compare

Contributed:

Changes:

  • Align runtime APIs with latest Substrate
  • Update to latest Polkadot, Kusama & Substrate metadata
  • Use consistent .js imports in source files (TS moduleResolution)

v10.0.1

05 Mar 08:50
Compare
Choose a tag to compare

Contributed:

Changes:

  • Ensure that provider disconnect clears all subscriptions
  • Adjust typegen to internally use import() (catering for ESM provided types)
  • Swap TS -> JS compiler to use tsc (from babel)
  • Adjust all tests to use node:test runner (ESM variants)
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.14.2

19 Feb 11:28
Compare
Choose a tag to compare

Changes:

  • Don't allow WsProvider.connect() on an open connection (creates resource leaks)
  • Adjust typegen to use metadata-defined aliases in query return decoration
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.14.1

12 Feb 13:45
Compare
Choose a tag to compare

Changes:

  • Extract aliases for *_runtime::Runtime{Call, Event} from metadata
  • Update to latest Polkadot, Kusama & Substrate metadata

v9.13.6

05 Feb 11:52
Compare
Choose a tag to compare

Contributed:

Changes:

  • Additional override for Compact<{ refTime: u64 }> chains
  • Add script to retrieve local rpc, version & metadata for typegen

v9.13.5

02 Feb 09:56
Compare
Choose a tag to compare

Changes:

  • Adjust Weight alias for 1.5 chains
  • Ensure correct registry is pass through for runtime TS generation

v9.13.4

01 Feb 07:51
Compare
Choose a tag to compare

Changes:

  • None from 9.13.3 (The previous version had npm registry publishing issues)

v9.13.3

01 Feb 06:59
Compare
Choose a tag to compare

Changes:

  • Adjust Weight alias detection to cater for WeightV0/u32 overrides (e.g. early Kusama blocks)

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