Skip to content

Releases: polkadot-js/api

v8.12.1

09 Jul 06:58

Choose a tag to compare

Changes:

  • Adjust Opaque{Metadata, Multiaddr, PeerId} decoding to Opaque<Bytes>
  • Fix historic XcmV0 definitions for BuyExecution
  • Adjust type generation to correctly cater for ambient definitions
  • Improve type argument generation for Option<...> types
  • Adjust usage of deprecated @polkadot/util methods
  • Runtime call typegen from system.version constant value
  • Expose query flags on derive.staking.account
  • Update to latest Substrate, Polkadot & Kusama metadata
  • Update to @polkadot/util 10.0.1

v8.11.3

05 Jul 08:37

Choose a tag to compare

Changes:

  • Ensure historic DispatchError is always the non-current variant
  • Adjust type signatures for non-required use of @types/node

v8.11.2

04 Jul 07:29

Choose a tag to compare

Changes:

  • Bump to @polkadot/util-crypto 9.7.2 (w/ @polkadot/wasm-crypto 6.2.2)

v8.11.1

02 Jul 05:26

Choose a tag to compare

Contributed:

Changes:

  • Support for state_call definitions via API config (exposed on api.call.*)
  • Base type definitions for state_call from Substrate, Polkadot & Orml
  • Align runtime types with latest Substrate master
  • Type generation for runtime call definitions (internal & external)
  • Update to latest Substrate, Polkadot & Kusama metadata

v8.10.1

26 Jun 06:57

Choose a tag to compare

Contributed:

Changes:

  • Align BeefyPayload with Substrate master
  • Use static get [Symbol.species] () for Array & Uint8Array types
  • Add support for (optional, non-runtime recommended) f32 & f64 types
  • Add future-use AbstrateBigInt wrapper extension
  • Update Codec-internal performance tests
  • Add Westend 9250 upgrade block
  • Update to latest Substrate, Polkadot & Kusama metadata

v8.9.1

19 Jun 05:12

Choose a tag to compare

Contributed:

Changes:

  • Deupe all internal type property getters
  • Adjust @polkadot/types-codec asserts
  • Rename Base type to AbstractBase (reflecting usage)
  • Alias blockHash on rpc.engine.createBlock return
  • Instantiate Compact/UInt/Int with number when passed
  • Adjust name extraction in PortableRegistry (maintainability)
  • Adjust string type path extraction (maintainability)
  • Add Kusama 9230 upgrade block
  • Update to latest Substrate metadata

v8.8.2

14 Jun 13:26

Choose a tag to compare

Changes:

  • Aling historic DispatchErrorModule with U8 variant
  • Extend lookup type name generation when conflicts arrise
  • Update to latest Substrate metadata

v8.8.1

12 Jun 09:05

Choose a tag to compare

Contributed:

Changes:

  • Ensure storage Option<Option<Type>> are correctly handled
  • Cater for named event fields (expose on event data as available)
  • Expose (partial) runtimeVersion on api.at interfaces
  • Add aliases for DispatchError{U8, U8a} (default to new U8a variant)
  • Align DispatchError definition with latest Substrate
  • Adjust contracts RPC definitions with DispatchError return
  • Ensure blockHash is passed through with era sign options
  • Workaround for default calls on chains with non-standard indexes
  • Optimization for value returns on merged queries
  • Update derive.bagsList to detect voterList pallet
  • Add Polkadot 9200/9220 & Westend 9230 upgrade blocks

v8.7.1

04 Jun 05:55

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

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