Skip to content

Releases: polkadot-js/api

v6.0.5

20 Sep 13:57
Compare
Choose a tag to compare

Upgrade priority: Low. Recommended for all users on 6.0.3 using api.query.*.*.at calls

Changes:

  • Revert cross-registry (now-inactive) change introduced in 6.0.3
  • Ensure Option is correctly imported for TS query generation

v6.0.4

20 Sep 09:12
Compare
Choose a tag to compare

Upgrade priority: Low. Recommended for all users on 6.0.3 using api.query.*.*.at calls

Changes:

  • api.query.<module>.<method>.at will now use at.at(<hash>)
  • Use and expose metadata/util/getSiName to get human type names

v6.0.3

19 Sep 19:48
Compare
Choose a tag to compare

Upgrade priority: Low. Recommended for all users on 6.0.2 using api.query.*.*.at calls

Changes:

  • Fix api.query.<module>.<method>.at queries
  • Adjust typegen formatting for metadata documentation

v6.0.2

18 Sep 09:24
Compare
Choose a tag to compare

Upgrade priority: Low. Recommended for all users on 6.0.1, especially those using api.query.substrate.* calls

Changes:

  • Fix api.query.substrate.* key generation

v6.0.1

18 Sep 05:35
Compare
Choose a tag to compare

Upgrade priority: Low. Recommended for users of the latest Substrate/Polkadot with Metadata v14.

  • Important The Metadata v14 change allows the metadata to expose the chain types. This has been a major overhaul of the metadata handling, hence the major version bump.

Contributed:

Changes:

  • Allow for Metadata v14 parsing & usage
  • Align DigestItem to latest Substrate
  • Adjust Kusama IdentityInfo type for historic versions
  • All null values in bundles min/max
  • Bump static metadata for latest Substrate, Polkadot & Kusama

v5.9.1

13 Sep 06:04
Compare
Choose a tag to compare

Upgrade priority: Low. Recommended for chain using Xcm.

Contributed:

Changes:

  • Additional types for parachain Disputes
  • Adjust Xcm Error enum types
  • Add Polkadot 9090 upgrade block
  • Decoding enhancements with narrowing checks for TS

v5.8.3

06 Sep 12:44
Compare
Choose a tag to compare

Upgrade priority: Low.

Changes:

  • Adjust Statemint, Rococo and Westend Xcm overrides

v5.8.2

06 Sep 09:23
Compare
Choose a tag to compare

Contributed:

Changes:

  • Adjust Kusama Xcm overrides

v5.8.1

06 Sep 08:16
Compare
Choose a tag to compare

Upgrade priority: Low.

Changes:

  • Add Auction to Kusama ProxyType definition
  • Adjust Xcm definitions with latest v1 & v2 types
  • Support for scale-info 1.0 Range mapping
  • Bump static metadata for latest Substrate, Polkadot & Kusama

v5.7.1

29 Aug 17:33
Compare
Choose a tag to compare

Upgrade priority: Low.

Changes:

  • Optimize Vec construction (no re-create on new arrays)
  • Adjust output for enums in toHuman
  • Adjust aliases for new parachain module locations
  • Support for versioned xcm types (Polkadot master)
  • Add support for Range in PortableRegistry (used in Metadata 14)
  • Adjust balances derive for non-existent instances
  • Ensure Statemint (current) defaults to xcm v0
  • Add Kusama 9090 upgrade block