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) ^10.11.1 -> ^14.3.1 age adoption passing confidence
@polkadot/util-crypto (source) ^12.6.1 -> ^13.2.3 age adoption passing confidence

Release Notes

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

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

v11.3.1

Compare Source

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

Compare Source

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

v11.1.1

Compare Source

Changes

v11.0.3

Compare Source

Changes

  • Make api.derive.staking.* backwards compatible
  • Fix claimedRewards regression in api.derive.staking.queryMulti
  • Update Substrate to latest

v11.0.2

Compare Source

Changes

  • Fix type for TAssetConversion in Polkadot Asset hub

v11.0.1

Compare Source

Breaking Changes:

Note! The following breaking changes only refer to @polkadot/api-derive calls under api.derive.staking.* due to the most recent breaking changes in runtime version v1.2. Please refer to the link next to the bullet points for more information.

  • Update api.derive.staking calls with breaking changes (#​5860)
  • Add claimedRewardsEra to api.derive.staking.query for compatibility with legacyClaimedRewards (#​5862)

Contributed:

Changes:

  • Update polkadot types-known for latest runtime upgrades

v10.13.1

Compare Source

Changes:

  • Update CI actions and setup_node to v4
  • Update substrate metadata to latest
  • Support ParachainHost runtime api v6, 7, 8, 9, 10
  • Resolve correct module for council derive
  • Update westend types-known for 1010000
  • Update kusama types-known for 1001003

v10.12.6

Compare Source

NOTE: Because of a broken CI build for 10.12.5 -> 10.12.6 is a replacement

Contributed:

Changes:

  • Upgrade westend types-known for 1009000
  • Add disableAscii option for toHuman, and toPrimitive
  • V14 Update substrate latest metadata
  • V15 Update substrate latest metadata
  • Bump yarn to 4.1.1
  • Add assetId getter field to to necessary ExtrinsicPayloads
  • Add Updated Runtime Defintions
    • ValidateStatement
    • MMRApi
      • mmr_root
      • mmr_leaf_count
    • Core v5
    • GenesisBuilder
    • MixnetApi

v10.12.5

Compare Source

Contributed:

Changes:

  • Upgrade westend types-known for 1009000
  • Add disableAscii option for toHuman, and toPrimitive
  • V14 Update substrate latest metadata
  • V15 Update substrate latest metadata
  • Bump yarn to 4.1.1
  • Add assetId getter field to to necessary ExtrinsicPayloads
  • Add Updated Runtime Defintions
    • ValidateStatement
    • MMRApi
      • mmr_root
      • mmr_leaf_count
    • Core v5
    • GenesisBuilder
    • MixnetApi

v10.12.4

Compare Source

Contributed:

v10.12.3

Compare Source

Contributed:

Changes:

  • Fix api.derive.staking.eraExposure for compatibility
  • Fix invalid Lookup assignment on augmentation and update polkadot and kusama metadata
  • Update polkadot runtime upgrade per block
  • Update kusama runtime upgrade per block
  • Update westend runtime upgrade per block

v10.12.2

Compare Source

Contributed:

Changes:

  • Update to latest Substrate metadata

v10.12.1

Compare Source

Contributed:

v10.11.3

Compare Source

Contributed:

Changes:

  • Bump dev w/ packageDetect adjustments
  • Update copyright year
  • Bump nock, and dev deps
  • Allow cacheCapacity option for the WsProvider
  • Bump yarn
polkadot-js/common (@​polkadot/util-crypto)

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 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 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 2 times, most recently from 3312195 to 01526dc Compare November 11, 2024 17:07
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