Skip to content

Releases: polkadot-js/api

v15.1.1

30 Dec 18:47
Compare
Choose a tag to compare

Changes:

  • Update AssetHub types-support metadata (#6046)
  • Update Polkadot and Kusama types-support metadata (#6047)
  • Update Substrate types with polkadot-stable2412 (#6048)

v15.0.2

13 Dec 20:45
Compare
Choose a tag to compare

Changes:

  • Fix metadata on init when its value is u32 max (#6043)
    • This ensures runtime api information is correctly generated and the correct metadata is used as part of the registry. At the moment this is only an issue on westend asset hub, as reported by users.

v15.0.1

27 Nov 22:02
Compare
Choose a tag to compare

Breaking Changes:

  • Allow external signers to modify the payload (#6030) (Thanks to https://github.com/Tbaut)
    • Add allowCallDataAlteration to SignatureOptions, and SignerOptions. This will default to true when its not inputted. This is strictly tied to signing payloads via external signers.

Contributed:

Changes:

  • Adjust ExtrinsicV5 to fit current spec (#6029)
    • This removes the signed functionality for ExtrinsicV5 since it is no longer supported
  • Update docs for WsProvider, and RpcCore (#6031)
  • Add testing for assetId access from ExtrinsicPayload (#6033)
  • Update Substrate types to 1.16.2 (#6034)

v14.3.1

12 Nov 02:31
Compare
Choose a tag to compare

Changes:

  • Add rpcCacheCapacity option to ApiOptions (#6020)
  • Update metadata script for types-support (#6021)
  • Add AssetHub to types-support and test generation (#6022)
  • Fix node v22 testing compatibility w/ dev bump (#6024)
  • Fix isClaimed for edgecase with non validator Ids (#6027)
  • Fix isClaimed in api.derive.staking.{stakerRewards, stakerRewardsMultiEras, stakerRewardsMulti} (#6026)
  • Upgrade common to 13.2.3 (#6025)

v14.2.3

05 Nov 15:49
Compare
Choose a tag to compare

Changes:

  • Increase RPC-CORE default cache capacity (#6016)
  • Set CI to use Node.js Iron (v20) (#6018)

v14.2.2

31 Oct 14:03
Compare
Choose a tag to compare

Changes:

  • fix: update LRUcache to not keep thread (#6013)
  • Adjust api.derive.staking.nextElected to use erasStakersOverview (#6011)

v14.2.1

28 Oct 19:43
Compare
Choose a tag to compare

Changes:

  • Add isClaimed field to api.derive.staking._stakerRewards (#6007)
  • Upgrade polkadot/common to 13.1.2 (#6008)
  • Bump yarn to 4.5.1 (#6005)

v14.1.1

21 Oct 14:33
Compare
Choose a tag to compare

Changes:

  • Fix deno build in CI to version 1.42.x (#5999)
  • Add LRU TTL cache implementation (#5997)
    • This focuses on performance advancements and less memory usage
  • Update non-pjs deps (#6000)
  • Set static metadata to v15 and update typegen to generate runtime apis and use v15 metadata (#5987)
    • Additionally: This does update the static types to be inline with polkadot 1003003
  • Bump dev to 0.81.2 (#6001)
    • Allows for correct CJS targetting
  • Bump common to 13.2.1 (#6002)

v14.0.1

02 Oct 20:51
Compare
Choose a tag to compare

Changes:

  • TransactionExtension, ExtrinsicV5 (#5976)
    • This is a very large feature that gives support for Extrinsic V5. This is not a breaking change, but because of the impact it has it is a Major bump.
    • This PR acts as a forward compatible feature that still focuses on v4, but allows for the use of v5 when:
      a: The metadata extrinsic version is set to 5
      b: The extrinsic version is set to 5 when manually constructing transactions.
    • The PR allows the decoding of all v4, and v5 extrinsics including {bare, signed, general} transactions.
  • Address parsing issues for H160 accounts in api.derive.accounts.{*} (#5991)

v13.2.1

23 Sep 13:34
Compare
Choose a tag to compare

Changes:

  • Generate Runtime Apis Dynamically (#5986)
  • Fix logging for older runtimes for runtime-api decoration (#5988)