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) #2497

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 24, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@polkadot/keyring (source) ^12.6.2 -> ^13.2.3 age adoption passing confidence
@polkadot/types (source) ^10.11.2 -> ^14.3.1 age adoption passing confidence
@polkadot/util (source) ^12.6.2 -> ^13.2.3 age adoption passing confidence
@polkadot/util-crypto (source) ^12.6.2 -> ^13.2.3 age adoption passing confidence
@polkadot/x-textdecoder (source) ^12.6.2 -> ^13.2.3 age adoption passing confidence
@polkadot/x-textencoder (source) ^12.6.2 -> ^13.2.3 age adoption passing confidence

Release Notes

polkadot-js/common (@​polkadot/keyring)

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
polkadot-js/api (@​polkadot/types)

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

  • Dedupe nextElected accountIds in api.derive.staking.nextElected
  • Bump @​polkadot/dev to 0.79.1 w/ topo sort
  • Bump yarn to 4.2.2
  • fix: updated extrinsics' assetId toHuman (Thanks to https://github.com/bee344)
  • fix api.derive.accounts.{info && identity}
  • feat: Add support for CheckMetadataHash signedExtension (Thanks to https://github.com/bee344)

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

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.

@renovate renovate bot force-pushed the renovate/major-polkadot branch 3 times, most recently from b35e59c to d12631a Compare April 28, 2024 02:08
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from b027dd7 to dbbaba5 Compare May 9, 2024 04:57
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from 69f1080 to 6fa88d0 Compare May 22, 2024 21:23
@renovate renovate bot force-pushed the renovate/major-polkadot branch from 6fa88d0 to ac97b61 Compare May 29, 2024 04:32
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from 1b06eb6 to 564aba6 Compare June 19, 2024 07:59
@renovate renovate bot force-pushed the renovate/major-polkadot branch from 564aba6 to cb4fda9 Compare June 25, 2024 04:33
@renovate renovate bot changed the title fix(deps): update dependency @polkadot/types to v11 fix(deps): update dependency @polkadot/types to v12 Jun 25, 2024
@renovate renovate bot force-pushed the renovate/major-polkadot branch from cb4fda9 to e9b23ec Compare June 27, 2024 22:21
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from f34196a to 12fd74c Compare July 12, 2024 20:02
@renovate renovate bot changed the title fix(deps): update dependency @polkadot/types to v12 fix(deps): update polkadot (major) Jul 12, 2024
@renovate renovate bot force-pushed the renovate/major-polkadot branch 6 times, most recently from bfb815a to 33d494f Compare July 19, 2024 18:24
@renovate renovate bot force-pushed the renovate/major-polkadot branch 4 times, most recently from ca0cfb4 to 1a704c9 Compare July 29, 2024 21:12
@renovate renovate bot force-pushed the renovate/major-polkadot branch 3 times, most recently from f7c3b58 to 7bcc700 Compare August 5, 2024 20:04
@renovate renovate bot force-pushed the renovate/major-polkadot branch from 7bcc700 to 5a12fb6 Compare August 8, 2024 02:16
@renovate renovate bot force-pushed the renovate/major-polkadot branch 5 times, most recently from c1f8c58 to 4e34c69 Compare August 20, 2024 08:57
@renovate renovate bot changed the title fix(deps): update polkadot (major) fix(deps): update polkadot to v13 (major) Sep 10, 2024
@renovate renovate bot force-pushed the renovate/major-polkadot branch 3 times, most recently from 4caa6c9 to 5f0d978 Compare September 18, 2024 04:32
@renovate renovate bot force-pushed the renovate/major-polkadot branch 3 times, most recently from ba3dc77 to 16fc733 Compare September 25, 2024 08:01
@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 b909d40 to 9d7debb Compare October 21, 2024 14:53
@renovate renovate bot force-pushed the renovate/major-polkadot branch 4 times, most recently from 89148c8 to ae56aca Compare October 28, 2024 22:08
@renovate renovate bot force-pushed the renovate/major-polkadot branch 2 times, most recently from 9f786fe to a620857 Compare November 5, 2024 16:34
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