Skip to content

Releases: polkadot-js/api

v8.0.2

11 Apr 18:09
Compare
Choose a tag to compare

Changes:

  • Detect typegen template location for commonjs execution

v8.0.1

10 Apr 10:51
Compare
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

v7.15.1

03 Apr 06:08
Compare
Choose a tag to compare

Contributed:

Changes:

  • Cater for DispatchError with error as [u8; 4]
  • Add in-flight cache for parallel same-version metadata queries
  • Cater for lazy @polkadot/util-crypto init (adjustment for React Native)
  • Update to latest Substrate, Kusama & Polkadot static metadata
  • Update latest Westend & Kusama (up to 9180) upgrade blocks

v7.14.3

28 Mar 10:23
Compare
Choose a tag to compare

Changes:

  • Ensure BitVec with MSB does not fail (used in Polkadot DeliveredMessages)

v7.14.2

28 Mar 05:23
Compare
Choose a tag to compare

Changes:

  • Don't export ScProvider top-level in @polkadot/rpc-provider

v7.14.1

27 Mar 08:35
Compare
Choose a tag to compare

Contributed:

Changes:

  • Only explicitly support LSB on BitVec types
  • Change toHuman() on BitVec to output default LSB
  • Add bytes{Sent, Recv} to provider stats
  • Clear connection timout on provider disconnect()
  • Add support for dev_getBlockStats RPC

v7.13.1

19 Mar 11:42
Compare
Choose a tag to compare

Important This contains an upgraded version of @polkadot/wasm-crypto. For users of asm.js, e.g. React Native, there are some additional upgrade instructions in the release notes for this version https://github.com/polkadot-js/wasm/releases/tag/v5.0.1

Contributed:

Changes:

  • Support for rejection of hanging RPC requests (30s timeout)
  • Add .stats to provider interfaces with running counters
  • Add support for state_trieMigrationStatus RPC
  • Update to latest Substrate, Kusama & Polkadot static metadata
  • Update to @polkadot/util 8.6.1
  • Additional workaround for Vite bundling

v7.12.1

13 Mar 09:55
Compare
Choose a tag to compare

Changes:

  • Allow for correct handling of Option<Null> types
  • Adjust for bundlers where import.meta.url is undefined
  • Update to @polkadot/util 8.5.1

v7.11.1

06 Mar 16:49
Compare
Choose a tag to compare

Changes:

  • Chunk derive retrieval of era{Exposure, Prefs, Slashes}
  • Ensure that signer (passed via options) do get updated
  • Kusama & Polkadot 9170 upgrade blocks
  • Update to latest Substrate, Kusama & Polkadot static metadata
  • Adjustments for TypeScript 7.6.2

v7.10.1

27 Feb 08:04
Compare
Choose a tag to compare

Contributed:

Changes:

  • Ensure BTreeSet has the correct decoded length
  • Attach PortableRegistry at point of metadata set
  • Add derive.chain.getBlockByNumber
  • Retrieve named reserves in derive.balances.all
  • Ensure v13 -> v14 metadata conversion attaches primitives
  • Update to latest Substrate, Kusama & Polkadot static metadata