Skip to content

Releases: polkadot-js/api

v12.4.1

19 Aug 18:53
Compare
Choose a tag to compare

Contributed:

Changes:

  • Bump yarn to 4.4.0 (#5952)
  • Update General Deps (patch only) (#5954)
  • Rework api.derive.balance.{account, all} to work with the new frame account data (#5955)
    • Adds transferable and frameSystemAccountInfo to the output of api.derive.balance.all
  • Revise api.derive.balances.all to include ED when necessary (#5957)
    • Fixes the formula used for transferable balance

v12.3.1

05 Aug 19:09
Compare
Choose a tag to compare

Contributed:

Changes:

  • Upgrade known Polkadot and Westend CodeUpdated blocks (#5948)
  • Update substrate types via metadata (#5949)
    • Note: Please review the above PR for any changes to the augmented types.
  • Support for BeefyApi v4 (#5950)

v12.2.3

29 Jul 19:48
Compare
Choose a tag to compare

Contributed:

v12.2.2

25 Jul 10:20
Compare
Choose a tag to compare

Changes:

  • Fix toHuman error on mode

v12.2.1

13 Jul 20:03
Compare
Choose a tag to compare

Changes:

  • Bump polkadot/common to 13.0.2
    • This contains the latest changes to the Ledger interface in @polkadot/hw-ledger. For more info please see (13.0.1)
  • Bump Substrate Metadata to Latest
    • This includes additions and removals to the api's type augmentation. For more info please see (#5936)
  • Update Polkadot 1002006 types-known
  • Bump yarn to 4.3.1

v12.1.1

03 Jul 12:17
Compare
Choose a tag to compare

Contributed:

Changes:

  • Update Augmented types for polkadot 1002005
  • Update Augmented types for kusama 1002006
    • Note: This removes type support for the Identity pallet for Kusama, and stateTrieMigration
  • Update upgrade blocks for {Kusama, Polkadot}

v12.0.2

27 Jun 21:05
Compare
Choose a tag to compare

Important Changes:

  • withSignedTransaction: This option has been added to SignerOptions. When using signAndSend, signAsync, and dryRun you may now enable or disable the use of the signedTransaction field by adding the withSignedTransaction option. When withSignedTransaction is not enabled but the signer adds a signedTransaction the api will error.
    • Always disabled by default.
    • This ensures no big breaking changes happen to the interface of signPayload.
    • withSignedTransaction has also been added to the SignerPayload type which allows for payload.toPayload() to include the option.
  • signAsync: now accepts the signedTransaction field as well. This means that if withSignedTransaction is enabled, and signedTransaction is present the api will adjust the current payload attached to the SubmittableExtrinsic, and add the signature. Then the user can call .send() as they please.
  • dryRun: All steps will be the same as signAsync with the exception that .send() has never needed to be called.

Contributed:

v12.0.1

25 Jun 03:04
Compare
Choose a tag to compare

Important Changes:

  • Addition of an optional signedTransaction field to the SignerResult response for injected signers. This only applies to the signPayload method exposed in the Signer interface for polkadot-js. As the name suggests the field expects a signed transaction (extrinsic) when inputted. When its present, the api will not add the signature to the payload, but instead broadcast the inputted signed transaction. This means the signer may modify the payload it's given. The only part of the payload that may not be modified is the call data. This is verified on the api, and will throw an error if it does not match the initial payloads call data.
    • This is very useful for signers that want to adjust the mode and metadataHash field for the CheckMetadataHash signed extension.
    • Note that this is not your traditional breaking change since it more-so acts as an addition, but since this is a high magnitude change it is going to be considered a MAJOR bump.
    • For more info please review the following PR (#5914)

Changes:

  • Replace system_accountNextIndex with runtime api call accountNonceApi for api.derive.tx.signingInfo
  • Sanitize eras for api.derive.staking._stakerRewards

v11.3.1

17 Jun 18:52
Compare
Choose a tag to compare

Changes:

  • Fix period assumption on signingInfo (derive)
  • Bump dev to 0.79.3
  • Update {Polkadot, Kusama, Westend} types-known
  • Bump Substrate metadata to latest
    • NOTE: Moving forward when bumping the metadata for {Polkadot, Kusama, Substrate} the version will
      always be a minor bump since it can add, modify, remove augmented types.

v11.2.1

29 May 02:46
Compare
Choose a tag to compare

Contributed:

Changes:

  • Add support for AuraUnincludedSegmentApi (Thanks to https://github.com/bee344)
  • Add support for ParachainHost v11 Api
  • Update Kusama and Westend block upgrades
  • Update Substrate metadata to latest