Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update polkadot (major) #569

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@polkadot/api (source) ^11.1.1 -> ^15.5.2 age adoption passing confidence
@polkadot/util-crypto (source) ^12.6.1 -> ^13.3.1 age adoption passing confidence

Release Notes

polkadot-js/api (@​polkadot/api)

v15.5.2

Compare Source

Changes:

  • Ensure assetId is handled correctly when addSignature is used (#​6083)
    • NOTE: This is specific to signers but also extends to class GenericExtrinsicPayloadV4.
  • Fix typegen adding invalid imports (#​6082)
  • Include missing known keys (#​6084)

v15.5.1

Compare Source

Contributed:

Changes:

  • Update polkadot, kusama types-support for rpc, and ver (#​6078)
  • Update Asset-Hub types-support rpc, and ver (#​6077)
  • Patch typegen query to prevent it from adding invalid import (#​6073)
  • Extend GenericAccountId description (#​6072)

v15.4.1

Compare Source

Changes:

  • Allow api.derive.accounts.identity() to obtain SubIdentities (#​6066)
    • Adds a new field subs to the DeriveAccountRegistration output of api.derive.accounts.identity()
  • Add ElectionResult type override (#​6067)
  • Bump dev to 0.83.2 (#​6069)
    • Increases performance of the test-runner, both locally, and in the CI

v15.3.1

Compare Source

Changes:

  • Set typegen scripts for Docs to use v15 (#​6060)
  • Add Asset hub options to polkadot-types-internal-metadata (#​6062)
  • Add metadataVer cli arg for polkadot-types-internal-metadata, and ensure backwards compatibility with v14 (#)
    • This adds --metadataVer to polkadot-types-internal-metadata. It is meant to be used along side --endpoint which will allow for the use of metadata versions above v14.

v15.2.1

Compare Source

Changes:

  • Give compatibility for nodejs v22
    • Update common to 13.3.1 (#​6057)
      • Fixes an issue with getSeparator for nodejs 22.12
  • Bump dev to 0.82.4 (#​6056)
  • Update Headers to 2025 (#​6052)
  • Bump yarn to 4.6.0 (#​6050)

v15.1.1

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

Changes:

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

v14.2.2

Compare Source

Changes:

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

v14.2.1

Compare Source

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

Compare Source

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

Compare Source

Changes:

  • TransactionExtension, ExtrinsicV5
    • 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

Compare Source

Changes:

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

v13.1.1

Compare Source

Changes:

v13.0.1

Compare Source

Breaking Changes:

  • Change assetId type in SignerPayloadJSON to HexString (#​5967)
  • Keep assetId hex as an Option for toPayload (#​5968)

NOTE: This is part of the current change to generalize the SignerPayloadJSON in order to simplify its integration across other tools. The return value of assetId field with toPayload will always be its true type now, which in this case is Option<TAssetConversion> where TAssetConversion is equal to MultiLocation | AssetId.

Changes:

  • Bump dev and typescript (#​5964)
  • Bump yarn to 4.1.1 (#​5978)
  • Add kusama types-known v1.3.0 upgrade (#​5971)
  • Update Kusama augmented types to 1.3.0 (#​5972)
    • Please reference the PR above to view any changes in the runtime types

v12.4.2

Compare Source

Changes:

  • Fix derive.balances.all when data is undefined (#​5961)

v12.4.1

Compare Source

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

Compare Source

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

Compare Source

Contributed:

v12.2.2

Compare Source

Changes:

  • Fix toHuman error on mode

v12.2.1

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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
polkadot-js/common (@​polkadot/util-crypto)

v13.3.1

Compare Source

Changes:

  • Give compatibility for nodejs v22
    • Fix getSeparator which fixes toLocaleString (#​1965)
  • 2025 Headers (#​1963)

v13.2.3

Compare Source

Contributed:

Changes:

v13.2.2

Compare Source

Contributed:

Changes:

v13.2.1

Compare Source

Contributed:

Changes:

v13.1.1

Compare Source

Contributed:

HydraDx - Hydration Rebrand Thanks to (https://github.com/jak-pan) (#​1923)

Changes:

  • Update all deps that have patch releases (#​1934)
  • Bump yarn to 4.4.1 (#​1940)
  • Update ss58-registry to 1.50.0 (#​1937)
  • Update dev and typescript (#​1936)
  • Add Encointer and Integritee to Ledger, and adjust tests (#​1939)
    • This PR added the addition of genericLedgerApps and prevLedgerRecord objects. They both combine into ledgerApps in hw-ledger/defaults.

v13.0.2

Compare Source

Contributed:

v13.0.1

Compare Source

Breaking Changes:

  • Add Support for latest Ledger App
    • This deprecates class Ledger in favor of class LedgerGeneric
    • More info in the following PR (#​1925)

Changes:

  • Bump dev to 0.79.1
  • Comments around pair encode/decode 1-3
  • Bump ws, react-native, ss58Registry
  • Bump yarn to 4.3.1
  • Update CI to checkout and setup_node v4

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-569.dwo3t819w2m3x.amplifyapp.com

@renovate renovate bot force-pushed the renovate/major-polkadot branch 3 times, most recently from e4c24d9 to 48a4c40 Compare April 27, 2024 01:15
@renovate renovate bot force-pushed the renovate/major-polkadot branch from 48a4c40 to 05fac6f Compare May 8, 2024 15:28
@renovate renovate bot force-pushed the renovate/major-polkadot branch from 05fac6f to 34053ef Compare May 22, 2024 00:25
@renovate renovate bot force-pushed the renovate/major-polkadot branch from 34053ef to 1d93822 Compare May 29, 2024 03:49
@renovate renovate bot force-pushed the renovate/major-polkadot branch from 1d93822 to e091b71 Compare June 17, 2024 19:00
@renovate renovate bot force-pushed the renovate/major-polkadot branch from e091b71 to 4b2b6b6 Compare June 25, 2024 03:25
@renovate renovate bot changed the title fix(deps): update dependency @polkadot/api to v11 fix(deps): update dependency @polkadot/api to v12 Jun 25, 2024
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from 9b0f7d8 to 7928b49 Compare July 2, 2024 21:33
@renovate renovate bot force-pushed the renovate/major-polkadot branch from 7928b49 to 692c626 Compare July 12, 2024 19:36
@renovate renovate bot changed the title fix(deps): update dependency @polkadot/api to v12 fix(deps): update polkadot (major) Jul 12, 2024
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from 9e54604 to 9f54742 Compare July 13, 2024 21:52
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from 8c30a9e to 96a6d98 Compare July 29, 2024 20:05
@renovate renovate bot force-pushed the renovate/major-polkadot branch from 96a6d98 to cd58e19 Compare August 5, 2024 20:01
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from 12cea42 to 29229af Compare August 21, 2024 14:21
@renovate renovate bot force-pushed the renovate/major-polkadot branch from 29229af to efeac6c Compare September 11, 2024 01:22
@renovate renovate bot changed the title fix(deps): update polkadot (major) fix(deps): update polkadot to v13 (major) Sep 11, 2024
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from 93e8f61 to 8f852f7 Compare September 18, 2024 03:56
@renovate renovate bot force-pushed the renovate/major-polkadot branch from 8f852f7 to e5664f3 Compare September 23, 2024 17:25
@renovate renovate bot force-pushed the renovate/major-polkadot branch from e5664f3 to bcc8c39 Compare October 2, 2024 22:00
@renovate renovate bot changed the title fix(deps): update polkadot to v13 (major) fix(deps): update polkadot (major) Oct 2, 2024
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from a0c91a7 to 8fca6cd Compare October 28, 2024 15:57
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from bae1ee5 to 7359dfe Compare October 31, 2024 17:53
@renovate renovate bot force-pushed the renovate/major-polkadot branch 3 times, most recently from 01526dc to d4b7d7c Compare November 12, 2024 03:39
@renovate renovate bot force-pushed the renovate/major-polkadot branch from d4b7d7c to d370c18 Compare November 28, 2024 02:11
@renovate renovate bot force-pushed the renovate/major-polkadot branch from d370c18 to 93541af Compare December 13, 2024 22:36
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from 2d91c41 to a8d701b Compare January 6, 2025 17:03
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from 575f1b9 to 452cee6 Compare January 12, 2025 05:21
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from 53b8b25 to d4c6a6f Compare January 27, 2025 18:07
@renovate renovate bot force-pushed the renovate/major-polkadot branch 4 times, most recently from cdec6fb to 98b93a8 Compare February 6, 2025 01:32
@renovate renovate bot force-pushed the renovate/major-polkadot branch from 98b93a8 to c10d016 Compare February 6, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants