Skip to content

Releases: polkadot-js/api

v0.92.1

12 Sep 14:05
Compare
Choose a tag to compare
  • The API now correctly sets the ss58 prefix as retrieved from the chain properties via ss58Format
  • Bump to @polkadot/util 1.4.1, removing use of ExtError
  • The Keyring from @polkadot/keyring is now exposed on the API as well. You can do import { Keyring } from '@polkadot/api' - this alleviates the need for extra dependencies (apart from @polkadot/api), and since the keyring is critical for signing operations, aligns everything in one bundle
  • Support the latest Polkadot & Substrate master branches (incl. metadata updates)
  • Getting started documentation has been made available

v0.91.1

10 Sep 07:20
Compare
Choose a tag to compare
  • This release was focussed on stability, with a number of cleanups and bug-fixes
  • Adjustments for Substrate 1.x chain detection (with auto-types) and Substrate 2.x support has been extended with all latest types
  • The getRuntimeVersion and subscribeRuntimeVersion RPCs are now only available on the rpc.state.* endpoints. This aligns with the Substrate implementation.
  • The author_insertKey RPC's last argument publicKey is now required, as to reflect Substrate implementation.
  • Support for extrinsics with versions that is not in the base Substrate implementation (V1-V3) can now be done by providing an implementation for ExtrinsicUnknown
  • Redeemed balance calculation if api.derive now returns the correct values again (bugfix)
    added the yarn chain:info [--ws URL] utility to extract a calls-only metadata version
  • Missing types are now logged via a console.warn, not via .error
  • Extrinsic, ExtrinsicPayload & SignerPayload is registered in the type registry and can be overriden now

v0.90.1

24 Aug 11:43
Compare
Choose a tag to compare

Support for Kusama with Polkadot 0.5.0 and current pre-release Substrate 2.x networks. (Along with existing Substrate 1.x-era networks)

When upgrading, take care of looking at the CHANGELOG and UPGRADING guides.